Searched refs:inBytes (Results 1 - 25 of 33) sorted by relevance

12

/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
H A DCollationDataReader.java98 static void read(CollationTailoring base, ByteBuffer inBytes, argument
100 tailoring.version = ICUBinary.readHeader(inBytes, DATA_FORMAT, IS_ACCEPTABLE);
105 int inLength = inBytes.remaining();
109 int indexesLength = inBytes.getInt(); // inIndexes[IX_INDEXES_LENGTH]
116 inIndexes[i] = inBytes.getInt();
122 ICUBinary.skipBytes(inBytes, (indexesLength - inIndexes.length) * 4);
159 reorderCodes = ICUBinary.getInts(inBytes, reorderCodesLength, length & 3);
175 ICUBinary.skipBytes(inBytes, length);
190 inBytes.get(reorderTable);
196 ICUBinary.skipBytes(inBytes, lengt
[all...]
H A DCollationLoader.java202 ByteBuffer inBytes = binary.getBinary();
204 CollationDataReader.read(root, inBytes, t);
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
H A DCollationDataReader.java97 static void read(CollationTailoring base, ByteBuffer inBytes, argument
99 tailoring.version = ICUBinary.readHeader(inBytes, DATA_FORMAT, IS_ACCEPTABLE);
104 int inLength = inBytes.remaining();
108 int indexesLength = inBytes.getInt(); // inIndexes[IX_INDEXES_LENGTH]
115 inIndexes[i] = inBytes.getInt();
121 ICUBinary.skipBytes(inBytes, (indexesLength - inIndexes.length) * 4);
158 reorderCodes = ICUBinary.getInts(inBytes, reorderCodesLength, length & 3);
174 ICUBinary.skipBytes(inBytes, length);
189 inBytes.get(reorderTable);
195 ICUBinary.skipBytes(inBytes, lengt
[all...]
H A DCollationLoader.java200 ByteBuffer inBytes = binary.getBinary();
202 CollationDataReader.read(root, inBytes, t);
/external/icu/icu4c/source/common/
H A Ducol_swp.cpp166 const uint8_t *inBytes; local
184 inBytes=(const uint8_t *)inData;
228 if(inBytes!=outBytes) {
229 uprv_memcpy(outBytes, inBytes, header.size);
261 ds->swapArray32(ds, inBytes+header.options, header.expansion-header.options,
274 ds->swapArray32(ds, inBytes+header.expansion, (int32_t)count,
281 ds->swapArray16(ds, inBytes+header.contractionIndex, header.contractionSize*2,
285 ds->swapArray32(ds, inBytes+header.contractionCEs, header.contractionSize*4,
292 utrie_swap(ds, inBytes+header.mappingPosition, (int32_t)count,
298 ds->swapArray32(ds, inBytes
382 const uint8_t *inBytes=(const uint8_t *)inData; local
604 const uint8_t *inBytes; local
[all...]
H A Drbbidata.cpp350 const uint8_t *inBytes =(const uint8_t *)inData+headerSize; local
351 RBBIDataHeader *rbbiDH = (RBBIDataHeader *)inBytes;
397 if (inBytes != outBytes) {
412 ds->swapArray32(ds, inBytes+tableStartOffset, topSize,
414 ds->swapArray16(ds, inBytes+tableStartOffset+topSize, tableLength-topSize,
423 ds->swapArray32(ds, inBytes+tableStartOffset, topSize,
425 ds->swapArray16(ds, inBytes+tableStartOffset+topSize, tableLength-topSize,
434 ds->swapArray32(ds, inBytes+tableStartOffset, topSize,
436 ds->swapArray16(ds, inBytes+tableStartOffset+topSize, tableLength-topSize,
445 ds->swapArray32(ds, inBytes
[all...]
H A Ddictionarydata.cpp164 const uint8_t *inBytes; local
184 inBytes = (const uint8_t *)inData + headerSize;
187 inIndexes = (const int32_t *)inBytes;
210 if (inBytes != outBytes) {
211 uprv_memcpy(outBytes, inBytes, size);
215 ds->swapArray32(ds, inBytes, sizeof(indexes), outBytes, pErrorCode);
221 ds->swapArray16(ds, inBytes + offset, nextOffset - offset, outBytes + offset, pErrorCode);
H A Ducnv_bld.cpp1325 const uint8_t *inBytes; local
1371 inBytes=(const uint8_t *)inData+headerSize;
1375 inStaticData=(const UConverterStaticData *)inBytes;
1411 inBytes+=staticDataSize;
1420 inMBCSHeader=(const _MBCSHeader *)inBytes;
1515 inExtIndexes=(const int32_t *)(inBytes+extOffset);
1528 if(inBytes!=outBytes) {
1529 uprv_memcpy(outBytes, inBytes, size);
1544 const char *inBaseName=(const char *)inBytes+count;
1554 ds->swapArray32(ds, inBytes
[all...]
H A Dloadednormalizer2impl.cpp82 const uint8_t *inBytes=(const uint8_t *)udata_getMemory(memory); local
83 const int32_t *inIndexes=(const int32_t *)inBytes;
93 inBytes+offset, nextOffset-offset, NULL,
101 const uint16_t *inExtraData=(const uint16_t *)(inBytes+offset);
105 const uint8_t *inSmallFCD=inBytes+offset;
H A Ducnv_u8.c110 int32_t i, inBytes; local
115 inBytes = cnv->mode; /* restore # of bytes to consume */
136 inBytes = bytesFromUTF8[ch]; /* lookup current sequence length */
140 while (i < inBytes)
147 break; /* i < inBytes */
157 cnv->mode = inBytes;
164 ch -= offsetsFromUTF8[inBytes];
178 if (i == inBytes && ch <= MAXIMUM_UTF && ch >= utf8_minChar32[i] &&
181 /* Normal valid byte when the loop has not prematurely terminated (i < inBytes) */
240 int32_t i, inBytes; local
[all...]
H A Dusprep.cpp781 const uint8_t *inBytes; local
812 inBytes=(const uint8_t *)inData+headerSize;
815 inIndexes=(const int32_t *)inBytes;
847 if(inBytes!=outBytes) {
848 uprv_memcpy(outBytes, inBytes, size);
855 ds->swapArray32(ds, inBytes, count, outBytes, pErrorCode);
860 utrie_swap(ds, inBytes+offset, count, outBytes+offset, pErrorCode);
865 ds->swapArray16(ds, inBytes+offset, count, outBytes+offset, pErrorCode);
H A Dunames.cpp1833 const uint8_t *inBytes; local
1865 inBytes=(const uint8_t *)inData+headerSize;
1868 algNamesOffset=ds->readUInt32(((const uint32_t *)inBytes)[3]);
1872 (uint32_t)length<(algNamesOffset=ds->readUInt32(((const uint32_t *)inBytes)[3]))
1884 count=ds->readUInt32(*((const uint32_t *)(inBytes+offset)));
1888 inRange=(const AlgorithmicRange *)(inBytes+offset);
1902 if(inBytes!=outBytes) {
1903 uprv_memcpy(outBytes, inBytes, length);
1907 tokenStringOffset=ds->readUInt32(((const uint32_t *)inBytes)[0]);
1908 groupsOffset=ds->readUInt32(((const uint32_t *)inBytes)[
[all...]
H A Ducnvsel.cpp407 const uint8_t *inBytes = (const uint8_t *)inData + headerSize; local
411 const int32_t *inIndexes = (const int32_t *)inBytes;
429 if(inBytes != outBytes) {
430 uprv_memcpy(outBytes, inBytes, size);
437 ds->swapArray32(ds, inBytes, count, outBytes, status);
442 utrie2_swap(ds, inBytes + offset, count, outBytes + offset, status);
447 ds->swapArray32(ds, inBytes + offset, count, outBytes + offset, status);
452 ds->swapInvChars(ds, inBytes + offset, count, outBytes + offset, status);
/external/icu/icu4c/source/tools/toolutil/
H A Dswapimpl.cpp101 const uint8_t *inBytes=static_cast<const uint8_t *>(inData)+headerSize; local
115 const int32_t *inIndexes=reinterpret_cast<const int32_t *>(inBytes);
130 ds->swapArray32(ds, inBytes, numBytesIndexesAndValueMaps, outBytes, pErrorCode);
133 if(inBytes!=outBytes) {
135 inBytes+numBytesIndexesAndValueMaps,
312 const uint8_t *inBytes; local
346 inBytes=(const uint8_t *)inData+headerSize;
349 inIndexes=(const int32_t *)inBytes;
378 if(inBytes!=outBytes) {
379 uprv_memcpy(outBytes, inBytes, siz
414 const uint8_t *inBytes; local
524 const uint8_t *inBytes; local
648 const uint8_t *inBytes; local
[all...]
H A Dpkgitems.cpp367 const uint8_t *inBytes, int32_t length,
373 res_read(&resData, pInfo, inBytes, length, pErrorCode);
445 const uint8_t *inBytes, int32_t length,
466 inStaticData=(const UConverterStaticData *)inBytes;
477 inBytes+=staticDataSize;
486 inMBCSHeader=(const _MBCSHeader *)inBytes;
529 const char *inBaseName=(const char *)inBytes+mbcsHeaderLength*4;
615 const uint8_t *inBytes=pItem->data+itemHeaderLength; local
618 ucnv_enumDependencies(ds, pItem->name, pInfo, inBytes, length, check, context, &errorCode);
366 ures_enumDependencies(const char *itemName, const UDataInfo *pInfo, const uint8_t *inBytes, int32_t length, CheckDependency check, void *context, Package *pkg, UErrorCode *pErrorCode) argument
443 ucnv_enumDependencies(const UDataSwapper *ds, const char *itemName, const UDataInfo *pInfo, const uint8_t *inBytes, int32_t length, CheckDependency check, void *context, UErrorCode *pErrorCode) argument
H A Dpackage.cpp447 const uint8_t *inBytes; local
504 inBytes=(const uint8_t *)inData+headerLength;
505 inEntries=(const UDataOffsetTOCEntry *)(inBytes+4);
513 itemCount=udata_readInt32(ds, *(const int32_t *)inBytes);
551 while(itemLength>0 && inBytes[stringsOffset+itemLength-1]!=0) {
561 ds->swapInvChars(ds, inBytes+stringsOffset, itemLength, inItemStrings, &errorCode);
644 items[i].data=(uint8_t *)inBytes+ds->readUInt32(inEntries[i].dataOffset);
/external/icu/icu4c/source/i18n/
H A Dcollationdatareader.cpp45 CollationDataReader::read(const CollationTailoring *base, const uint8_t *inBytes, int32_t inLength, argument
49 if(inBytes == NULL || (0 <= inLength && inLength < 24)) {
53 const DataHeader *header = reinterpret_cast<const DataHeader *>(inBytes);
64 inBytes += headerLength;
70 if(inBytes == NULL || (0 <= inLength && inLength < 8)) {
74 const int32_t *inIndexes = reinterpret_cast<const int32_t *>(inBytes);
118 reorderCodes = reinterpret_cast<const int32_t *>(inBytes + offset);
148 reorderTable = inBytes + offset;
169 UTRIE2_32_VALUE_BITS, inBytes + offset, length, NULL,
188 data->ces = reinterpret_cast<const int64_t *>(inBytes
[all...]
H A Dcollationdatareader.h100 static void read(const CollationTailoring *base, const uint8_t *inBytes, int32_t inLength,
H A Dcollationroot.cpp60 const uint8_t *inBytes = static_cast<const uint8_t *>(udata_getMemory(t->memory)); local
61 CollationDataReader::read(NULL, inBytes, udata_getLength(t->memory), *t, errorCode);
H A Duspoof_impl.cpp766 const uint8_t *inBytes =(const uint8_t *)inData+headerSize; local
767 SpoofDataHeader *spoofDH = (SpoofDataHeader *)inBytes;
812 if (inBytes != outBytes) {
819 ds->swapArray32(ds, inBytes+sectionStart, sectionLength, outBytes+sectionStart, status);
824 ds->swapArray16(ds, inBytes+sectionStart, sectionLength, outBytes+sectionStart, status);
829 ds->swapArray16(ds, inBytes+sectionStart, sectionLength, outBytes+sectionStart, status);
834 ds->swapArray16(ds, inBytes+sectionStart, sectionLength, outBytes+sectionStart, status);
839 utrie2_swap(ds, inBytes+sectionStart, sectionLength, outBytes+sectionStart, status);
844 utrie2_swap(ds, inBytes+sectionStart, sectionLength, outBytes+sectionStart, status);
849 ds->swapArray32(ds, inBytes
[all...]
/external/icu/icu4c/source/tools/icuswap/
H A Dicuswap.cpp341 const uint8_t *inBytes; local
407 inBytes=(const uint8_t *)inData+headerSize;
408 inEntries=(const UDataOffsetTOCEntry *)(inBytes+4);
412 itemCount=ds->readUInt32(*(const uint32_t *)inBytes);
420 itemLength=udata_swap(ds, inBytes+offset, -1, NULL, pErrorCode);
435 itemCount=ds->readUInt32(*(const uint32_t *)inBytes);
456 ds->swapArray32(ds, inBytes, 4, outBytes, pErrorCode);
466 udata_swapInvStringBlock(ds, inBytes+offset, itemLength, outBytes+offset, pErrorCode);
490 entryName=(char *)inBytes+ds->readUInt32(inEntries[i].nameOffset);
527 uprv_memcpy(outBytes, inBytes,
[all...]
/external/llvm/lib/IR/
H A DDataLayout.cpp217 static unsigned inBytes(unsigned Bits) { function
262 unsigned PointerMemSize = inBytes(getInt(Tok));
271 unsigned PointerABIAlign = inBytes(getInt(Tok));
280 PointerPrefAlign = inBytes(getInt(Tok));
315 unsigned ABIAlign = inBytes(getInt(Tok));
324 PrefAlign = inBytes(getInt(Tok));
344 StackNaturalAlign = inBytes(getInt(Tok));
/external/libpcap/msdos/
H A Dpktdrvr.h76 DWORD inBytes; /* # of bytes received */ member in struct:__anon10819
/external/icu/android_icu4j/src/main/java/android/icu/impl/
H A DICUResourceBundleReader.java185 ByteBuffer inBytes;
188 inBytes = ICUBinary.getData(loader, fullName, itemPath);
189 if (inBytes == null) {
198 inBytes = ICUBinary.getByteBufferFromInputStreamAndCloseStream(stream);
200 return new ICUResourceBundleReader(inBytes, key.baseName, key.localeID, loader);
213 private ICUResourceBundleReader(ByteBuffer inBytes, argument
216 init(inBytes);
240 private void init(ByteBuffer inBytes) throws IOException { argument
241 dataVersion = ICUBinary.readHeader(inBytes, DATA_FORMAT, IS_ACCEPTABLE);
242 int majorFormatVersion = inBytes
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DICUResourceBundleReader.java183 ByteBuffer inBytes;
186 inBytes = ICUBinary.getData(loader, fullName, itemPath);
187 if (inBytes == null) {
196 inBytes = ICUBinary.getByteBufferFromInputStreamAndCloseStream(stream);
198 return new ICUResourceBundleReader(inBytes, key.baseName, key.localeID, loader);
211 private ICUResourceBundleReader(ByteBuffer inBytes, argument
214 init(inBytes);
238 private void init(ByteBuffer inBytes) throws IOException { argument
239 dataVersion = ICUBinary.readHeader(inBytes, DATA_FORMAT, IS_ACCEPTABLE);
240 int majorFormatVersion = inBytes
[all...]

Completed in 285 milliseconds

12