Home
last modified time | relevance | path

Searched refs:MAX_MALLOC_SIZE (Results 1 - 6 of 6) sorted by relevance

/foundation/communication/dsoftbus/adapter/common/include/
H A Dsoftbus_adapter_mem.h25 #define MAX_MALLOC_SIZE (512 * 1024 * 1024) // 512M macro
/foundation/arkui/ui_lite/frameworks/dfx/
H A Dui_screenshot.cpp68 uint32_t row = MAX_MALLOC_SIZE / width;
99 static constexpr uint16_t MAX_MALLOC_SIZE = 2048; // unit: 4 bytes member in OHOS::UIScreenshotListener
/foundation/communication/dsoftbus/adapter/common/kernel/liteos_m/
H A Dsoftbus_adapter_mem.c26 if (size > MAX_MALLOC_SIZE) { in SoftBusMalloc()
/foundation/communication/dsoftbus/adapter/common/kernel/posix/
H A Dsoftbus_adapter_mem.c22 if (size > MAX_MALLOC_SIZE) { in SoftBusMalloc()
/foundation/communication/dsoftbus/tests/adapter/unittest/
H A Ddsoftbus_other_test.cpp216 * @tc.desc: size is MAX_MALLOC_SIZE+1
222 void *ret = SoftBusMalloc(MAX_MALLOC_SIZE + 1); in HWTEST_F()
240 * @tc.desc: size is MAX_MALLOC_SIZE
310 void *ret = SoftBusCalloc(MAX_MALLOC_SIZE + 1); in HWTEST_F()
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/proxy/
H A Dclient_trans_proxy_manager_test.cpp549 // Test case 3: Invalid sliceNum (exceeds MAX_MALLOC_SIZE / SLICE_LEN) in HWTEST_F()
550 head.sliceNum = (MAX_MALLOC_SIZE / SLICE_LEN) + 1; in HWTEST_F()

Completed in 3 milliseconds