Searched refs:MAX_MALLOC_SIZE (Results 1 – 12 of 12) sorted by relevance
24 #define MAX_MALLOC_SIZE (64 * 1024) macro28 if (size > MAX_MALLOC_SIZE) { in UtilsMalloc()
31 #define MAX_MALLOC_SIZE 0x10000000L macro219 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()
27 #define MAX_MALLOC_SIZE 8192 macro39 return MAX_MALLOC_SIZE; in GetRealMallocSize()
68 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
25 #define MAX_MALLOC_SIZE (512 * 1024 * 1024) // 512M macro
222 void *ret = SoftBusMalloc(MAX_MALLOC_SIZE + 1);310 void *ret = SoftBusCalloc(MAX_MALLOC_SIZE + 1);
22 if (size > MAX_MALLOC_SIZE) { in SoftBusMalloc()
26 if (size > MAX_MALLOC_SIZE) { in SoftBusMalloc()
29 if (size == 0 || size > MAX_MALLOC_SIZE) { in HksMalloc()
34 #define MAX_MALLOC_SIZE 0x800000 // 8M macro
34 #define MAX_MALLOC_SIZE 0x100000 /* 1M */ macro
550 head.sliceNum = (MAX_MALLOC_SIZE / SLICE_LEN) + 1;