Home
last modified time | relevance | path

Searched refs:srcIndex (Results 1 – 25 of 67) 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.cpp404 srcIndex(0), replIndex(0), destIndex(0) {} in Iterator()
426 srcIndex += oldLength_; in updateNextIndexes()
434 srcIndex -= oldLength_; in updatePreviousIndexes()
658 spanStart = srcIndex; in findIndex()
671 spanStart = findSource ? srcIndex : destIndex; in findIndex()
687 srcIndex -= n * oldLength_; in findIndex()
694 srcIndex -= num * oldLength_; in findIndex()
703 index = remaining = oldLength_ = newLength_ = srcIndex = replIndex = destIndex = 0; in findIndex()
710 spanStart = srcIndex; in findIndex()
726 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/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/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/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 …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUCharacterCaseTest.java853 int srcIndex = srcLength; in srcIndexFromDest() local
858 int prevSrcIndex = srcIndex - expected[i].oldLength; in srcIndexFromDest()
865 return srcIndex; in srcIndexFromDest()
871 srcIndex = prevSrcIndex; in srcIndexFromDest()
875 return srcIndex; in srcIndexFromDest()
880 int srcIndex = srcLength; in destIndexFromSrc() local
883 while (index < srcIndex && i > 0) { in destIndexFromSrc()
885 int prevSrcIndex = srcIndex - expected[i].oldLength; in destIndexFromSrc()
898 srcIndex = prevSrcIndex; in destIndexFromSrc()
1000 int srcIndex = 0; in checkEditsIter() local
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUCharacterCaseTest.java856 int srcIndex = srcLength; in srcIndexFromDest() local
861 int prevSrcIndex = srcIndex - expected[i].oldLength; in srcIndexFromDest()
868 return srcIndex; in srcIndexFromDest()
874 srcIndex = prevSrcIndex; in srcIndexFromDest()
878 return srcIndex; in srcIndexFromDest()
883 int srcIndex = srcLength; in destIndexFromSrc() local
886 while (index < srcIndex && i > 0) { in destIndexFromSrc()
888 int prevSrcIndex = srcIndex - expected[i].oldLength; in destIndexFromSrc()
901 srcIndex = prevSrcIndex; in destIndexFromSrc()
1003 int srcIndex = 0; in checkEditsIter() local
[all …]
/external/guava/android/guava/src/com/google/common/collect/
DCompactLinkedHashSet.java192 int srcIndex = size() - 1; in moveLastEntry() local
196 if (dstIndex < srcIndex) { in moveLastEntry()
197 setSucceeds(getPredecessor(srcIndex), dstIndex); in moveLastEntry()
198 setSucceeds(dstIndex, getSuccessor(srcIndex)); in moveLastEntry()
200 predecessor[srcIndex] = 0; in moveLastEntry()
201 successor[srcIndex] = 0; in moveLastEntry()
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()
DCompactLinkedHashMap.java184 int srcIndex = size() - 1; in moveLastEntry() local
188 if (dstIndex < srcIndex) { in moveLastEntry()
189 setSucceeds(getPredecessor(srcIndex), dstIndex); in moveLastEntry()
190 setSucceeds(dstIndex, getSuccessor(srcIndex)); in moveLastEntry()
192 links[srcIndex] = 0; 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()
/external/guava/guava/src/com/google/common/collect/
DCompactLinkedHashSet.java194 int srcIndex = size() - 1; in moveLastEntry() local
198 if (dstIndex < srcIndex) { in moveLastEntry()
199 setSucceeds(getPredecessor(srcIndex), dstIndex); in moveLastEntry()
200 setSucceeds(dstIndex, getSuccessor(srcIndex)); in moveLastEntry()
202 predecessor[srcIndex] = 0; in moveLastEntry()
203 successor[srcIndex] = 0; in moveLastEntry()
DCompactLinkedHashMap.java189 int srcIndex = size() - 1; in moveLastEntry() local
193 if (dstIndex < srcIndex) { in moveLastEntry()
194 setSucceeds(getPredecessor(srcIndex), dstIndex); in moveLastEntry()
195 setSucceeds(dstIndex, getSuccessor(srcIndex)); in moveLastEntry()
197 links[srcIndex] = 0; in moveLastEntry()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
DBlowfishEngine.java514 int srcIndex, in encryptBlock() argument
518 int xl = BytesTo32bits(src, srcIndex); in encryptBlock()
519 int xr = BytesTo32bits(src, srcIndex+4); in encryptBlock()
542 int srcIndex, in decryptBlock() argument
546 int xl = BytesTo32bits(src, srcIndex); in decryptBlock()
547 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.java516 int srcIndex, in encryptBlock() argument
520 int xl = BytesTo32bits(src, srcIndex); in encryptBlock()
521 int xr = BytesTo32bits(src, srcIndex+4); in encryptBlock()
544 int srcIndex, in decryptBlock() argument
548 int xl = BytesTo32bits(src, srcIndex); in decryptBlock()
549 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/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/engines/
DBlowfishEngine.java516 int srcIndex, in encryptBlock() argument
520 int xl = BytesTo32bits(src, srcIndex); in encryptBlock()
521 int xr = BytesTo32bits(src, srcIndex+4); in encryptBlock()
544 int srcIndex, in decryptBlock() argument
548 int xl = BytesTo32bits(src, srcIndex); in decryptBlock()
549 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/icu/libicu/cts_headers/
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,

123