Home
last modified time | relevance | path

Searched refs:countBytes (Results 1 – 5 of 5) 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/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationWeights.java238 private int countBytes(int idx) { in countBytes() method in CollationWeights
264 … weight = setWeightByte(weight, length, minBytes[length] + offset % countBytes(length)); in incWeightByOffset()
265 offset /= countBytes(length); in incWeightByOffset()
276 range.count*=countBytes(length); in lengthenRange()
388countBytes(length)*(getWeightByte(end, length-1)-getWeightByte(start, length-1)); in getWeightRanges()
474 int nextCountBytes = countBytes(minLength + 1); in allocWeightsInMinLengthRanges()
/external/dexmaker/src/dx/java/com/android/dx/util/
DMutf8.java65 private static long countBytes(String s, boolean shortLength) throws UTFDataFormatException { in countBytes() method in Mutf8
109 int utfCount = (int) countBytes(s, true); in encode()
/external/icu/icu4c/source/i18n/
Dcollationweights.cpp175 weight = setWeightByte(weight, length, minBytes[length] + offset % countBytes(length)); in incWeightByOffset()
176 offset /= countBytes(length); in incWeightByOffset()
188 range.count*=countBytes(length); in lengthenRange()
316countBytes(length)*(getWeightByte(end, length-1)-getWeightByte(start, length-1))); in getWeightRanges()
408 int32_t nextCountBytes = countBytes(minLength + 1); in allocWeightsInMinLengthRanges()
Dcollationweights.h84 inline int32_t countBytes(int32_t idx) const { in countBytes() function