Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
fx_memory.cpp File Reference

(3dce9b5818576f04ce21cec4b3686eda012e5b65)

#include "core/fxcrt/fx_memory.h"
#include <stdlib.h>
#include <iterator>
#include <limits>
#include "build/build_config.h"
#include "third_party/base/debug/alias.h"
+ Include dependency graph for fx_memory.cpp:

Go to the source code of this file.

Namespaces

namespace  pdfium
 
namespace  pdfium::internal
 

Functions

voidFXMEM_DefaultAlloc (size_t byte_size)
 
voidFXMEM_DefaultCalloc (size_t num_elems, size_t byte_size)
 
voidFXMEM_DefaultRealloc (void *pointer, size_t new_size)
 
void FXMEM_DefaultFree (void *pointer)
 
NOINLINE void FX_OutOfMemoryTerminate (size_t size)
 
voidpdfium::internal::AllocOrDie (size_t num_members, size_t member_size)
 
voidpdfium::internal::AllocOrDie2D (size_t w, size_t h, size_t member_size)
 
voidpdfium::internal::CallocOrDie (size_t num_members, size_t member_size)
 
voidpdfium::internal::CallocOrDie2D (size_t w, size_t h, size_t member_size)
 
voidpdfium::internal::ReallocOrDie (void *ptr, size_t num_members, size_t member_size)
 
voidpdfium::internal::StringAllocOrDie (size_t num_members, size_t member_size)
 

Function Documentation

◆ FX_OutOfMemoryTerminate()

NOINLINE void FX_OutOfMemoryTerminate ( size_t size)

Definition at line 37 of file fx_memory.cpp.

Referenced by pdfium::internal::AllocOrDie(), pdfium::internal::AllocOrDie2D(), pdfium::internal::CallocOrDie(), pdfium::internal::CallocOrDie2D(), pdfium::internal::ReallocOrDie(), and pdfium::internal::StringAllocOrDie().

+ Here is the caller graph for this function:

◆ FXMEM_DefaultAlloc()

void * FXMEM_DefaultAlloc ( size_t byte_size)

Definition at line 21 of file fx_memory.cpp.

◆ FXMEM_DefaultCalloc()

void * FXMEM_DefaultCalloc ( size_t num_elems,
size_t byte_size )

Definition at line 25 of file fx_memory.cpp.

◆ FXMEM_DefaultFree()

void FXMEM_DefaultFree ( void * pointer)

Definition at line 33 of file fx_memory.cpp.

Referenced by _TIFFfree(), and TEST().

+ Here is the caller graph for this function:

◆ FXMEM_DefaultRealloc()

void * FXMEM_DefaultRealloc ( void * pointer,
size_t new_size )

Definition at line 29 of file fx_memory.cpp.