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_unittest.cpp File Reference

(e4657a741c23c8f48e0e97ae2091dc2d99f4f27d)

#include "core/fxcrt/fx_memory.h"
#include <limits>
#include <memory>
#include "build/build_config.h"
#include "core/fxcrt/compiler_specific.h"
#include "testing/gtest/include/gtest/gtest.h"
Include dependency graph for fx_memory_unittest.cpp:

Go to the source code of this file.

Functions

 TEST (fxcrt, FX_AllocZero)
 TEST (fxcrt, FXAllocOOM)
 TEST (fxcrt, FX_AllocOverflow)
 TEST (fxcrt, FX_AllocOverflow2D)
 TEST (fxcrt, FXTryAllocOOM)
 TEST (fxcrt, FXTryAllocUninit)
 TEST (fxcrt, FXTryAllocUninitOOM)
 TEST (fxcrt, FX_TryAllocOverflow)
 TEST (fxcrt, FXMEMDefaultOOM)
 TEST (fxcrt, AllocZeroesMemory)
 TEST (fxcrt, FXAlign)

Function Documentation

◆ TEST() [1/11]

TEST ( fxcrt ,
AllocZeroesMemory  )

Definition at line 119 of file fx_memory_unittest.cpp.

References pdfium::internal::Dealloc().

Here is the call graph for this function:

◆ TEST() [2/11]

TEST ( fxcrt ,
FX_AllocOverflow  )

Definition at line 49 of file fx_memory_unittest.cpp.

◆ TEST() [3/11]

TEST ( fxcrt ,
FX_AllocOverflow2D  )

Definition at line 61 of file fx_memory_unittest.cpp.

◆ TEST() [4/11]

TEST ( fxcrt ,
FX_AllocZero  )

Definition at line 30 of file fx_memory_unittest.cpp.

References pdfium::internal::Dealloc().

Here is the call graph for this function:

◆ TEST() [5/11]

TEST ( fxcrt ,
FX_TryAllocOverflow  )

Definition at line 95 of file fx_memory_unittest.cpp.

◆ TEST() [6/11]

TEST ( fxcrt ,
FXAlign  )

Definition at line 129 of file fx_memory_unittest.cpp.

◆ TEST() [7/11]

TEST ( fxcrt ,
FXAllocOOM  )

Definition at line 39 of file fx_memory_unittest.cpp.

◆ TEST() [8/11]

TEST ( fxcrt ,
FXMEMDefaultOOM  )

Definition at line 110 of file fx_memory_unittest.cpp.

References FXMEM_DefaultFree().

Here is the call graph for this function:

◆ TEST() [9/11]

TEST ( fxcrt ,
FXTryAllocOOM  )

Definition at line 70 of file fx_memory_unittest.cpp.

◆ TEST() [10/11]

TEST ( fxcrt ,
FXTryAllocUninit  )

Definition at line 79 of file fx_memory_unittest.cpp.

◆ TEST() [11/11]

TEST ( fxcrt ,
FXTryAllocUninitOOM  )

Definition at line 89 of file fx_memory_unittest.cpp.