Home
last modified time | relevance | path

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

/third_party/musl/src/malloc/mallocng/
Drealloc.c33 new = g->maplen*4096UL == needed ? g->mem : in realloc()
34 mremap(g->mem, g->maplen*4096UL, needed, MREMAP_MAYMOVE); in realloc()
37 g->maplen = needed/4096; in realloc()
Dmeta.h31 uintptr_t maplen:8*sizeof(uintptr_t)-12; member
153 if (meta->maplen) { in get_meta()
154 assert(offset <= meta->maplen*4096UL/UNIT - 1); in get_meta()
177 if (!g->last_idx && g->maplen) { in get_stride()
178 return g->maplen*4096UL - UNIT; in get_stride()
Dfree.c21 if (g->maplen) { in free_group()
25 mi.len = g->maplen*4096UL; in free_group()
51 if (!g->maplen) return 1; in okay_to_free()
Dmalloc.c254 m->maplen = needed>>12; in alloc_group()
268 m->maplen = 0; in alloc_group()
326 g->maplen = (needed+4095)/4096; in malloc()
Ddonate.c27 m->maplen = 0; in donate()
/third_party/musl/src/malloc/oldmallocng/
Dmallinfo.c29 mi->uordblks += g->maplen*4096;
30 mi->hblkhd += g->maplen*4096;
32 if (g->freeable && !g->maplen) {
/third_party/skia/third_party/externals/libjpeg-turbo/
Drdtarga.c334 unsigned int width, height, maplen; in start_input_tga() local
351 maplen = GET_2B(5); in start_input_tga()
450 if (maplen > 0) { in start_input_tga()
451 if (maplen > 256 || GET_2B(3) != 0) in start_input_tga()
455 ((j_common_ptr)cinfo, JPOOL_IMAGE, (JDIMENSION)maplen, (JDIMENSION)3); in start_input_tga()
456 source->cmap_length = (int)maplen; in start_input_tga()
458 read_colormap(source, (int)maplen, UCH(targaheader[7])); in start_input_tga()
/third_party/libjpeg-turbo/
Drdtarga.c334 unsigned int width, height, maplen; in start_input_tga() local
351 maplen = GET_2B(5); in start_input_tga()
450 if (maplen > 0) { in start_input_tga()
451 if (maplen > 256 || GET_2B(3) != 0) in start_input_tga()
455 ((j_common_ptr)cinfo, JPOOL_IMAGE, (JDIMENSION)maplen, (JDIMENSION)3); in start_input_tga()
456 source->cmap_length = (int)maplen; in start_input_tga()
458 read_colormap(source, (int)maplen, UCH(targaheader[7])); in start_input_tga()
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Drdtarga.c339 unsigned int width, height, maplen; in start_input_tga() local
355 maplen = GET_2B(5); in start_input_tga()
449 if (maplen > 0) { in start_input_tga()
450 if (maplen > 256 || GET_2B(3) != 0) in start_input_tga()
454 ((j_common_ptr)cinfo, JPOOL_IMAGE, (JDIMENSION)maplen, (JDIMENSION)3); in start_input_tga()
456 read_colormap(source, (int)maplen, UCH(targaheader[7])); in start_input_tga()
/third_party/musl/porting/linux/user/src/malloc/mallocng/
Dmeta.h31 uintptr_t maplen:8*sizeof(uintptr_t)-12; member
168 if (meta->maplen) { in get_meta()
169 assert(offset <= meta->maplen*4096UL/UNIT - 1); in get_meta()
192 if (!g->last_idx && g->maplen) { in get_stride()
193 return g->maplen*4096UL - UNIT; in get_stride()
Ddonate.c27 m->maplen = 0; in donate()
Dmalloc.c319 m->maplen = needed>>12; in alloc_group()
333 m->maplen = 0; in alloc_group()
392 g->maplen = (needed+4095)/4096; in malloc()
/third_party/python/Objects/
Dunicodeobject.c8282 Py_ssize_t maplen; in charmap_decode_string() local
8291 maplen = PyUnicode_GET_LENGTH(mapping); in charmap_decode_string()
8297 if (mapkind == PyUnicode_1BYTE_KIND && maplen >= 256) { in charmap_decode_string()
8323 if (mapkind == PyUnicode_2BYTE_KIND && maplen >= 256) { in charmap_decode_string()
8356 if (ch < maplen) in charmap_decode_string()