HomeSort by: relevance | last modified time | path
    Searched refs:items (Results 1 - 25 of 124) sorted by relevancy

1 2 3 4 5

  /xsrc/external/mit/brotli/dist/c/enc/
entropy_encode.h 83 static BROTLI_INLINE void SortHuffmanTreeItems(HuffmanTree* items,
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[j - gap]
    [all...]
memory.c 68 static void SortPointers(void** items, const size_t n) {
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/dist/src/mesa/program/
prog_cache.c 49 struct cache_item **items; member in struct:gl_program_cache
86 struct cache_item **items; local
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/MesaLib.old/dist/src/mesa/program/
prog_cache.c 48 struct cache_item **items; member in struct:gl_program_cache
85 struct cache_item **items; local
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/freetype/dist/src/gzip/
zutil.c 83 voidpf zcalloc (voidpf opaque, unsigned items, unsigned size)
86 ulg bsize = (ulg)items*size;
142 voidpf zcalloc (voidpf opaque, unsigned items, unsigned size)
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);
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/
svga_overlay.h 38 /* May include zero or more items. */
42 } items[1]; member in struct:SVGAEscapeVideoSetRegs
vmwarevideo.c 809 struct _item items[SVGA_VIDEO_DATA_GMRID]; member in struct:_body
820 struct _item *items; local
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_WIDTH].value = w
    [all...]
  /xsrc/external/mit/freetype/dist/builds/meson/
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/x11perf/dist/
do_text.c 31 static XTextItem *items; variable
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[i*SEGS+1].font = bfont->fid
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/include/
svga_overlay.h 71 /* May include zero or more items. */
75 } items[1]; member in struct:SVGAEscapeVideoSetRegs
106 } items[1]; member in struct:__anon1936
115 } items[SVGA_VIDEO_NUM_REGS]; member in struct:__anon1938
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/include/
svga_overlay.h 71 /* May include zero or more items. */
75 } items[1]; member in struct:SVGAEscapeVideoSetRegs
106 } items[1]; member in struct:__anon4363
115 } items[SVGA_VIDEO_NUM_REGS]; member in struct:__anon4365
  /xsrc/external/mit/libXaw/dist/examples/
list.c 29 char *items[]={ "the ","quick","brown", "fox ", local
42 XtNlist,items,
47 XawListChange(list,items,0,0,0);
  /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/
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
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/MesaLib.old/dist/src/mesa/drivers/dri/i965/
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
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/xorg-server/dist/Xext/
xselinux_ext.c 328 SELinuxFreeItems(SELinuxListItemRec * items, int count)
333 freecon(items[k].octx);
334 freecon(items[k].dctx);
336 free(items);
340 SELinuxSendItemsToClient(ClientPtr client, SELinuxListItemRec * items,
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[k].octx) + 1)
406 SELinuxListItemRec *items; local
445 SELinuxListItemRec *items; local
    [all...]
  /xsrc/external/mit/xorg-server.old/dist/Xext/
xselinux_ext.c 328 SELinuxFreeItems(SELinuxListItemRec *items, int count)
332 freecon(items[k].octx);
333 freecon(items[k].dctx);
335 free(items);
339 SELinuxSendItemsToClient(ClientPtr client, SELinuxListItemRec *items,
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[k].octx) + 1)
403 SELinuxListItemRec *items; local
442 SELinuxListItemRec *items; local
    [all...]
  /xsrc/external/mit/libXpm/dist/src/
rgb.c 57 int n, items, red, green, blue; local
72 items = sscanf(line, "%d %d %d %[^\n]\n", &red, &green, &blue, name);
73 if (items != 4)
  /xsrc/external/mit/xorg-server/dist/hw/xquartz/
X11Application.h 52 X11ApplicationSetWindowMenu(int nitems, const char **items,
  /xsrc/external/mit/MesaLib/dist/src/util/
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]);
sparse_array.h 131 uint32_t *items, unsigned num_items);
  /xsrc/external/mit/rgb/dist/
rgb.c 66 int items; local
138 items = sscanf (line, "%d %d %d %[^\n]\n", &red, &green, &blue, name);
139 if (items != 4) {
  /xsrc/external/mit/MesaLib/dist/src/intel/genxml/
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/MesaLib.old/dist/src/intel/genxml/
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/libdrm/dist/
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...]

Completed in 22 milliseconds

1 2 3 4 5