Home
last modified time | relevance | path

Searched refs:srcIndex (Results 1 – 25 of 51) 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,
Ducnv_ext.cpp240 int32_t **offsets, int32_t srcIndex, in ucnv_extWriteToU() argument
248 offsets, srcIndex, in ucnv_extWriteToU()
258 offsets, srcIndex, in ucnv_extWriteToU()
283 int32_t **offsets, int32_t srcIndex, in ucnv_extInitialMatchToU() argument
303 offsets, srcIndex, in ucnv_extInitialMatchToU()
372 UConverterToUnicodeArgs *pArgs, int32_t srcIndex, in ucnv_extContinueMatchToU() argument
398 &pArgs->offsets, srcIndex, in ucnv_extContinueMatchToU()
675 int32_t **offsets, int32_t srcIndex, in ucnv_extWriteFromU() argument
742 offsets, srcIndex, in ucnv_extWriteFromU()
754 int32_t **offsets, int32_t srcIndex, in ucnv_extInitialMatchFromU() argument
[all …]
/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/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUCharacterCaseTest.java820 int srcIndex = srcLength; in srcIndexFromDest() local
825 int prevSrcIndex = srcIndex - expected[i].oldLength; in srcIndexFromDest()
832 return srcIndex; in srcIndexFromDest()
838 srcIndex = prevSrcIndex; in srcIndexFromDest()
842 return srcIndex; in srcIndexFromDest()
847 int srcIndex = srcLength; in destIndexFromSrc() local
850 while (index < srcIndex && i > 0) { in destIndexFromSrc()
852 int prevSrcIndex = srcIndex - expected[i].oldLength; in destIndexFromSrc()
865 srcIndex = prevSrcIndex; in destIndexFromSrc()
967 int srcIndex = 0; in checkEditsIter() local
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUCharacterCaseTest.java823 int srcIndex = srcLength; in srcIndexFromDest() local
828 int prevSrcIndex = srcIndex - expected[i].oldLength; in srcIndexFromDest()
835 return srcIndex; in srcIndexFromDest()
841 srcIndex = prevSrcIndex; in srcIndexFromDest()
845 return srcIndex; in srcIndexFromDest()
850 int srcIndex = srcLength; in destIndexFromSrc() local
853 while (index < srcIndex && i > 0) { in destIndexFromSrc()
855 int prevSrcIndex = srcIndex - expected[i].oldLength; in destIndexFromSrc()
868 srcIndex = prevSrcIndex; in destIndexFromSrc()
970 int srcIndex = 0; in checkEditsIter() local
[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 …]
Dutxttest.cpp305 int srcIndex = 0; // Code Point indexes of the block to operate on for in TestCMR() local
329 case 1: srcIndex = 0; break; in TestCMR()
330 case 2: srcIndex = 1; break; in TestCMR()
331 case 3: srcIndex = cpCount - srcLength; break; in TestCMR()
332 case 4: srcIndex = cpCount - srcLength - 1; break; in TestCMR()
333 case 5: srcIndex = cpCount / 2; break; in TestCMR()
335 if (srcIndex < 0 || srcIndex + srcLength > cpCount) { in TestCMR()
349 case 3: destIndex = srcIndex - 1; break; in TestCMR()
350 case 4: destIndex = srcIndex + srcLength + 1; break; in TestCMR()
359 nativeStart = nativeMap[srcIndex].nativeIdx; in TestCMR()
[all …]
/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/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DNettyWritableBuffer.java34 public void write(byte[] src, int srcIndex, int length) { in write() argument
35 bytebuf.writeBytes(src, srcIndex, length); in write()
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/
DOkHttpWritableBuffer.java34 public void write(byte[] src, int srcIndex, int length) { in write() argument
35 buffer.write(src, srcIndex, length); in write()
/external/grpc-grpc-java/cronet/src/main/java/io/grpc/cronet/
DCronetWritableBuffer.java31 public void write(byte[] src, int srcIndex, int length) { in write() argument
32 buffer.put(src, srcIndex, length); in write()
/external/smali/smalidea/src/main/java/org/jf/smalidea/debugging/value/
DLazyArrayReference.java68 …public void setValues(int index, List<? extends Value> values, int srcIndex, int length) throws In… in setValues() argument
69 getValue().setValues(index, values, srcIndex, length); in setValues()
/external/icu/icu4c/source/common/unicode/
Dedits.h209 srcIndex(0), replIndex(0), destIndex(0) {} in Iterator()
360 int32_t sourceIndex() const { return srcIndex; } in sourceIndex()
424 int32_t srcIndex, replIndex, destIndex; member
/external/syzkaller/vendor/golang.org/x/net/internal/timeseries/
Dtimeseries.go402 srcIndex := 0
407 srcIndex += int(advance)
419 for srcIndex < ts.numBuckets && srcStart.Before(dstEnd) {
426 srcValue := l.buckets[(srcIndex+l.oldest)%ts.numBuckets]
451 srcIndex++

123