Home
last modified time | relevance | path

Searched refs:byteIndex (Results 1 – 25 of 45) sorted by relevance

12

/third_party/flutter/skia/third_party/externals/icu/source/common/
Dbytestriebuilder.cpp286 BytesTrieBuilder::getElementUnit(int32_t i, int32_t byteIndex) const { in getElementUnit()
287 return (uint8_t)elements[i].charAt(byteIndex, *strings); in getElementUnit()
296 BytesTrieBuilder::getLimitOfLinearMatch(int32_t first, int32_t last, int32_t byteIndex) const { in getLimitOfLinearMatch()
300 while(++byteIndex<minStringLength && in getLimitOfLinearMatch()
301 firstElement.charAt(byteIndex, *strings)== in getLimitOfLinearMatch()
302 lastElement.charAt(byteIndex, *strings)) {} in getLimitOfLinearMatch()
303 return byteIndex; in getLimitOfLinearMatch()
307 BytesTrieBuilder::countElementUnits(int32_t start, int32_t limit, int32_t byteIndex) const { in countElementUnits()
311 char byte=elements[i++].charAt(byteIndex, *strings); in countElementUnits()
312 while(i<limit && byte==elements[i].charAt(byteIndex, *strings)) { in countElementUnits()
[all …]
Ducnv_u7.cpp220 uint8_t byteIndex; in _UTF7ToUnicodeWithOffsets() local
250 byteIndex=cnv->toULength; in _UTF7ToUnicodeWithOffsets()
253 sourceIndex=byteIndex==0 ? 0 : -1; in _UTF7ToUnicodeWithOffsets()
266 byteIndex=0; in _UTF7ToUnicodeWithOffsets()
277 byteIndex=1; in _UTF7ToUnicodeWithOffsets()
290 byteIndex=0; in _UTF7ToUnicodeWithOffsets()
315 bytes[byteIndex++]=b=*source++; in _UTF7ToUnicodeWithOffsets()
338 byteIndex=1; in _UTF7ToUnicodeWithOffsets()
345 --byteIndex; in _UTF7ToUnicodeWithOffsets()
383 byteIndex=1; in _UTF7ToUnicodeWithOffsets()
[all …]
Ducnvbocu.cpp966 int8_t byteIndex; in _Bocu1ToUnicodeWithOffsets() local
988 byteIndex=cnv->toULength; in _Bocu1ToUnicodeWithOffsets()
992 sourceIndex=byteIndex==0 ? 0 : -1; in _Bocu1ToUnicodeWithOffsets()
996 if(count>0 && byteIndex>0 && target<targetLimit) { in _Bocu1ToUnicodeWithOffsets()
1078 byteIndex=2; in _Bocu1ToUnicodeWithOffsets()
1094 byteIndex=1; in _Bocu1ToUnicodeWithOffsets()
1105 c=bytes[byteIndex++]=*source++; in _Bocu1ToUnicodeWithOffsets()
1117 byteIndex=0; in _Bocu1ToUnicodeWithOffsets()
1162 cnv->toULength=byteIndex; in _Bocu1ToUnicodeWithOffsets()
1188 int8_t byteIndex; in _Bocu1ToUnicode() local
[all …]
/third_party/node/deps/icu-small/source/common/
Dbytestriebuilder.cpp286 BytesTrieBuilder::getElementUnit(int32_t i, int32_t byteIndex) const { in getElementUnit()
287 return (uint8_t)elements[i].charAt(byteIndex, *strings); in getElementUnit()
296 BytesTrieBuilder::getLimitOfLinearMatch(int32_t first, int32_t last, int32_t byteIndex) const { in getLimitOfLinearMatch()
300 while(++byteIndex<minStringLength && in getLimitOfLinearMatch()
301 firstElement.charAt(byteIndex, *strings)== in getLimitOfLinearMatch()
302 lastElement.charAt(byteIndex, *strings)) {} in getLimitOfLinearMatch()
303 return byteIndex; in getLimitOfLinearMatch()
307 BytesTrieBuilder::countElementUnits(int32_t start, int32_t limit, int32_t byteIndex) const { in countElementUnits()
311 char byte=elements[i++].charAt(byteIndex, *strings); in countElementUnits()
312 while(i<limit && byte==elements[i].charAt(byteIndex, *strings)) { in countElementUnits()
[all …]
Ducnv_u7.cpp220 uint8_t byteIndex; in _UTF7ToUnicodeWithOffsets() local
250 byteIndex=cnv->toULength; in _UTF7ToUnicodeWithOffsets()
253 sourceIndex=byteIndex==0 ? 0 : -1; in _UTF7ToUnicodeWithOffsets()
266 byteIndex=0; in _UTF7ToUnicodeWithOffsets()
277 byteIndex=1; in _UTF7ToUnicodeWithOffsets()
290 byteIndex=0; in _UTF7ToUnicodeWithOffsets()
315 bytes[byteIndex++]=b=*source++; in _UTF7ToUnicodeWithOffsets()
338 byteIndex=1; in _UTF7ToUnicodeWithOffsets()
345 --byteIndex; in _UTF7ToUnicodeWithOffsets()
383 byteIndex=1; in _UTF7ToUnicodeWithOffsets()
[all …]
Ducnvbocu.cpp966 int8_t byteIndex; in _Bocu1ToUnicodeWithOffsets() local
988 byteIndex=cnv->toULength; in _Bocu1ToUnicodeWithOffsets()
992 sourceIndex=byteIndex==0 ? 0 : -1; in _Bocu1ToUnicodeWithOffsets()
996 if(count>0 && byteIndex>0 && target<targetLimit) { in _Bocu1ToUnicodeWithOffsets()
1078 byteIndex=2; in _Bocu1ToUnicodeWithOffsets()
1094 byteIndex=1; in _Bocu1ToUnicodeWithOffsets()
1105 c=bytes[byteIndex++]=*source++; in _Bocu1ToUnicodeWithOffsets()
1117 byteIndex=0; in _Bocu1ToUnicodeWithOffsets()
1162 cnv->toULength=byteIndex; in _Bocu1ToUnicodeWithOffsets()
1188 int8_t byteIndex; in _Bocu1ToUnicode() local
[all …]
/third_party/icu/icu4c/source/common/
Dbytestriebuilder.cpp286 BytesTrieBuilder::getElementUnit(int32_t i, int32_t byteIndex) const { in getElementUnit()
287 return (uint8_t)elements[i].charAt(byteIndex, *strings); in getElementUnit()
296 BytesTrieBuilder::getLimitOfLinearMatch(int32_t first, int32_t last, int32_t byteIndex) const { in getLimitOfLinearMatch()
300 while(++byteIndex<minStringLength && in getLimitOfLinearMatch()
301 firstElement.charAt(byteIndex, *strings)== in getLimitOfLinearMatch()
302 lastElement.charAt(byteIndex, *strings)) {} in getLimitOfLinearMatch()
303 return byteIndex; in getLimitOfLinearMatch()
307 BytesTrieBuilder::countElementUnits(int32_t start, int32_t limit, int32_t byteIndex) const { in countElementUnits()
311 char byte=elements[i++].charAt(byteIndex, *strings); in countElementUnits()
312 while(i<limit && byte==elements[i].charAt(byteIndex, *strings)) { in countElementUnits()
[all …]
Ducnv_u7.cpp220 uint8_t byteIndex; in _UTF7ToUnicodeWithOffsets() local
250 byteIndex=cnv->toULength; in _UTF7ToUnicodeWithOffsets()
253 sourceIndex=byteIndex==0 ? 0 : -1; in _UTF7ToUnicodeWithOffsets()
266 byteIndex=0; in _UTF7ToUnicodeWithOffsets()
277 byteIndex=1; in _UTF7ToUnicodeWithOffsets()
290 byteIndex=0; in _UTF7ToUnicodeWithOffsets()
315 bytes[byteIndex++]=b=*source++; in _UTF7ToUnicodeWithOffsets()
338 byteIndex=1; in _UTF7ToUnicodeWithOffsets()
345 --byteIndex; in _UTF7ToUnicodeWithOffsets()
383 byteIndex=1; in _UTF7ToUnicodeWithOffsets()
[all …]
Ducnvbocu.cpp966 int8_t byteIndex; in _Bocu1ToUnicodeWithOffsets() local
988 byteIndex=cnv->toULength; in _Bocu1ToUnicodeWithOffsets()
992 sourceIndex=byteIndex==0 ? 0 : -1; in _Bocu1ToUnicodeWithOffsets()
996 if(count>0 && byteIndex>0 && target<targetLimit) { in _Bocu1ToUnicodeWithOffsets()
1078 byteIndex=2; in _Bocu1ToUnicodeWithOffsets()
1094 byteIndex=1; in _Bocu1ToUnicodeWithOffsets()
1105 c=bytes[byteIndex++]=*source++; in _Bocu1ToUnicodeWithOffsets()
1117 byteIndex=0; in _Bocu1ToUnicodeWithOffsets()
1162 cnv->toULength=byteIndex; in _Bocu1ToUnicodeWithOffsets()
1188 int8_t byteIndex; in _Bocu1ToUnicode() local
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Dbytestriebuilder.cpp286 BytesTrieBuilder::getElementUnit(int32_t i, int32_t byteIndex) const { in getElementUnit()
287 return (uint8_t)elements[i].charAt(byteIndex, *strings); in getElementUnit()
296 BytesTrieBuilder::getLimitOfLinearMatch(int32_t first, int32_t last, int32_t byteIndex) const { in getLimitOfLinearMatch()
300 while(++byteIndex<minStringLength && in getLimitOfLinearMatch()
301 firstElement.charAt(byteIndex, *strings)== in getLimitOfLinearMatch()
302 lastElement.charAt(byteIndex, *strings)) {} in getLimitOfLinearMatch()
303 return byteIndex; in getLimitOfLinearMatch()
307 BytesTrieBuilder::countElementUnits(int32_t start, int32_t limit, int32_t byteIndex) const { in countElementUnits()
311 char byte=elements[i++].charAt(byteIndex, *strings); in countElementUnits()
312 while(i<limit && byte==elements[i].charAt(byteIndex, *strings)) { in countElementUnits()
[all …]
Ducnv_u7.cpp220 uint8_t byteIndex; in _UTF7ToUnicodeWithOffsets() local
250 byteIndex=cnv->toULength; in _UTF7ToUnicodeWithOffsets()
253 sourceIndex=byteIndex==0 ? 0 : -1; in _UTF7ToUnicodeWithOffsets()
266 byteIndex=0; in _UTF7ToUnicodeWithOffsets()
277 byteIndex=1; in _UTF7ToUnicodeWithOffsets()
290 byteIndex=0; in _UTF7ToUnicodeWithOffsets()
315 bytes[byteIndex++]=b=*source++; in _UTF7ToUnicodeWithOffsets()
338 byteIndex=1; in _UTF7ToUnicodeWithOffsets()
345 --byteIndex; in _UTF7ToUnicodeWithOffsets()
383 byteIndex=1; in _UTF7ToUnicodeWithOffsets()
[all …]
Ducnvbocu.cpp966 int8_t byteIndex; in _Bocu1ToUnicodeWithOffsets() local
988 byteIndex=cnv->toULength; in _Bocu1ToUnicodeWithOffsets()
992 sourceIndex=byteIndex==0 ? 0 : -1; in _Bocu1ToUnicodeWithOffsets()
996 if(count>0 && byteIndex>0 && target<targetLimit) { in _Bocu1ToUnicodeWithOffsets()
1078 byteIndex=2; in _Bocu1ToUnicodeWithOffsets()
1094 byteIndex=1; in _Bocu1ToUnicodeWithOffsets()
1105 c=bytes[byteIndex++]=*source++; in _Bocu1ToUnicodeWithOffsets()
1117 byteIndex=0; in _Bocu1ToUnicodeWithOffsets()
1162 cnv->toULength=byteIndex; in _Bocu1ToUnicodeWithOffsets()
1188 int8_t byteIndex; in _Bocu1ToUnicode() local
[all …]
/third_party/icu/icu4c/source/common/unicode/
Dbytestriebuilder.h138 virtual char16_t getElementUnit(int32_t i, int32_t byteIndex) const;
141 virtual int32_t getLimitOfLinearMatch(int32_t first, int32_t last, int32_t byteIndex) const;
143 virtual int32_t countElementUnits(int32_t start, int32_t limit, int32_t byteIndex) const;
144 virtual int32_t skipElementsBySomeUnits(int32_t i, int32_t byteIndex, int32_t count) const;
145 virtual int32_t indexOfElementWithNextUnit(int32_t i, int32_t byteIndex, char16_t byte) const;
165 virtual Node *createLinearMatchNode(int32_t i, int32_t byteIndex, int32_t length,
171 virtual int32_t writeElementUnits(int32_t i, int32_t byteIndex, int32_t length);
/third_party/skia/third_party/externals/icu/source/common/unicode/
Dbytestriebuilder.h138 virtual char16_t getElementUnit(int32_t i, int32_t byteIndex) const;
141 virtual int32_t getLimitOfLinearMatch(int32_t first, int32_t last, int32_t byteIndex) const;
143 virtual int32_t countElementUnits(int32_t start, int32_t limit, int32_t byteIndex) const;
144 virtual int32_t skipElementsBySomeUnits(int32_t i, int32_t byteIndex, int32_t count) const;
145 virtual int32_t indexOfElementWithNextUnit(int32_t i, int32_t byteIndex, char16_t byte) const;
165 virtual Node *createLinearMatchNode(int32_t i, int32_t byteIndex, int32_t length,
171 virtual int32_t writeElementUnits(int32_t i, int32_t byteIndex, int32_t length);
/third_party/flutter/skia/third_party/externals/icu/source/common/unicode/
Dbytestriebuilder.h130 virtual char16_t getElementUnit(int32_t i, int32_t byteIndex) const;
133 virtual int32_t getLimitOfLinearMatch(int32_t first, int32_t last, int32_t byteIndex) const;
135 virtual int32_t countElementUnits(int32_t start, int32_t limit, int32_t byteIndex) const;
136 virtual int32_t skipElementsBySomeUnits(int32_t i, int32_t byteIndex, int32_t count) const;
137 virtual int32_t indexOfElementWithNextUnit(int32_t i, int32_t byteIndex, char16_t byte) const;
157 virtual Node *createLinearMatchNode(int32_t i, int32_t byteIndex, int32_t length,
163 virtual int32_t writeElementUnits(int32_t i, int32_t byteIndex, int32_t length);
/third_party/node/deps/icu-small/source/common/unicode/
Dbytestriebuilder.h138 virtual char16_t getElementUnit(int32_t i, int32_t byteIndex) const override;
141 …virtual int32_t getLimitOfLinearMatch(int32_t first, int32_t last, int32_t byteIndex) const overri…
143 … virtual int32_t countElementUnits(int32_t start, int32_t limit, int32_t byteIndex) const override;
144 …virtual int32_t skipElementsBySomeUnits(int32_t i, int32_t byteIndex, int32_t count) const overrid…
145 …virtual int32_t indexOfElementWithNextUnit(int32_t i, int32_t byteIndex, char16_t byte) const over…
165 virtual Node *createLinearMatchNode(int32_t i, int32_t byteIndex, int32_t length,
171 virtual int32_t writeElementUnits(int32_t i, int32_t byteIndex, int32_t length) override;
/third_party/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetUTF7.java194 int byteIndex; in decodeLoop() local
211 byteIndex=toULength; in decodeLoop()
213 sourceIndex=byteIndex==0 ? 0 : -1; in decodeLoop()
227 byteIndex=0; in decodeLoop()
239 byteIndex=1; in decodeLoop()
258 byteIndex=0; in decodeLoop()
284 toUBytesArray[byteIndex++]=(byte)b; in decodeLoop()
307 byteIndex=1; in decodeLoop()
314 --byteIndex; in decodeLoop()
360 byteIndex=1; in decodeLoop()
[all …]
DCharsetBOCU1.java688 int byteIndex;
812 byteIndex = toULength; in decodeLoop()
816 sourceIndex=byteIndex==0 ? 0 : -1; in decodeLoop()
820 if(count>0 && byteIndex>0 && target.position()<target.limit()) { in decodeLoop()
891 c = bytes[byteIndex++] = source.get(); in getTrail()
904 byteIndex=0; in getTrail()
972 byteIndex = 2; in afterGetTrail()
988 byteIndex = 1; in afterGetTrail()
1047 toULength=byteIndex; in endLoop()
DCharsetMBCS.java2011 int byteIndex; in cnvMBCSToUnicodeWithOffsets() local
2053 byteIndex = toULength; in cnvMBCSToUnicodeWithOffsets()
2066 sourceIndex = byteIndex == 0 ? 0 : -1; in cnvMBCSToUnicodeWithOffsets()
2083 if (byteIndex == 0) { in cnvMBCSToUnicodeWithOffsets()
2108 byteIndex = 1; in cnvMBCSToUnicodeWithOffsets()
2141 bytes[byteIndex++] = source.get(sourceArrayIndex++); in cnvMBCSToUnicodeWithOffsets()
2144 entry = stateTable[state][(bytes[byteIndex++] = source.get(sourceArrayIndex++)) in cnvMBCSToUnicodeWithOffsets()
2174 byteIndex = 0; in cnvMBCSToUnicodeWithOffsets()
2182 byteIndex = 0; in cnvMBCSToUnicodeWithOffsets()
2186 cr[0] = CoderResult.malformedForLength(byteIndex); in cnvMBCSToUnicodeWithOffsets()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DCharsetRecog_sbcs.java31 protected int byteIndex = 0; field in CharsetRecog_sbcs.NGramParser
112 if (byteIndex >= det.fInputLen) { in nextByte()
116 return det.fInputBytes[byteIndex++] & 0xFF; in nextByte()
219 if (byteIndex >= det.fInputLen || det.fInputBytes[byteIndex] == 0) { in nextByte()
224 alef = isLamAlef(det.fInputBytes[byteIndex]); in nextByte()
228 next = unshapeMap[det.fInputBytes[byteIndex]& 0xFF] & 0xFF; in nextByte()
230 byteIndex++; in nextByte()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCharsetRecog_sbcs.java30 protected int byteIndex = 0; field in CharsetRecog_sbcs.NGramParser
111 if (byteIndex >= det.fInputLen) { in nextByte()
115 return det.fInputBytes[byteIndex++] & 0xFF; in nextByte()
218 if (byteIndex >= det.fInputLen || det.fInputBytes[byteIndex] == 0) { in nextByte()
223 alef = isLamAlef(det.fInputBytes[byteIndex]); in nextByte()
227 next = unshapeMap[det.fInputBytes[byteIndex]& 0xFF] & 0xFF; in nextByte()
229 byteIndex++; in nextByte()
/third_party/skia/third_party/externals/icu/source/i18n/
Dcsrsbcs.cpp24 : ngram(0), byteIndex(0) in NGramParser()
97 if (byteIndex >= det->fInputLen) { in nextByte()
101 return det->fInputBytes[byteIndex++]; in nextByte()
195 if (byteIndex >= det->fInputLen || det->fInputBytes[byteIndex] == 0) { in nextByte()
200 alef = isLamAlef(det->fInputBytes[byteIndex]); in nextByte()
204 next = unshapeMap_IBM420[det->fInputBytes[byteIndex]& 0xFF] & 0xFF; in nextByte()
206 byteIndex++; in nextByte()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dcsrsbcs.cpp24 : ngram(0), byteIndex(0) in NGramParser()
97 if (byteIndex >= det->fInputLen) { in nextByte()
101 return det->fInputBytes[byteIndex++]; in nextByte()
195 if (byteIndex >= det->fInputLen || det->fInputBytes[byteIndex] == 0) { in nextByte()
200 alef = isLamAlef(det->fInputBytes[byteIndex]); in nextByte()
204 next = unshapeMap_IBM420[det->fInputBytes[byteIndex]& 0xFF] & 0xFF; in nextByte()
206 byteIndex++; in nextByte()
/third_party/node/deps/icu-small/source/i18n/
Dcsrsbcs.cpp24 : ngram(0), byteIndex(0) in NGramParser()
97 if (byteIndex >= det->fInputLen) { in nextByte()
101 return det->fInputBytes[byteIndex++]; in nextByte()
195 if (byteIndex >= det->fInputLen || det->fInputBytes[byteIndex] == 0) { in nextByte()
200 alef = isLamAlef(det->fInputBytes[byteIndex]); in nextByte()
204 next = unshapeMap_IBM420[det->fInputBytes[byteIndex]& 0xFF] & 0xFF; in nextByte()
206 byteIndex++; in nextByte()
/third_party/icu/icu4c/source/i18n/
Dcsrsbcs.cpp24 : ngram(0), byteIndex(0) in NGramParser()
97 if (byteIndex >= det->fInputLen) { in nextByte()
101 return det->fInputBytes[byteIndex++]; in nextByte()
195 if (byteIndex >= det->fInputLen || det->fInputBytes[byteIndex] == 0) { in nextByte()
200 alef = isLamAlef(det->fInputBytes[byteIndex]); in nextByte()
204 next = unshapeMap_IBM420[det->fInputBytes[byteIndex]& 0xFF] & 0xFF; in nextByte()
206 byteIndex++; in nextByte()

12