Searched defs:sourceIndex (Results 1 - 25 of 31) sorted by relevance

12

/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
H A DJSystem.cs60 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/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
H A DJSystem.cs59 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/chromium_org/third_party/icu/source/common/
H A Ducnv_cnv.c51 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 Ducnv_u16.c55 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
654 uint32_t targetCapacity, length, sourceIndex; local
858 uint32_t targetCapacity, length, count, sourceIndex; local
[all...]
H A Ducnv_u7.c225 int32_t sourceIndex, nextSourceIndex; local
246 /* sourceIndex=-1 if the current character began in the previous buffer */
247 sourceIndex=byteIndex==0 ? 0 : -1;
258 * In Direct Mode, only the sourceIndex is used.
278 *offsets++=sourceIndex++;
282 nextSourceIndex=++sourceIndex;
302 * In Unicode Mode, the sourceIndex has the index to the start of the current
334 *offsets++=sourceIndex;
335 sourceIndex=nextSourceIndex-1;
345 *offsets++=sourceIndex;
451 int32_t length, targetCapacity, sourceIndex; local
882 int32_t sourceIndex, nextSourceIndex; local
1137 int32_t length, targetCapacity, sourceIndex; local
[all...]
H A Ducnvlat1.c38 int32_t sourceIndex; local
46 sourceIndex=0;
82 offsets[0]=sourceIndex++;
83 offsets[1]=sourceIndex++;
84 offsets[2]=sourceIndex++;
85 offsets[3]=sourceIndex++;
86 offsets[4]=sourceIndex++;
87 offsets[5]=sourceIndex++;
88 offsets[6]=sourceIndex++;
89 offsets[7]=sourceIndex
143 int32_t sourceIndex; local
477 int32_t sourceIndex; local
[all...]
H A Ducnvbocu.c395 int32_t sourceIndex, nextSourceIndex; local
414 /* sourceIndex=-1 if the current character began in the previous buffer */
415 sourceIndex= c==0 ? 0 : -1;
454 sourceIndex=nextSourceIndex; /* wrong if offsets==NULL but does not matter */
472 *offsets++=sourceIndex;
475 sourceIndex=nextSourceIndex;
509 *offsets++=sourceIndex;
511 sourceIndex=nextSourceIndex;
531 *offsets++=sourceIndex;
532 *offsets++=sourceIndex;
947 int32_t sourceIndex, nextSourceIndex; local
[all...]
H A Ducnvhz.c38 #define CONCAT_ESCAPE_MACRO( args, targetIndex,targetLength,strToAppend, err, len,sourceIndex){ \
43 *(offsets++) = sourceIndex-1; \
59 int32_t sourceIndex; member in struct:__anon11608
122 ((UConverterDataHZ*)cnv->extraInfo)->sourceIndex = 0;
H A Ducnv_lmb.c855 int sourceIndex = 0; local
1053 *(args->offsets)++ = sourceIndex;
1056 sourceIndex++;
H A Ducnvscsu.c241 int32_t sourceIndex, nextSourceIndex; local
262 /* sourceIndex=-1 if the current character began in the previous buffer */
263 sourceIndex=state==readCommand ? 0 : -1;
296 *offsets++=sourceIndex;
304 *offsets++=sourceIndex;
312 *offsets++=sourceIndex;
313 *offsets++=sourceIndex;
318 *offsets++=sourceIndex;
327 sourceIndex=nextSourceIndex;
349 *offsets++=sourceIndex;
1023 int32_t sourceIndex, nextSourceIndex; local
[all...]
H A Ducnv.c756 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 Ducnv2022.c409 int32_t sourceIndex,
414 offsets, sourceIndex, pErrorCode);
1936 int32_t sourceIndex = (int32_t)(source - args->source - U16_LENGTH(sourceChar)); local
1937 *offsets++ = sourceIndex;
1938 *offsets++ = sourceIndex;
1973 int32_t sourceIndex; local
1992 * of sourceIndex/prevSourceIndex like in ucnvmbcs.c
1997 sourceIndex=(int32_t)(source-args->source);
1998 if(sourceIndex>0) {
1999 --sourceIndex;
405 fromUWriteUInt8(UConverter *cnv, const char *bytes, int32_t length, uint8_t **target, const char *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) argument
2478 int32_t sourceIndex; local
3132 int32_t sourceIndex = (int32_t)(source - args->source - U16_LENGTH(sourceChar)); local
3169 int32_t sourceIndex; local
[all...]
H A Ducnvmbcs.c962 int32_t **offsets, int32_t sourceIndex,
974 offsets, sourceIndex,
1008 offsets, sourceIndex, pErrorCode);
1029 int32_t **offsets, int32_t sourceIndex,
1039 offsets, sourceIndex,
1063 ucnv_toUWriteCodePoint(cnv, linear, target, targetLimit, offsets, sourceIndex, pErrorCode);
1893 int32_t sourceIndex; local
1913 /* sourceIndex=-1 if the current character began in the previous buffer */
1914 sourceIndex=0;
1940 *offsets++=sourceIndex;
958 _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
1025 _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
2045 int32_t sourceIndex; local
2331 int32_t sourceIndex, nextSourceIndex; local
3270 int32_t sourceIndex, nextSourceIndex; local
3501 int32_t sourceIndex, nextSourceIndex; local
3677 int32_t sourceIndex; local
3936 int32_t prevSourceIndex, sourceIndex, nextSourceIndex; local
[all...]
/external/icu4c/common/
H A Ducnv_cnv.c51 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 Ducnv_u16.c55 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
654 uint32_t targetCapacity, length, sourceIndex; local
858 uint32_t targetCapacity, length, count, sourceIndex; local
[all...]
H A Ducnv_u7.c226 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
908 int32_t sourceIndex, nextSourceIndex; local
1163 int32_t length, targetCapacity, sourceIndex; local
[all...]
H A Ducnvlat1.c39 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
478 int32_t sourceIndex; local
[all...]
H A Ducnvbocu.cpp400 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;
952 int32_t sourceIndex, nextSourceIndex; local
[all...]
H A Ducnvhz.c39 #define CONCAT_ESCAPE_MACRO( args, targetIndex,targetLength,strToAppend, err, len,sourceIndex){ \
44 *(offsets++) = sourceIndex-1; \
60 int32_t sourceIndex; member in struct:__anon19088
122 ((UConverterDataHZ*)cnv->extraInfo)->sourceIndex = 0;
H A Ducnv_lmb.c855 int sourceIndex = 0; local
1053 *(args->offsets)++ = sourceIndex;
1056 sourceIndex++;
H A Ducnvscsu.c242 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 Ducnv.c758 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 Ducnv2022.cpp415 int32_t sourceIndex,
420 offsets, sourceIndex, pErrorCode);
1972 int32_t sourceIndex = (int32_t)(source - args->source - U16_LENGTH(sourceChar)); local
1973 *offsets++ = sourceIndex;
1974 *offsets++ = sourceIndex;
2009 int32_t sourceIndex; local
2028 * of sourceIndex/prevSourceIndex like in ucnvmbcs.c
2033 sourceIndex=(int32_t)(source-args->source);
2034 if(sourceIndex>0) {
2035 --sourceIndex;
411 fromUWriteUInt8(UConverter *cnv, const char *bytes, int32_t length, uint8_t **target, const char *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) argument
2514 int32_t sourceIndex; local
3170 int32_t sourceIndex = (int32_t)(source - args->source - U16_LENGTH(sourceChar)); local
3207 int32_t sourceIndex; local
[all...]
H A Ducnvmbcs.c965 int32_t **offsets, int32_t sourceIndex,
977 offsets, sourceIndex,
1011 offsets, sourceIndex, pErrorCode);
1032 int32_t **offsets, int32_t sourceIndex,
1042 offsets, sourceIndex,
1066 ucnv_toUWriteCodePoint(cnv, linear, target, targetLimit, offsets, sourceIndex, pErrorCode);
1895 int32_t sourceIndex; local
1915 /* sourceIndex=-1 if the current character began in the previous buffer */
1916 sourceIndex=0;
1942 *offsets++=sourceIndex;
961 _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
1028 _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
2047 int32_t sourceIndex; local
2333 int32_t sourceIndex, nextSourceIndex; local
3272 int32_t sourceIndex, nextSourceIndex; local
3503 int32_t sourceIndex, nextSourceIndex; local
3679 int32_t sourceIndex; local
3938 int32_t prevSourceIndex, sourceIndex, nextSourceIndex; local
[all...]
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/infobar/
H A DTranslateOptions.java183 private boolean canSetLanguage(int sourceIndex, int targetIndex) { argument
184 if (sourceIndex == targetIndex)
186 return checkLanguageBoundaries(sourceIndex) && checkLanguageBoundaries(targetIndex);

Completed in 1759 milliseconds

12