Searched refs:MAX_ALLOC_CHUNK (Results 1 – 10 of 10) sorted by relevance
281 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()1111 test_mac = (size_t)MAX_ALLOC_CHUNK; in jinit_memory_mgr()[all …]
61 #ifndef MAX_ALLOC_CHUNK /* may be overridden in jconfig.h */62 #define MAX_ALLOC_CHUNK 1000000000L macro
77 #ifndef MAX_ALLOC_CHUNK /* may be overridden in jconfig.h */78 #define MAX_ALLOC_CHUNK 1000000000L macro
267 if (sizeofobject > (size_t) MAX_ALLOC_CHUNK - SIZEOF(small_pool_hdr)) in alloc_small()296 if (slop > (size_t) MAX_ALLOC_CHUNK - min_request) in alloc_small()297 slop = (size_t) MAX_ALLOC_CHUNK - min_request; in alloc_small()351 if (sizeofobject > (size_t) MAX_ALLOC_CHUNK - SIZEOF(large_pool_hdr)) in alloc_large()407 ltemp = (MAX_ALLOC_CHUNK - SIZEOF(large_pool_hdr)) / in alloc_sarray()454 ltemp = (MAX_ALLOC_CHUNK - SIZEOF(large_pool_hdr)) / in alloc_barray()1048 test_mac = (size_t) MAX_ALLOC_CHUNK; in jinit_memory_mgr()1049 if ((long) test_mac != MAX_ALLOC_CHUNK || in jinit_memory_mgr()1050 (MAX_ALLOC_CHUNK % SIZEOF(ALIGN_TYPE)) != 0) in jinit_memory_mgr()1077 mem->pub.max_alloc_chunk = MAX_ALLOC_CHUNK; in jinit_memory_mgr()
26 #define MAX_ALLOC_CHUNK 65520L /* Maximum request to malloc() */
24 #define MAX_ALLOC_CHUNK 65520L /* Maximum request to malloc() */
84 #if MAX_ALLOC_CHUNK >= 65535L /* make sure jconfig.h got this right */85 MAX_ALLOC_CHUNK should be less than 64K. /* deliberate syntax error */
339 If the programs complain "MAX_ALLOC_CHUNK is wrong, please fix", then you340 need to reduce MAX_ALLOC_CHUNK to a value that fits in type size_t.341 Try adding "#define MAX_ALLOC_CHUNK 65520L" to jconfig.h. A less likely771 MAX_ALLOC_CHUNK to less than 64K (65520L is a typical value). If your773 MAX_ALLOC_CHUNK to whatever it can handle.778 MAX_ALLOC_CHUNK in jconfig.h, because most DOS C libraries won't malloc()917 #define MAX_ALLOC_CHUNK 65520L /* Maximum request to malloc() */979 NEED_FAR_POINTERS and MAX_ALLOC_CHUNK). Beware that makefile.bcc will need