Searched refs:countBytes (Results 1 – 9 of 9) sorted by relevance
229 private long writeOrCountBytes(BufferedSink sink, boolean countBytes) throws IOException { in writeOrCountBytes() argument233 if (countBytes) { in writeOrCountBytes()266 } else if (countBytes) { in writeOrCountBytes()274 if (countBytes) { in writeOrCountBytes()288 if (countBytes) { in writeOrCountBytes()
231 private long writeOrCountBytes(BufferedSink sink, boolean countBytes) throws IOException { in writeOrCountBytes() argument235 if (countBytes) { in writeOrCountBytes()268 } else if (countBytes) { in writeOrCountBytes()276 if (countBytes) { in writeOrCountBytes()290 if (countBytes) { in writeOrCountBytes()
62 int bytes = countBytes(inputStream); in openNonAssetShouldOpenRealAssetFromResources()77 assertThat(countBytes(inputStream)).isEqualTo(14611); in openNonAssetShouldOpenFileFromAndroidJar()119 assertThat(countBytes(inputStream)).isEqualTo(8141); in openNonAssetShouldOpenCorrectAssetBasedOnQualifierMdpi()128 assertThat(countBytes(inputStream)).isEqualTo(23447); in openNonAssetShouldOpenCorrectAssetBasedOnQualifierHdpi()218 private static int countBytes(InputStream i) throws IOException { in countBytes() method in ShadowAssetManagerTest
240 private int countBytes(int idx) { in countBytes() method in CollationWeights266 … weight = setWeightByte(weight, length, minBytes[length] + offset % countBytes(length)); in incWeightByOffset()267 offset /= countBytes(length); in incWeightByOffset()278 range.count*=countBytes(length); in lengthenRange()496 int nextCountBytes = countBytes(minLength + 1); in allocWeightsInMinLengthRanges()
242 private int countBytes(int idx) { in countBytes() method in CollationWeights268 … weight = setWeightByte(weight, length, minBytes[length] + offset % countBytes(length)); in incWeightByOffset()269 offset /= countBytes(length); in incWeightByOffset()280 range.count*=countBytes(length); in lengthenRange()498 int nextCountBytes = countBytes(minLength + 1); in allocWeightsInMinLengthRanges()
177 weight = setWeightByte(weight, length, minBytes[length] + offset % countBytes(length)); in incWeightByOffset()178 offset /= countBytes(length); in incWeightByOffset()190 range.count*=countBytes(length); in lengthenRange()435 int32_t nextCountBytes = countBytes(minLength + 1); in allocWeightsInMinLengthRanges()
86 inline int32_t countBytes(int32_t idx) const { in countBytes() function
77 bytesExpected = UTF8.countBytes(ch); in decodeLoop()166 bytesExpected = UTF8.countBytes(ch); in decodeLoop()199 bytesExpected = UTF8.countBytes(ch); in decodeLoop()292 bytesExpected = UTF8.countBytes(ch); in decodeLoop()
34 static int countBytes(byte leadByte) { in countBytes() method in UTF8