/external/icu/icu4c/source/common/ |
H A D | ucnv_u7.c | 229 int32_t sourceIndex, nextSourceIndex; local 250 /* sourceIndex=-1 if the current character began in the previous buffer */ 251 sourceIndex=byteIndex==0 ? 0 : -1; 262 * In Direct Mode, only the sourceIndex is used. 282 *offsets++=sourceIndex++; 286 nextSourceIndex=++sourceIndex; 306 * In Unicode Mode, the sourceIndex has the index to the start of the current 355 sourceIndex=nextSourceIndex-1; 377 *offsets++=sourceIndex; 378 sourceIndex 467 int32_t length, targetCapacity, sourceIndex; local 911 int32_t sourceIndex, nextSourceIndex; local 1166 int32_t length, targetCapacity, sourceIndex; local [all...] |
H A D | ucnvlat1.c | 41 int32_t sourceIndex; local 49 sourceIndex=0; 85 offsets[0]=sourceIndex++; 86 offsets[1]=sourceIndex++; 87 offsets[2]=sourceIndex++; 88 offsets[3]=sourceIndex++; 89 offsets[4]=sourceIndex++; 90 offsets[5]=sourceIndex++; 91 offsets[6]=sourceIndex++; 92 offsets[7]=sourceIndex 146 int32_t sourceIndex; local 477 int32_t sourceIndex; local [all...] |
H A D | ucnv_cnv.c | 53 int32_t sourceIndex, 68 *o++=sourceIndex; 93 int32_t sourceIndex, 108 *o++=sourceIndex; 133 int32_t sourceIndex, 155 *o++=sourceIndex; 157 *o++=sourceIndex; 49 ucnv_fromUWriteBytes(UConverter *cnv, const char *bytes, int32_t length, char **target, const char *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) argument 89 ucnv_toUWriteUChars(UConverter *cnv, const UChar *uchars, int32_t length, UChar **target, const UChar *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) argument 129 ucnv_toUWriteCodePoint(UConverter *cnv, UChar32 c, UChar **target, const UChar *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) argument
|
H A D | ucnv_u16.c | 57 uint32_t targetCapacity, length, sourceIndex; local 89 sourceIndex=0; 109 sourceIndex=1; 151 *offsets++=sourceIndex; 152 *offsets++=sourceIndex++; 161 *offsets++=sourceIndex; 162 *offsets++=sourceIndex; 163 *offsets++=sourceIndex; 164 *offsets++=sourceIndex; 165 sourceIndex 261 uint32_t targetCapacity, length, count, sourceIndex; local 656 uint32_t targetCapacity, length, sourceIndex; local 860 uint32_t targetCapacity, length, count, sourceIndex; local [all...] |
H A D | ucnvbocu.cpp | 402 int32_t sourceIndex, nextSourceIndex; local 419 /* sourceIndex=-1 if the current character began in the previous buffer */ 420 sourceIndex= c==0 ? 0 : -1; 459 sourceIndex=nextSourceIndex; /* wrong if offsets==NULL but does not matter */ 477 *offsets++=sourceIndex; 480 sourceIndex=nextSourceIndex; 514 *offsets++=sourceIndex; 516 sourceIndex=nextSourceIndex; 536 *offsets++=sourceIndex; 537 *offsets++=sourceIndex; 969 int32_t sourceIndex, nextSourceIndex; local [all...] |
H A D | ucnvscsu.c | 244 int32_t sourceIndex, nextSourceIndex; local 265 /* sourceIndex=-1 if the current character began in the previous buffer */ 266 sourceIndex=state==readCommand ? 0 : -1; 299 *offsets++=sourceIndex; 307 *offsets++=sourceIndex; 315 *offsets++=sourceIndex; 316 *offsets++=sourceIndex; 321 *offsets++=sourceIndex; 330 sourceIndex=nextSourceIndex; 352 *offsets++=sourceIndex; 1026 int32_t sourceIndex, nextSourceIndex; local [all...] |
H A D | ucnvmbcs.cpp | 1108 int32_t **offsets, int32_t sourceIndex, 1120 offsets, sourceIndex, 1154 offsets, sourceIndex, pErrorCode); 1175 int32_t **offsets, int32_t sourceIndex, 1185 offsets, sourceIndex, 1209 ucnv_toUWriteCodePoint(cnv, linear, target, targetLimit, offsets, sourceIndex, pErrorCode); 2042 int32_t sourceIndex; local 2062 /* sourceIndex=-1 if the current character began in the previous buffer */ 2063 sourceIndex=0; 2089 *offsets++=sourceIndex; 1104 _extFromU(UConverter *cnv, const UConverterSharedData *sharedData, UChar32 cp, const UChar **source, const UChar *sourceLimit, uint8_t **target, const uint8_t *targetLimit, int32_t **offsets, int32_t sourceIndex, UBool flush, UErrorCode *pErrorCode) argument 1171 _extToU(UConverter *cnv, const UConverterSharedData *sharedData, int8_t length, const uint8_t **source, const uint8_t *sourceLimit, UChar **target, const UChar *targetLimit, int32_t **offsets, int32_t sourceIndex, UBool flush, UErrorCode *pErrorCode) argument 2194 int32_t sourceIndex; local 2480 int32_t sourceIndex, nextSourceIndex; local 3419 int32_t sourceIndex, nextSourceIndex; local 3650 int32_t sourceIndex, nextSourceIndex; local 3826 int32_t sourceIndex; local 4085 int32_t prevSourceIndex, sourceIndex, nextSourceIndex; local [all...] |
H A D | ucnv_cnv.h | 303 int32_t sourceIndex, 310 int32_t sourceIndex, 318 int32_t sourceIndex,
|
H A D | ucnv.c | 758 int32_t sourceIndex, int32_t errorInputLength) { 762 if(sourceIndex>=0) { 764 * adjust each offset by adding the previous sourceIndex 768 delta=sourceIndex-errorInputLength; 832 int32_t sourceIndex; local 848 sourceIndex=0; 857 sourceIndex=-1; 878 realSourceIndex=sourceIndex; 884 sourceIndex=-1; 925 /* no sourceIndex adjustmen 757 _updateOffsets(int32_t *offsets, int32_t length, int32_t sourceIndex, int32_t errorInputLength) argument 1277 int32_t sourceIndex; local [all...] |
H A D | ucnv2022.cpp | 436 int32_t sourceIndex, 441 offsets, sourceIndex, pErrorCode); 1998 int32_t sourceIndex = (int32_t)(source - args->source - U16_LENGTH(sourceChar)); local 1999 *offsets++ = sourceIndex; 2000 *offsets++ = sourceIndex; 2035 int32_t sourceIndex; local 2054 * of sourceIndex/prevSourceIndex like in ucnvmbcs.c 2059 sourceIndex=(int32_t)(source-args->source); 2060 if(sourceIndex>0) { 2061 --sourceIndex; 432 fromUWriteUInt8(UConverter *cnv, const char *bytes, int32_t length, uint8_t **target, const char *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) argument 2540 int32_t sourceIndex; local 3196 int32_t sourceIndex = (int32_t)(source - args->source - U16_LENGTH(sourceChar)); local 3233 int32_t sourceIndex; local [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
H A D | JSystem.cs | 59 public static void arraycopy<T>( T[] sourceArray, int sourceIndex, T[] destinationArray, int destinationIndex, int length ) argument 61 Array.Copy( sourceArray, sourceIndex, destinationArray, destinationIndex, length );
|
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
H A D | CharsetUTF7.java | 195 int sourceIndex, nextSourceIndex; 212 /* sourceIndex=-1 if the current character began in the previous buffer */ 213 sourceIndex=byteIndex==0 ? 0 : -1; 225 * In Direct Mode, only the sourceIndex is used. 247 offsets.put(sourceIndex++); 256 nextSourceIndex=++sourceIndex; 276 * In Unicode Mode, the sourceIndex has the index to the start of the current 326 sourceIndex=nextSourceIndex-1; 356 offsets.put(sourceIndex); 357 sourceIndex [all...] |
H A D | CharsetBOCU1.java | 236 int sourceIndex, nextSourceIndex; field in class:CharsetBOCU1.CharsetEncoderBOCU 406 /*sourceIndex ==-1 if the current characte began in the previous buffer*/ 407 sourceIndex = c == 0 ? 0: -1; 492 sourceIndex = nextSourceIndex; /*wrong if offsets==null but does not matter*/ 513 offsets.put(sourceIndex++); 517 sourceIndex=nextSourceIndex; 547 offsets.put(sourceIndex++); 550 sourceIndex=nextSourceIndex; 571 offsets.put(sourceIndex); 572 offsets.put(sourceIndex); 689 int sourceIndex, nextSourceIndex; field in class:CharsetBOCU1.CharsetDecoderBOCU [all...] |
H A D | CharsetSCSU.java | 227 //sourceIndex=-1 if the current character began in the previous buffer 228 private int sourceIndex ; field in class:CharsetSCSU.CharsetDecoderSCSU 249 //sourceIndex=-1 if the current character began in the previous buffer 250 sourceIndex = data.toUState == readCommand ? 0: -1 ; 302 offsets.put(sourceIndex); 310 offsets.put(sourceIndex); 318 offsets.put(sourceIndex); 319 offsets.put(sourceIndex); 324 offsets.put(sourceIndex); 334 sourceIndex 634 private int sourceIndex ; field in class:CharsetSCSU.CharsetEncoderSCSU [all...] |
H A D | CharsetUTF8.java | 83 int sourceIndex = source.arrayOffset() + source.position(); 95 char32 = (toUBytesArray[0] = sourceArray[sourceIndex++]) & 0xff; 113 if (sourceIndex >= sourceLimit) { 121 if (((ch = toUBytesArray[bytesSoFar] = sourceArray[sourceIndex++]) & 0xc0) != 0x80) { 123 sourceIndex--; 161 if (sourceIndex >= sourceLimit) { 171 while ((bytesExpected = BYTES_FROM_UTF8[char32 = (toUBytesArray[0] = sourceArray[sourceIndex++]) & 0xff]) == 1) { 173 if (sourceIndex >= sourceLimit) { 198 source.position(sourceIndex - source.arrayOffset()); 204 int sourceIndex 627 private int sourceIndex; field in class:CharsetUTF8.CharsetEncoderUTF8 [all...] |
H A D | CharsetASCII.java | 64 int sourceIndex = oldSource + sourceOffset; 73 + sourceIndex; 74 int offset = targetIndex - sourceIndex; 80 cr = decodeLoopCoreOptimized(source, target, sourceArray, targetArray, sourceIndex, offset, limit); 104 int sourceIndex = -1; 105 while (--count >= 0) offsets.put(++sourceIndex); 222 int sourceIndex = oldSource + sourceOffset; 231 + sourceIndex; 232 int offset = targetIndex - sourceIndex; 238 cr = encodeLoopCoreOptimized(source, target, sourceArray, targetArray, sourceIndex, offse [all...] |
H A D | CharsetDecoderICU.java | 355 /* private void updateOffsets(IntBuffer offsets,int length, int sourceIndex, int errorInputLength) { 359 if(sourceIndex>=0) { 361 * adjust each offset by adding the previous sourceIndex 365 /* delta=sourceIndex-errorInputLength; 398 int sourceIndex; 415 sourceIndex=0; 427 realSourceIndex=sourceIndex; 434 sourceIndex=-1; 467 /* no sourceIndex adjustment for conversion, only for callback output */ 485 updateOffsets(offsets, length, sourceIndex, errorInputLengt 672 toUWriteUChars( CharsetDecoderICU cnv, char[] ucharsArray, int ucharsBegin, int length, CharBuffer target, IntBuffer offsets, int sourceIndex) argument [all...] |
H A D | CharsetMBCS.java | 1838 private CoderResult toUWriteCodePoint(int c, CharBuffer target, IntBuffer offsets, int sourceIndex) { argument 1857 offsets.put(sourceIndex); 1859 offsets.put(sourceIndex); 1877 private int toU(int length, ByteBuffer source, CharBuffer target, IntBuffer offsets, int sourceIndex, argument 1882 && initialMatchToU(length, source, target, offsets, sourceIndex, flush, cr)) { 1903 cr[0] = toUWriteCodePoint(linear, target, offsets, sourceIndex); 2014 int sourceIndex, nextSourceIndex; 2022 * pass sourceIndex=-1 because we continue from an earlier buffer in the future, this may change with 2065 /* sourceIndex=-1 if the current character began in the previous buffer */ 2066 sourceIndex 3882 fromU(int cp, CharBuffer source, ByteBuffer target, IntBuffer offsets, int sourceIndex, int length, boolean flush, CoderResult[] cr) argument 4526 int c, sourceArrayIndex, sourceIndex, nextSourceIndex, prevSourceIndex, prevLength; field in class:CharsetMBCS.CharsetEncoderMBCS.SideEffects 4603 int c, sourceArrayIndex, sourceIndex, nextSourceIndex; field in class:CharsetMBCS.CharsetEncoderMBCS.SideEffectsDouble [all...] |
H A D | CharsetEncoderICU.java | 393 int sourceIndex; 406 sourceIndex = 0; 459 /* no sourceIndex adjustment for conversion, only for callback output */ 482 * (sourceIndex<0) or may not update the offsets pointer 487 if (sourceIndex >= 0) { 488 sourceIndex += (int) (source.position()); 508 if ((sourceIndex += preFromULength) < 0) { 509 sourceIndex = -1; 533 sourceIndex = source.position(); 695 * @param sourceIndex 698 fromUWriteBytes(CharsetEncoderICU cnv, byte[] bytesArray, int bytesBegin, int bytesLength, ByteBuffer out, IntBuffer offsets, int sourceIndex) argument 908 handleSurrogates(char[] sourceArray, int sourceIndex, int sourceLimit, char lead) argument [all...] |
H A D | CharsetCallback.java | 442 private static final int itou(char[] buffer, int sourceIndex, int i, int radix, int minwidth) { argument 450 buffer[sourceIndex + length++] = (char)(digit <= 9 ? (0x0030+digit) : (0x0030+digit+7)); 452 } while (i != 0 && (sourceIndex + length) < buffer.length); 455 buffer[sourceIndex + length++] = (char)0x0030; /* zero padding */ 459 temp = buffer[(sourceIndex + length - 1) - j]; 460 buffer[(sourceIndex + length-1) -j] = buffer[sourceIndex + j]; 461 buffer[sourceIndex + j] = temp;
|
H A D | CharsetISO2022.java | 233 int sourceIndex = source.position(); 235 mySource = source.get(sourceIndex); 242 sourceIndex++; 244 return sourceIndex; 2054 int sourceIndex = source.position() - 1; 2055 offsets.put(sourceIndex); 2056 offsets.put(sourceIndex); 2080 int sourceIndex; 2097 sourceIndex = source.position(); 2098 if (sourceIndex > [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/ |
H A D | JSystem.cs | 60 public static void arraycopy<T>( T[] sourceArray, int sourceIndex, T[] destinationArray, int destinationIndex, int length ) argument 62 Array.Copy( sourceArray, sourceIndex, destinationArray, destinationIndex, length );
|
/external/libvncserver/webclients/novnc/include/ |
H A D | jsunzip.js | 222 this.sourceIndex = 0; 343 d.tag = d.source[d.sourceIndex++] & 0xff; 372 var ret = read_bits_direct(d.source, d.bitcount, d.tag, d.sourceIndex, num); 375 d.sourceIndex = ret[2]; 383 d.tag = d.tag | (d.source[d.sourceIndex++] & 0xff) << d.bitcount; 539 d.sourceIndex -= overflow; 545 length = d.source[d.sourceIndex+1]; 546 length = 256*length + d.source[d.sourceIndex]; 549 invlength = d.source[d.sourceIndex+3]; 550 invlength = 256*invlength + d.source[d.sourceIndex [all...] |
/external/icu/icu4c/source/i18n/ |
H A D | ucol.cpp | 257 int32_t sourceIndex = 0; local 260 sourceIndex++; 261 if(source[sourceIndex] == Collation::LEVEL_SEPARATOR_BYTE) { 265 && (source[sourceIndex] != 0 || sourceIndex < sourceLength)); 267 if((source[sourceIndex] == 0 || sourceIndex == sourceLength) 277 if(result != NULL && resultLength >= sourceIndex+boundType) { 278 uprv_memcpy(result, source, sourceIndex); 285 result[sourceIndex [all...] |
/external/v8/tools/ |
H A D | SourceMap.js | 231 var sourceIndex = 0; 254 var sourceURL = sources[sourceIndex]; 277 sourceIndex += sourceIndexDelta; 278 sourceURL = sources[sourceIndex];
|