/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/ |
D | UriUtil.java | 184 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/ |
D | utf16collationiterator.cpp | 155 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 …]
|
D | utf16collationiterator.h | 90 rawStart(s), segmentStart(p), segmentLimit(NULL), rawLimit(lim), in FCDUTF16CollationIterator() 172 const UChar *segmentStart; variable
|
D | utf8collationiterator.cpp | 389 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/ |
D | FCDUTF16CollationIterator.java | 33 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/ |
D | FCDUTF16CollationIterator.java | 35 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/ |
D | utf16collationiterator.h | 90 rawStart(s), segmentStart(p), segmentLimit(NULL), rawLimit(lim), in FCDUTF16CollationIterator() 172 const UChar *segmentStart; variable
|
/external/aac/libAACdec/src/ |
D | aacdec_hcr.cpp | 802 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/ |
D | collationtest.cpp | 1441 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/ |
D | CollationTest.java | 1443 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/ |
D | CollationTest.java | 1446 int segmentStart = 0; 1449 if (segmentStart == 0) { 1458 CollationKey tmpKey = coll.getCollationKey(s.substring(segmentStart, i)); 1467 segmentStart = ++i;
|
/external/zstd/tests/ |
D | fuzzer.c | 3543 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()
|