Home
last modified time | relevance | path

Searched refs:nGroups (Results 1 – 17 of 17) 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()
298 if (j >= nGroups) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
306 for (v = 0; v < nGroups; v++) pos[v] = v; in BZ2_decompress()
318 for (t = 0; t < nGroups; t++) { in BZ2_decompress()
333 for (t = 0; t < nGroups; t++) { in BZ2_decompress()
620 s->save_nGroups = nGroups; in BZ2_decompress()
DCHANGES55 * changed setting of nGroups in sendMTFValues() so as to
/external/u-boot/lib/bzip2/
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 …]
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()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/bzip2/
DBZip2CompressorOutputStream.java732 final int nGroups = (this.nMTF < 200) ? 2 : (this.nMTF < 600) ? 3 in sendMTFValues() local
736 sendMTFValues0(nGroups, alphaSize); in sendMTFValues()
741 final int nSelectors = sendMTFValues1(nGroups, alphaSize); in sendMTFValues()
744 sendMTFValues2(nGroups, nSelectors); in sendMTFValues()
747 sendMTFValues3(nGroups, alphaSize); in sendMTFValues()
753 sendMTFValues5(nGroups, nSelectors); in sendMTFValues()
756 sendMTFValues6(nGroups, alphaSize); in sendMTFValues()
762 private void sendMTFValues0(final int nGroups, final int alphaSize) { in sendMTFValues0() argument
769 for (int nPart = nGroups; nPart > 0; nPart--) { in sendMTFValues0()
778 if ((ge > gs) && (nPart != nGroups) && (nPart != 1) in sendMTFValues0()
[all …]
DBZip2CompressorInputStream.java496 final int nGroups = bsR(bin, 3);
499 checkBounds(nGroups, N_GROUPS + 1, "nGroups");
511 for (int v = nGroups; --v >= 0;) {
531 for (int t = 0; t < nGroups; t++) {
543 createHuffmanDecodingTables(alphaSize, nGroups);
550 final int nGroups) throws IOException {
558 for (int t = 0; t < nGroups; t++) {
/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.py921 format, reserved, length, language, nGroups = struct.unpack(">HHLLL", data[:16])
922 …assert len(data) == (16 + nGroups*12) == (length), "corrupt cmap table format %d (data length: %d,…
927 self.nGroups = nGroups
943 for i in range(self.nGroups):
954 …ct.pack(">HHLLL", self.format, self.reserved, self.length, self.language, self.nGroups) + self.data
991 nGroups = 0
1001 nGroups = nGroups + 1
1005 nGroups = nGroups + 1
1008 assert len(data) == (nGroups*12) == (lengthSubtable-16)
1009 …return struct.pack(">HHLLL", self.format, self.reserved, lengthSubtable, self.language, nGroups) +…
[all …]