Home
last modified time | relevance | path

Searched refs:segmentStart (Results 1 – 12 of 12) sorted by relevance

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/
DUriUtil.java184 int segmentStart = offset; in removeDotSegments() local
198 if (i == segmentStart + 1 && uri.charAt(segmentStart) == '.') { in removeDotSegments()
200 uri.delete(segmentStart, nextSegmentStart); in removeDotSegments()
201 limit -= nextSegmentStart - segmentStart; in removeDotSegments()
202 i = segmentStart; in removeDotSegments()
203 } else if (i == segmentStart + 2 && uri.charAt(segmentStart) == '.' in removeDotSegments()
204 && uri.charAt(segmentStart + 1) == '.') { in removeDotSegments()
206 int prevSegmentStart = uri.lastIndexOf("/", segmentStart - 2) + 1; in removeDotSegments()
210 segmentStart = prevSegmentStart; in removeDotSegments()
214 segmentStart = i; in removeDotSegments()
/external/icu/icu4c/source/i18n/
Dutf16collationiterator.cpp155 segmentStart(newText + (other.segmentStart - other.rawStart)), in FCDUTF16CollationIterator()
161 if(checkDir != 0 || other.start == other.segmentStart) { in FCDUTF16CollationIterator()
181 if(checkDir == 0 && (start == segmentStart) != (o.start == o.segmentStart)) { return FALSE; } in operator ==()
182 if(checkDir != 0 || start == segmentStart) { in operator ==()
185 return (segmentStart - rawStart) == (o.segmentStart - o.rawStart) && in operator ==()
193 start = segmentStart = pos = rawStart + newOffset; in resetToOffset()
200 if(checkDir != 0 || start == segmentStart) { in getOffset()
203 return (int32_t)(segmentStart - rawStart); in getOffset()
348 start = segmentStart = pos; in switchToForward()
357 if(start == segmentStart) { in switchToForward()
[all …]
Dutf16collationiterator.h90 rawStart(s), segmentStart(p), segmentLimit(NULL), rawLimit(lim), in FCDUTF16CollationIterator()
172 const UChar *segmentStart; variable
Dutf8collationiterator.cpp389 int32_t segmentStart = pos; in nextSegment() local
400 if(leadCC == 0 && cpStart != segmentStart) { in nextSegment()
418 start = segmentStart; in nextSegment()
431 pos = segmentStart; in nextSegment()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DFCDUTF16CollationIterator.java33 segmentStart = p; in FCDUTF16CollationIterator()
60 return (segmentStart - rawStart) == (o.segmentStart - /*o.*/ rawStart) && in equals()
75 start = segmentStart = pos = rawStart + newOffset; in resetToOffset()
85 return segmentStart - rawStart; in getOffset()
95 segmentStart = p; in setText()
227 start = segmentStart = pos; in switchToForward()
242 pos = start = segmentStart = segmentLimit; in switchToForward()
308 if(pos == segmentStart) {
322 pos = limit = segmentLimit = segmentStart;
348 start = segmentStart = q;
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DFCDUTF16CollationIterator.java35 segmentStart = p; in FCDUTF16CollationIterator()
62 return (segmentStart - rawStart) == (o.segmentStart - /*o.*/ rawStart) && in equals()
77 start = segmentStart = pos = rawStart + newOffset; in resetToOffset()
87 return segmentStart - rawStart; in getOffset()
97 segmentStart = p; in setText()
229 start = segmentStart = pos; in switchToForward()
244 pos = start = segmentStart = segmentLimit; in switchToForward()
310 if(pos == segmentStart) {
324 pos = limit = segmentLimit = segmentStart;
350 start = segmentStart = q;
[all …]
/external/icu/libicu/cts_headers/
Dutf16collationiterator.h90 rawStart(s), segmentStart(p), segmentLimit(NULL), rawLimit(lim), in FCDUTF16CollationIterator()
172 const UChar *segmentStart; variable
/external/aac/libAACdec/src/
Daacdec_hcr.cpp802 INT segmentStart = 0; in HcrPrepareSegmentationGrid() local
828 intermediateResult = segmentStart; in HcrPrepareSegmentationGrid()
829 if ((segmentStart + segmentWidth) <= lengthOfReorderedSpectralData) { in HcrPrepareSegmentationGrid()
835 segmentStart += segmentWidth; in HcrPrepareSegmentationGrid()
844 segmentStart = *pLeftStartOfSegment; in HcrPrepareSegmentationGrid()
846 lastSegmentWidth = lengthOfReorderedSpectralData - segmentStart; in HcrPrepareSegmentationGrid()
848 *pRightStartOfSegment = segmentStart + lastSegmentWidth - 1; in HcrPrepareSegmentationGrid()
/external/icu/icu4c/source/test/intltest/
Dcollationtest.cpp1441 int32_t segmentStart = 0; in getMergedCollationKey() local
1444 if(segmentStart == 0) { in getMergedCollationKey()
1455 coll->getCollationKey(s + segmentStart, i - segmentStart, key2, errorCode); in getMergedCollationKey()
1485 segmentStart = ++i; in getMergedCollationKey()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationTest.java1443 int segmentStart = 0;
1446 if (segmentStart == 0) {
1455 CollationKey tmpKey = coll.getCollationKey(s.substring(segmentStart, i));
1464 segmentStart = ++i;
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationTest.java1446 int segmentStart = 0;
1449 if (segmentStart == 0) {
1458 CollationKey tmpKey = coll.getCollationKey(s.substring(segmentStart, i));
1467 segmentStart = ++i;
/external/zstd/tests/
Dfuzzer.c3543 size_t const segmentStart = FUZ_rand(&lseed) % (srcBufferSize - segmentSize); in fuzzerTests() local
3548 … ZSTD_compressContinue(ctx, cBuffer+cSize, cBufferSize-cSize, srcBuffer+segmentStart, segmentSize); in fuzzerTests()
3552 XXH64_update(&xxhState, srcBuffer+segmentStart, segmentSize); in fuzzerTests()
3553 memcpy(mirrorBuffer + totalTestSize, srcBuffer+segmentStart, segmentSize); in fuzzerTests()