Searched refs:min_request (Results 1 - 4 of 4) sorted by relevance

/external/chromium_org/third_party/libjpeg_turbo/
H A Djmemmgr.c269 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 Djmemmgr.c263 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 Dfpdfapi_jmemmgr.c266 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 Djmemmgr.c263 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 697 milliseconds