Home
last modified time | relevance | path

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

/external/bzip2/
Dcompress.c243 Int32 nGroups, nBytes; in sendMTFValues() local
273 if (s->nMTF < 200) nGroups = 2; else in sendMTFValues()
274 if (s->nMTF < 600) nGroups = 3; else in sendMTFValues()
275 if (s->nMTF < 1200) nGroups = 4; else in sendMTFValues()
276 if (s->nMTF < 2400) nGroups = 5; else in sendMTFValues()
277 nGroups = 6; in sendMTFValues()
283 nPart = nGroups; in sendMTFValues()
296 && nPart != nGroups && nPart != 1 in sendMTFValues()
297 && ((nGroups-nPart) % 2 == 1)) { in sendMTFValues()
324 for (t = 0; t < nGroups; t++) fave[t] = 0; in sendMTFValues()
[all …]
Ddecompress.c118 Int32 nGroups; in BZ2_decompress() local
172 nGroups = s->save_nGroups; in BZ2_decompress()
287 GET_BITS(BZ_X_SELECTOR_1, nGroups, 3); in BZ2_decompress()
288 if (nGroups < 2 || nGroups > 6) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
297 if (j >= nGroups) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
305 for (v = 0; v < nGroups; v++) pos[v] = v; in BZ2_decompress()
317 for (t = 0; t < nGroups; t++) { in BZ2_decompress()
332 for (t = 0; t < nGroups; t++) { in BZ2_decompress()
619 s->save_nGroups = nGroups; in BZ2_decompress()
DCHANGES55 * changed setting of nGroups in sendMTFValues() so as to
/external/icu/icu4c/source/samples/layout/
Dcmaps.cpp106 return new CMAPGroupMapper(cmap, encoding->groups, SWAPL(encoding->nGroups)); in createUnicodeMapper()
176 CMAPGroupMapper::CMAPGroupMapper(const CMAPTable *cmap, const CMAPGroup *groups, le_uint32 nGroups) in CMAPGroupMapper() argument
179 le_uint8 bit = highBit(nGroups); in CMAPGroupMapper()
181 fRangeOffset = nGroups - fPower; in CMAPGroupMapper()
Dsfnt.h127 le_uint32 nGroups; member
140 le_uint32 nGroups; member
Dcmaps.h68 CMAPGroupMapper(const CMAPTable *cmap, const CMAPGroup *groups, le_uint32 nGroups);
/external/icu/icu4c/source/test/letest/
Dcmaps.cpp145 return new CMAPGroupMapper(cmap, encoding->groups, SWAPL(encoding->nGroups)); in createUnicodeMapper()
216 CMAPGroupMapper::CMAPGroupMapper(const CMAPTable *cmap, const CMAPGroup *groups, le_uint32 nGroups) in CMAPGroupMapper() argument
219 le_uint8 bit = highBit(nGroups); in CMAPGroupMapper()
221 fRangeOffset = nGroups - fPower; in CMAPGroupMapper()
Dsfnt.h211 le_uint32 nGroups; member
220 le_uint32 nGroups; member
250 le_uint32 nGroups; member
258 le_uint32 nGroups; member
Dcmaps.h60 CMAPGroupMapper(const CMAPTable *cmap, const CMAPGroup *groups, le_uint32 nGroups);
/external/icu/icu4c/source/test/perf/leperf/
Dcmaps.cpp146 return new CMAPGroupMapper(cmap, encoding->groups, SWAPL(encoding->nGroups)); in createUnicodeMapper()
217 CMAPGroupMapper::CMAPGroupMapper(const CMAPTable *cmap, const CMAPGroup *groups, le_uint32 nGroups) in CMAPGroupMapper() argument
220 le_uint8 bit = highBit(nGroups); in CMAPGroupMapper()
222 fRangeOffset = nGroups - fPower; in CMAPGroupMapper()
Dsfnt.h215 le_uint32 nGroups; member
224 le_uint32 nGroups; member
254 le_uint32 nGroups; member
262 le_uint32 nGroups; member
Dcmaps.h64 CMAPGroupMapper(const CMAPTable *cmap, const CMAPGroup *groups, le_uint32 nGroups);
/external/fonttools/Lib/fontTools/ttLib/tables/
D_c_m_a_p.py889 format, reserved, length, language, nGroups = struct.unpack(">HHLLL", data[:16])
890 …assert len(data) == (16 + nGroups*12) == (length), "corrupt cmap table format %d (data length: %d,…
895 self.nGroups = nGroups
911 for i in range(self.nGroups):
930 …ct.pack(">HHLLL", self.format, self.reserved, self.length, self.language, self.nGroups) + self.data
967 nGroups = 0
977 nGroups = nGroups + 1
981 nGroups = nGroups + 1
984 assert len(data) == (nGroups*12) == (lengthSubtable-16)
985 …return struct.pack(">HHLLL", self.format, self.reserved , lengthSubtable, self.language, nGroups) …
[all …]
/external/valgrind/memcheck/tests/
Dvarinfo6.c1521 Int32 nGroups; in BZ2_decompress() local
1575 nGroups = s->save_nGroups; in BZ2_decompress()
1690 GET_BITS(BZ_X_SELECTOR_1, nGroups, 3); in BZ2_decompress()
1691 if (nGroups < 2 || nGroups > 6) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
1701 if (j >= nGroups) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
1709 for (v = 0; v < nGroups; v++) pos[v] = v; in BZ2_decompress()
1721 for (t = 0; t < nGroups; t++) { in BZ2_decompress()
1736 for (t = 0; t < nGroups; t++) { in BZ2_decompress()
2003 s->save_nGroups = nGroups; in BZ2_decompress()
3698 Int32 nGroups, nBytes; in sendMTFValues() local
[all …]
Dorigin5-bz2.c1483 Int32 nGroups; in BZ2_decompress() local
1537 nGroups = s->save_nGroups; in BZ2_decompress()
1652 GET_BITS(BZ_X_SELECTOR_1, nGroups, 3); in BZ2_decompress()
1653 if (nGroups < 2 || nGroups > 6) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
1662 if (j >= nGroups) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
1670 for (v = 0; v < nGroups; v++) pos[v] = v; in BZ2_decompress()
1682 for (t = 0; t < nGroups; t++) { in BZ2_decompress()
1697 for (t = 0; t < nGroups; t++) { in BZ2_decompress()
1964 s->save_nGroups = nGroups; in BZ2_decompress()
3661 Int32 nGroups, nBytes; in sendMTFValues() local
[all …]
/external/valgrind/perf/
Dbz2.c1481 Int32 nGroups; in BZ2_decompress() local
1535 nGroups = s->save_nGroups; in BZ2_decompress()
1650 GET_BITS(BZ_X_SELECTOR_1, nGroups, 3); in BZ2_decompress()
1651 if (nGroups < 2 || nGroups > 6) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
1660 if (j >= nGroups) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
1668 for (v = 0; v < nGroups; v++) pos[v] = v; in BZ2_decompress()
1680 for (t = 0; t < nGroups; t++) { in BZ2_decompress()
1695 for (t = 0; t < nGroups; t++) { in BZ2_decompress()
1962 s->save_nGroups = nGroups; in BZ2_decompress()
3659 Int32 nGroups, nBytes; in sendMTFValues() local
[all …]
Dtest_input_for_tinycc.c1440 Int32 nGroups; in BZ2_decompress() local
1494 nGroups = s->save_nGroups; in BZ2_decompress()
1609 …nt32 v; v = (s->bsBuff >> (s->bsLive-3)) & ((1 << 3)-1); s->bsLive -= 3; nGroups = v; break; } if … in BZ2_decompress()
1610 if (nGroups < 2 || nGroups > 6) { retVal = (-4); goto save_state_and_return; };; in BZ2_decompress()
1619 if (j >= nGroups) { retVal = (-4); goto save_state_and_return; };; in BZ2_decompress()
1627 for (v = 0; v < nGroups; v++) pos[v] = v; in BZ2_decompress()
1639 for (t = 0; t < nGroups; t++) { in BZ2_decompress()
1654 for (t = 0; t < nGroups; t++) { in BZ2_decompress()
1921 s->save_nGroups = nGroups; in BZ2_decompress()
3034 Int32 nGroups, nBytes; in sendMTFValues() local
[all …]
/external/valgrind/exp-sgcheck/tests/
Dhackedbz2.c1492 Int32 nGroups; in BZ2_decompress() local
1546 nGroups = s->save_nGroups; in BZ2_decompress()
1661 GET_BITS(BZ_X_SELECTOR_1, nGroups, 3); in BZ2_decompress()
1662 if (nGroups < 2 || nGroups > 6) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
1671 if (j >= nGroups) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
1679 for (v = 0; v < nGroups; v++) pos[v] = v; in BZ2_decompress()
1691 for (t = 0; t < nGroups; t++) { in BZ2_decompress()
1706 for (t = 0; t < nGroups; t++) { in BZ2_decompress()
1973 s->save_nGroups = nGroups; in BZ2_decompress()
3670 Int32 nGroups, nBytes; in sendMTFValues() local
[all …]