/external/icu/icu4c/source/common/ |
H A D | ucnv_u7.c | 226 int32_t sourceIndex, nextSourceIndex; local 247 /* sourceIndex=-1 if the current character began in the previous buffer */ 248 sourceIndex=byteIndex==0 ? 0 : -1; 259 * In Direct Mode, only the sourceIndex is used. 279 *offsets++=sourceIndex++; 283 nextSourceIndex=++sourceIndex; 303 * In Unicode Mode, the sourceIndex has the index to the start of the current 352 sourceIndex=nextSourceIndex-1; 374 *offsets++=sourceIndex; 375 sourceIndex 464 int32_t length, targetCapacity, sourceIndex; local 905 int32_t sourceIndex, nextSourceIndex; local 1160 int32_t length, targetCapacity, sourceIndex; local [all...] |
H A D | ucnvlat1.c | 39 int32_t sourceIndex; local 47 sourceIndex=0; 83 offsets[0]=sourceIndex++; 84 offsets[1]=sourceIndex++; 85 offsets[2]=sourceIndex++; 86 offsets[3]=sourceIndex++; 87 offsets[4]=sourceIndex++; 88 offsets[5]=sourceIndex++; 89 offsets[6]=sourceIndex++; 90 offsets[7]=sourceIndex 144 int32_t sourceIndex; local 475 int32_t sourceIndex; local [all...] |
H A D | ucnv_cnv.c | 51 int32_t sourceIndex, 66 *o++=sourceIndex; 91 int32_t sourceIndex, 106 *o++=sourceIndex; 131 int32_t sourceIndex, 153 *o++=sourceIndex; 155 *o++=sourceIndex; 47 ucnv_fromUWriteBytes(UConverter *cnv, const char *bytes, int32_t length, char **target, const char *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) argument 87 ucnv_toUWriteUChars(UConverter *cnv, const UChar *uchars, int32_t length, UChar **target, const UChar *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) argument 127 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 | 55 uint32_t targetCapacity, length, sourceIndex; local 87 sourceIndex=0; 107 sourceIndex=1; 149 *offsets++=sourceIndex; 150 *offsets++=sourceIndex++; 159 *offsets++=sourceIndex; 160 *offsets++=sourceIndex; 161 *offsets++=sourceIndex; 162 *offsets++=sourceIndex; 163 sourceIndex 259 uint32_t targetCapacity, length, count, sourceIndex; local 651 uint32_t targetCapacity, length, sourceIndex; local 855 uint32_t targetCapacity, length, count, sourceIndex; local [all...] |
H A D | ucnvbocu.cpp | 400 int32_t sourceIndex, nextSourceIndex; local 417 /* sourceIndex=-1 if the current character began in the previous buffer */ 418 sourceIndex= c==0 ? 0 : -1; 457 sourceIndex=nextSourceIndex; /* wrong if offsets==NULL but does not matter */ 475 *offsets++=sourceIndex; 478 sourceIndex=nextSourceIndex; 512 *offsets++=sourceIndex; 514 sourceIndex=nextSourceIndex; 534 *offsets++=sourceIndex; 535 *offsets++=sourceIndex; 950 int32_t sourceIndex, nextSourceIndex; local [all...] |
H A D | ucnvscsu.c | 242 int32_t sourceIndex, nextSourceIndex; local 263 /* sourceIndex=-1 if the current character began in the previous buffer */ 264 sourceIndex=state==readCommand ? 0 : -1; 297 *offsets++=sourceIndex; 305 *offsets++=sourceIndex; 313 *offsets++=sourceIndex; 314 *offsets++=sourceIndex; 319 *offsets++=sourceIndex; 328 sourceIndex=nextSourceIndex; 350 *offsets++=sourceIndex; 1024 int32_t sourceIndex, nextSourceIndex; local [all...] |
H A D | ucnvmbcs.cpp | 1102 int32_t **offsets, int32_t sourceIndex, 1114 offsets, sourceIndex, 1148 offsets, sourceIndex, pErrorCode); 1169 int32_t **offsets, int32_t sourceIndex, 1179 offsets, sourceIndex, 1203 ucnv_toUWriteCodePoint(cnv, linear, target, targetLimit, offsets, sourceIndex, pErrorCode); 2032 int32_t sourceIndex; local 2052 /* sourceIndex=-1 if the current character began in the previous buffer */ 2053 sourceIndex=0; 2079 *offsets++=sourceIndex; 1098 _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 1165 _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 2184 int32_t sourceIndex; local 2470 int32_t sourceIndex, nextSourceIndex; local 3409 int32_t sourceIndex, nextSourceIndex; local 3640 int32_t sourceIndex, nextSourceIndex; local 3816 int32_t sourceIndex; local 4075 int32_t prevSourceIndex, sourceIndex, nextSourceIndex; local [all...] |
H A D | ucnv_cnv.h | 301 int32_t sourceIndex, 308 int32_t sourceIndex, 316 int32_t sourceIndex,
|
H A D | ucnv.c | 756 int32_t sourceIndex, int32_t errorInputLength) { 760 if(sourceIndex>=0) { 762 * adjust each offset by adding the previous sourceIndex 766 delta=sourceIndex-errorInputLength; 830 int32_t sourceIndex; local 846 sourceIndex=0; 855 sourceIndex=-1; 876 realSourceIndex=sourceIndex; 882 sourceIndex=-1; 923 /* no sourceIndex adjustmen 755 _updateOffsets(int32_t *offsets, int32_t length, int32_t sourceIndex, int32_t errorInputLength) argument 1275 int32_t sourceIndex; local [all...] |
H A D | ucnv2022.cpp | 429 int32_t sourceIndex, 434 offsets, sourceIndex, pErrorCode); 2009 int32_t sourceIndex = (int32_t)(source - args->source - U16_LENGTH(sourceChar)); local 2010 *offsets++ = sourceIndex; 2011 *offsets++ = sourceIndex; 2046 int32_t sourceIndex; local 2065 * of sourceIndex/prevSourceIndex like in ucnvmbcs.c 2070 sourceIndex=(int32_t)(source-args->source); 2071 if(sourceIndex>0) { 2072 --sourceIndex; 425 fromUWriteUInt8(UConverter *cnv, const char *bytes, int32_t length, uint8_t **target, const char *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) argument 2552 int32_t sourceIndex; local 3208 int32_t sourceIndex = (int32_t)(source - args->source - U16_LENGTH(sourceChar)); local 3245 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 | 191 int sourceIndex, nextSourceIndex; 208 /* sourceIndex=-1 if the current character began in the previous buffer */ 209 sourceIndex=byteIndex==0 ? 0 : -1; 221 * In Direct Mode, only the sourceIndex is used. 243 offsets.put(sourceIndex++); 252 nextSourceIndex=++sourceIndex; 272 * In Unicode Mode, the sourceIndex has the index to the start of the current 322 sourceIndex=nextSourceIndex-1; 352 offsets.put(sourceIndex); 353 sourceIndex [all...] |
H A D | CharsetBOCU1.java | 234 int sourceIndex, nextSourceIndex; field in class:CharsetBOCU1.CharsetEncoderBOCU 403 /*sourceIndex ==-1 if the current characte began in the previous buffer*/ 404 sourceIndex = c == 0 ? 0: -1; 489 sourceIndex = nextSourceIndex; /*wrong if offsets==null but does not matter*/ 510 offsets.put(sourceIndex++); 514 sourceIndex=nextSourceIndex; 544 offsets.put(sourceIndex++); 547 sourceIndex=nextSourceIndex; 568 offsets.put(sourceIndex); 569 offsets.put(sourceIndex); 686 int sourceIndex, nextSourceIndex; field in class:CharsetBOCU1.CharsetDecoderBOCU [all...] |
H A D | CharsetASCII.java | 61 int sourceIndex = oldSource + sourceOffset; 70 + sourceIndex; 71 int offset = targetIndex - sourceIndex; 77 cr = decodeLoopCoreOptimized(source, target, sourceArray, targetArray, sourceIndex, offset, limit); 101 int sourceIndex = -1; 102 while (--count >= 0) offsets.put(++sourceIndex); 217 int sourceIndex = oldSource + sourceOffset; 226 + sourceIndex; 227 int offset = targetIndex - sourceIndex; 233 cr = encodeLoopCoreOptimized(source, target, sourceArray, targetArray, sourceIndex, offse [all...] |
H A D | CharsetSCSU.java | 226 //sourceIndex=-1 if the current character began in the previous buffer 227 private int sourceIndex ; field in class:CharsetSCSU.CharsetDecoderSCSU 247 //sourceIndex=-1 if the current character began in the previous buffer 248 sourceIndex = data.toUState == readCommand ? 0: -1 ; 300 offsets.put(sourceIndex); 308 offsets.put(sourceIndex); 316 offsets.put(sourceIndex); 317 offsets.put(sourceIndex); 322 offsets.put(sourceIndex); 332 sourceIndex 631 private int sourceIndex ; field in class:CharsetSCSU.CharsetEncoderSCSU [all...] |
H A D | CharsetUTF8.java | 80 int sourceIndex = source.arrayOffset() + source.position(); 92 char32 = (toUBytesArray[0] = sourceArray[sourceIndex++]) & 0xff; 110 if (sourceIndex >= sourceLimit) { 118 if (((ch = toUBytesArray[bytesSoFar] = sourceArray[sourceIndex++]) & 0xc0) != 0x80) { 120 sourceIndex--; 158 if (sourceIndex >= sourceLimit) { 168 while ((bytesExpected = BYTES_FROM_UTF8[char32 = (toUBytesArray[0] = sourceArray[sourceIndex++]) & 0xff]) == 1) { 170 if (sourceIndex >= sourceLimit) { 195 source.position(sourceIndex - source.arrayOffset()); 201 int sourceIndex 622 private int sourceIndex; field in class:CharsetUTF8.CharsetEncoderUTF8 [all...] |
H A D | CharsetDecoderICU.java | 347 /* private void updateOffsets(IntBuffer offsets,int length, int sourceIndex, int errorInputLength) { 351 if(sourceIndex>=0) { 353 * adjust each offset by adding the previous sourceIndex 357 /* delta=sourceIndex-errorInputLength; 390 int sourceIndex; 407 sourceIndex=0; 419 realSourceIndex=sourceIndex; 426 sourceIndex=-1; 459 /* no sourceIndex adjustment for conversion, only for callback output */ 477 updateOffsets(offsets, length, sourceIndex, errorInputLengt 664 toUWriteUChars( CharsetDecoderICU cnv, char[] ucharsArray, int ucharsBegin, int length, CharBuffer target, IntBuffer offsets, int sourceIndex) argument [all...] |
H A D | CharsetMBCS.java | 1843 private CoderResult toUWriteCodePoint(int c, CharBuffer target, IntBuffer offsets, int sourceIndex) { argument 1862 offsets.put(sourceIndex); 1864 offsets.put(sourceIndex); 1882 private int toU(int length, ByteBuffer source, CharBuffer target, IntBuffer offsets, int sourceIndex, argument 1887 && initialMatchToU(length, source, target, offsets, sourceIndex, flush, cr)) { 1908 cr[0] = toUWriteCodePoint(linear, target, offsets, sourceIndex); 2019 int sourceIndex, nextSourceIndex; 2027 * pass sourceIndex=-1 because we continue from an earlier buffer in the future, this may change with 2070 /* sourceIndex=-1 if the current character began in the previous buffer */ 2071 sourceIndex 3885 fromU(int cp, CharBuffer source, ByteBuffer target, IntBuffer offsets, int sourceIndex, int length, boolean flush, CoderResult[] cr) argument 4529 int c, sourceArrayIndex, sourceIndex, nextSourceIndex, prevSourceIndex, prevLength; field in class:CharsetMBCS.CharsetEncoderMBCS.SideEffects 4606 int c, sourceArrayIndex, sourceIndex, nextSourceIndex; field in class:CharsetMBCS.CharsetEncoderMBCS.SideEffectsDouble [all...] |
H A D | CharsetEncoderICU.java | 385 int sourceIndex; 398 sourceIndex = 0; 451 /* no sourceIndex adjustment for conversion, only for callback output */ 474 * (sourceIndex<0) or may not update the offsets pointer 479 if (sourceIndex >= 0) { 480 sourceIndex += (int) (source.position()); 500 if ((sourceIndex += preFromULength) < 0) { 501 sourceIndex = -1; 525 sourceIndex = source.position(); 686 * @param sourceIndex 689 fromUWriteBytes(CharsetEncoderICU cnv, byte[] bytesArray, int bytesBegin, int bytesLength, ByteBuffer out, IntBuffer offsets, int sourceIndex) argument 899 handleSurrogates(char[] sourceArray, int sourceIndex, int sourceLimit, char lead) argument [all...] |
H A D | CharsetCallback.java | 432 private static final int itou(char[] buffer, int sourceIndex, int i, int radix, int minwidth) { argument 440 buffer[sourceIndex + length++] = (char)(digit <= 9 ? (0x0030+digit) : (0x0030+digit+7)); 442 } while (i != 0 && (sourceIndex + length) < buffer.length); 445 buffer[sourceIndex + length++] = (char)0x0030; /* zero padding */ 449 temp = buffer[(sourceIndex + length - 1) - j]; 450 buffer[(sourceIndex + length-1) -j] = buffer[sourceIndex + j]; 451 buffer[sourceIndex + j] = temp;
|
H A D | CharsetISO2022.java | 231 int sourceIndex = source.position(); 233 mySource = source.get(sourceIndex); 240 sourceIndex++; 242 return sourceIndex; 2046 int sourceIndex = source.position() - 1; 2047 offsets.put(sourceIndex); 2048 offsets.put(sourceIndex); 2072 int sourceIndex; 2089 sourceIndex = source.position(); 2090 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 | 255 int32_t sourceIndex = 0; local 258 sourceIndex++; 259 if(source[sourceIndex] == Collation::LEVEL_SEPARATOR_BYTE) { 263 && (source[sourceIndex] != 0 || sourceIndex < sourceLength)); 265 if((source[sourceIndex] == 0 || sourceIndex == sourceLength) 275 if(result != NULL && resultLength >= sourceIndex+boundType) { 276 uprv_memcpy(result, source, sourceIndex); 283 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];
|