Home
last modified time | relevance | path

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

12345

/third_party/node/deps/icu-small/source/common/
Ducnv_u7.cpp231 int32_t sourceIndex, nextSourceIndex; in _UTF7ToUnicodeWithOffsets() local
253 sourceIndex=byteIndex==0 ? 0 : -1; in _UTF7ToUnicodeWithOffsets()
284 *offsets++=sourceIndex++; in _UTF7ToUnicodeWithOffsets()
288 nextSourceIndex=++sourceIndex; in _UTF7ToUnicodeWithOffsets()
357 sourceIndex=nextSourceIndex-1; in _UTF7ToUnicodeWithOffsets()
379 *offsets++=sourceIndex; in _UTF7ToUnicodeWithOffsets()
380 sourceIndex=nextSourceIndex-1; in _UTF7ToUnicodeWithOffsets()
390 *offsets++=sourceIndex; in _UTF7ToUnicodeWithOffsets()
391 sourceIndex=nextSourceIndex-1; in _UTF7ToUnicodeWithOffsets()
401 *offsets++=sourceIndex; in _UTF7ToUnicodeWithOffsets()
[all …]
Ducnvlat1.cpp43 int32_t sourceIndex; in _Latin1ToUnicodeWithOffsets() local
51 sourceIndex=0; in _Latin1ToUnicodeWithOffsets()
87 offsets[0]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
88 offsets[1]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
89 offsets[2]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
90 offsets[3]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
91 offsets[4]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
92 offsets[5]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
93 offsets[6]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
94 offsets[7]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
[all …]
Ducnv_u16.cpp59 uint32_t targetCapacity, length, sourceIndex; in _UTF16BEFromUnicodeWithOffsets() local
91 sourceIndex=0; in _UTF16BEFromUnicodeWithOffsets()
111 sourceIndex=1; in _UTF16BEFromUnicodeWithOffsets()
153 *offsets++=sourceIndex; in _UTF16BEFromUnicodeWithOffsets()
154 *offsets++=sourceIndex++; in _UTF16BEFromUnicodeWithOffsets()
163 *offsets++=sourceIndex; in _UTF16BEFromUnicodeWithOffsets()
164 *offsets++=sourceIndex; in _UTF16BEFromUnicodeWithOffsets()
165 *offsets++=sourceIndex; in _UTF16BEFromUnicodeWithOffsets()
166 *offsets++=sourceIndex; in _UTF16BEFromUnicodeWithOffsets()
167 sourceIndex+=2; in _UTF16BEFromUnicodeWithOffsets()
[all …]
Ducnvbocu.cpp402 int32_t sourceIndex, nextSourceIndex; in _Bocu1FromUnicodeWithOffsets() local
420 sourceIndex= c==0 ? 0 : -1; in _Bocu1FromUnicodeWithOffsets()
459 sourceIndex=nextSourceIndex; /* wrong if offsets==nullptr 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.cpp244 int32_t sourceIndex, nextSourceIndex; in _SCSUToUnicodeWithOffsets() local
266 sourceIndex=state==readCommand ? 0 : -1; in _SCSUToUnicodeWithOffsets()
299 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets()
307 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets()
315 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets()
316 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets()
321 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets()
330 sourceIndex=nextSourceIndex; in _SCSUToUnicodeWithOffsets()
352 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets()
354 sourceIndex=nextSourceIndex; in _SCSUToUnicodeWithOffsets()
[all …]
Ducnvmbcs.cpp1109 int32_t **offsets, int32_t sourceIndex, in _extFromU() argument
1121 offsets, sourceIndex, in _extFromU()
1155 offsets, sourceIndex, pErrorCode); in _extFromU()
1176 int32_t **offsets, int32_t sourceIndex, in _extToU() argument
1186 offsets, sourceIndex, in _extToU()
1210 … ucnv_toUWriteCodePoint(cnv, linear, target, targetLimit, offsets, sourceIndex, pErrorCode); in _extToU()
2043 int32_t sourceIndex; in ucnv_MBCSSingleToUnicodeWithOffsets() local
2064 sourceIndex=0; in ucnv_MBCSSingleToUnicodeWithOffsets()
2090 *offsets++=sourceIndex; in ucnv_MBCSSingleToUnicodeWithOffsets()
2094 ++sourceIndex; in ucnv_MBCSSingleToUnicodeWithOffsets()
[all …]
/third_party/icu/icu4c/source/common/
Ducnv_u7.cpp231 int32_t sourceIndex, nextSourceIndex; in _UTF7ToUnicodeWithOffsets() local
253 sourceIndex=byteIndex==0 ? 0 : -1; in _UTF7ToUnicodeWithOffsets()
284 *offsets++=sourceIndex++; in _UTF7ToUnicodeWithOffsets()
288 nextSourceIndex=++sourceIndex; in _UTF7ToUnicodeWithOffsets()
357 sourceIndex=nextSourceIndex-1; in _UTF7ToUnicodeWithOffsets()
379 *offsets++=sourceIndex; in _UTF7ToUnicodeWithOffsets()
380 sourceIndex=nextSourceIndex-1; in _UTF7ToUnicodeWithOffsets()
390 *offsets++=sourceIndex; in _UTF7ToUnicodeWithOffsets()
391 sourceIndex=nextSourceIndex-1; in _UTF7ToUnicodeWithOffsets()
401 *offsets++=sourceIndex; in _UTF7ToUnicodeWithOffsets()
[all …]
Ducnvlat1.cpp43 int32_t sourceIndex; in _Latin1ToUnicodeWithOffsets() local
51 sourceIndex=0; in _Latin1ToUnicodeWithOffsets()
87 offsets[0]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
88 offsets[1]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
89 offsets[2]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
90 offsets[3]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
91 offsets[4]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
92 offsets[5]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
93 offsets[6]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
94 offsets[7]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
[all …]
Ducnv_u16.cpp59 uint32_t targetCapacity, length, sourceIndex; in _UTF16BEFromUnicodeWithOffsets() local
91 sourceIndex=0; in _UTF16BEFromUnicodeWithOffsets()
111 sourceIndex=1; in _UTF16BEFromUnicodeWithOffsets()
153 *offsets++=sourceIndex; in _UTF16BEFromUnicodeWithOffsets()
154 *offsets++=sourceIndex++; in _UTF16BEFromUnicodeWithOffsets()
163 *offsets++=sourceIndex; in _UTF16BEFromUnicodeWithOffsets()
164 *offsets++=sourceIndex; in _UTF16BEFromUnicodeWithOffsets()
165 *offsets++=sourceIndex; in _UTF16BEFromUnicodeWithOffsets()
166 *offsets++=sourceIndex; in _UTF16BEFromUnicodeWithOffsets()
167 sourceIndex+=2; in _UTF16BEFromUnicodeWithOffsets()
[all …]
Ducnvbocu.cpp402 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.cpp244 int32_t sourceIndex, nextSourceIndex; in _SCSUToUnicodeWithOffsets() local
266 sourceIndex=state==readCommand ? 0 : -1; in _SCSUToUnicodeWithOffsets()
299 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets()
307 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets()
315 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets()
316 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets()
321 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets()
330 sourceIndex=nextSourceIndex; in _SCSUToUnicodeWithOffsets()
352 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets()
354 sourceIndex=nextSourceIndex; in _SCSUToUnicodeWithOffsets()
[all …]
Ducnvmbcs.cpp1109 int32_t **offsets, int32_t sourceIndex, in _extFromU() argument
1121 offsets, sourceIndex, in _extFromU()
1155 offsets, sourceIndex, pErrorCode); in _extFromU()
1176 int32_t **offsets, int32_t sourceIndex, in _extToU() argument
1186 offsets, sourceIndex, in _extToU()
1210 … ucnv_toUWriteCodePoint(cnv, linear, target, targetLimit, offsets, sourceIndex, pErrorCode); in _extToU()
2043 int32_t sourceIndex; in ucnv_MBCSSingleToUnicodeWithOffsets() local
2064 sourceIndex=0; in ucnv_MBCSSingleToUnicodeWithOffsets()
2090 *offsets++=sourceIndex; in ucnv_MBCSSingleToUnicodeWithOffsets()
2094 ++sourceIndex; in ucnv_MBCSSingleToUnicodeWithOffsets()
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Ducnv_u7.cpp231 int32_t sourceIndex, nextSourceIndex; in _UTF7ToUnicodeWithOffsets() local
253 sourceIndex=byteIndex==0 ? 0 : -1; in _UTF7ToUnicodeWithOffsets()
284 *offsets++=sourceIndex++; in _UTF7ToUnicodeWithOffsets()
288 nextSourceIndex=++sourceIndex; in _UTF7ToUnicodeWithOffsets()
357 sourceIndex=nextSourceIndex-1; in _UTF7ToUnicodeWithOffsets()
379 *offsets++=sourceIndex; in _UTF7ToUnicodeWithOffsets()
380 sourceIndex=nextSourceIndex-1; in _UTF7ToUnicodeWithOffsets()
390 *offsets++=sourceIndex; in _UTF7ToUnicodeWithOffsets()
391 sourceIndex=nextSourceIndex-1; in _UTF7ToUnicodeWithOffsets()
401 *offsets++=sourceIndex; in _UTF7ToUnicodeWithOffsets()
[all …]
Ducnvlat1.cpp43 int32_t sourceIndex; in _Latin1ToUnicodeWithOffsets() local
51 sourceIndex=0; in _Latin1ToUnicodeWithOffsets()
87 offsets[0]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
88 offsets[1]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
89 offsets[2]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
90 offsets[3]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
91 offsets[4]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
92 offsets[5]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
93 offsets[6]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
94 offsets[7]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
[all …]
Ducnv_u16.cpp59 uint32_t targetCapacity, length, sourceIndex; in _UTF16BEFromUnicodeWithOffsets() local
91 sourceIndex=0; in _UTF16BEFromUnicodeWithOffsets()
111 sourceIndex=1; in _UTF16BEFromUnicodeWithOffsets()
153 *offsets++=sourceIndex; in _UTF16BEFromUnicodeWithOffsets()
154 *offsets++=sourceIndex++; in _UTF16BEFromUnicodeWithOffsets()
163 *offsets++=sourceIndex; in _UTF16BEFromUnicodeWithOffsets()
164 *offsets++=sourceIndex; in _UTF16BEFromUnicodeWithOffsets()
165 *offsets++=sourceIndex; in _UTF16BEFromUnicodeWithOffsets()
166 *offsets++=sourceIndex; in _UTF16BEFromUnicodeWithOffsets()
167 sourceIndex+=2; in _UTF16BEFromUnicodeWithOffsets()
[all …]
Ducnvbocu.cpp402 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.cpp244 int32_t sourceIndex, nextSourceIndex; in _SCSUToUnicodeWithOffsets() local
266 sourceIndex=state==readCommand ? 0 : -1; in _SCSUToUnicodeWithOffsets()
299 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets()
307 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets()
315 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets()
316 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets()
321 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets()
330 sourceIndex=nextSourceIndex; in _SCSUToUnicodeWithOffsets()
352 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets()
354 sourceIndex=nextSourceIndex; in _SCSUToUnicodeWithOffsets()
[all …]
Ducnvmbcs.cpp1109 int32_t **offsets, int32_t sourceIndex, in _extFromU() argument
1121 offsets, sourceIndex, in _extFromU()
1155 offsets, sourceIndex, pErrorCode); in _extFromU()
1176 int32_t **offsets, int32_t sourceIndex, in _extToU() argument
1186 offsets, sourceIndex, in _extToU()
1210 … ucnv_toUWriteCodePoint(cnv, linear, target, targetLimit, offsets, sourceIndex, pErrorCode); in _extToU()
2043 int32_t sourceIndex; in ucnv_MBCSSingleToUnicodeWithOffsets() local
2064 sourceIndex=0; in ucnv_MBCSSingleToUnicodeWithOffsets()
2090 *offsets++=sourceIndex; in ucnv_MBCSSingleToUnicodeWithOffsets()
2094 ++sourceIndex; in ucnv_MBCSSingleToUnicodeWithOffsets()
[all …]
/third_party/typescript/src/compiler/
Dsourcemap.ts60 let sourceIndex = sourceToSourceIndexMap.get(source);
61 if (sourceIndex === undefined) {
62 sourceIndex = sources.length;
65 sourceToSourceIndexMap.set(source, sourceIndex);
68 return sourceIndex;
72 function setSourceContent(sourceIndex: number, content: string | null) {
76 while (sourcesContent.length < sourceIndex) {
79 sourcesContent[sourceIndex] = content;
104 …function isBacktrackingSourcePosition(sourceIndex: number | undefined, sourceLine: number | undefi…
105 return sourceIndex !== undefined
[all …]
/third_party/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetUTF7.java195 int sourceIndex, nextSourceIndex; in decodeLoop() local
213 sourceIndex=byteIndex==0 ? 0 : -1; in decodeLoop()
247 offsets.put(sourceIndex++); in decodeLoop()
256 nextSourceIndex=++sourceIndex; in decodeLoop()
326 sourceIndex=nextSourceIndex-1; in decodeLoop()
356 offsets.put(sourceIndex); in decodeLoop()
357 sourceIndex=nextSourceIndex - 1; in decodeLoop()
375 offsets.put(sourceIndex); in decodeLoop()
376 sourceIndex=nextSourceIndex - 1; in decodeLoop()
394 offsets.put(sourceIndex); in decodeLoop()
[all …]
DCharsetSCSU.java228 private int sourceIndex ; field in CharsetSCSU.CharsetDecoderSCSU
250 sourceIndex = data.toUState == readCommand ? 0: -1 ; in decodeLoop()
302 offsets.put(sourceIndex); in fastSingle()
310 offsets.put(sourceIndex); in fastSingle()
318 offsets.put(sourceIndex); in fastSingle()
319 offsets.put(sourceIndex); in fastSingle()
324 offsets.put(sourceIndex); in fastSingle()
334 sourceIndex = nextSourceIndex; in fastSingle()
344 offsets.put(sourceIndex); in fastSingle()
346 sourceIndex = nextSourceIndex; in fastSingle()
[all …]
DCharsetBOCU1.java236 int sourceIndex, nextSourceIndex; field in CharsetBOCU1.CharsetEncoderBOCU
407 sourceIndex = c == 0 ? 0: -1; in encodeLoop()
492 sourceIndex = nextSourceIndex; /*wrong if offsets==null but does not matter*/ in regularLoop()
513 offsets.put(sourceIndex++); in regularLoop()
517 sourceIndex=nextSourceIndex; in regularLoop()
547 offsets.put(sourceIndex++); in regularLoop()
550 sourceIndex=nextSourceIndex; in regularLoop()
571 offsets.put(sourceIndex); in regularLoop()
572 offsets.put(sourceIndex); in regularLoop()
575 sourceIndex = nextSourceIndex; in regularLoop()
[all …]
DCharsetUTF8.java64 int sourceIndex = source.arrayOffset() + source.position(); in decodeLoop() local
76 toUBytesArray[0] = ch = sourceArray[sourceIndex++]; in decodeLoop()
94 if (sourceIndex >= sourceLimit) { in decodeLoop()
102 toUBytesArray[bytesSoFar] = ch = sourceArray[sourceIndex++]; in decodeLoop()
105 sourceIndex--; in decodeLoop()
142 if (sourceIndex >= sourceLimit) { in decodeLoop()
152 while (UTF8.isSingle(ch = sourceArray[sourceIndex++])) { in decodeLoop()
154 if (sourceIndex >= sourceLimit) { in decodeLoop()
181 source.position(sourceIndex - source.arrayOffset()); in decodeLoop()
187 int sourceIndex = source.position(); in decodeLoop() local
[all …]
DCharsetMBCS.java1838 …ivate CoderResult toUWriteCodePoint(int c, CharBuffer target, IntBuffer offsets, int sourceIndex) { in toUWriteCodePoint() argument
1857 offsets.put(sourceIndex); in toUWriteCodePoint()
1859 offsets.put(sourceIndex); in toUWriteCodePoint()
1877 …ivate int toU(int length, ByteBuffer source, CharBuffer target, IntBuffer offsets, int sourceIndex, in toU() argument
1882 && initialMatchToU(length, source, target, offsets, sourceIndex, flush, cr)) { in toU()
1903 cr[0] = toUWriteCodePoint(linear, target, offsets, sourceIndex); in toU()
2014 int sourceIndex, nextSourceIndex; in cnvMBCSToUnicodeWithOffsets() local
2066 sourceIndex = byteIndex == 0 ? 0 : -1; in cnvMBCSToUnicodeWithOffsets()
2099 offsets.put(sourceIndex); in cnvMBCSToUnicodeWithOffsets()
2100 sourceIndex = (nextSourceIndex += 2); in cnvMBCSToUnicodeWithOffsets()
[all …]
DCharsetASCII.java64 int sourceIndex = oldSource + sourceOffset; in decodeLoop() local
73 + sourceIndex; in decodeLoop()
74 int offset = targetIndex - sourceIndex; in decodeLoop()
80 …cr = decodeLoopCoreOptimized(source, target, sourceArray, targetArray, sourceIndex, offset, limit); in decodeLoop()
104 int sourceIndex = -1; in decodeLoop() local
105 while (--count >= 0) offsets.put(++sourceIndex); in decodeLoop()
222 int sourceIndex = oldSource + sourceOffset; in encodeLoop() local
231 + sourceIndex; in encodeLoop()
232 int offset = targetIndex - sourceIndex; in encodeLoop()
238 …cr = encodeLoopCoreOptimized(source, target, sourceArray, targetArray, sourceIndex, offset, limit,… in encodeLoop()
[all …]

12345