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

(ada9ddbf8c604585ac344b72f7bb63ac27c84726)

#include "core/fxcrt/fx_memory.h"
#include <limits>
#include <memory>
#include "build/build_config.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, FX_TryAllocOverflow)
 
 TEST (fxcrt, FXMEMDefaultOOM)
 
 TEST (fxcrt, AllocZeroesMemory)
 
 TEST (fxcrt, FXAlign)
 

Function Documentation

◆ TEST() [1/9]

TEST ( fxcrt ,
AllocZeroesMemory  )

Definition at line 103 of file fx_memory_unittest.cpp.

◆ TEST() [2/9]

TEST ( fxcrt ,
FX_AllocOverflow  )

Definition at line 48 of file fx_memory_unittest.cpp.

◆ TEST() [3/9]

TEST ( fxcrt ,
FX_AllocOverflow2D  )

Definition at line 60 of file fx_memory_unittest.cpp.

◆ TEST() [4/9]

TEST ( fxcrt ,
FX_AllocZero  )

Definition at line 29 of file fx_memory_unittest.cpp.

◆ TEST() [5/9]

TEST ( fxcrt ,
FX_TryAllocOverflow  )

Definition at line 79 of file fx_memory_unittest.cpp.

◆ TEST() [6/9]

TEST ( fxcrt ,
FXAlign  )

Definition at line 111 of file fx_memory_unittest.cpp.

◆ TEST() [7/9]

TEST ( fxcrt ,
FXAllocOOM  )

Definition at line 38 of file fx_memory_unittest.cpp.

◆ TEST() [8/9]

TEST ( fxcrt ,
FXMEMDefaultOOM  )

Definition at line 94 of file fx_memory_unittest.cpp.

References FXMEM_DefaultFree().

+ Here is the call graph for this function:

◆ TEST() [9/9]

TEST ( fxcrt ,
FXTryAllocOOM  )

Definition at line 69 of file fx_memory_unittest.cpp.