Searched refs:MAX_MALLOC_LEN (Results 1 – 8 of 8) sorted by relevance
23 const uint32_t MAX_MALLOC_LEN = 1 * 1024 * 1024; /* max malloc size 1 MB */ variable106 if (srcData->size == 0 || srcData->size > MAX_MALLOC_LEN) { in ReadSrcDataFromReq()143 if (outSize > MAX_MALLOC_LEN) { in Invoke()
31 #define MAX_MALLOC_LEN (1 * 1024 * 1024) macro169 if (outSize + 1 > MAX_MALLOC_LEN) { in Base64EncodeApp()197 if (decodedLen + 1 > MAX_MALLOC_LEN) { in Base64DecodeApp()
30 #define MAX_MALLOC_LEN (1 * 1024 * 1024) macro
40 const uint32_t MAX_MALLOC_LEN = 1 * 1024 * 1024; /* max malloc size 1 MB */ variable117 return (length == 0) || (length > MAX_MALLOC_LEN); in IsInvalidLength()130 if (outData.size > MAX_MALLOC_LEN) { in ProcessMessage()
26 static constexpr int MAX_MALLOC_LEN = 1024; variable34 if (size > MAX_MALLOC_LEN) { in MallocCStringArr()
35 #define MAX_MALLOC_LEN (1 * 1024 * 1024) macro289 uint32_t maxStrLen = MAX_MALLOC_LEN / 3 * 4 + 10;315 uint32_t maxStrLen = MAX_MALLOC_LEN / 4 * 3;
70 const uint32_t MAX_MALLOC_LEN = 1 * 1024 * 1024; /* max malloc size 1 MB */ variable108 return (length == 0) || (length > MAX_MALLOC_LEN); in IsInvalidLength()122 if (outSize > MAX_MALLOC_LEN) { in ProcessMessage()
45 #define MAX_MALLOC_LEN (1 * 1024 * 1024) macro