Home
last modified time | relevance | path

Searched refs:countBytes (Results 1 – 6 of 6) 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/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/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/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/r8/src/main/java/com/android/tools/r8/graph/
DDexString.java91 private static int countBytes(String string) { in countBytes() method in DexString
110 byte[] result = new byte[countBytes(string)]; in encode()