Searched refs:min_request (Results 1 - 4 of 4) sorted by relevance
/external/chromium_org/third_party/libjpeg_turbo/ |
H A D | jmemmgr.c | 269 size_t min_request, slop; local 297 /* min_request is what we need now, slop is what will be leftover */ 298 min_request = SIZEOF(small_pool_hdr) + sizeofobject + ALIGN_SIZE - 1; 304 if (slop > (size_t) (MAX_ALLOC_CHUNK-min_request)) 305 slop = (size_t) (MAX_ALLOC_CHUNK-min_request); 308 hdr_ptr = (small_pool_ptr) jpeg_get_small(cinfo, min_request + slop); 315 mem->total_space_allocated += min_request + slop;
|
/external/jpeg/ |
H A D | jmemmgr.c | 263 size_t odd_bytes, min_request, slop; local 288 /* min_request is what we need now, slop is what will be leftover */ 289 min_request = sizeofobject + SIZEOF(small_pool_hdr); 295 if (slop > (size_t) (MAX_ALLOC_CHUNK-min_request)) 296 slop = (size_t) (MAX_ALLOC_CHUNK-min_request); 299 hdr_ptr = (small_pool_ptr) jpeg_get_small(cinfo, min_request + slop); 306 mem->total_space_allocated += min_request + slop;
|
/external/pdfium/core/src/fxcodec/libjpeg/ |
H A D | fpdfapi_jmemmgr.c | 266 size_t odd_bytes, min_request, slop;
local 291 /* min_request is what we need now, slop is what will be leftover */
292 min_request = sizeofobject + SIZEOF(small_pool_hdr);
298 if (slop > (size_t) (MAX_ALLOC_CHUNK-min_request))
299 slop = (size_t) (MAX_ALLOC_CHUNK-min_request);
302 hdr_ptr = (small_pool_ptr) jpeg_get_small(cinfo, min_request + slop);
309 mem->total_space_allocated += min_request + slop;
|
/external/qemu/distrib/jpeg-6b/ |
H A D | jmemmgr.c | 263 size_t odd_bytes, min_request, slop; local 288 /* min_request is what we need now, slop is what will be leftover */ 289 min_request = sizeofobject + SIZEOF(small_pool_hdr); 295 if (slop > (size_t) (MAX_ALLOC_CHUNK-min_request)) 296 slop = (size_t) (MAX_ALLOC_CHUNK-min_request); 299 hdr_ptr = (small_pool_ptr) jpeg_get_small(cinfo, min_request + slop); 306 mem->total_space_allocated += min_request + slop;
|
Completed in 217 milliseconds