Home
last modified time | relevance | path

Searched refs:srcIndex (Results 1 – 25 of 74) sorted by relevance

123

/external/icu/icu4c/source/common/
Ducasemap.cpp218 int32_t srcIndex = srcStart; in toLower() local
224 if (U_FAILURE(errorCode) || srcIndex >= srcLimit) { in toLower()
228 uint8_t lead = src[srcIndex++]; in toLower()
232 cpStart = srcIndex - 1; in toLower()
237 ByteSinkUtil::appendUnchanged(src + prev, srcIndex - 1 - prev, in toLower()
244 prev = srcIndex; in toLower()
248 if (0xc2 <= lead && lead <= 0xc5 && srcIndex < srcLimit && in toLower()
249 (t = src[srcIndex] - 0x80) <= 0x3f) { in toLower()
251 ++srcIndex; in toLower()
255 cpStart = srcIndex - 2; in toLower()
[all …]
Dedits.cpp403 srcIndex(0), replIndex(0), destIndex(0) {} in Iterator()
425 srcIndex += oldLength_; in updateNextIndexes()
433 srcIndex -= oldLength_; in updatePreviousIndexes()
657 spanStart = srcIndex; in findIndex()
670 spanStart = findSource ? srcIndex : destIndex; in findIndex()
686 srcIndex -= n * oldLength_; in findIndex()
693 srcIndex -= num * oldLength_; in findIndex()
702 index = remaining = oldLength_ = newLength_ = srcIndex = replIndex = destIndex = 0; in findIndex()
709 spanStart = srcIndex; in findIndex()
725 srcIndex += n * oldLength_; in findIndex()
[all …]
Dustrcase.cpp218 int32_t srcIndex = srcStart; in toLower() local
222 while (srcIndex < srcLimit) { in toLower()
223 lead = src[srcIndex]; in toLower()
228 ++srcIndex; in toLower()
236 ++srcIndex; in toLower()
243 src + prev, srcIndex - 1 - prev, options, edits); in toLower()
254 prev = srcIndex; in toLower()
256 if (srcIndex >= srcLimit) { in toLower()
260 int32_t cpStart = srcIndex++; in toLower()
263 if (U16_IS_LEAD(lead) && srcIndex < srcLimit && U16_IS_TRAIL(trail = src[srcIndex])) { in toLower()
[all …]
Ducnv_ext.h357 int32_t **offsets, int32_t srcIndex,
368 UConverterToUnicodeArgs *pArgs, int32_t srcIndex,
377 int32_t **offsets, int32_t srcIndex,
388 UConverterFromUnicodeArgs *pArgs, int32_t srcIndex,
/external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/
DArrayReferenceImpl.java143 int srcIndex, int length) in setValues() argument
151 values.size() - srcIndex); in setValues()
156 if ((srcIndex < 0) || (srcIndex > values.size())) { in setValues()
158 "Invalid source index: " + srcIndex); in setValues()
160 if (srcIndex + length > values.size()) { in setValues()
163 srcIndex + " to " + in setValues()
164 (srcIndex + length - 1)); in setValues()
171 ValueImpl value = (ValueImpl)values.get(srcIndex + i); in setValues()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DEdits.java288 private int srcIndex, replIndex, destIndex; field in Edits.Iterator
317 srcIndex += oldLength_; in updateNextIndexes()
325 srcIndex -= oldLength_; in updatePreviousIndexes()
593 spanStart = srcIndex; in findIndex()
605 spanStart = findSource ? srcIndex : destIndex; in findIndex()
621 srcIndex -= n * oldLength_; in findIndex()
628 srcIndex -= num * oldLength_; in findIndex()
637 index = remaining = oldLength_ = newLength_ = srcIndex = replIndex = destIndex = 0; in findIndex()
644 spanStart = srcIndex; in findIndex()
660 srcIndex += n * oldLength_; in findIndex()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DEdits.java278 private int srcIndex, replIndex, destIndex; field in Edits.Iterator
307 srcIndex += oldLength_; in updateNextIndexes()
315 srcIndex -= oldLength_; in updatePreviousIndexes()
580 spanStart = srcIndex; in findIndex()
592 spanStart = findSource ? srcIndex : destIndex; in findIndex()
608 srcIndex -= n * oldLength_; in findIndex()
615 srcIndex -= num * oldLength_; in findIndex()
624 index = remaining = oldLength_ = newLength_ = srcIndex = replIndex = destIndex = 0; in findIndex()
631 spanStart = srcIndex; in findIndex()
647 srcIndex += n * oldLength_; in findIndex()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCaseMapImpl.java442 int srcIndex = srcStart; in internalToLower() local
448 if (srcIndex >= srcLimit) { in internalToLower()
451 lead = src.charAt(srcIndex); in internalToLower()
456 ++srcIndex; in internalToLower()
464 ++srcIndex; in internalToLower()
471 appendUnchanged(src, prev, srcIndex - 1 - prev, dest, options, edits); in internalToLower()
476 prev = srcIndex; in internalToLower()
479 int cpStart = srcIndex++; in internalToLower()
482 if (Character.isHighSurrogate(lead) && srcIndex < srcLimit && in internalToLower()
483 Character.isLowSurrogate(trail = src.charAt(srcIndex))) { in internalToLower()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DCaseMapImpl.java447 int srcIndex = srcStart; in internalToLower() local
453 if (srcIndex >= srcLimit) { in internalToLower()
456 lead = src.charAt(srcIndex); in internalToLower()
461 ++srcIndex; in internalToLower()
469 ++srcIndex; in internalToLower()
476 appendUnchanged(src, prev, srcIndex - 1 - prev, dest, options, edits); in internalToLower()
481 prev = srcIndex; in internalToLower()
484 int cpStart = srcIndex++; in internalToLower()
487 if (Character.isHighSurrogate(lead) && srcIndex < srcLimit && in internalToLower()
488 Character.isLowSurrogate(trail = src.charAt(srcIndex))) { in internalToLower()
[all …]
/external/icu/icu4c/source/test/intltest/
Dtestutil.cpp90 int32_t srcIndex = srcLength; in srcIndexFromDest() local
95 int32_t prevSrcIndex = srcIndex - expected[i].oldLength; in srcIndexFromDest()
102 return srcIndex; in srcIndexFromDest()
108 srcIndex = prevSrcIndex; in srcIndexFromDest()
112 return srcIndex; in srcIndexFromDest()
117 int32_t srcIndex = srcLength; in destIndexFromSrc() local
120 while (index < srcIndex && i > 0) { in destIndexFromSrc()
122 int32_t prevSrcIndex = srcIndex - expected[i].oldLength; in destIndexFromSrc()
135 srcIndex = prevSrcIndex; in destIndexFromSrc()
250 int32_t srcIndex = 0; in checkEditsIter() local
[all …]
Dstrcase.cpp1624 for (int32_t srcIndex=0; srcIndex<inputLength; srcIndex++) { in TestCaseMapEditsIteratorDocs() local
1625 fineIterator.findSourceIndex(srcIndex, status); in TestCaseMapEditsIteratorDocs()
1626 fineChangesIterator.findSourceIndex(srcIndex, status); in TestCaseMapEditsIteratorDocs()
1627 coarseIterator.findSourceIndex(srcIndex, status); in TestCaseMapEditsIteratorDocs()
1628 coarseChangesIterator.findSourceIndex(srcIndex, status); in TestCaseMapEditsIteratorDocs()
1630 assertEquals(UnicodeString("Source index: ") + srcIndex, in TestCaseMapEditsIteratorDocs()
1631 expectedDestFineEditIndices[srcIndex], in TestCaseMapEditsIteratorDocs()
1633 assertEquals(UnicodeString("Source index: ") + srcIndex, in TestCaseMapEditsIteratorDocs()
1634 expectedDestFineEditIndices[srcIndex], in TestCaseMapEditsIteratorDocs()
1636 assertEquals(UnicodeString("Source index: ") + srcIndex, in TestCaseMapEditsIteratorDocs()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUCharacterCaseTest.java836 int srcIndex = srcLength; in srcIndexFromDest() local
841 int prevSrcIndex = srcIndex - expected[i].oldLength; in srcIndexFromDest()
848 return srcIndex; in srcIndexFromDest()
854 srcIndex = prevSrcIndex; in srcIndexFromDest()
858 return srcIndex; in srcIndexFromDest()
863 int srcIndex = srcLength; in destIndexFromSrc() local
866 while (index < srcIndex && i > 0) { in destIndexFromSrc()
868 int prevSrcIndex = srcIndex - expected[i].oldLength; in destIndexFromSrc()
881 srcIndex = prevSrcIndex; in destIndexFromSrc()
983 int srcIndex = 0; in checkEditsIter() local
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUCharacterCaseTest.java833 int srcIndex = srcLength; in srcIndexFromDest() local
838 int prevSrcIndex = srcIndex - expected[i].oldLength; in srcIndexFromDest()
845 return srcIndex; in srcIndexFromDest()
851 srcIndex = prevSrcIndex; in srcIndexFromDest()
855 return srcIndex; in srcIndexFromDest()
860 int srcIndex = srcLength; in destIndexFromSrc() local
863 while (index < srcIndex && i > 0) { in destIndexFromSrc()
865 int prevSrcIndex = srcIndex - expected[i].oldLength; in destIndexFromSrc()
878 srcIndex = prevSrcIndex; in destIndexFromSrc()
980 int srcIndex = 0; in checkEditsIter() local
[all …]
/external/guava/android/guava/src/com/google/common/collect/
DCompactLinkedHashSet.java157 int srcIndex = size() - 1; in moveEntry() local
161 if (srcIndex != dstIndex) { in moveEntry()
162 succeeds(predecessor[srcIndex], dstIndex); in moveEntry()
163 succeeds(dstIndex, successor[srcIndex]); in moveEntry()
165 predecessor[srcIndex] = UNSET; in moveEntry()
166 successor[srcIndex] = UNSET; in moveEntry()
DObjectCountHashMap.java448 int srcIndex = size() - 1; in moveLastEntry() local
449 if (dstIndex < srcIndex) { in moveLastEntry()
451 keys[dstIndex] = keys[srcIndex]; in moveLastEntry()
452 values[dstIndex] = values[srcIndex]; in moveLastEntry()
453 keys[srcIndex] = null; in moveLastEntry()
454 values[srcIndex] = 0; in moveLastEntry()
457 long lastEntry = entries[srcIndex]; in moveLastEntry()
459 entries[srcIndex] = UNSET; in moveLastEntry()
465 if (lastNext == srcIndex) { in moveLastEntry()
475 } while (lastNext != srcIndex); in moveLastEntry()
DObjectCountLinkedHashMap.java152 int srcIndex = size() - 1; in moveLastEntry() local
154 if (dstIndex < srcIndex) { in moveLastEntry()
155 setSucceeds(getPredecessor(srcIndex), dstIndex); in moveLastEntry()
156 setSucceeds(dstIndex, getSuccessor(srcIndex)); in moveLastEntry()
DCompactLinkedHashMap.java161 int srcIndex = size() - 1; in moveLastEntry() local
163 if (dstIndex < srcIndex) { in moveLastEntry()
164 setSucceeds(getPredecessor(srcIndex), dstIndex); in moveLastEntry()
165 setSucceeds(dstIndex, getSuccessor(srcIndex)); in moveLastEntry()
DCompactHashSet.java376 int srcIndex = size() - 1; in moveEntry() local
377 if (dstIndex < srcIndex) { in moveEntry()
379 elements[dstIndex] = elements[srcIndex]; in moveEntry()
380 elements[srcIndex] = null; in moveEntry()
383 long lastEntry = entries[srcIndex]; in moveEntry()
385 entries[srcIndex] = UNSET; in moveEntry()
391 if (lastNext == srcIndex) { in moveEntry()
401 } while (lastNext != srcIndex); in moveEntry()
/external/guava/guava/src/com/google/common/collect/
DCompactLinkedHashSet.java162 int srcIndex = size() - 1; in moveEntry() local
166 if (srcIndex != dstIndex) { in moveEntry()
167 succeeds(predecessor[srcIndex], dstIndex); in moveEntry()
168 succeeds(dstIndex, successor[srcIndex]); in moveEntry()
170 predecessor[srcIndex] = UNSET; in moveEntry()
171 successor[srcIndex] = UNSET; in moveEntry()
DCompactHashSet.java380 int srcIndex = size() - 1; in moveEntry() local
381 if (dstIndex < srcIndex) { in moveEntry()
383 elements[dstIndex] = elements[srcIndex]; in moveEntry()
384 elements[srcIndex] = null; in moveEntry()
387 long lastEntry = entries[srcIndex]; in moveEntry()
389 entries[srcIndex] = UNSET; in moveEntry()
395 if (lastNext == srcIndex) { in moveEntry()
405 } while (lastNext != srcIndex); in moveEntry()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
DBlowfishEngine.java513 int srcIndex, in encryptBlock() argument
517 int xl = BytesTo32bits(src, srcIndex); in encryptBlock()
518 int xr = BytesTo32bits(src, srcIndex+4); in encryptBlock()
541 int srcIndex, in decryptBlock() argument
545 int xl = BytesTo32bits(src, srcIndex); in decryptBlock()
546 int xr = BytesTo32bits(src, srcIndex + 4); in decryptBlock()
DTwofishEngine.java447 int srcIndex, in encryptBlock() argument
451 int x0 = BytesTo32Bits(src, srcIndex) ^ gSubKeys[INPUT_WHITEN]; in encryptBlock()
452 int x1 = BytesTo32Bits(src, srcIndex + 4) ^ gSubKeys[INPUT_WHITEN + 1]; in encryptBlock()
453 int x2 = BytesTo32Bits(src, srcIndex + 8) ^ gSubKeys[INPUT_WHITEN + 2]; in encryptBlock()
454 int x3 = BytesTo32Bits(src, srcIndex + 12) ^ gSubKeys[INPUT_WHITEN + 3]; in encryptBlock()
486 int srcIndex, in decryptBlock() argument
490 int x2 = BytesTo32Bits(src, srcIndex) ^ gSubKeys[OUTPUT_WHITEN]; in decryptBlock()
491 int x3 = BytesTo32Bits(src, srcIndex+4) ^ gSubKeys[OUTPUT_WHITEN + 1]; in decryptBlock()
492 int x0 = BytesTo32Bits(src, srcIndex+8) ^ gSubKeys[OUTPUT_WHITEN + 2]; in decryptBlock()
493 int x1 = BytesTo32Bits(src, srcIndex+12) ^ gSubKeys[OUTPUT_WHITEN + 3]; in decryptBlock()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/engines/
DBlowfishEngine.java515 int srcIndex, in encryptBlock() argument
519 int xl = BytesTo32bits(src, srcIndex); in encryptBlock()
520 int xr = BytesTo32bits(src, srcIndex+4); in encryptBlock()
543 int srcIndex, in decryptBlock() argument
547 int xl = BytesTo32bits(src, srcIndex); in decryptBlock()
548 int xr = BytesTo32bits(src, srcIndex + 4); in decryptBlock()
DTwofishEngine.java449 int srcIndex, in encryptBlock() argument
453 int x0 = BytesTo32Bits(src, srcIndex) ^ gSubKeys[INPUT_WHITEN]; in encryptBlock()
454 int x1 = BytesTo32Bits(src, srcIndex + 4) ^ gSubKeys[INPUT_WHITEN + 1]; in encryptBlock()
455 int x2 = BytesTo32Bits(src, srcIndex + 8) ^ gSubKeys[INPUT_WHITEN + 2]; in encryptBlock()
456 int x3 = BytesTo32Bits(src, srcIndex + 12) ^ gSubKeys[INPUT_WHITEN + 3]; in encryptBlock()
488 int srcIndex, in decryptBlock() argument
492 int x2 = BytesTo32Bits(src, srcIndex) ^ gSubKeys[OUTPUT_WHITEN]; in decryptBlock()
493 int x3 = BytesTo32Bits(src, srcIndex+4) ^ gSubKeys[OUTPUT_WHITEN + 1]; in decryptBlock()
494 int x0 = BytesTo32Bits(src, srcIndex+8) ^ gSubKeys[OUTPUT_WHITEN + 2]; in decryptBlock()
495 int x1 = BytesTo32Bits(src, srcIndex+12) ^ gSubKeys[OUTPUT_WHITEN + 3]; in decryptBlock()
/external/v8/src/objects/
Djs-array.tq115 elements: FixedArray, dstIndex: intptr, srcIndex: intptr,
118 ElementsKind::HOLEY_SMI_ELEMENTS, elements, dstIndex, srcIndex, count);
121 elements: FixedArray, dstIndex: intptr, srcIndex: intptr,
124 ElementsKind::HOLEY_ELEMENTS, elements, dstIndex, srcIndex, count);
127 elements: FixedDoubleArray, dstIndex: intptr, srcIndex: intptr,
130 ElementsKind::HOLEY_DOUBLE_ELEMENTS, elements, dstIndex, srcIndex, count);
138 srcIndex: intptr, count: intptr): void {
141 srcIndex, count);
145 srcElements: FixedDoubleArray, srcIndex: intptr, count: intptr): void {
148 srcIndex, count);

123