Searched refs:sizeofobject (Results 1 – 4 of 4) sorted by relevance
/external/libjpeg-turbo/ |
D | jmemnobs.c | 37 jpeg_get_small(j_common_ptr cinfo, size_t sizeofobject) in jpeg_get_small() argument 39 return (void *)malloc(sizeofobject); in jpeg_get_small() 43 jpeg_free_small(j_common_ptr cinfo, void *object, size_t sizeofobject) in jpeg_free_small() argument 54 jpeg_get_large(j_common_ptr cinfo, size_t sizeofobject) in jpeg_get_large() argument 56 return (void *)malloc(sizeofobject); in jpeg_get_large() 60 jpeg_free_large(j_common_ptr cinfo, void *object, size_t sizeofobject) in jpeg_free_large() argument
|
D | jmemsys.h | 34 EXTERN(void *) jpeg_get_small(j_common_ptr cinfo, size_t sizeofobject); 36 size_t sizeofobject); 46 EXTERN(void *) jpeg_get_large(j_common_ptr cinfo, size_t sizeofobject); 48 size_t sizeofobject);
|
D | jmemmgr.c | 267 alloc_small(j_common_ptr cinfo, int pool_id, size_t sizeofobject) in alloc_small() argument 281 if (sizeofobject > MAX_ALLOC_CHUNK) { in alloc_small() 286 sizeofobject = round_up_pow2(sizeofobject, ALIGN_SIZE); in alloc_small() 289 if ((sizeof(small_pool_hdr) + sizeofobject + ALIGN_SIZE - 1) > in alloc_small() 299 if (hdr_ptr->bytes_left >= sizeofobject) in alloc_small() 308 min_request = sizeof(small_pool_hdr) + sizeofobject + ALIGN_SIZE - 1; in alloc_small() 329 hdr_ptr->bytes_left = sizeofobject + slop; in alloc_small() 342 hdr_ptr->bytes_used += sizeofobject; in alloc_small() 343 hdr_ptr->bytes_left -= sizeofobject; in alloc_small() 363 alloc_large(j_common_ptr cinfo, int pool_id, size_t sizeofobject) in alloc_large() argument [all …]
|
D | jpeglib.h | 841 void *(*alloc_small) (j_common_ptr cinfo, int pool_id, size_t sizeofobject); 843 size_t sizeofobject);
|