/external/icu/icu4c/source/common/ |
ucnv_u7.c | 226 int32_t sourceIndex, nextSourceIndex; 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=nextSourceIndex-1 [all...] |
ucnvlat1.c | 39 int32_t sourceIndex; 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++ [all...] |
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;
|
ucnv_u16.c | 55 uint32_t targetCapacity, length, sourceIndex; 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+=2 [all...] |
ucnvbocu.cpp | 400 int32_t sourceIndex, nextSourceIndex; 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; [all...] |
ucnvscsu.c | 242 int32_t sourceIndex, nextSourceIndex; 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; [all...] |
ucnvmbcs.cpp | [all...] |
ucnv_cnv.h | 301 int32_t sourceIndex, 308 int32_t sourceIndex, 316 int32_t sourceIndex,
|
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
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=nextSourceIndex - 1 [all...] |
CharsetBOCU1.java | 234 int sourceIndex, nextSourceIndex; 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); [all...] |
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, offset, limit, flush) [all...] |
CharsetSCSU.java | 226 //sourceIndex=-1 if the current character began in the previous buffer 227 private int sourceIndex ; 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 = nextSourceIndex [all...] |
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 = source.position() [all...] |
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, errorInputLength) [all...] |
CharsetMBCS.java | [all...] |
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 [all...] |
CharsetCallback.java | 432 private static final int itou(char[] buffer, int sourceIndex, int i, int radix, int minwidth) { 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;
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/ |
JSystem.cs | 60 public static void arraycopy<T>( T[] sourceArray, int sourceIndex, T[] destinationArray, int destinationIndex, int length ) 62 Array.Copy( sourceArray, sourceIndex, destinationArray, destinationIndex, length );
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
JSystem.cs | 59 public static void arraycopy<T>( T[] sourceArray, int sourceIndex, T[] destinationArray, int destinationIndex, int length ) 61 Array.Copy( sourceArray, sourceIndex, destinationArray, destinationIndex, length );
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
RegisteredMediaRouteProviderWatcher.java | 100 int sourceIndex = findProvider(serviceInfo.packageName, serviceInfo.name); 101 if (sourceIndex < 0) { 108 } else if (sourceIndex >= targetIndex) { 109 RegisteredMediaRouteProvider provider = mProviders.get(sourceIndex); 112 Collections.swap(mProviders, sourceIndex, targetIndex++);
|
/external/icu/icu4c/source/i18n/ |
ucol.cpp | 255 int32_t sourceIndex = 0; 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++] = 2 [all...] |
/external/libvncserver/webclients/novnc/include/ |
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+2] [all...] |
/frameworks/base/services/core/java/com/android/server/media/ |
RemoteDisplayProviderWatcher.java | 121 int sourceIndex = findProvider(serviceInfo.packageName, serviceInfo.name); 122 if (sourceIndex < 0) { 130 } else if (sourceIndex >= targetIndex) { 131 RemoteDisplayProviderProxy provider = mProviders.get(sourceIndex); 134 Collections.swap(mProviders, sourceIndex, targetIndex++);
|
/frameworks/base/services/core/java/com/android/server/tv/ |
TvRemoteProviderWatcher.java | 116 int sourceIndex = findProvider(serviceInfo.packageName, serviceInfo.name); 117 if (sourceIndex < 0) { 125 } else if (sourceIndex >= targetIndex) { 126 TvRemoteProviderProxy provider = mProviderProxies.get(sourceIndex); 129 Collections.swap(mProviderProxies, sourceIndex, targetIndex++);
|
/frameworks/av/include/media/stagefright/ |
MPEG2TSWriter.h | 80 void writeAccessUnit(int32_t sourceIndex, const sp<ABuffer> &buffer);
|