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

1 2 3

  /xsrc/external/mit/brotli/dist/c/enc/
block_splitter.h 23 size_t num_types; /* Amount of distinct types */ member in struct:BlockSplit
metablock_inc.h 99 ++split->num_types;
121 if (split->num_types < BROTLI_MAX_NUMBER_OF_BLOCK_TYPES &&
126 split->types[self->num_blocks_] = (uint8_t)split->num_types;
128 self->last_histogram_ix_[0] = (uint8_t)split->num_types;
132 ++split->num_types;
157 if (split->num_types == 1) {
168 *self->histograms_size_ = split->num_types;
metablock.c 198 BROTLI_ALLOC(m, ContextType, mb->literal_split.num_types);
200 for (i = 0; i < mb->literal_split.num_types; ++i) {
206 mb->literal_split.num_types * literal_context_multiplier;
213 mb->distance_split.num_types << BROTLI_DISTANCE_CONTEXT_BITS;
220 mb->command_histograms_size = mb->command_split.num_types;
234 mb->literal_split.num_types << BROTLI_LITERAL_CONTEXT_BITS;
253 for (i = mb->literal_split.num_types; i != 0;) {
265 mb->distance_split.num_types << BROTLI_DISTANCE_CONTEXT_BITS;
404 ++split->num_types;
440 if (split->num_types < self->max_block_types_ &
    [all...]
brotli_bit_stream.c 759 const size_t num_types,
768 memset(type_histo, 0, (num_types + 2) * sizeof(type_histo[0]));
776 StoreVarLenUint8(num_types - 1, storage_ix, storage);
777 if (num_types > 1) { /* TODO: else? could StoreBlockSwitch occur? */
778 BuildAndStoreHuffmanTree(&type_histo[0], num_types + 2, num_types + 2, tree,
790 static void StoreTrivialContextMap(size_t num_types,
795 StoreVarLenUint8(num_types - 1, storage_ix, storage);
796 if (num_types > 1) {
799 size_t alphabet_size = num_types + repeat_code
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/xvmc/tests/
testlib.c 60 int num_types; local
73 XvMCSurfaceInfo *surface_info = XvMCListSurfaceTypes(display, adaptor_info[i].base_id, &num_types);
77 for (j = 0; j < num_types && !found_port; ++j)
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/xvmc/tests/
testlib.c 60 int num_types; local
73 XvMCSurfaceInfo *surface_info = XvMCListSurfaceTypes(display, adaptor_info[i].base_id, &num_types);
77 for (j = 0; j < num_types && !found_port; ++j)
  /xsrc/external/mit/xorg-server.old/dist/Xext/
xres.c 123 int i, clientID, num_types; local
139 num_types = 0;
142 if(counts[i]) num_types++;
147 rep.num_types = num_types;
148 rep.length = bytes_to_int32(rep.num_types * sz_xXResType);
153 swapl (&rep.num_types, n);
158 if(num_types) {
  /xsrc/external/mit/libX11/dist/src/xkb/
XKBMAlloc.c 72 map->num_types = map->size_types = 0;
79 map->num_types = map->size_types = 0;
251 XkbCopyKeyTypes(XkbKeyTypePtr from, XkbKeyTypePtr into, int num_types)
255 if ((!from) || (!into) || (num_types < 0))
257 for (i = 0; i < num_types; i++) {
280 for (i = 0; i < map->num_types; i++) {
289 if ((!map) || (!map->types) || (map->num_types < XkbNumRequiredTypes)) {
296 if (map->num_types <= XkbKeypadIndex)
298 if (map->num_types <= XkbAlphabeticIndex)
300 if (map->num_types <= XkbTwoLevelIndex
    [all...]
XKBList.c 205 list->num_types = rep.nTypes;
213 if ((status == Success) && (list->num_types > 0))
214 list->types = _ReadListing(&buf, list->num_types, &status);
245 _FreeComponentNames(list->num_types, list->types);
XKBNames.c 107 for (i = 0; (i < map->num_types) && (i < rep->nTypes); i++, type++) {
128 if (i >= map->num_types) {
361 (firstType + nTypes > xkb->map->num_types) ||
362 (firstLvlType + nLvlTypes > xkb->map->num_types))
552 nTypes = changes->num_types;
583 (firstType + nTypes > xkb->map->num_types) ||
584 (firstLvlType + nLvlTypes > xkb->map->num_types))
792 new_last = (new->first_type + new->num_types - 1);
793 old_last = (old->first_type + old->num_types - 1);
806 old->num_types = (last - first) + 1
    [all...]
XKBUse.c 50 oldLast = old->first_type + old->num_types - 1;
51 newLast = new->first_type + new->num_types - 1;
58 old->num_types = newLast - first + 1;
62 old->num_types = new->num_types;
279 mev->num_types = mn->nTypes;
444 nev->num_types = nn->nTypes;
  /xsrc/external/mit/libXres/dist/src/
XRes.c 144 int *num_types, XResType **types)
151 *num_types = 0;
167 if (rep.num_types) {
170 if (rep.num_types < (INT_MAX / sizeof(XResType)))
171 typs = Xcalloc(rep.num_types, sizeof(XResType));
176 for (CARD32 i = 0; i < rep.num_types; i++) {
184 *num_types = (int) rep.num_types;
  /xsrc/external/mit/libXres/dist/include/X11/extensions/
XRes.h 89 int *num_types,
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
lp_test_conv.c 396 const unsigned num_types = ARRAY_SIZE(conv_types); variable
407 for(src_type = conv_types; src_type < &conv_types[num_types]; ++src_type) {
408 for(dst_type = conv_types; dst_type < &conv_types[num_types]; ++dst_type) {
436 src_type = &conv_types[rand() % num_types];
439 dst_type = &conv_types[rand() % num_types];
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
lp_test_conv.c 396 const unsigned num_types = ARRAY_SIZE(conv_types); variable
407 for(src_type = conv_types; src_type < &conv_types[num_types]; ++src_type) {
408 for(dst_type = conv_types; dst_type < &conv_types[num_types]; ++dst_type) {
436 src_type = &conv_types[rand() % num_types];
439 dst_type = &conv_types[rand() % num_types];
  /xsrc/external/mit/xorg-server/dist/xkb/
XKBMAlloc.c 73 map->num_types = 0;
83 map->num_types = map->size_types = 0;
87 memset(&map->types[map->num_types], 0,
89 map->num_types) * sizeof(XkbKeyTypeRec)));
254 XkbCopyKeyTypes(XkbKeyTypePtr from, XkbKeyTypePtr into, int num_types)
258 if ((!from) || (!into) || (num_types < 0))
260 for (i = 0; i < num_types; i++) {
275 if ((type_ndx < 0) || (type_ndx >= xkb->map->num_types) || (map_count < 0)
795 if (map->num_types > 0) {
799 for (i = 0, type = map->types; i < map->num_types; i++, type++)
    [all...]
xkbUtils.c 988 if (src->map->types && src->map->num_types) {
989 if (src->map->num_types > dst->map->size_types ||
992 tmp = reallocarray(dst->map->types, src->map->num_types,
997 memset(dst->map->types + dst->map->num_types, 0,
998 (src->map->num_types - dst->map->num_types) *
1002 tmp = calloc(src->map->num_types, sizeof(XkbKeyTypeRec));
1008 else if (src->map->num_types < dst->map->num_types &&
1010 for (i = src->map->num_types, dtype = (dst->map->types + i)
    [all...]
XKBMisc.c 62 if ((protected & (1 << i)) && (types_inout[i] < xkb->map->num_types)) {
571 if (newTypes[i] > xkb->map->num_types)
741 if ((type_ndx < 0) || (type_ndx > xkb->map->num_types))
746 last = changes->map.first_type + changes->map.num_types - 1;
749 changes->map.num_types = (last - type_ndx) + 1;
752 changes->map.num_types =
759 changes->map.num_types = 1;
774 for (i = 0; i < xkb->map->num_types; i++) {
  /xsrc/external/mit/xorg-server.old/dist/xkb/
XKBMAlloc.c 74 map->num_types= 0;
83 map->num_types= map->size_types= 0;
87 memset(&map->types[map->num_types], 0,
88 ((map->size_types-map->num_types)*sizeof(XkbKeyTypeRec)));
255 XkbCopyKeyTypes(XkbKeyTypePtr from,XkbKeyTypePtr into,int num_types)
259 if ((!from)||(!into)||(num_types<0))
261 for (i=0;i<num_types;i++) {
278 if ((type_ndx<0)||(type_ndx>=xkb->map->num_types)||(map_count<0)||
804 if (map->num_types>0) {
807 for (i=0,type=map->types;i<map->num_types;i++,type++)
    [all...]
xkbUtils.c 958 if (src->map->types && src->map->num_types) {
959 if (src->map->num_types > dst->map->size_types ||
963 src->map->num_types * sizeof(XkbKeyTypeRec));
967 memset(dst->map->types + dst->map->num_types, 0,
968 (src->map->num_types - dst->map->num_types) *
972 tmp = calloc(src->map->num_types, sizeof(XkbKeyTypeRec));
978 else if (src->map->num_types < dst->map->num_types &&
980 for (i = src->map->num_types, dtype = (dst->map->types + i)
    [all...]
XKBMisc.c 65 if ((protected&(1<<i))&&(types_inout[i]<xkb->map->num_types)) {
553 if (newTypes[i]>xkb->map->num_types)
715 if ((type_ndx<0)||(type_ndx>xkb->map->num_types))
719 last= changes->map.first_type+changes->map.num_types-1;
722 changes->map.num_types= (last-type_ndx)+1;
725 changes->map.num_types= (type_ndx-changes->map.first_type)+1;
731 changes->map.num_types= 1;
745 for (i=0;i<xkb->map->num_types;i++) {
  /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/xvmc/
context.c 55 int num_types; local
84 surface_info = XvMCListSurfaceTypes(dpy, adaptor_info[j].base_id, &num_types);
90 for (int l = 0; l < num_types && !found_surface; ++l) {
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/xvmc/
context.c 55 int num_types; local
84 surface_info = XvMCListSurfaceTypes(dpy, adaptor_info[j].base_id, &num_types);
90 for (int l = 0; l < num_types && !found_surface; ++l) {
  /xsrc/external/mit/libxkbfile/dist/src/
srvmisc.c 56 if (!XkbSetNames(dpy, XkbAllNamesMask, 0, xkb->map->num_types, xkb))
146 for (t = 0, type = xkb->map->types; t < xkb->map->num_types;
  /xsrc/external/mit/xorg-server/dist/Xext/
xres.c 302 int i, clientID, num_types; local
318 num_types = 0;
322 num_types++;
328 .length = bytes_to_int32(num_types * sz_xXResType),
329 .num_types = num_types
334 swapl(&rep.num_types);
339 if (num_types) {

Completed in 31 milliseconds

1 2 3