Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DEdits.java233 private int srcIndex, replIndex, destIndex; field in Edits.Iterator
262 srcIndex += oldLength_; in updateIndexes()
378 if (i < srcIndex) { in findSourceIndex()
380 index = remaining = oldLength_ = newLength_ = srcIndex = replIndex = destIndex = 0; in findSourceIndex()
381 } else if (i < (srcIndex + oldLength_)) { in findSourceIndex()
386 if (i < (srcIndex + oldLength_)) { in findSourceIndex()
394 if (i < (srcIndex + len)) { in findSourceIndex()
395 int n = (i - srcIndex) / oldLength_; // 1 <= n <= remaining in findSourceIndex()
397 srcIndex += len; in findSourceIndex()
437 public int sourceIndex() { return srcIndex; } in sourceIndex()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DEdits.java227 private int srcIndex, replIndex, destIndex; field in Edits.Iterator
256 srcIndex += oldLength_; in updateIndexes()
370 if (i < srcIndex) { in findSourceIndex()
372 index = remaining = oldLength_ = newLength_ = srcIndex = replIndex = destIndex = 0; in findSourceIndex()
373 } else if (i < (srcIndex + oldLength_)) { in findSourceIndex()
378 if (i < (srcIndex + oldLength_)) { in findSourceIndex()
386 if (i < (srcIndex + len)) { in findSourceIndex()
387 int n = (i - srcIndex) / oldLength_; // 1 <= n <= remaining in findSourceIndex()
389 srcIndex += len; in findSourceIndex()
425 public int sourceIndex() { return srcIndex; } in sourceIndex()
/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/icu/icu4c/source/common/
Ducasemap.cpp268 int32_t srcIndex, destIndex; in _caseMap() local
274 srcIndex=srcStart; in _caseMap()
276 while(srcIndex<srcLimit) { in _caseMap()
277 csc->cpStart=srcIndex; in _caseMap()
278 U8_NEXT(src, srcIndex, srcLimit, c); in _caseMap()
279 csc->cpLimit=srcIndex; in _caseMap()
282 … destIndex=appendString(dest, destIndex, destCapacity, src+csc->cpStart, srcIndex-csc->cpStart); in _caseMap()
644 int32_t srcIndex, destIndex; in utf8_foldCase() local
651 srcIndex=destIndex=0; in utf8_foldCase()
652 while(srcIndex<srcLength) { in utf8_foldCase()
[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.cpp239 int32_t **offsets, int32_t srcIndex, in ucnv_extWriteToU() argument
247 offsets, srcIndex, in ucnv_extWriteToU()
257 offsets, srcIndex, in ucnv_extWriteToU()
282 int32_t **offsets, int32_t srcIndex, in ucnv_extInitialMatchToU() argument
302 offsets, srcIndex, in ucnv_extInitialMatchToU()
371 UConverterToUnicodeArgs *pArgs, int32_t srcIndex, in ucnv_extContinueMatchToU() argument
397 &pArgs->offsets, srcIndex, in ucnv_extContinueMatchToU()
674 int32_t **offsets, int32_t srcIndex, in ucnv_extWriteFromU() argument
741 offsets, srcIndex, in ucnv_extWriteFromU()
753 int32_t **offsets, int32_t srcIndex, in ucnv_extInitialMatchFromU() argument
[all …]
Dustrcase.cpp160 int32_t srcIndex, destIndex; in _caseMap() local
166 srcIndex=srcStart; in _caseMap()
168 while(srcIndex<srcLimit) { in _caseMap()
169 csc->cpStart=srcIndex; in _caseMap()
170 U16_NEXT(src, srcIndex, srcLimit, c); in _caseMap()
171 csc->cpLimit=srcIndex; in _caseMap()
978 int32_t srcIndex, destIndex; in ustr_foldCase() local
984 srcIndex=destIndex=0; in ustr_foldCase()
985 while(srcIndex<srcLength) { in ustr_foldCase()
986 U16_NEXT(src, srcIndex, srcLength, c); in ustr_foldCase()
Dusprep.cpp519 int32_t srcIndex; in usprep_map() local
529 for(srcIndex=0;srcIndex<srcLength;){ in usprep_map()
532 U16_NEXT(src,srcIndex,srcLength,ch); in usprep_map()
543 uprv_syntaxError(src,srcIndex-U16_LENGTH(ch), srcLength,parseError); in usprep_map()
/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/test/intltest/
Dutxttest.cpp312 int srcIndex = 0; // Code Point indexes of the block to operate on for in TestCMR() local
336 case 1: srcIndex = 0; break; in TestCMR()
337 case 2: srcIndex = 1; break; in TestCMR()
338 case 3: srcIndex = cpCount - srcLength; break; in TestCMR()
339 case 4: srcIndex = cpCount - srcLength - 1; break; in TestCMR()
340 case 5: srcIndex = cpCount / 2; break; in TestCMR()
342 if (srcIndex < 0 || srcIndex + srcLength > cpCount) { in TestCMR()
356 case 3: destIndex = srcIndex - 1; break; in TestCMR()
357 case 4: destIndex = srcIndex + srcLength + 1; break; in TestCMR()
366 nativeStart = nativeMap[srcIndex].nativeIdx; in TestCMR()
[all …]
/external/javassist/src/main/javassist/bytecode/
DAnnotationsAttribute.java541 int copy(int srcIndex) { in copy() argument
542 return srcPool.copy(srcIndex, destPool, classnames); in copy()
555 int copyType(int srcIndex) { in copyType() argument
556 String name = srcPool.getUtf8Info(srcIndex); in copyType()
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationDataBuilder.java696 int srcIndex = Collation.indexFromCE32(ce32); in copyCE32() local
702 ce32 = srcCE32s[srcIndex + i]; in copyCE32()
712 modifiedCEs[j] = Collation.ceFromCE32(srcCE32s[srcIndex + j]); in copyCE32()
722 ce32 = dest.encodeExpansion32(srcCE32s, srcIndex, length); in copyCE32()
726 int srcIndex = Collation.indexFromCE32(ce32); in copyCE32() local
732 long srcCE = srcCEs[srcIndex + i]; in copyCE32()
741 modifiedCEs[j] = srcCEs[srcIndex + j]; in copyCE32()
751 ce32 = dest.encodeExpansion(srcCEs, srcIndex, length); in copyCE32()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationDataBuilder.java695 int srcIndex = Collation.indexFromCE32(ce32); in copyCE32() local
701 ce32 = srcCE32s[srcIndex + i]; in copyCE32()
711 modifiedCEs[j] = Collation.ceFromCE32(srcCE32s[srcIndex + j]); in copyCE32()
721 ce32 = dest.encodeExpansion32(srcCE32s, srcIndex, length); in copyCE32()
725 int srcIndex = Collation.indexFromCE32(ce32); in copyCE32() local
731 long srcCE = srcCEs[srcIndex + i]; in copyCE32()
740 modifiedCEs[j] = srcCEs[srcIndex + j]; in copyCE32()
750 ce32 = dest.encodeExpansion(srcCEs, srcIndex, length); in copyCE32()
/external/skia/tests/
DColorSpaceXformTest.cpp294 int srcIndex = 0; in DEF_TEST() local
301 srcPixels[srcIndex] = SkColorSetRGB(red, green, blue); in DEF_TEST()
302 ++srcIndex; in DEF_TEST()
/external/lzma/CPP/Common/
DMyVector.h15 void MoveItems(unsigned destIndex, unsigned srcIndex) in MoveItems() argument
17 memmove(_items + destIndex, _items + srcIndex, (size_t)(_size - srcIndex) * sizeof(T)); in MoveItems()
/external/swiftshader/src/OpenGL/compiler/
DOutputASM.cpp579 int srcIndex = 0; in visitBinary() local
582 srcIndex = 0; in visitBinary()
586 srcIndex = index * left->elementRegisterCount(); in visitBinary()
591 srcIndex = index; in visitBinary()
595 Instruction *mov = emit(sw::Shader::OPCODE_MOV, result, 0, left, srcIndex); in visitBinary()
1897 Instruction *OutputASM::emitCast(TIntermTyped *dst, int dstIndex, TIntermTyped *src, int srcIndex) in emitCast() argument
1904 case EbtInt: return emit(sw::Shader::OPCODE_B2I, dst, dstIndex, src, srcIndex); in emitCast()
1905 case EbtUInt: return emit(sw::Shader::OPCODE_B2I, dst, dstIndex, src, srcIndex); in emitCast()
1906 case EbtFloat: return emit(sw::Shader::OPCODE_B2F, dst, dstIndex, src, srcIndex); in emitCast()
1913 case EbtBool: return emit(sw::Shader::OPCODE_I2B, dst, dstIndex, src, srcIndex); in emitCast()
[all …]
DOutputASM.h268 Instruction *emitCast(TIntermTyped *dst, int dstIndex, TIntermTyped *src, int srcIndex);
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetMBCS.java1639 …CoderResult continueMatchToU(ByteBuffer source, CharBuffer target, IntBuffer offsets, int srcIndex, in continueMatchToU() argument
1662 cr = writeToU(value[0], target, offsets, srcIndex); in continueMatchToU()
1821 … private CoderResult writeToU(int value, CharBuffer target, IntBuffer offsets, int srcIndex) { in writeToU() argument
1826 return toUWriteCodePoint(TO_U_GET_CODE_POINT(value), target, offsets, srcIndex); in writeToU()
1834 return toUWriteUChars(this, a, 0, a.length, target, offsets, srcIndex); in writeToU()
1919 int srcIndex, boolean flush, CoderResult[] cr) { in initialMatchToU() argument
1931 cr[0] = writeToU(value[0], target, offsets, srcIndex); in initialMatchToU()
3525 int srcIndex) { in continueMatchFromU() argument
3549 writeFromU(value[0], target, offsets, srcIndex); in continueMatchFromU()
3802 … private CoderResult writeFromU(int value, ByteBuffer target, IntBuffer offsets, int srcIndex) { in writeFromU() argument
[all …]
/external/icu/icu4c/source/tools/genrb/
Dwrtxml.cpp237 int32_t srcIndex=0; in convertAndEscape() local
258 while(srcIndex<srcLen){ in convertAndEscape()
259 U16_NEXT(src, srcIndex, srcLen, c); in convertAndEscape()
/external/icu/icu4c/source/test/cintltst/
Dnucnvtst.c3463 int32_t srcIndex=0; in unescape() local
3476 for (; srcIndex<srcLen; ) { in unescape()
3477 UChar32 c = src[srcIndex++]; in unescape()
3479 c = u_unescapeAt(_charAt,&srcIndex,srcLen,(void*)src); /* advances i*/ in unescape()
/external/icu/icu4c/source/i18n/
Dusearch.cpp4112 printf("%8x@%d ", ceb.get(ii)->ce, ceb.get(ii)->srcIndex); in usearch_search()
4395 printf("%8x@%d ", ceb.get(ii)->ce, ceb.get(ii)->srcIndex); in usearch_searchBackwards()