| /xsrc/external/mit/brotli/dist/c/enc/ |
| H A D | entropy_encode.h | 83 static BROTLI_INLINE void SortHuffmanTreeItems(HuffmanTree* items, argument 89 HuffmanTree tmp = items[i]; 92 while (comparator(&tmp, &items[j])) { 93 items[k] = items[j]; 97 items[k] = tmp; 108 HuffmanTree tmp = items[i]; 109 for (; j >= gap && comparator(&tmp, &items[j - gap]); j -= gap) { 110 items[j] = items[ [all...] |
| H A D | memory.c | 68 static void SortPointers(void** items, const size_t n) { argument 77 void* tmp = items[i]; 78 for (; j >= gap && tmp < items[j - gap]; j -= gap) { 79 items[j] = items[j - gap]; 81 items[j] = tmp;
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/program/ |
| H A D | prog_cache.c | 48 struct cache_item **items; member in struct:gl_program_cache 85 struct cache_item **items; local in function:rehash 92 items = malloc(size * sizeof(*items)); 93 memset(items, 0, size * sizeof(*items)); 96 for (c = cache->items[i]; c; c = next) { 98 c->next = items[c->hash % size]; 99 items[c->hash % size] = c; 102 free(cache->items); [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/program/ |
| H A D | prog_cache.c | 49 struct cache_item **items; member in struct:gl_program_cache 86 struct cache_item **items; local in function:rehash 93 items = malloc(size * sizeof(*items)); 94 memset(items, 0, size * sizeof(*items)); 97 for (c = cache->items[i]; c; c = next) { 99 c->next = items[c->hash % size]; 100 items[c->hash % size] = c; 103 free(cache->items); [all...] |
| /xsrc/external/mit/freetype/dist/builds/meson/ |
| H A D | parse_modules_cfg.py | 40 items = line.split() 41 assert len(items) == 3 and items[1] == "+=", ( 44 assert items[0] in lists, ( 45 "Unexpected configuration variable name " + items[0] 48 lists[items[0]].append(items[2])
|
| /xsrc/external/mit/freetype/dist/src/gzip/ |
| H A D | zutil.c | 83 voidpf zcalloc (voidpf opaque, unsigned items, unsigned size) argument 86 ulg bsize = (ulg)items*size; 142 voidpf zcalloc (voidpf opaque, unsigned items, unsigned size) argument 145 return _halloc((long)items, size); 160 extern voidp ft_scalloc OF((uInt items, uInt size)); 164 voidpf zcalloc (opaque, items, size) 166 unsigned items; 169 if (opaque) items += size - size; /* make compiler happy */ 170 return (voidpf)ft_scalloc(items, size);
|
| H A D | zutil.h | 207 local voidpf zcalloc OF((voidpf opaque, unsigned items, unsigned size)); 210 #define ZALLOC(strm, items, size) \ 211 (*((strm)->zalloc))((strm)->opaque, (items), (size))
|
| /xsrc/external/mit/xf86-video-vmware/dist/src/ |
| H A D | svga_overlay.h | 38 /* May include zero or more items. */ 42 } items[1]; member in struct:SVGAEscapeVideoSetRegs
|
| H A D | vmwarevideo.c | 809 struct _item items[SVGA_VIDEO_DATA_GMRID]; member in struct:vmwareVideoPlay::_body 820 struct _item *items; local in function:vmwareVideoPlay 850 items = cmdSetRegs.body.items; 852 items[i].regId = i; 855 items[SVGA_VIDEO_ENABLED].value = TRUE; 856 items[SVGA_VIDEO_DATA_OFFSET].value = 858 items[SVGA_VIDEO_SIZE].value = pVid->size; 859 items[SVGA_VIDEO_FORMAT].value = format; 860 items[SVGA_VIDEO_WIDT [all...] |
| /xsrc/external/mit/x11perf/dist/ |
| H A D | do_text.c | 31 static XTextItem *items; variable in typeref:typename:XTextItem * 80 items = malloc(totalLines * SEGS * sizeof (XTextItem)); 92 items[i*SEGS+0].chars = &(charBuf[i][0]); 93 items[i*SEGS+0].nchars = charsPerLine/4; 94 items[i*SEGS+0].delta = 0; 95 items[i*SEGS+0].font = font->fid; 96 items[i*SEGS+1].chars = &(charBuf[i][charsPerLine/4]); 97 items[i*SEGS+1].nchars = charsPerLine/2; 98 items[i*SEGS+1].delta = 3; 99 items[ [all...] |
| /xsrc/external/mit/libXaw/dist/examples/ |
| H A D | list.c | 29 char *items[]={ "the ","quick","brown", "fox ", local in function:main 42 XtNlist,items, 47 XawListChange(list,items,0,0,0);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/include/ |
| H A D | svga_overlay.h | 71 /* May include zero or more items. */ 75 } items[1]; member in struct:SVGAEscapeVideoSetRegs 106 } items[1]; member in struct:__anon9d6cdd8c0608 115 } items[SVGA_VIDEO_NUM_REGS]; member in struct:__anon9d6cdd8c0808
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/include/ |
| H A D | svga_overlay.h | 71 /* May include zero or more items. */ 75 } items[1]; member in struct:SVGAEscapeVideoSetRegs 106 } items[1]; member in struct:__anon61b761ff0608 115 } items[SVGA_VIDEO_NUM_REGS]; member in struct:__anon61b761ff0808
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/ |
| H A D | brw_program_cache.c | 154 for (c = cache->items[hash % cache->size]; c; c = c->next) 157 fprintf(stderr, "bucket %d/%d = %d/%d items\n", hash % cache->size, 161 for (c = cache->items[hash % cache->size]; c; c = c->next) { 173 struct brw_cache_item **items; local in function:rehash 178 items = calloc(size, sizeof(*items)); 181 for (c = cache->items[i]; c; c = next) { 183 c->next = items[c->hash % size]; 184 items[c->hash % size] = c; 187 free(cache->items); [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/ |
| H A D | brw_program_cache.c | 127 for (c = cache->items[hash % cache->size]; c; c = c->next) 130 fprintf(stderr, "bucket %d/%d = %d/%d items\n", hash % cache->size, 134 for (c = cache->items[hash % cache->size]; c; c = c->next) { 146 struct brw_cache_item **items; local in function:rehash 151 items = calloc(size, sizeof(*items)); 154 for (c = cache->items[i]; c; c = next) { 156 c->next = items[c->hash % size]; 157 items[c->hash % size] = c; 160 free(cache->items); [all...] |
| /xsrc/external/mit/xorg-server.old/dist/Xext/ |
| H A D | xselinux_ext.c | 328 SELinuxFreeItems(SELinuxListItemRec *items, int count) argument 332 freecon(items[k].octx); 333 freecon(items[k].dctx); 335 free(items); 339 SELinuxSendItemsToClient(ClientPtr client, SELinuxListItemRec *items, argument 354 buf[pos] = items[k].id; 359 buf[pos] = items[k].octx_len * 4; 364 buf[pos] = items[k].dctx_len * 4; 369 memcpy((char *)(buf + pos), items[k].octx, strlen(items[ 403 SELinuxListItemRec *items; local in function:ProcSELinuxListProperties 442 SELinuxListItemRec *items; local in function:ProcSELinuxListSelections [all...] |
| /xsrc/external/mit/xorg-server/dist/Xext/ |
| H A D | xselinux_ext.c | 328 SELinuxFreeItems(SELinuxListItemRec * items, int count) argument 333 freecon(items[k].octx); 334 freecon(items[k].dctx); 336 free(items); 340 SELinuxSendItemsToClient(ClientPtr client, SELinuxListItemRec * items, argument 355 buf[pos] = items[k].id; 360 buf[pos] = items[k].octx_len * 4; 365 buf[pos] = items[k].dctx_len * 4; 370 memcpy((char *) (buf + pos), items[k].octx, strlen(items[ 406 SELinuxListItemRec *items; local in function:ProcSELinuxListProperties 445 SELinuxListItemRec *items; local in function:ProcSELinuxListSelections [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/intel/genxml/ |
| H A D | gen_sort_tags.py | 60 def add_struct_refs(items, node): 64 items[t] = True 69 add_struct_refs(items, c) 87 def add_xml(self, items): 89 d.add_xml(items) 90 items[self.name] = self.xml
|
| /xsrc/external/mit/MesaLib/dist/src/intel/genxml/ |
| H A D | gen_sort_tags.py | 39 def add_struct_refs(items, node): 43 items[t] = True 48 add_struct_refs(items, c) 66 def add_xml(self, items): 68 d.add_xml(items) 69 items[self.name] = self.xml
|
| /xsrc/external/mit/xorg-server/dist/hw/xquartz/ |
| H A D | X11Application.h | 52 X11ApplicationSetWindowMenu(int nitems, const char **items,
|
| /xsrc/external/mit/MesaLib/dist/src/util/ |
| H A D | sparse_array.c | 237 uint32_t *items, unsigned num_items) 240 assert(items[0] != fl->sentinel); 241 void *last_elem = util_sparse_array_get(fl->arr, items[0]); 244 p_atomic_set(last_next, items[i]); 245 assert(items[i] != fl->sentinel); 246 last_elem = util_sparse_array_get(fl->arr, items[i]); 255 uint64_t new_head = free_list_head(current_head, items[0]); 236 util_sparse_array_free_list_push(struct util_sparse_array_free_list * fl,uint32_t * items,unsigned num_items) argument
|
| H A D | sparse_array.h | 131 uint32_t *items, unsigned num_items);
|
| /xsrc/external/mit/rgb/dist/ |
| H A D | rgb.c | 66 int items; local in function:main 126 items = sscanf (line, "%d %d %d %[^\n]\n", &red, &green, &blue, name); 127 if (items != 4) {
|
| /xsrc/external/mit/libdrm/dist/ |
| H A D | xf86drmMode.c | 1366 drmModeAtomicReqItemPtr items; member in struct:_drmModeAtomicReq 1377 req->items = NULL; 1399 new->items = drmMalloc(old->size_items * sizeof(*new->items)); 1400 if (!new->items) { 1404 memcpy(new->items, old->items, 1405 old->cursor * sizeof(*new->items)); 1407 new->items = NULL; 1429 new = realloc(base->items, [all...] |
| /xsrc/external/mit/libXpm/dist/src/ |
| H A D | rgb.c | 64 int n, items, red, green, blue; local in function:xpmReadRgbNames 79 items = sscanf(line, "%d %d %d %[^\n]\n", &red, &green, &blue, name); 80 if (items != 4)
|