Home
last modified time | relevance | path

Searched refs:countBytes (Results 1 – 9 of 9) sorted by relevance

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DMultipartBuilder.java229 private long writeOrCountBytes(BufferedSink sink, boolean countBytes) throws IOException { in writeOrCountBytes() argument
233 if (countBytes) { in writeOrCountBytes()
266 } else if (countBytes) { in writeOrCountBytes()
274 if (countBytes) { in writeOrCountBytes()
288 if (countBytes) { in writeOrCountBytes()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DMultipartBuilder.java231 private long writeOrCountBytes(BufferedSink sink, boolean countBytes) throws IOException { in writeOrCountBytes() argument
235 if (countBytes) { in writeOrCountBytes()
268 } else if (countBytes) { in writeOrCountBytes()
276 if (countBytes) { in writeOrCountBytes()
290 if (countBytes) { in writeOrCountBytes()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowAssetManagerTest.java62 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
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationWeights.java240 private int countBytes(int idx) { in countBytes() method in CollationWeights
266 … 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()
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationWeights.java242 private int countBytes(int idx) { in countBytes() method in CollationWeights
268 … 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()
/external/icu/icu4c/source/i18n/
Dcollationweights.cpp177 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()
Dcollationweights.h86 inline int32_t countBytes(int32_t idx) const { in countBytes() function
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetUTF8.java77 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()
DUTF8.java34 static int countBytes(byte leadByte) { in countBytes() method in UTF8