Home
last modified time | relevance | path

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

/external/okhttp/okio/okio/src/main/java/okio/
DSegmentedByteString.java128 int segmentPos = directory[segment + segments.length]; in getByte() local
129 return segments[segment][pos - segmentOffset + segmentPos]; in getByte()
147 int segmentPos = directory[segmentCount + s]; in toByteArray() local
149 System.arraycopy(segments[s], segmentPos, result, segmentOffset, in toByteArray()
160 int segmentPos = directory[segmentCount + s]; in write() local
162 out.write(segments[s], segmentPos, nextSegmentOffset - segmentOffset); in write()
170 int segmentPos = directory[segmentCount + s]; in write() local
172 Segment segment = new Segment(segments[s], segmentPos, in write()
173 segmentPos + nextSegmentOffset - segmentOffset); in write()
192 int segmentPos = directory[segments.length + s]; in rangeEquals() local
[all …]
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/
DSegmentedByteString.java129 int segmentPos = directory[segment + segments.length]; in getByte() local
130 return segments[segment][pos - segmentOffset + segmentPos]; in getByte()
148 int segmentPos = directory[segmentCount + s]; in toByteArray() local
150 System.arraycopy(segments[s], segmentPos, result, segmentOffset, in toByteArray()
161 int segmentPos = directory[segmentCount + s]; in write() local
163 out.write(segments[s], segmentPos, nextSegmentOffset - segmentOffset); in write()
171 int segmentPos = directory[segmentCount + s]; in write() local
173 Segment segment = new Segment(segments[s], segmentPos, in write()
174 segmentPos + nextSegmentOffset - segmentOffset); in write()
193 int segmentPos = directory[segments.length + s]; in rangeEquals() local
[all …]
/external/okio/okio/src/commonMain/kotlin/okio/internal/
DSegmentedByteString.kt63 val segmentPos = directory[segmentCount + s] in forEachSegment() constant
66 action(segments[s], segmentPos, nextSegmentOffset - pos) in forEachSegment()
86 val segmentPos = directory[segments.size + s] in forEachSegment() constant
89 val offset = segmentPos + (pos - segmentOffset) in forEachSegment()
133 val segmentPos = directory[segment + segments.size] in commonInternalGet() constant
134 return segments[segment][pos - segmentOffset + segmentPos] in commonInternalGet()
DBuffer.kt52 segmentPos: Int, in <lambda>()
58 var segmentPos = segmentPos in <lambda>() variable
64 if (segmentPos == segmentLimit) { in <lambda>()
67 segmentPos = segment.pos in <lambda>()
71 if (data[segmentPos] != bytes[i]) { in <lambda>()
75 segmentPos++ in <lambda>()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCanonicalIterator.java368 private Set<String> extract(int comp, String segment, int segmentPos, StringBuffer buf) { in extract() argument
370 + ", " + Utility.hex(segment.substring(segmentPos))); in extract()
386 for (int i = segmentPos; i < segment.length(); i += UTF16.getCharCount(cp)) { in extract()
427 …if (0!=Normalizer.compare(UTF16.valueOf(comp) + remainder, segment.substring(segmentPos), 0)) retu… in extract()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCanonicalIterator.java364 private Set<String> extract(int comp, String segment, int segmentPos, StringBuffer buf) { in extract() argument
366 + ", " + Utility.hex(segment.substring(segmentPos))); in extract()
382 for (int i = segmentPos; i < segment.length(); i += UTF16.getCharCount(cp)) { in extract()
423 …if (0!=Normalizer.compare(UTF16.valueOf(comp) + remainder, segment.substring(segmentPos), 0)) retu… in extract()
/external/icu/icu4c/source/common/
Dcaniter.cpp500 …linResult, UChar32 comp, const UChar *segment, int32_t segLen, int32_t segmentPos, UErrorCode &sta… in extract() argument
530 int32_t i = segmentPos; in extract()
577 if(U_FAILURE(status) || trial.compare(segment+segmentPos, segLen - segmentPos) != 0) { in extract()
/external/icu/icu4c/source/common/unicode/
Dcaniter.h201 …Result, UChar32 comp, const char16_t *segment, int32_t segLen, int32_t segmentPos, UErrorCode &sta…
/external/icu/libicu/cts_headers/unicode/
Dcaniter.h201 …Result, UChar32 comp, const char16_t *segment, int32_t segLen, int32_t segmentPos, UErrorCode &sta…