/external/icu/icu4c/source/common/ |
D | ucnv_u7.cpp | 231 int32_t sourceIndex, nextSourceIndex; in _UTF7ToUnicodeWithOffsets() local 253 sourceIndex=byteIndex==0 ? 0 : -1; in _UTF7ToUnicodeWithOffsets() 284 *offsets++=sourceIndex++; in _UTF7ToUnicodeWithOffsets() 288 nextSourceIndex=++sourceIndex; in _UTF7ToUnicodeWithOffsets() 357 sourceIndex=nextSourceIndex-1; in _UTF7ToUnicodeWithOffsets() 379 *offsets++=sourceIndex; in _UTF7ToUnicodeWithOffsets() 380 sourceIndex=nextSourceIndex-1; in _UTF7ToUnicodeWithOffsets() 390 *offsets++=sourceIndex; in _UTF7ToUnicodeWithOffsets() 391 sourceIndex=nextSourceIndex-1; in _UTF7ToUnicodeWithOffsets() 401 *offsets++=sourceIndex; in _UTF7ToUnicodeWithOffsets() [all …]
|
D | ucnvlat1.cpp | 43 int32_t sourceIndex; in _Latin1ToUnicodeWithOffsets() local 51 sourceIndex=0; in _Latin1ToUnicodeWithOffsets() 87 offsets[0]=sourceIndex++; in _Latin1ToUnicodeWithOffsets() 88 offsets[1]=sourceIndex++; in _Latin1ToUnicodeWithOffsets() 89 offsets[2]=sourceIndex++; in _Latin1ToUnicodeWithOffsets() 90 offsets[3]=sourceIndex++; in _Latin1ToUnicodeWithOffsets() 91 offsets[4]=sourceIndex++; in _Latin1ToUnicodeWithOffsets() 92 offsets[5]=sourceIndex++; in _Latin1ToUnicodeWithOffsets() 93 offsets[6]=sourceIndex++; in _Latin1ToUnicodeWithOffsets() 94 offsets[7]=sourceIndex++; in _Latin1ToUnicodeWithOffsets() [all …]
|
D | ucnv_u16.cpp | 59 uint32_t targetCapacity, length, sourceIndex; in _UTF16BEFromUnicodeWithOffsets() local 91 sourceIndex=0; in _UTF16BEFromUnicodeWithOffsets() 111 sourceIndex=1; in _UTF16BEFromUnicodeWithOffsets() 153 *offsets++=sourceIndex; in _UTF16BEFromUnicodeWithOffsets() 154 *offsets++=sourceIndex++; in _UTF16BEFromUnicodeWithOffsets() 163 *offsets++=sourceIndex; in _UTF16BEFromUnicodeWithOffsets() 164 *offsets++=sourceIndex; in _UTF16BEFromUnicodeWithOffsets() 165 *offsets++=sourceIndex; in _UTF16BEFromUnicodeWithOffsets() 166 *offsets++=sourceIndex; in _UTF16BEFromUnicodeWithOffsets() 167 sourceIndex+=2; in _UTF16BEFromUnicodeWithOffsets() [all …]
|
D | ucnvbocu.cpp | 402 int32_t sourceIndex, nextSourceIndex; in _Bocu1FromUnicodeWithOffsets() local 420 sourceIndex= c==0 ? 0 : -1; in _Bocu1FromUnicodeWithOffsets() 459 sourceIndex=nextSourceIndex; /* wrong if offsets==NULL but does not matter */ in _Bocu1FromUnicodeWithOffsets() 477 *offsets++=sourceIndex; in _Bocu1FromUnicodeWithOffsets() 480 sourceIndex=nextSourceIndex; in _Bocu1FromUnicodeWithOffsets() 514 *offsets++=sourceIndex; in _Bocu1FromUnicodeWithOffsets() 516 sourceIndex=nextSourceIndex; in _Bocu1FromUnicodeWithOffsets() 536 *offsets++=sourceIndex; in _Bocu1FromUnicodeWithOffsets() 537 *offsets++=sourceIndex; in _Bocu1FromUnicodeWithOffsets() 539 sourceIndex=nextSourceIndex; in _Bocu1FromUnicodeWithOffsets() [all …]
|
D | ucnvscsu.cpp | 244 int32_t sourceIndex, nextSourceIndex; in _SCSUToUnicodeWithOffsets() local 266 sourceIndex=state==readCommand ? 0 : -1; in _SCSUToUnicodeWithOffsets() 299 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets() 307 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets() 315 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets() 316 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets() 321 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets() 330 sourceIndex=nextSourceIndex; in _SCSUToUnicodeWithOffsets() 352 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets() 354 sourceIndex=nextSourceIndex; in _SCSUToUnicodeWithOffsets() [all …]
|
D | ucnvmbcs.cpp | 1109 int32_t **offsets, int32_t sourceIndex, in _extFromU() argument 1121 offsets, sourceIndex, in _extFromU() 1155 offsets, sourceIndex, pErrorCode); in _extFromU() 1176 int32_t **offsets, int32_t sourceIndex, in _extToU() argument 1186 offsets, sourceIndex, in _extToU() 1210 … ucnv_toUWriteCodePoint(cnv, linear, target, targetLimit, offsets, sourceIndex, pErrorCode); in _extToU() 2043 int32_t sourceIndex; in ucnv_MBCSSingleToUnicodeWithOffsets() local 2064 sourceIndex=0; in ucnv_MBCSSingleToUnicodeWithOffsets() 2090 *offsets++=sourceIndex; in ucnv_MBCSSingleToUnicodeWithOffsets() 2094 ++sourceIndex; in ucnv_MBCSSingleToUnicodeWithOffsets() [all …]
|
D | ucnv_cnv.cpp | 59 int32_t sourceIndex, in ucnv_fromUWriteBytes() argument 74 *o++=sourceIndex; in ucnv_fromUWriteBytes() 99 int32_t sourceIndex, in ucnv_toUWriteUChars() argument 114 *o++=sourceIndex; in ucnv_toUWriteUChars() 139 int32_t sourceIndex, in ucnv_toUWriteCodePoint() argument 161 *o++=sourceIndex; in ucnv_toUWriteCodePoint() 163 *o++=sourceIndex; in ucnv_toUWriteCodePoint()
|
D | ucnv2022.cpp | 436 int32_t sourceIndex, in fromUWriteUInt8() argument 441 offsets, sourceIndex, pErrorCode); in fromUWriteUInt8() 1998 int32_t sourceIndex = (int32_t)(source - args->source - U16_LENGTH(sourceChar)); in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() local 1999 *offsets++ = sourceIndex; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 2000 *offsets++ = sourceIndex; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 2035 int32_t sourceIndex; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() local 2059 sourceIndex=(int32_t)(source-args->source); in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 2060 if(sourceIndex>0) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 2061 --sourceIndex; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 2062 if( U16_IS_TRAIL(args->source[sourceIndex]) && in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() [all …]
|
D | ucnv.cpp | 758 int32_t sourceIndex, int32_t errorInputLength) { in _updateOffsets() argument 762 if(sourceIndex>=0) { in _updateOffsets() 768 delta=sourceIndex-errorInputLength; in _updateOffsets() 832 int32_t sourceIndex; in _fromUnicodeWithCallback() local 848 sourceIndex=0; in _fromUnicodeWithCallback() 857 sourceIndex=-1; in _fromUnicodeWithCallback() 878 realSourceIndex=sourceIndex; in _fromUnicodeWithCallback() 884 sourceIndex=-1; in _fromUnicodeWithCallback() 941 _updateOffsets(offsets, length, sourceIndex, errorInputLength); in _fromUnicodeWithCallback() 953 if(sourceIndex>=0) { in _fromUnicodeWithCallback() [all …]
|
D | ucnv_cnv.h | 303 int32_t sourceIndex, 310 int32_t sourceIndex, 318 int32_t sourceIndex,
|
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
D | CharsetUTF7.java | 195 int sourceIndex, nextSourceIndex; in decodeLoop() local 213 sourceIndex=byteIndex==0 ? 0 : -1; in decodeLoop() 247 offsets.put(sourceIndex++); in decodeLoop() 256 nextSourceIndex=++sourceIndex; in decodeLoop() 326 sourceIndex=nextSourceIndex-1; in decodeLoop() 356 offsets.put(sourceIndex); in decodeLoop() 357 sourceIndex=nextSourceIndex - 1; in decodeLoop() 375 offsets.put(sourceIndex); in decodeLoop() 376 sourceIndex=nextSourceIndex - 1; in decodeLoop() 394 offsets.put(sourceIndex); in decodeLoop() [all …]
|
D | CharsetSCSU.java | 228 private int sourceIndex ; field in CharsetSCSU.CharsetDecoderSCSU 250 sourceIndex = data.toUState == readCommand ? 0: -1 ; in decodeLoop() 302 offsets.put(sourceIndex); in fastSingle() 310 offsets.put(sourceIndex); in fastSingle() 318 offsets.put(sourceIndex); in fastSingle() 319 offsets.put(sourceIndex); in fastSingle() 324 offsets.put(sourceIndex); in fastSingle() 334 sourceIndex = nextSourceIndex; in fastSingle() 344 offsets.put(sourceIndex); in fastSingle() 346 sourceIndex = nextSourceIndex; in fastSingle() [all …]
|
D | CharsetBOCU1.java | 236 int sourceIndex, nextSourceIndex; field in CharsetBOCU1.CharsetEncoderBOCU 407 sourceIndex = c == 0 ? 0: -1; in encodeLoop() 492 sourceIndex = nextSourceIndex; /*wrong if offsets==null but does not matter*/ in regularLoop() 513 offsets.put(sourceIndex++); in regularLoop() 517 sourceIndex=nextSourceIndex; in regularLoop() 547 offsets.put(sourceIndex++); in regularLoop() 550 sourceIndex=nextSourceIndex; in regularLoop() 571 offsets.put(sourceIndex); in regularLoop() 572 offsets.put(sourceIndex); in regularLoop() 575 sourceIndex = nextSourceIndex; in regularLoop() [all …]
|
D | CharsetUTF8.java | 64 int sourceIndex = source.arrayOffset() + source.position(); in decodeLoop() local 76 toUBytesArray[0] = ch = sourceArray[sourceIndex++]; in decodeLoop() 94 if (sourceIndex >= sourceLimit) { in decodeLoop() 102 toUBytesArray[bytesSoFar] = ch = sourceArray[sourceIndex++]; in decodeLoop() 105 sourceIndex--; in decodeLoop() 142 if (sourceIndex >= sourceLimit) { in decodeLoop() 152 while (UTF8.isSingle(ch = sourceArray[sourceIndex++])) { in decodeLoop() 154 if (sourceIndex >= sourceLimit) { in decodeLoop() 181 source.position(sourceIndex - source.arrayOffset()); in decodeLoop() 187 int sourceIndex = source.position(); in decodeLoop() local [all …]
|
D | CharsetMBCS.java | 1838 …ivate CoderResult toUWriteCodePoint(int c, CharBuffer target, IntBuffer offsets, int sourceIndex) { in toUWriteCodePoint() argument 1857 offsets.put(sourceIndex); in toUWriteCodePoint() 1859 offsets.put(sourceIndex); in toUWriteCodePoint() 1877 …ivate int toU(int length, ByteBuffer source, CharBuffer target, IntBuffer offsets, int sourceIndex, in toU() argument 1882 && initialMatchToU(length, source, target, offsets, sourceIndex, flush, cr)) { in toU() 1903 cr[0] = toUWriteCodePoint(linear, target, offsets, sourceIndex); in toU() 2014 int sourceIndex, nextSourceIndex; in cnvMBCSToUnicodeWithOffsets() local 2066 sourceIndex = byteIndex == 0 ? 0 : -1; in cnvMBCSToUnicodeWithOffsets() 2099 offsets.put(sourceIndex); in cnvMBCSToUnicodeWithOffsets() 2100 sourceIndex = (nextSourceIndex += 2); in cnvMBCSToUnicodeWithOffsets() [all …]
|
D | CharsetASCII.java | 64 int sourceIndex = oldSource + sourceOffset; in decodeLoop() local 73 + sourceIndex; in decodeLoop() 74 int offset = targetIndex - sourceIndex; in decodeLoop() 80 …cr = decodeLoopCoreOptimized(source, target, sourceArray, targetArray, sourceIndex, offset, limit); in decodeLoop() 104 int sourceIndex = -1; in decodeLoop() local 105 while (--count >= 0) offsets.put(++sourceIndex); in decodeLoop() 222 int sourceIndex = oldSource + sourceOffset; in encodeLoop() local 231 + sourceIndex; in encodeLoop() 232 int offset = targetIndex - sourceIndex; in encodeLoop() 238 …cr = encodeLoopCoreOptimized(source, target, sourceArray, targetArray, sourceIndex, offset, limit,… in encodeLoop() [all …]
|
D | CharsetDecoderICU.java | 398 int sourceIndex; in toUnicodeWithCallback() local 415 sourceIndex=0; in toUnicodeWithCallback() 427 realSourceIndex=sourceIndex; in toUnicodeWithCallback() 434 sourceIndex=-1; in toUnicodeWithCallback() 513 realSourceIndex=sourceIndex; in toUnicodeWithCallback() 523 if((sourceIndex+=preToULength)<0) { in toUnicodeWithCallback() 524 sourceIndex=-1; in toUnicodeWithCallback() 551 sourceIndex=realSourceIndex; in toUnicodeWithCallback() 674 … CharBuffer target, IntBuffer offsets, int sourceIndex) { in toUWriteUChars() argument 689 offsets.put(sourceIndex); in toUWriteUChars()
|
D | CharsetEncoderICU.java | 393 int sourceIndex; in fromUnicodeWithCallback() local 406 sourceIndex = 0; in fromUnicodeWithCallback() 508 if ((sourceIndex += preFromULength) < 0) { in fromUnicodeWithCallback() 509 sourceIndex = -1; in fromUnicodeWithCallback() 533 sourceIndex = source.position(); in fromUnicodeWithCallback() 700 IntBuffer offsets, int sourceIndex) { in fromUWriteBytes() argument 719 offsets.put(sourceIndex); in fromUWriteBytes() 908 final CoderResult handleSurrogates(char[] sourceArray, int sourceIndex, in handleSurrogates() argument 915 if (sourceIndex >= sourceLimit) { in handleSurrogates() 920 char trail = sourceArray[sourceIndex]; in handleSurrogates()
|
D | CharsetISO2022.java | 233 int sourceIndex = source.position(); in getEndOfBuffer_2022() local 235 mySource = source.get(sourceIndex); in getEndOfBuffer_2022() 242 sourceIndex++; in getEndOfBuffer_2022() 244 return sourceIndex; in getEndOfBuffer_2022() 2054 int sourceIndex = source.position() - 1; in encodeLoop() local 2055 offsets.put(sourceIndex); in encodeLoop() 2056 offsets.put(sourceIndex); in encodeLoop() 2080 int sourceIndex; in encodeLoop() local 2097 sourceIndex = source.position(); in encodeLoop() 2098 if (sourceIndex > 0) { in encodeLoop() [all …]
|
D | CharsetCallback.java | 432 private static final int itou(char[] buffer, int sourceIndex, int i, int radix, int minwidth) { in itou() argument 440 buffer[sourceIndex + length++] = (char)(digit <= 9 ? (0x0030+digit) : (0x0030+digit+7)); in itou() 442 } while (i != 0 && (sourceIndex + length) < buffer.length); in itou() 445 buffer[sourceIndex + length++] = (char)0x0030; /* zero padding */ in itou() 449 temp = buffer[(sourceIndex + length - 1) - j]; in itou() 450 buffer[(sourceIndex + length-1) -j] = buffer[sourceIndex + j]; in itou() 451 buffer[sourceIndex + j] = temp; in itou()
|
D | CharsetUTF16.java | 295 int sourceIndex = source.position() - 1; in encodeChar() local 311 cr = fromUWriteBytes(this, temp, 0, 4, target, offsets, sourceIndex); in encodeChar() 316 cr = fromUWriteBytes(this, temp, 0, 2, target, offsets, sourceIndex); in encodeChar()
|
/external/icu/icu4c/source/i18n/ |
D | ucol.cpp | 258 int32_t sourceIndex = 0; in ucol_getBound() local 261 sourceIndex++; in ucol_getBound() 262 if(source[sourceIndex] == Collation::LEVEL_SEPARATOR_BYTE) { in ucol_getBound() 266 && (source[sourceIndex] != 0 || sourceIndex < sourceLength)); in ucol_getBound() 268 if((source[sourceIndex] == 0 || sourceIndex == sourceLength) in ucol_getBound() 278 if(result != NULL && resultLength >= sourceIndex+boundType) { in ucol_getBound() 279 uprv_memcpy(result, source, sourceIndex); in ucol_getBound() 286 result[sourceIndex++] = 2; in ucol_getBound() 290 result[sourceIndex++] = 0xFF; in ucol_getBound() 291 result[sourceIndex++] = 0xFF; in ucol_getBound() [all …]
|
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
D | JSystem.cs | 59 …public static void arraycopy<T>( T[] sourceArray, int sourceIndex, T[] destinationArray, int desti… in arraycopy() argument 61 Array.Copy( sourceArray, sourceIndex, destinationArray, destinationIndex, length ); in arraycopy()
|
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/ |
D | JSystem.cs | 60 …public static void arraycopy<T>( T[] sourceArray, int sourceIndex, T[] destinationArray, int desti… in arraycopy() argument 62 Array.Copy( sourceArray, sourceIndex, destinationArray, destinationIndex, length ); in arraycopy()
|
/external/v8/tools/ |
D | SourceMap.js | 231 var sourceIndex = 0; 254 var sourceURL = sources[sourceIndex]; 277 sourceIndex += sourceIndexDelta; 278 sourceURL = sources[sourceIndex];
|