Home
last modified time | relevance | path

Searched refs:byteIndex (Results 1 – 19 of 19) 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.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 …]
Ducnvmbcs.cpp2478 int8_t byteIndex; in ucnv_MBCSToUnicodeWithOffsets() local
2527 byteIndex=cnv->toULength; in ucnv_MBCSToUnicodeWithOffsets()
2540 sourceIndex=byteIndex==0 ? 0 : -1; in ucnv_MBCSToUnicodeWithOffsets()
2559 if(byteIndex==0) { in ucnv_MBCSToUnicodeWithOffsets()
2581 byteIndex=1; in ucnv_MBCSToUnicodeWithOffsets()
2621 byteIndex=1; in ucnv_MBCSToUnicodeWithOffsets()
2656 bytes[byteIndex++]=*source++; in ucnv_MBCSToUnicodeWithOffsets()
2659 entry=stateTable[state][bytes[byteIndex++]=*source++]; in ucnv_MBCSToUnicodeWithOffsets()
2688 byteIndex=0; in ucnv_MBCSToUnicodeWithOffsets()
2696 byteIndex=0; in ucnv_MBCSToUnicodeWithOffsets()
[all …]
/external/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 …]
/external/icu/icu4c/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);
/external/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()
/external/icu/android_icu4j/src/main/java/android/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()
/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/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()
Dcsrsbcs.h31 int32_t byteIndex;
/external/icu/icu4c/source/tools/genrb/
Dwrtjava.cpp289 uint32_t byteIndex = 0; in str_write_java() local
293 while (byteIndex < add) { in str_write_java()
294 if (U8_IS_LEAD(*(current + byteIndex))) { in str_write_java()
295 trailBytes = U8_COUNT_TRAIL_BYTES(*(current + byteIndex)); in str_write_java()
298 byteIndex++; in str_write_java()
/external/lzma/C/
D7zArcIn.c1331 UInt32 byteIndex = (i - 1) >> 3; in SzReadHeader2() local
1332 p->IsDirs[byteIndex] = isDirMask; in SzReadHeader2()
1333 p->CRCs.Defs[byteIndex] = crcMask; in SzReadHeader2()
1432 UInt32 byteIndex = (i - 1) >> 3; in SzReadHeader2() local
1433 p->IsDirs[byteIndex] = isDirMask; in SzReadHeader2()
1434 p->CRCs.Defs[byteIndex] = crcMask; in SzReadHeader2()
/external/skia/src/sfnt/
DSkOTTable_glyf.h199 } byteIndex; member
/external/skqp/src/sfnt/
DSkOTTable_glyf.h199 } byteIndex; member
/external/protobuf/objectivec/
DGPBUtilities.m113 uint32_t byteIndex = idx / 32;
116 (self->messageStorage_->_has_storage_[byteIndex] & bitMask) ? YES : NO;