Home
last modified time | relevance | path

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

/external/proguard/src/proguard/classfile/constant/
DUtf8Constant.java207 int byteIndex = 0; in getByteArrayRepresentation()
214 bytes[byteIndex++] = (byte)TWO_BYTE_CONSTANT1; in getByteArrayRepresentation()
215 bytes[byteIndex++] = (byte)TWO_BYTE_CONSTANT2; in getByteArrayRepresentation()
220 bytes[byteIndex++] = (byte)c; in getByteArrayRepresentation()
225 … bytes[byteIndex++] = (byte)(TWO_BYTE_CONSTANT1 | ((c >>> TWO_BYTE_SHIFT1) & TWO_BYTE_MASK1)); in getByteArrayRepresentation()
226 … bytes[byteIndex++] = (byte)(TWO_BYTE_CONSTANT2 | ( c & TWO_BYTE_MASK2)); in getByteArrayRepresentation()
231 …bytes[byteIndex++] = (byte)(THREE_BYTE_CONSTANT1 | ((c >>> THREE_BYTE_SHIFT1) & THREE_BYTE_MASK1)); in getByteArrayRepresentation()
232 …bytes[byteIndex++] = (byte)(THREE_BYTE_CONSTANT2 | ((c >>> THREE_BYTE_SHIFT2) & THREE_BYTE_MASK2)); in getByteArrayRepresentation()
233 …bytes[byteIndex++] = (byte)(THREE_BYTE_CONSTANT3 | ( c & THREE_BYTE_MASK3)); in getByteArrayRepresentation()
255 int byteIndex = 0; in getStringRepresentation() local
[all …]
/external/icu/icu4c/source/common/
Dbytestriebuilder.cpp284 BytesTrieBuilder::getElementUnit(int32_t i, int32_t byteIndex) const { in getElementUnit()
285 return (uint8_t)elements[i].charAt(byteIndex, *strings); in getElementUnit()
294 BytesTrieBuilder::getLimitOfLinearMatch(int32_t first, int32_t last, int32_t byteIndex) const { in getLimitOfLinearMatch()
298 while(++byteIndex<minStringLength && in getLimitOfLinearMatch()
299 firstElement.charAt(byteIndex, *strings)== in getLimitOfLinearMatch()
300 lastElement.charAt(byteIndex, *strings)) {} in getLimitOfLinearMatch()
301 return byteIndex; in getLimitOfLinearMatch()
305 BytesTrieBuilder::countElementUnits(int32_t start, int32_t limit, int32_t byteIndex) const { in countElementUnits()
309 char byte=elements[i++].charAt(byteIndex, *strings); in countElementUnits()
310 while(i<limit && byte==elements[i].charAt(byteIndex, *strings)) { in countElementUnits()
[all …]
Ducnv_u7.c215 uint8_t byteIndex; in _UTF7ToUnicodeWithOffsets() local
245 byteIndex=cnv->toULength; in _UTF7ToUnicodeWithOffsets()
248 sourceIndex=byteIndex==0 ? 0 : -1; in _UTF7ToUnicodeWithOffsets()
261 byteIndex=0; in _UTF7ToUnicodeWithOffsets()
272 byteIndex=1; in _UTF7ToUnicodeWithOffsets()
285 byteIndex=0; in _UTF7ToUnicodeWithOffsets()
310 bytes[byteIndex++]=b=*source++; in _UTF7ToUnicodeWithOffsets()
333 byteIndex=1; in _UTF7ToUnicodeWithOffsets()
340 --byteIndex; in _UTF7ToUnicodeWithOffsets()
378 byteIndex=1; in _UTF7ToUnicodeWithOffsets()
[all …]
Ducnvbocu.cpp947 int8_t byteIndex; in _Bocu1ToUnicodeWithOffsets() local
969 byteIndex=cnv->toULength; in _Bocu1ToUnicodeWithOffsets()
973 sourceIndex=byteIndex==0 ? 0 : -1; in _Bocu1ToUnicodeWithOffsets()
977 if(count>0 && byteIndex>0 && target<targetLimit) { in _Bocu1ToUnicodeWithOffsets()
1059 byteIndex=2; in _Bocu1ToUnicodeWithOffsets()
1075 byteIndex=1; in _Bocu1ToUnicodeWithOffsets()
1086 c=bytes[byteIndex++]=*source++; in _Bocu1ToUnicodeWithOffsets()
1098 byteIndex=0; in _Bocu1ToUnicodeWithOffsets()
1143 cnv->toULength=byteIndex; in _Bocu1ToUnicodeWithOffsets()
1169 int8_t byteIndex; in _Bocu1ToUnicode() local
[all …]
Ducnvmbcs.cpp2467 int8_t byteIndex; in ucnv_MBCSToUnicodeWithOffsets() local
2516 byteIndex=cnv->toULength; in ucnv_MBCSToUnicodeWithOffsets()
2529 sourceIndex=byteIndex==0 ? 0 : -1; in ucnv_MBCSToUnicodeWithOffsets()
2548 if(byteIndex==0) { in ucnv_MBCSToUnicodeWithOffsets()
2570 byteIndex=1; in ucnv_MBCSToUnicodeWithOffsets()
2610 byteIndex=1; in ucnv_MBCSToUnicodeWithOffsets()
2645 bytes[byteIndex++]=*source++; in ucnv_MBCSToUnicodeWithOffsets()
2648 entry=stateTable[state][bytes[byteIndex++]=*source++]; in ucnv_MBCSToUnicodeWithOffsets()
2677 byteIndex=0; in ucnv_MBCSToUnicodeWithOffsets()
2685 byteIndex=0; in ucnv_MBCSToUnicodeWithOffsets()
[all …]
/external/icu/icu4c/source/common/unicode/
Dbytestriebuilder.h129 virtual UChar getElementUnit(int32_t i, int32_t byteIndex) const;
132 virtual int32_t getLimitOfLinearMatch(int32_t first, int32_t last, int32_t byteIndex) const;
134 virtual int32_t countElementUnits(int32_t start, int32_t limit, int32_t byteIndex) const;
135 virtual int32_t skipElementsBySomeUnits(int32_t i, int32_t byteIndex, int32_t count) const;
136 virtual int32_t indexOfElementWithNextUnit(int32_t i, int32_t byteIndex, UChar byte) const;
156 virtual Node *createLinearMatchNode(int32_t i, int32_t byteIndex, int32_t length,
162 virtual int32_t writeElementUnits(int32_t i, int32_t byteIndex, int32_t length);
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetUTF7.java190 int byteIndex; in decodeLoop() local
207 byteIndex=toULength; in decodeLoop()
209 sourceIndex=byteIndex==0 ? 0 : -1; in decodeLoop()
223 byteIndex=0; in decodeLoop()
235 byteIndex=1; in decodeLoop()
254 byteIndex=0; in decodeLoop()
280 toUBytesArray[byteIndex++]=(byte)b; in decodeLoop()
303 byteIndex=1; in decodeLoop()
310 --byteIndex; in decodeLoop()
356 byteIndex=1; in decodeLoop()
[all …]
DCharsetBOCU1.java685 int byteIndex;
809 byteIndex = toULength; in decodeLoop()
813 sourceIndex=byteIndex==0 ? 0 : -1; in decodeLoop()
817 if(count>0 && byteIndex>0 && target.position()<target.limit()) { in decodeLoop()
888 c = bytes[byteIndex++] = source.get(); in getTrail()
901 byteIndex=0; in getTrail()
969 byteIndex = 2; in afterGetTrail()
985 byteIndex = 1; in afterGetTrail()
1044 toULength=byteIndex; in endLoop()
DCharsetMBCS.java2016 int byteIndex; in cnvMBCSToUnicodeWithOffsets() local
2058 byteIndex = toULength; in cnvMBCSToUnicodeWithOffsets()
2071 sourceIndex = byteIndex == 0 ? 0 : -1; in cnvMBCSToUnicodeWithOffsets()
2088 if (byteIndex == 0) { in cnvMBCSToUnicodeWithOffsets()
2113 byteIndex = 1; in cnvMBCSToUnicodeWithOffsets()
2146 bytes[byteIndex++] = source.get(sourceArrayIndex++); in cnvMBCSToUnicodeWithOffsets()
2149 entry = stateTable[state][(bytes[byteIndex++] = source.get(sourceArrayIndex++)) in cnvMBCSToUnicodeWithOffsets()
2179 byteIndex = 0; in cnvMBCSToUnicodeWithOffsets()
2187 byteIndex = 0; in cnvMBCSToUnicodeWithOffsets()
2191 cr[0] = CoderResult.malformedForLength(byteIndex); in cnvMBCSToUnicodeWithOffsets()
[all …]
/external/clang/test/Analysis/
Dreference.cpp177 int refParam(int &byteIndex) { in refParam() argument
178 return byteIndex; in refParam()
187 int ptrRefParam(int *&byteIndex) { in ptrRefParam() argument
188 return *byteIndex; // expected-warning {{Dereference of null pointer}} in ptrRefParam()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCharsetRecog_sbcs.java27 protected int byteIndex = 0; field in CharsetRecog_sbcs.NGramParser
108 if (byteIndex >= det.fInputLen) { in nextByte()
112 return det.fInputBytes[byteIndex++] & 0xFF; in nextByte()
215 if (byteIndex >= det.fInputLen || det.fInputBytes[byteIndex] == 0) { in nextByte()
220 alef = isLamAlef(det.fInputBytes[byteIndex]); in nextByte()
224 next = unshapeMap[det.fInputBytes[byteIndex]& 0xFF] & 0xFF; in nextByte()
226 byteIndex++; in nextByte()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCharsetRecog_sbcs.java28 protected int byteIndex = 0; field in CharsetRecog_sbcs.NGramParser
109 if (byteIndex >= det.fInputLen) { in nextByte()
113 return det.fInputBytes[byteIndex++] & 0xFF; in nextByte()
216 if (byteIndex >= det.fInputLen || det.fInputBytes[byteIndex] == 0) { in nextByte()
221 alef = isLamAlef(det.fInputBytes[byteIndex]); in nextByte()
225 next = unshapeMap[det.fInputBytes[byteIndex]& 0xFF] & 0xFF; in nextByte()
227 byteIndex++; in nextByte()
/external/icu/icu4c/source/i18n/
Dcsrsbcs.cpp23 : ngram(0), byteIndex(0) in NGramParser()
96 if (byteIndex >= det->fInputLen) { in nextByte()
100 return det->fInputBytes[byteIndex++]; in nextByte()
194 if (byteIndex >= det->fInputLen || det->fInputBytes[byteIndex] == 0) { in nextByte()
199 alef = isLamAlef(det->fInputBytes[byteIndex]); in nextByte()
203 next = unshapeMap_IBM420[det->fInputBytes[byteIndex]& 0xFF] & 0xFF; in nextByte()
205 byteIndex++; in nextByte()
Dcsrsbcs.h29 int32_t byteIndex;
/external/skia/src/sfnt/
DSkOTTable_glyf.h200 } byteIndex; member
/external/lzma/C/
D7zArcIn.c1379 UInt32 byteIndex = (i - 1) >> 3; in SzReadHeader2() local
1380 p->IsDirs[byteIndex] = isDirMask; in SzReadHeader2()
1381 p->CRCs.Defs[byteIndex] = crcMask; in SzReadHeader2()
1490 UInt32 byteIndex = (i - 1) >> 3; in SzReadHeader2() local
1491 p->IsDirs[byteIndex] = isDirMask; in SzReadHeader2()
1492 p->CRCs.Defs[byteIndex] = crcMask; in SzReadHeader2()