Home
last modified time | relevance | path

Searched refs:sizeofobject (Results 1 – 13 of 13) sorted by relevance

/external/jpeg/
Djmemnobs.c35 jpeg_get_small (j_common_ptr cinfo, size_t sizeofobject) in jpeg_get_small() argument
37 return (void *) malloc(sizeofobject); in jpeg_get_small()
41 jpeg_free_small (j_common_ptr cinfo, void * object, size_t sizeofobject) in jpeg_free_small() argument
55 jpeg_get_large (j_common_ptr cinfo, size_t sizeofobject) in jpeg_get_large() argument
57 return (void FAR *) malloc(sizeofobject); in jpeg_get_large()
61 jpeg_free_large (j_common_ptr cinfo, void FAR * object, size_t sizeofobject) in jpeg_free_large() argument
Djmemansi.c36 jpeg_get_small (j_common_ptr cinfo, size_t sizeofobject) in jpeg_get_small() argument
38 return (void *) malloc(sizeofobject); in jpeg_get_small()
42 jpeg_free_small (j_common_ptr cinfo, void * object, size_t sizeofobject) in jpeg_free_small() argument
56 jpeg_get_large (j_common_ptr cinfo, size_t sizeofobject) in jpeg_get_large() argument
58 return (void FAR *) malloc(sizeofobject); in jpeg_get_large()
62 jpeg_free_large (j_common_ptr cinfo, void FAR * object, size_t sizeofobject) in jpeg_free_large() argument
Djmemname.c143 jpeg_get_small (j_common_ptr cinfo, size_t sizeofobject) in jpeg_get_small() argument
145 return (void *) malloc(sizeofobject); in jpeg_get_small()
149 jpeg_free_small (j_common_ptr cinfo, void * object, size_t sizeofobject) in jpeg_free_small() argument
163 jpeg_get_large (j_common_ptr cinfo, size_t sizeofobject) in jpeg_get_large() argument
165 return (void FAR *) malloc(sizeofobject); in jpeg_get_large()
169 jpeg_free_large (j_common_ptr cinfo, void FAR * object, size_t sizeofobject) in jpeg_free_large() argument
Djmemmac.c82 jpeg_get_small (j_common_ptr cinfo, size_t sizeofobject) in jpeg_get_small() argument
84 return (void *) NewPtr(sizeofobject); in jpeg_get_small()
88 jpeg_free_small (j_common_ptr cinfo, void * object, size_t sizeofobject) in jpeg_free_small() argument
102 jpeg_get_large (j_common_ptr cinfo, size_t sizeofobject) in jpeg_get_large() argument
104 return (void FAR *) NewPtr(sizeofobject); in jpeg_get_large()
108 jpeg_free_large (j_common_ptr cinfo, void FAR * object, size_t sizeofobject) in jpeg_free_large() argument
Djmemsys.h47 EXTERN(void *) jpeg_get_small JPP((j_common_ptr cinfo, size_t sizeofobject));
49 size_t sizeofobject));
61 size_t sizeofobject));
63 size_t sizeofobject));
Djmemmgr.c257 alloc_small (j_common_ptr cinfo, int pool_id, size_t sizeofobject) in alloc_small() argument
266 if (sizeofobject > (size_t) (MAX_ALLOC_CHUNK-SIZEOF(small_pool_hdr))) in alloc_small()
270 odd_bytes = sizeofobject % SIZEOF(ALIGN_TYPE); in alloc_small()
272 sizeofobject += SIZEOF(ALIGN_TYPE) - odd_bytes; in alloc_small()
280 if (hdr_ptr->hdr.bytes_left >= sizeofobject) in alloc_small()
289 min_request = sizeofobject + SIZEOF(small_pool_hdr); in alloc_small()
310 hdr_ptr->hdr.bytes_left = sizeofobject + slop; in alloc_small()
320 hdr_ptr->hdr.bytes_used += sizeofobject; in alloc_small()
321 hdr_ptr->hdr.bytes_left -= sizeofobject; in alloc_small()
342 alloc_large (j_common_ptr cinfo, int pool_id, size_t sizeofobject) in alloc_large() argument
[all …]
Djmemdos.c166 jpeg_get_small (j_common_ptr cinfo, size_t sizeofobject) in jpeg_get_small() argument
168 return (void *) malloc(sizeofobject); in jpeg_get_small()
172 jpeg_free_small (j_common_ptr cinfo, void * object, size_t sizeofobject) in jpeg_free_small() argument
183 jpeg_get_large (j_common_ptr cinfo, size_t sizeofobject) in jpeg_get_large() argument
185 return (void FAR *) far_malloc(sizeofobject); in jpeg_get_large()
189 jpeg_free_large (j_common_ptr cinfo, void FAR * object, size_t sizeofobject) in jpeg_free_large() argument
Djpeglib.h823 size_t sizeofobject));
825 size_t sizeofobject));
/external/pdfium/core/src/fxcodec/libjpeg/
Dfpdfapi_jmemnobs.c46 jpeg_get_small (j_common_ptr cinfo, size_t sizeofobject) in jpeg_get_small() argument
49 return FXMEM_DefaultAlloc(sizeofobject, 0); in jpeg_get_small()
53 jpeg_free_small (j_common_ptr cinfo, void * object, size_t sizeofobject) in jpeg_free_small() argument
68 jpeg_get_large (j_common_ptr cinfo, size_t sizeofobject) in jpeg_get_large() argument
71 return FXMEM_DefaultAlloc(sizeofobject, 0); in jpeg_get_large()
75 jpeg_free_large (j_common_ptr cinfo, void FAR * object, size_t sizeofobject) in jpeg_free_large() argument
Djmemsys.h44 EXTERN(void *) jpeg_get_small JPP((j_common_ptr cinfo, size_t sizeofobject));
46 size_t sizeofobject));
58 size_t sizeofobject));
60 size_t sizeofobject));
Dfpdfapi_jmemmgr.c260 alloc_small (j_common_ptr cinfo, int pool_id, size_t sizeofobject) in alloc_small() argument
269 if (sizeofobject > (size_t) (MAX_ALLOC_CHUNK-SIZEOF(small_pool_hdr))) in alloc_small()
273 odd_bytes = sizeofobject % SIZEOF(ALIGN_TYPE); in alloc_small()
275 sizeofobject += SIZEOF(ALIGN_TYPE) - odd_bytes; in alloc_small()
283 if (hdr_ptr->hdr.bytes_left >= sizeofobject) in alloc_small()
292 min_request = sizeofobject + SIZEOF(small_pool_hdr); in alloc_small()
313 hdr_ptr->hdr.bytes_left = sizeofobject + slop; in alloc_small()
323 hdr_ptr->hdr.bytes_used += sizeofobject; in alloc_small()
324 hdr_ptr->hdr.bytes_left -= sizeofobject; in alloc_small()
345 alloc_large (j_common_ptr cinfo, int pool_id, size_t sizeofobject) in alloc_large() argument
[all …]
Djpeglib.h826 size_t sizeofobject));
828 size_t sizeofobject));
/external/pdfium/core/include/thirdparties/libjpeg/
Djpeglib.h826 size_t sizeofobject));
828 size_t sizeofobject));