Home
last modified time | relevance | path

Searched refs:indexFrom (Results 1 – 6 of 6) sorted by relevance

/external/apache-http/src/org/apache/http/message/
DBasicLineParser.java147 int indexFrom = cursor.getPos(); in parseProtocolVersion() local
158 buffer.substring(indexFrom, indexTo)); in parseProtocolVersion()
172 buffer.substring(indexFrom, indexTo)); in parseProtocolVersion()
181 buffer.substring(indexFrom, indexTo)); in parseProtocolVersion()
189 buffer.substring(indexFrom, indexTo)); in parseProtocolVersion()
203 buffer.substring(indexFrom, indexTo)); in parseProtocolVersion()
317 int indexFrom = cursor.getPos(); in parseRequestLine() local
327 buffer.substring(indexFrom, indexTo)); in parseRequestLine()
338 buffer.substring(indexFrom, indexTo)); in parseRequestLine()
348 buffer.substring(indexFrom, indexTo)); in parseRequestLine()
[all …]
DBasicHeaderValueParser.java334 int indexFrom = cursor.getPos(); in parseNameValuePair() local
353 name = buffer.substringTrimmed(indexFrom, indexTo); in parseNameValuePair()
355 name = buffer.substringTrimmed(indexFrom, pos); in parseNameValuePair()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/
DShuffleOrder.java138 public ShuffleOrder cloneAndRemove(int indexFrom, int indexToExclusive) { in cloneAndRemove() argument
139 int numberOfElementsToRemove = indexToExclusive - indexFrom; in cloneAndRemove()
143 if (shuffled[i] >= indexFrom && shuffled[i] < indexToExclusive) { in cloneAndRemove()
147 shuffled[i] >= indexFrom ? shuffled[i] - numberOfElementsToRemove : shuffled[i]; in cloneAndRemove()
217 public ShuffleOrder cloneAndRemove(int indexFrom, int indexToExclusive) { in cloneAndRemove() argument
218 return new UnshuffledShuffleOrder(length - indexToExclusive + indexFrom); in cloneAndRemove()
279 ShuffleOrder cloneAndRemove(int indexFrom, int indexToExclusive); in cloneAndRemove() argument
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/source/
DShuffleOrderTest.java150 ShuffleOrder shuffleOrder, int indexFrom, int indexToExclusive) {
151 int numberOfElementsToRemove = indexToExclusive - indexFrom;
152 ShuffleOrder newOrder = shuffleOrder.cloneAndRemove(indexFrom, indexToExclusive);
156 if (i >= indexFrom && i < indexToExclusive) {
160 while (expectedNextIndex >= indexFrom && expectedNextIndex < indexToExclusive) {
163 if (expectedNextIndex != C.INDEX_UNSET && expectedNextIndex >= indexFrom) {
166 int newNextIndex = newOrder.getNextIndex(i < indexFrom ? i : i - numberOfElementsToRemove);
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DFakeShuffleOrder.java64 public ShuffleOrder cloneAndRemove(int indexFrom, int indexToExclusive) { in cloneAndRemove() argument
65 return new FakeShuffleOrder(length - indexToExclusive + indexFrom); in cloneAndRemove()
/external/boringssl/src/util/
Dconvert_comments.go63 func indexFrom(s, sep string, idx int) int { func
179 idx = indexFrom(line, "/*", idx)
185 endIdx := indexFrom(line, "*/", idx)