Home
last modified time | relevance | path

Searched refs:MAX_MALLOC_SIZE (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/base/security/device_security_level/baselib/utils/src/
H A Dutils_mem.c24 #define MAX_MALLOC_SIZE (64 * 1024) macro
28 if (size > MAX_MALLOC_SIZE) { in UtilsMalloc()
/ohos5.0/drivers/peripheral/display/hal/default/
H A Ddisplay_gralloc.c31 #define MAX_MALLOC_SIZE 0x10000000L macro
219 DISPLAY_CHK_RETURN(((bufferHdl->size > MAX_MALLOC_SIZE) || (bufferHdl->size == 0)), in AllocMem()
253 if ((buffer->size > MAX_MALLOC_SIZE) || (buffer->size == 0)) { in FreeMem()
291 if ((buffer->size > MAX_MALLOC_SIZE) || (buffer->size == 0)) { in Mmap()
325 if ((buffer->size > MAX_MALLOC_SIZE) || (buffer->size == 0)) { in Unmap()
/ohos5.0/base/security/device_auth/test/unittest/tdd_framework/tdd_helper/memory_monitor/src/
H A Dmemory_monitor.cpp27 #define MAX_MALLOC_SIZE 8192 macro
39 return MAX_MALLOC_SIZE; in GetRealMallocSize()
/ohos5.0/foundation/arkui/ui_lite/frameworks/dfx/
H A Dui_screenshot.cpp68 uint32_t row = MAX_MALLOC_SIZE / width; in OnScreenshotEnd()
99 static constexpr uint16_t MAX_MALLOC_SIZE = 2048; // unit: 4 bytes member in OHOS::UIScreenshotListener
/ohos5.0/foundation/communication/dsoftbus/adapter/common/include/
H A Dsoftbus_adapter_mem.h25 #define MAX_MALLOC_SIZE (512 * 1024 * 1024) // 512M macro
/ohos5.0/foundation/communication/dsoftbus/tests/adapter/unittest/
H A Ddsoftbus_other_test.cpp222 void *ret = SoftBusMalloc(MAX_MALLOC_SIZE + 1);
310 void *ret = SoftBusCalloc(MAX_MALLOC_SIZE + 1);
/ohos5.0/foundation/communication/dsoftbus/adapter/common/kernel/posix/
H A Dsoftbus_adapter_mem.c22 if (size > MAX_MALLOC_SIZE) { in SoftBusMalloc()
/ohos5.0/foundation/communication/dsoftbus/adapter/common/kernel/liteos_m/
H A Dsoftbus_adapter_mem.c26 if (size > MAX_MALLOC_SIZE) { in SoftBusMalloc()
/ohos5.0/base/security/huks/frameworks/huks_standard/main/os_dependency/posix/
H A Dhks_mem.c29 if (size == 0 || size > MAX_MALLOC_SIZE) { in HksMalloc()
/ohos5.0/base/security/huks/frameworks/huks_standard/main/common/include/
H A Dhks_mem.h34 #define MAX_MALLOC_SIZE 0x800000 // 8M macro
/ohos5.0/base/security/appverify/interfaces/innerkits/appverify_lite/include/
H A Dapp_common.h34 #define MAX_MALLOC_SIZE 0x100000 /* 1M */ macro
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/proxy/
H A Dclient_trans_proxy_manager_test.cpp550 head.sliceNum = (MAX_MALLOC_SIZE / SLICE_LEN) + 1;