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.cpp949 int8_t byteIndex; in _Bocu1ToUnicodeWithOffsets() local
971 byteIndex=cnv->toULength; in _Bocu1ToUnicodeWithOffsets()
975 sourceIndex=byteIndex==0 ? 0 : -1; in _Bocu1ToUnicodeWithOffsets()
979 if(count>0 && byteIndex>0 && target<targetLimit) { in _Bocu1ToUnicodeWithOffsets()
1061 byteIndex=2; in _Bocu1ToUnicodeWithOffsets()
1077 byteIndex=1; in _Bocu1ToUnicodeWithOffsets()
1088 c=bytes[byteIndex++]=*source++; in _Bocu1ToUnicodeWithOffsets()
1100 byteIndex=0; in _Bocu1ToUnicodeWithOffsets()
1145 cnv->toULength=byteIndex; in _Bocu1ToUnicodeWithOffsets()
1171 int8_t byteIndex; in _Bocu1ToUnicode() local
[all …]
Ducnvmbcs.c2330 int8_t byteIndex; in ucnv_MBCSToUnicodeWithOffsets() local
2379 byteIndex=cnv->toULength; in ucnv_MBCSToUnicodeWithOffsets()
2392 sourceIndex=byteIndex==0 ? 0 : -1; in ucnv_MBCSToUnicodeWithOffsets()
2411 if(byteIndex==0) { in ucnv_MBCSToUnicodeWithOffsets()
2433 byteIndex=1; in ucnv_MBCSToUnicodeWithOffsets()
2473 byteIndex=1; in ucnv_MBCSToUnicodeWithOffsets()
2508 bytes[byteIndex++]=*source++; in ucnv_MBCSToUnicodeWithOffsets()
2511 entry=stateTable[state][bytes[byteIndex++]=*source++]; in ucnv_MBCSToUnicodeWithOffsets()
2540 byteIndex=0; in ucnv_MBCSToUnicodeWithOffsets()
2548 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;
158 virtual Node *createLinearMatchNode(int32_t i, int32_t byteIndex, int32_t length,
164 virtual int32_t writeElementUnits(int32_t i, int32_t byteIndex, int32_t length);
/external/chromium_org/third_party/icu/source/common/
Ducnv_u7.c214 uint8_t byteIndex; in _UTF7ToUnicodeWithOffsets() local
244 byteIndex=cnv->toULength; in _UTF7ToUnicodeWithOffsets()
247 sourceIndex=byteIndex==0 ? 0 : -1; in _UTF7ToUnicodeWithOffsets()
260 byteIndex=0; in _UTF7ToUnicodeWithOffsets()
271 byteIndex=1; in _UTF7ToUnicodeWithOffsets()
284 byteIndex=0; in _UTF7ToUnicodeWithOffsets()
309 bytes[byteIndex++]=b=*source++; in _UTF7ToUnicodeWithOffsets()
338 byteIndex=1; in _UTF7ToUnicodeWithOffsets()
349 byteIndex=1; in _UTF7ToUnicodeWithOffsets()
359 byteIndex=0; in _UTF7ToUnicodeWithOffsets()
[all …]
Ducnvbocu.c944 int8_t byteIndex; in _Bocu1ToUnicodeWithOffsets() local
966 byteIndex=cnv->toULength; in _Bocu1ToUnicodeWithOffsets()
970 sourceIndex=byteIndex==0 ? 0 : -1; in _Bocu1ToUnicodeWithOffsets()
974 if(count>0 && byteIndex>0 && target<targetLimit) { in _Bocu1ToUnicodeWithOffsets()
1056 byteIndex=2; in _Bocu1ToUnicodeWithOffsets()
1072 byteIndex=1; in _Bocu1ToUnicodeWithOffsets()
1083 c=bytes[byteIndex++]=*source++; in _Bocu1ToUnicodeWithOffsets()
1095 byteIndex=0; in _Bocu1ToUnicodeWithOffsets()
1140 cnv->toULength=byteIndex; in _Bocu1ToUnicodeWithOffsets()
1166 int8_t byteIndex; in _Bocu1ToUnicode() local
[all …]
Ducnvmbcs.c2333 int8_t byteIndex; in ucnv_MBCSToUnicodeWithOffsets() local
2382 byteIndex=cnv->toULength; in ucnv_MBCSToUnicodeWithOffsets()
2395 sourceIndex=byteIndex==0 ? 0 : -1; in ucnv_MBCSToUnicodeWithOffsets()
2414 if(byteIndex==0) { in ucnv_MBCSToUnicodeWithOffsets()
2436 byteIndex=1; in ucnv_MBCSToUnicodeWithOffsets()
2476 byteIndex=1; in ucnv_MBCSToUnicodeWithOffsets()
2511 bytes[byteIndex++]=*source++; in ucnv_MBCSToUnicodeWithOffsets()
2514 entry=stateTable[state][bytes[byteIndex++]=*source++]; in ucnv_MBCSToUnicodeWithOffsets()
2543 byteIndex=0; in ucnv_MBCSToUnicodeWithOffsets()
2551 byteIndex=0; in ucnv_MBCSToUnicodeWithOffsets()
[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/icu4c/source/i18n/
Dcsrsbcs.cpp23 : ngram(0), byteIndex(0) in NGramParser()
92 if (byteIndex >= det->fInputLen) { in nextByte()
96 return det->fInputBytes[byteIndex++]; in nextByte()
188 if (byteIndex >= det->fInputLen || det->fInputBytes[byteIndex] == 0) { in nextByte()
193 alef = isLamAlef(det->fInputBytes[byteIndex]); in nextByte()
197 next = unshapeMap_IBM420[det->fInputBytes[byteIndex]& 0xFF] & 0xFF; in nextByte()
199 byteIndex++; in nextByte()
Dcsrsbcs.h29 int32_t byteIndex;
/external/chromium_org/third_party/icu/source/i18n/
Dcsrsbcs.cpp21 :byteIndex(0), ngram(0) in NGramParser()
90 if (byteIndex >= det->fInputLen) { in nextByte()
94 return det->fInputBytes[byteIndex++]; in nextByte()
Dcsrsbcs.h22 int32_t byteIndex;
/external/chromium_org/third_party/skia/src/sfnt/
DSkOTTable_glyf.h200 } byteIndex; member
/external/skia/src/sfnt/
DSkOTTable_glyf.h200 } byteIndex; member