Home
last modified time | relevance | path

Searched refs:sizeofobject (Results 1 – 10 of 10) 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
Djmem-ashmem.c37 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
57 jpeg_get_large (j_common_ptr cinfo, size_t sizeofobject) in jpeg_get_large() argument
59 return (void FAR *) malloc(sizeofobject); in jpeg_get_large()
63 jpeg_free_large (j_common_ptr cinfo, void FAR * object, size_t sizeofobject) in jpeg_free_large() argument
Djmem-android.c38 jpeg_get_small (j_common_ptr cinfo, size_t sizeofobject) in jpeg_get_small() argument
40 return (void *) malloc(sizeofobject); in jpeg_get_small()
44 jpeg_free_small (j_common_ptr cinfo, void * object, size_t sizeofobject) in jpeg_free_small() argument
58 jpeg_get_large (j_common_ptr cinfo, size_t sizeofobject) in jpeg_get_large() argument
60 return (void FAR *) malloc(sizeofobject); in jpeg_get_large()
64 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));