Home
last modified time | relevance | path

Searched refs:nGroups (Results 1 – 5 of 5) sorted by relevance

/OK3568_Linux_fs/u-boot/lib/bzip2/
H A Dbzlib_compress.c283 Int32 nGroups; in sendMTFValues() local
314 if (s->nMTF < 200) nGroups = 2; else in sendMTFValues()
315 if (s->nMTF < 600) nGroups = 3; else in sendMTFValues()
316 if (s->nMTF < 1200) nGroups = 4; else in sendMTFValues()
317 if (s->nMTF < 2400) nGroups = 5; else in sendMTFValues()
318 nGroups = 6; in sendMTFValues()
324 nPart = nGroups; in sendMTFValues()
337 && nPart != nGroups && nPart != 1 in sendMTFValues()
338 && ((nGroups-nPart) % 2 == 1)) { in sendMTFValues()
365 for (t = 0; t < nGroups; t++) fave[t] = 0; in sendMTFValues()
[all …]
H A Dbzlib_decompress.c161 Int32 nGroups; in BZ2_decompress() local
215 nGroups = s->save_nGroups; in BZ2_decompress()
330 GET_BITS(BZ_X_SELECTOR_1, nGroups, 3); in BZ2_decompress()
331 if (nGroups < 2 || nGroups > 6) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
340 if (j >= nGroups) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
348 for (v = 0; v < nGroups; v++) pos[v] = v; in BZ2_decompress()
360 for (t = 0; t < nGroups; t++) { in BZ2_decompress()
375 for (t = 0; t < nGroups; t++) { in BZ2_decompress()
647 s->save_nGroups = nGroups; in BZ2_decompress()
/OK3568_Linux_fs/external/xserver/xkb/
H A DXKBMisc.c55 int nGroups, tmp, groupsWidth; in XkbKeyTypesForCoreSymbols() local
123 nGroups = 1; in XkbKeyTypesForCoreSymbols()
132 nGroups = 2; in XkbKeyTypesForCoreSymbols()
135 nGroups = 3; in XkbKeyTypesForCoreSymbols()
140 nGroups = 4; in XkbKeyTypesForCoreSymbols()
153 for (i = 0; i < nGroups; i++) { in XkbKeyTypesForCoreSymbols()
197 for (i = nGroups - 1; i >= 0; i--) { in XkbKeyTypesForCoreSymbols()
200 nGroups--; in XkbKeyTypesForCoreSymbols()
203 if (nGroups < 1) in XkbKeyTypesForCoreSymbols()
207 if ((nGroups > 1) && in XkbKeyTypesForCoreSymbols()
[all …]
H A DxkbUtils.c379 int nGroups; in XkbGetCoreMap() local
382 nGroups = XkbKeyNumGroups(xkb, key); in XkbGetCoreMap()
384 if (nGroups > 0) { in XkbGetCoreMap()
393 if (nGroups > 1) { in XkbGetCoreMap()
405 if (nGroups > 2) in XkbGetCoreMap()
407 if (nGroups > 3) in XkbGetCoreMap()
411 if (nGroups > maxNumberOfGroups) in XkbGetCoreMap()
412 maxNumberOfGroups = nGroups; in XkbGetCoreMap()
444 unsigned nGroups, groupWidth, n, nOut; in XkbGetCoreMap() local
446 nGroups = XkbKeyNumGroups(xkb, key); in XkbGetCoreMap()
[all …]
H A Dxkb.c2817 unsigned size, nGroups; in XkbComputeGetCompatMapReplySize() local
2819 nGroups = 0; in XkbComputeGetCompatMapReplySize()
2825 nGroups++; in XkbComputeGetCompatMapReplySize()
2828 size = nGroups * SIZEOF(xkbModsWireDesc); in XkbComputeGetCompatMapReplySize()
2955 int nGroups; in _XkbSetCompatMap() local
2974 nGroups = 0; in _XkbSetCompatMap()
2978 nGroups++; in _XkbSetCompatMap()
2981 data += nGroups * SIZEOF(xkbModsWireDesc); in _XkbSetCompatMap()
3829 int nGroups; in XkbComputeGetNamesReplySize() local
3832 _XkbCountAtoms(xkb->names->groups, XkbNumKbdGroups, &nGroups); in XkbComputeGetNamesReplySize()
[all …]