Home
last modified time | relevance | path

Searched refs:sourceIndex (Results 1 – 25 of 38) sorted by relevance

12

/external/icu/icu4c/source/common/
Ducnv_u7.c226 int32_t sourceIndex, nextSourceIndex; in _UTF7ToUnicodeWithOffsets() local
248 sourceIndex=byteIndex==0 ? 0 : -1; in _UTF7ToUnicodeWithOffsets()
279 *offsets++=sourceIndex++; in _UTF7ToUnicodeWithOffsets()
283 nextSourceIndex=++sourceIndex; in _UTF7ToUnicodeWithOffsets()
352 sourceIndex=nextSourceIndex-1; in _UTF7ToUnicodeWithOffsets()
374 *offsets++=sourceIndex; in _UTF7ToUnicodeWithOffsets()
375 sourceIndex=nextSourceIndex-1; in _UTF7ToUnicodeWithOffsets()
385 *offsets++=sourceIndex; in _UTF7ToUnicodeWithOffsets()
386 sourceIndex=nextSourceIndex-1; in _UTF7ToUnicodeWithOffsets()
396 *offsets++=sourceIndex; in _UTF7ToUnicodeWithOffsets()
[all …]
Ducnvlat1.c39 int32_t sourceIndex; in _Latin1ToUnicodeWithOffsets() local
47 sourceIndex=0; in _Latin1ToUnicodeWithOffsets()
83 offsets[0]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
84 offsets[1]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
85 offsets[2]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
86 offsets[3]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
87 offsets[4]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
88 offsets[5]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
89 offsets[6]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
90 offsets[7]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
[all …]
Ducnv_u16.c55 uint32_t targetCapacity, length, sourceIndex; in _UTF16BEFromUnicodeWithOffsets() local
87 sourceIndex=0; in _UTF16BEFromUnicodeWithOffsets()
107 sourceIndex=1; in _UTF16BEFromUnicodeWithOffsets()
149 *offsets++=sourceIndex; in _UTF16BEFromUnicodeWithOffsets()
150 *offsets++=sourceIndex++; in _UTF16BEFromUnicodeWithOffsets()
159 *offsets++=sourceIndex; in _UTF16BEFromUnicodeWithOffsets()
160 *offsets++=sourceIndex; in _UTF16BEFromUnicodeWithOffsets()
161 *offsets++=sourceIndex; in _UTF16BEFromUnicodeWithOffsets()
162 *offsets++=sourceIndex; in _UTF16BEFromUnicodeWithOffsets()
163 sourceIndex+=2; in _UTF16BEFromUnicodeWithOffsets()
[all …]
Ducnvbocu.cpp400 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 …]
Ducnvscsu.c242 int32_t sourceIndex, nextSourceIndex; in _SCSUToUnicodeWithOffsets() local
264 sourceIndex=state==readCommand ? 0 : -1; in _SCSUToUnicodeWithOffsets()
297 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets()
305 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets()
313 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets()
314 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets()
319 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets()
328 sourceIndex=nextSourceIndex; in _SCSUToUnicodeWithOffsets()
350 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets()
352 sourceIndex=nextSourceIndex; in _SCSUToUnicodeWithOffsets()
[all …]
Ducnv_cnv.c51 int32_t sourceIndex, in ucnv_fromUWriteBytes() argument
66 *o++=sourceIndex; in ucnv_fromUWriteBytes()
91 int32_t sourceIndex, in ucnv_toUWriteUChars() argument
106 *o++=sourceIndex; in ucnv_toUWriteUChars()
131 int32_t sourceIndex, in ucnv_toUWriteCodePoint() argument
153 *o++=sourceIndex; in ucnv_toUWriteCodePoint()
155 *o++=sourceIndex; in ucnv_toUWriteCodePoint()
Ducnvmbcs.c965 int32_t **offsets, int32_t sourceIndex, in _extFromU() argument
977 offsets, sourceIndex, in _extFromU()
1011 offsets, sourceIndex, pErrorCode); in _extFromU()
1032 int32_t **offsets, int32_t sourceIndex, in _extToU() argument
1042 offsets, sourceIndex, in _extToU()
1066 … ucnv_toUWriteCodePoint(cnv, linear, target, targetLimit, offsets, sourceIndex, pErrorCode); in _extToU()
1895 int32_t sourceIndex; in ucnv_MBCSSingleToUnicodeWithOffsets() local
1916 sourceIndex=0; in ucnv_MBCSSingleToUnicodeWithOffsets()
1942 *offsets++=sourceIndex; in ucnv_MBCSSingleToUnicodeWithOffsets()
1946 ++sourceIndex; in ucnv_MBCSSingleToUnicodeWithOffsets()
[all …]
Ducnv2022.cpp415 int32_t sourceIndex, in fromUWriteUInt8() argument
420 offsets, sourceIndex, pErrorCode); in fromUWriteUInt8()
1970 int32_t sourceIndex = (int32_t)(source - args->source - U16_LENGTH(sourceChar)); in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() local
1971 *offsets++ = sourceIndex; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1972 *offsets++ = sourceIndex; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2007 int32_t sourceIndex; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() local
2031 sourceIndex=(int32_t)(source-args->source); in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2032 if(sourceIndex>0) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2033 --sourceIndex; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2034 if( U16_IS_TRAIL(args->source[sourceIndex]) && in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
[all …]
Ducnv.c766 int32_t sourceIndex, int32_t errorInputLength) { in _updateOffsets() argument
770 if(sourceIndex>=0) { in _updateOffsets()
776 delta=sourceIndex-errorInputLength; in _updateOffsets()
840 int32_t sourceIndex; in _fromUnicodeWithCallback() local
856 sourceIndex=0; in _fromUnicodeWithCallback()
865 sourceIndex=-1; in _fromUnicodeWithCallback()
886 realSourceIndex=sourceIndex; in _fromUnicodeWithCallback()
892 sourceIndex=-1; in _fromUnicodeWithCallback()
949 _updateOffsets(offsets, length, sourceIndex, errorInputLength); in _fromUnicodeWithCallback()
961 if(sourceIndex>=0) { in _fromUnicodeWithCallback()
[all …]
/external/chromium_org/third_party/icu/source/common/
Ducnv_u7.c226 int32_t sourceIndex, nextSourceIndex; in _UTF7ToUnicodeWithOffsets() local
248 sourceIndex=byteIndex==0 ? 0 : -1; in _UTF7ToUnicodeWithOffsets()
279 *offsets++=sourceIndex++; in _UTF7ToUnicodeWithOffsets()
283 nextSourceIndex=++sourceIndex; in _UTF7ToUnicodeWithOffsets()
352 sourceIndex=nextSourceIndex-1; in _UTF7ToUnicodeWithOffsets()
374 *offsets++=sourceIndex; in _UTF7ToUnicodeWithOffsets()
375 sourceIndex=nextSourceIndex-1; in _UTF7ToUnicodeWithOffsets()
385 *offsets++=sourceIndex; in _UTF7ToUnicodeWithOffsets()
386 sourceIndex=nextSourceIndex-1; in _UTF7ToUnicodeWithOffsets()
396 *offsets++=sourceIndex; in _UTF7ToUnicodeWithOffsets()
[all …]
Ducnvlat1.c39 int32_t sourceIndex; in _Latin1ToUnicodeWithOffsets() local
47 sourceIndex=0; in _Latin1ToUnicodeWithOffsets()
83 offsets[0]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
84 offsets[1]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
85 offsets[2]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
86 offsets[3]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
87 offsets[4]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
88 offsets[5]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
89 offsets[6]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
90 offsets[7]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
[all …]
Ducnv_u16.c55 uint32_t targetCapacity, length, sourceIndex; in _UTF16BEFromUnicodeWithOffsets() local
87 sourceIndex=0; in _UTF16BEFromUnicodeWithOffsets()
107 sourceIndex=1; in _UTF16BEFromUnicodeWithOffsets()
149 *offsets++=sourceIndex; in _UTF16BEFromUnicodeWithOffsets()
150 *offsets++=sourceIndex++; in _UTF16BEFromUnicodeWithOffsets()
159 *offsets++=sourceIndex; in _UTF16BEFromUnicodeWithOffsets()
160 *offsets++=sourceIndex; in _UTF16BEFromUnicodeWithOffsets()
161 *offsets++=sourceIndex; in _UTF16BEFromUnicodeWithOffsets()
162 *offsets++=sourceIndex; in _UTF16BEFromUnicodeWithOffsets()
163 sourceIndex+=2; in _UTF16BEFromUnicodeWithOffsets()
[all …]
Ducnvbocu.cpp400 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 …]
Ducnvscsu.c242 int32_t sourceIndex, nextSourceIndex; in _SCSUToUnicodeWithOffsets() local
264 sourceIndex=state==readCommand ? 0 : -1; in _SCSUToUnicodeWithOffsets()
297 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets()
305 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets()
313 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets()
314 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets()
319 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets()
328 sourceIndex=nextSourceIndex; in _SCSUToUnicodeWithOffsets()
350 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets()
352 sourceIndex=nextSourceIndex; in _SCSUToUnicodeWithOffsets()
[all …]
Ducnv_cnv.c51 int32_t sourceIndex, in ucnv_fromUWriteBytes() argument
66 *o++=sourceIndex; in ucnv_fromUWriteBytes()
91 int32_t sourceIndex, in ucnv_toUWriteUChars() argument
106 *o++=sourceIndex; in ucnv_toUWriteUChars()
131 int32_t sourceIndex, in ucnv_toUWriteCodePoint() argument
153 *o++=sourceIndex; in ucnv_toUWriteCodePoint()
155 *o++=sourceIndex; in ucnv_toUWriteCodePoint()
Ducnvmbcs.c965 int32_t **offsets, int32_t sourceIndex, in _extFromU() argument
977 offsets, sourceIndex, in _extFromU()
1011 offsets, sourceIndex, pErrorCode); in _extFromU()
1032 int32_t **offsets, int32_t sourceIndex, in _extToU() argument
1042 offsets, sourceIndex, in _extToU()
1066 … ucnv_toUWriteCodePoint(cnv, linear, target, targetLimit, offsets, sourceIndex, pErrorCode); in _extToU()
1895 int32_t sourceIndex; in ucnv_MBCSSingleToUnicodeWithOffsets() local
1916 sourceIndex=0; in ucnv_MBCSSingleToUnicodeWithOffsets()
1942 *offsets++=sourceIndex; in ucnv_MBCSSingleToUnicodeWithOffsets()
1946 ++sourceIndex; in ucnv_MBCSSingleToUnicodeWithOffsets()
[all …]
Ducnv2022.cpp432 int32_t sourceIndex, in fromUWriteUInt8() argument
437 offsets, sourceIndex, pErrorCode); in fromUWriteUInt8()
1965 int32_t sourceIndex = (int32_t)(source - args->source - U16_LENGTH(sourceChar)); in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() local
1966 *offsets++ = sourceIndex; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1967 *offsets++ = sourceIndex; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2002 int32_t sourceIndex; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() local
2026 sourceIndex=(int32_t)(source-args->source); in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2027 if(sourceIndex>0) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2028 --sourceIndex; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2029 if( U16_IS_TRAIL(args->source[sourceIndex]) && in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
[all …]
Ducnv.c766 int32_t sourceIndex, int32_t errorInputLength) { in _updateOffsets() argument
770 if(sourceIndex>=0) { in _updateOffsets()
776 delta=sourceIndex-errorInputLength; in _updateOffsets()
840 int32_t sourceIndex; in _fromUnicodeWithCallback() local
856 sourceIndex=0; in _fromUnicodeWithCallback()
865 sourceIndex=-1; in _fromUnicodeWithCallback()
886 realSourceIndex=sourceIndex; in _fromUnicodeWithCallback()
892 sourceIndex=-1; in _fromUnicodeWithCallback()
949 _updateOffsets(offsets, length, sourceIndex, errorInputLength); in _fromUnicodeWithCallback()
961 if(sourceIndex>=0) { in _fromUnicodeWithCallback()
[all …]
Ducnv_cnv.h306 int32_t sourceIndex,
313 int32_t sourceIndex,
321 int32_t sourceIndex,
/external/icu/icu4c/source/i18n/
Ducol.cpp255 int32_t sourceIndex = 0; in ucol_getBound() local
258 sourceIndex++; in ucol_getBound()
259 if(source[sourceIndex] == Collation::LEVEL_SEPARATOR_BYTE) { in ucol_getBound()
263 && (source[sourceIndex] != 0 || sourceIndex < sourceLength)); in ucol_getBound()
265 if((source[sourceIndex] == 0 || sourceIndex == sourceLength) in ucol_getBound()
275 if(result != NULL && resultLength >= sourceIndex+boundType) { in ucol_getBound()
276 uprv_memcpy(result, source, sourceIndex); in ucol_getBound()
283 result[sourceIndex++] = 2; in ucol_getBound()
287 result[sourceIndex++] = 0xFF; in ucol_getBound()
288 result[sourceIndex++] = 0xFF; in ucol_getBound()
[all …]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
DJSystem.cs60 …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/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DJSystem.cs59 …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/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/infobar/
DTranslateOptions.java190 private boolean canSetLanguage(int sourceIndex, int targetIndex) { in canSetLanguage() argument
191 if (sourceIndex == targetIndex) in canSetLanguage()
193 return checkLanguageBoundaries(sourceIndex) && checkLanguageBoundaries(targetIndex); in canSetLanguage()
/external/chromium_org/v8/tools/
DSourceMap.js231 var sourceIndex = 0;
254 var sourceURL = sources[sourceIndex];
277 sourceIndex += sourceIndexDelta;
278 sourceURL = sources[sourceIndex];
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/
DSourceMap.js248 var sourceIndex = 0;
271 var sourceURL = sources[sourceIndex];
294 sourceIndex += sourceIndexDelta;
295 sourceURL = sources[sourceIndex];

12