Home
last modified time | relevance | path

Searched refs:MAX_ALLOC_CHUNK (Results 1 – 4 of 4) sorted by relevance

/external/libjpeg-turbo/
Djmemmgr.c281 if (sizeofobject > MAX_ALLOC_CHUNK) { in alloc_small()
290 MAX_ALLOC_CHUNK) in alloc_small()
314 if (slop > (size_t) (MAX_ALLOC_CHUNK-min_request)) in alloc_small()
315 slop = (size_t) (MAX_ALLOC_CHUNK-min_request); in alloc_small()
375 if (sizeofobject > MAX_ALLOC_CHUNK) { in alloc_large()
384 MAX_ALLOC_CHUNK) in alloc_large()
448 if (samplesperrow > MAX_ALLOC_CHUNK) { in alloc_sarray()
457 ltemp = (MAX_ALLOC_CHUNK-sizeof(large_pool_hdr)) / in alloc_sarray()
509 ltemp = (MAX_ALLOC_CHUNK-sizeof(large_pool_hdr)) / in alloc_barray()
1114 test_mac = (size_t) MAX_ALLOC_CHUNK; in jinit_memory_mgr()
[all …]
Djmemsys.h61 #ifndef MAX_ALLOC_CHUNK /* may be overridden in jconfig.h */
62 #define MAX_ALLOC_CHUNK 1000000000L macro
/external/pdfium/third_party/libjpeg/
Djmemsys.h74 #ifndef MAX_ALLOC_CHUNK /* may be overridden in jconfig.h */
75 #define MAX_ALLOC_CHUNK 1000000000L macro
Dfpdfapi_jmemmgr.c268 if (sizeofobject > (size_t) (MAX_ALLOC_CHUNK-SIZEOF(small_pool_hdr))) in alloc_small()
297 if (slop > (size_t) (MAX_ALLOC_CHUNK-min_request)) in alloc_small()
298 slop = (size_t) (MAX_ALLOC_CHUNK-min_request); in alloc_small()
352 if (sizeofobject > (size_t) (MAX_ALLOC_CHUNK-SIZEOF(large_pool_hdr))) in alloc_large()
408 ltemp = (MAX_ALLOC_CHUNK-SIZEOF(large_pool_hdr)) / in alloc_sarray()
456 ltemp = (MAX_ALLOC_CHUNK-SIZEOF(large_pool_hdr)) / in alloc_barray()
1053 test_mac = (size_t) MAX_ALLOC_CHUNK; in jinit_memory_mgr()
1054 if ((long) test_mac != MAX_ALLOC_CHUNK || in jinit_memory_mgr()
1055 (MAX_ALLOC_CHUNK % SIZEOF(ALIGN_TYPE)) != 0) in jinit_memory_mgr()
1082 mem->pub.max_alloc_chunk = MAX_ALLOC_CHUNK; in jinit_memory_mgr()