Home
last modified time | relevance | path

Searched refs:headerSize (Results 1 – 25 of 170) sorted by relevance

1234567

/third_party/flutter/skia/third_party/externals/icu/source/tools/toolutil/
Dswapimpl.cpp80 int32_t headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in upname_swap() local
104 const uint8_t *inBytes=static_cast<const uint8_t *>(inData)+headerSize; in upname_swap()
105 uint8_t *outBytes=static_cast<uint8_t *>(outData)+headerSize; in upname_swap()
108 length-=headerSize; in upname_swap()
155 return headerSize+totalSize; in upname_swap()
165 int32_t headerSize, i; in uprops_swap() local
171 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in uprops_swap()
197 if(length>=0 && (length-headerSize)<(int32_t)sizeof(dataIndexes)) { in uprops_swap()
199 length-headerSize); in uprops_swap()
205 inData32=(const int32_t *)((const char *)inData+headerSize); in uprops_swap()
[all …]
Dunewdata.cpp31 uint16_t headerSize; member
41 uint16_t headerSize, commentLength; in udata_create() local
110 headerSize=(uint16_t)(pInfo->size+4); in udata_create()
113 headerSize+=commentLength; in udata_create()
119 pData->headerSize=(uint16_t)((headerSize+15)&~0xf); in udata_create()
122 T_FileStream_write(pData->file, &pData->headerSize, 4); in udata_create()
133 headerSize&=0xf; in udata_create()
134 if(headerSize!=0) { in udata_create()
135 headerSize=(uint16_t)(16-headerSize); in udata_create()
136 uprv_memset(bytes, 0, headerSize); in udata_create()
[all …]
/third_party/node/deps/icu-small/source/tools/toolutil/
Dswapimpl.cpp82 int32_t headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in upname_swap() local
106 const uint8_t *inBytes=static_cast<const uint8_t *>(inData)+headerSize; in upname_swap()
107 uint8_t *outBytes=static_cast<uint8_t *>(outData)+headerSize; in upname_swap()
110 length-=headerSize; in upname_swap()
157 return headerSize+totalSize; in upname_swap()
167 int32_t headerSize, i; in uprops_swap() local
173 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in uprops_swap()
199 if(length>=0 && (length-headerSize)<(int32_t)sizeof(dataIndexes)) { in uprops_swap()
201 length-headerSize); in uprops_swap()
207 inData32=(const int32_t *)((const char *)inData+headerSize); in uprops_swap()
[all …]
Dunewdata.cpp31 uint16_t headerSize; member
41 uint16_t headerSize, commentLength; in udata_create() local
120 headerSize=(uint16_t)(pInfo->size+4); in udata_create()
123 headerSize+=commentLength; in udata_create()
129 pData->headerSize=(uint16_t)((headerSize+15)&~0xf); in udata_create()
132 T_FileStream_write(pData->file, &pData->headerSize, 4); in udata_create()
143 headerSize&=0xf; in udata_create()
144 if(headerSize!=0) { in udata_create()
145 headerSize=(uint16_t)(16-headerSize); in udata_create()
146 uprv_memset(bytes, 0, headerSize); in udata_create()
[all …]
/third_party/skia/third_party/externals/icu/source/tools/toolutil/
Dswapimpl.cpp81 int32_t headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in upname_swap() local
105 const uint8_t *inBytes=static_cast<const uint8_t *>(inData)+headerSize; in upname_swap()
106 uint8_t *outBytes=static_cast<uint8_t *>(outData)+headerSize; in upname_swap()
109 length-=headerSize; in upname_swap()
156 return headerSize+totalSize; in upname_swap()
166 int32_t headerSize, i; in uprops_swap() local
172 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in uprops_swap()
198 if(length>=0 && (length-headerSize)<(int32_t)sizeof(dataIndexes)) { in uprops_swap()
200 length-headerSize); in uprops_swap()
206 inData32=(const int32_t *)((const char *)inData+headerSize); in uprops_swap()
[all …]
Dunewdata.cpp31 uint16_t headerSize; member
41 uint16_t headerSize, commentLength; in udata_create() local
120 headerSize=(uint16_t)(pInfo->size+4); in udata_create()
123 headerSize+=commentLength; in udata_create()
129 pData->headerSize=(uint16_t)((headerSize+15)&~0xf); in udata_create()
132 T_FileStream_write(pData->file, &pData->headerSize, 4); in udata_create()
143 headerSize&=0xf; in udata_create()
144 if(headerSize!=0) { in udata_create()
145 headerSize=(uint16_t)(16-headerSize); in udata_create()
146 uprv_memset(bytes, 0, headerSize); in udata_create()
[all …]
/third_party/icu/icu4c/source/tools/toolutil/
Dswapimpl.cpp81 int32_t headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in upname_swap() local
105 const uint8_t *inBytes=static_cast<const uint8_t *>(inData)+headerSize; in upname_swap()
106 uint8_t *outBytes=static_cast<uint8_t *>(outData)+headerSize; in upname_swap()
109 length-=headerSize; in upname_swap()
156 return headerSize+totalSize; in upname_swap()
166 int32_t headerSize, i; in uprops_swap() local
172 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in uprops_swap()
198 if(length>=0 && (length-headerSize)<(int32_t)sizeof(dataIndexes)) { in uprops_swap()
200 length-headerSize); in uprops_swap()
206 inData32=(const int32_t *)((const char *)inData+headerSize); in uprops_swap()
[all …]
Dunewdata.cpp31 uint16_t headerSize; member
41 uint16_t headerSize, commentLength; in udata_create() local
120 headerSize=(uint16_t)(pInfo->size+4); in udata_create()
123 headerSize+=commentLength; in udata_create()
129 pData->headerSize=(uint16_t)((headerSize+15)&~0xf); in udata_create()
132 T_FileStream_write(pData->file, &pData->headerSize, 4); in udata_create()
143 headerSize&=0xf; in udata_create()
144 if(headerSize!=0) { in udata_create()
145 headerSize=(uint16_t)(16-headerSize); in udata_create()
146 uprv_memset(bytes, 0, headerSize); in udata_create()
[all …]
/third_party/node/deps/icu-small/source/common/
Dudataswp.cpp290 uint16_t headerSize, infoSize; in udata_swapDataHeader() local
313 headerSize=ds->readUInt16(pHeader->dataHeader.headerSize); in udata_swapDataHeader()
316 if( headerSize<sizeof(DataHeader) || in udata_swapDataHeader()
318 headerSize<(sizeof(pHeader->dataHeader)+infoSize) || in udata_swapDataHeader()
319 (length>=0 && length<headerSize) in udata_swapDataHeader()
322 headerSize, infoSize, length); in udata_swapDataHeader()
334 uprv_memcpy(outData, inData, headerSize); in udata_swapDataHeader()
342 …ds->swapArray16(ds, &pHeader->dataHeader.headerSize, 2, &outHeader->dataHeader.headerSize, pErrorC… in udata_swapDataHeader()
350 maxLength=headerSize-infoSize; in udata_swapDataHeader()
357 return headerSize; in udata_swapDataHeader()
[all …]
Ducol_swp.cpp482 int32_t headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in ucol_swap() local
507 inData=(const char *)inData+headerSize; in ucol_swap()
508 if(length>=0) { length-=headerSize; } in ucol_swap()
509 outData=(char *)outData+headerSize; in ucol_swap()
517 return headerSize+collationSize; in ucol_swap()
529 int32_t headerSize; in ucol_swapInverseUCA() local
539 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in ucol_swapInverseUCA()
562 inBytes=(const uint8_t *)inData+headerSize; in ucol_swapInverseUCA()
563 outBytes=(uint8_t *)outData+headerSize; in ucol_swapInverseUCA()
577 ((length-headerSize)<(8*4) || in ucol_swapInverseUCA()
[all …]
/third_party/icu/icu4c/source/common/
Dudataswp.cpp290 uint16_t headerSize, infoSize; in udata_swapDataHeader() local
313 headerSize=ds->readUInt16(pHeader->dataHeader.headerSize); in udata_swapDataHeader()
316 if( headerSize<sizeof(DataHeader) || in udata_swapDataHeader()
318 headerSize<(sizeof(pHeader->dataHeader)+infoSize) || in udata_swapDataHeader()
319 (length>=0 && length<headerSize) in udata_swapDataHeader()
322 headerSize, infoSize, length); in udata_swapDataHeader()
334 uprv_memcpy(outData, inData, headerSize); in udata_swapDataHeader()
342 …ds->swapArray16(ds, &pHeader->dataHeader.headerSize, 2, &outHeader->dataHeader.headerSize, pErrorC… in udata_swapDataHeader()
350 maxLength=headerSize-infoSize; in udata_swapDataHeader()
357 return headerSize; in udata_swapDataHeader()
[all …]
Ducol_swp.cpp482 int32_t headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in ucol_swap() local
507 inData=(const char *)inData+headerSize; in ucol_swap()
508 if(length>=0) { length-=headerSize; } in ucol_swap()
509 outData=(char *)outData+headerSize; in ucol_swap()
517 return headerSize+collationSize; in ucol_swap()
529 int32_t headerSize; in ucol_swapInverseUCA() local
539 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in ucol_swapInverseUCA()
562 inBytes=(const uint8_t *)inData+headerSize; in ucol_swapInverseUCA()
563 outBytes=(uint8_t *)outData+headerSize; in ucol_swapInverseUCA()
577 ((length-headerSize)<(8*4) || in ucol_swapInverseUCA()
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Dudataswp.cpp290 uint16_t headerSize, infoSize; in udata_swapDataHeader() local
313 headerSize=ds->readUInt16(pHeader->dataHeader.headerSize); in udata_swapDataHeader()
316 if( headerSize<sizeof(DataHeader) || in udata_swapDataHeader()
318 headerSize<(sizeof(pHeader->dataHeader)+infoSize) || in udata_swapDataHeader()
319 (length>=0 && length<headerSize) in udata_swapDataHeader()
322 headerSize, infoSize, length); in udata_swapDataHeader()
334 uprv_memcpy(outData, inData, headerSize); in udata_swapDataHeader()
342 …ds->swapArray16(ds, &pHeader->dataHeader.headerSize, 2, &outHeader->dataHeader.headerSize, pErrorC… in udata_swapDataHeader()
350 maxLength=headerSize-infoSize; in udata_swapDataHeader()
357 return headerSize; in udata_swapDataHeader()
[all …]
Ducol_swp.cpp482 int32_t headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in ucol_swap() local
507 inData=(const char *)inData+headerSize; in ucol_swap()
508 if(length>=0) { length-=headerSize; } in ucol_swap()
509 outData=(char *)outData+headerSize; in ucol_swap()
517 return headerSize+collationSize; in ucol_swap()
529 int32_t headerSize; in ucol_swapInverseUCA() local
539 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in ucol_swapInverseUCA()
562 inBytes=(const uint8_t *)inData+headerSize; in ucol_swapInverseUCA()
563 outBytes=(uint8_t *)outData+headerSize; in ucol_swapInverseUCA()
577 ((length-headerSize)<(8*4) || in ucol_swapInverseUCA()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dudataswp.cpp290 uint16_t headerSize, infoSize; in udata_swapDataHeader() local
313 headerSize=ds->readUInt16(pHeader->dataHeader.headerSize); in udata_swapDataHeader()
316 if( headerSize<sizeof(DataHeader) || in udata_swapDataHeader()
318 headerSize<(sizeof(pHeader->dataHeader)+infoSize) || in udata_swapDataHeader()
319 (length>=0 && length<headerSize) in udata_swapDataHeader()
322 headerSize, infoSize, length); in udata_swapDataHeader()
334 uprv_memcpy(outData, inData, headerSize); in udata_swapDataHeader()
342 …ds->swapArray16(ds, &pHeader->dataHeader.headerSize, 2, &outHeader->dataHeader.headerSize, pErrorC… in udata_swapDataHeader()
350 maxLength=headerSize-infoSize; in udata_swapDataHeader()
357 return headerSize; in udata_swapDataHeader()
[all …]
Ducol_swp.cpp482 int32_t headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in ucol_swap() local
507 inData=(const char *)inData+headerSize; in ucol_swap()
508 if(length>=0) { length-=headerSize; } in ucol_swap()
509 outData=(char *)outData+headerSize; in ucol_swap()
517 return headerSize+collationSize; in ucol_swap()
529 int32_t headerSize; in ucol_swapInverseUCA() local
539 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in ucol_swapInverseUCA()
562 inBytes=(const uint8_t *)inData+headerSize; in ucol_swapInverseUCA()
563 outBytes=(uint8_t *)outData+headerSize; in ucol_swapInverseUCA()
577 ((length-headerSize)<(8*4) || in ucol_swapInverseUCA()
[all …]
Drbbidata.cpp50 int32_t headerSize = dh->dataHeader.headerSize; in RBBIDataWrapper() local
51 if ( !(headerSize >= 20 && in RBBIDataWrapper()
64 … const RBBIDataHeader *rbbidh = reinterpret_cast<const RBBIDataHeader *>(dataAsBytes + headerSize); in RBBIDataWrapper()
318 int32_t headerSize=udata_swapDataHeader(ds, inData, length, outData, status); in ubrk_swap() local
324 const uint8_t *inBytes =(const uint8_t *)inData+headerSize; in ubrk_swap()
338 int32_t totalSize = headerSize + breakDataLength; in ubrk_swap()
359 uint8_t *outBytes = (uint8_t *)outData + headerSize; in ubrk_swap()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dcollationdatawriter.cpp179 int32_t headerSize; in write() local
181 headerSize = 0; // udata_create() writes the header in write()
188 headerSize = (int32_t)sizeof(header); in write()
189 U_ASSERT((headerSize & 3) == 0); // multiple of 4 bytes in write()
193 int32_t sum = headerSize + (indexesLength + reorderCodesLength) * 4; in write()
199 headerSize += 4; in write()
202 header.dataHeader.headerSize = (uint16_t)headerSize; in write()
203 if(headerSize <= capacity) { in write()
206 uprv_memset(dest + sizeof(header), 0, headerSize - (int32_t)sizeof(header)); in write()
207 dest += headerSize; in write()
[all …]
/third_party/icu/icu4c/source/i18n/
Dcollationdatawriter.cpp179 int32_t headerSize; in write() local
181 headerSize = 0; // udata_create() writes the header in write()
188 headerSize = (int32_t)sizeof(header); in write()
189 U_ASSERT((headerSize & 3) == 0); // multiple of 4 bytes in write()
193 int32_t sum = headerSize + (indexesLength + reorderCodesLength) * 4; in write()
199 headerSize += 4; in write()
202 header.dataHeader.headerSize = (uint16_t)headerSize; in write()
203 if(headerSize <= capacity) { in write()
206 uprv_memset(dest + sizeof(header), 0, headerSize - (int32_t)sizeof(header)); in write()
207 dest += headerSize; in write()
[all …]
/third_party/node/deps/icu-small/source/i18n/
Dcollationdatawriter.cpp179 int32_t headerSize; in write() local
181 headerSize = 0; // udata_create() writes the header in write()
188 headerSize = (int32_t)sizeof(header); in write()
189 U_ASSERT((headerSize & 3) == 0); // multiple of 4 bytes in write()
193 int32_t sum = headerSize + (indexesLength + reorderCodesLength) * 4; in write()
199 headerSize += 4; in write()
202 header.dataHeader.headerSize = (uint16_t)headerSize; in write()
203 if(headerSize <= capacity) { in write()
206 uprv_memset(dest + sizeof(header), 0, headerSize - (int32_t)sizeof(header)); in write()
207 dest += headerSize; in write()
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Dcollationdatawriter.cpp179 int32_t headerSize; in write() local
181 headerSize = 0; // udata_create() writes the header in write()
188 headerSize = (int32_t)sizeof(header); in write()
189 U_ASSERT((headerSize & 3) == 0); // multiple of 4 bytes in write()
193 int32_t sum = headerSize + (indexesLength + reorderCodesLength) * 4; in write()
199 headerSize += 4; in write()
202 header.dataHeader.headerSize = (uint16_t)headerSize; in write()
203 if(headerSize <= capacity) { in write()
206 uprv_memset(dest + sizeof(header), 0, headerSize - (int32_t)sizeof(header)); in write()
207 dest += headerSize; in write()
[all …]
/third_party/vk-gl-cts/external/vulkancts/vkscserver/
DvksNetwork.cpp48 constexpr msize headerSize = 8; in ProccessNetworkData() local
50 if (buffer.size() >= headerSize) in ProccessNetworkData()
57 if (buffer.size() >= packetSize + headerSize) in ProccessNetworkData()
59 auto itbeging = buffer.begin() + headerSize; in ProccessNetworkData()
63 return buffer.size() >= headerSize; // Try again? in ProccessNetworkData()
/third_party/icu/icu4c/source/tools/icuswap/
Dicuswap.cpp341 int32_t headerSize; in udata_swapPackage() local
358 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in udata_swapPackage()
409 inBytes=(const uint8_t *)inData+headerSize; in udata_swapPackage()
417 return headerSize+4; in udata_swapPackage()
425 return headerSize+offset+(uint32_t)itemLength; in udata_swapPackage()
431 length-=headerSize; in udata_swapPackage()
455 outBytes=(uint8_t *)outData+headerSize; in udata_swapPackage()
462 return headerSize+4; in udata_swapPackage()
634 uprv_memcpy((uint8_t *)outData+headerSize, outBytes, length); in udata_swapPackage()
638 return headerSize+length; in udata_swapPackage()
/third_party/flutter/skia/third_party/externals/icu/source/tools/icuswap/
Dicuswap.cpp341 int32_t headerSize; in udata_swapPackage() local
358 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in udata_swapPackage()
409 inBytes=(const uint8_t *)inData+headerSize; in udata_swapPackage()
417 return headerSize+4; in udata_swapPackage()
425 return headerSize+offset+(uint32_t)itemLength; in udata_swapPackage()
431 length-=headerSize; in udata_swapPackage()
455 outBytes=(uint8_t *)outData+headerSize; in udata_swapPackage()
462 return headerSize+4; in udata_swapPackage()
634 uprv_memcpy((uint8_t *)outData+headerSize, outBytes, length); in udata_swapPackage()
638 return headerSize+length; in udata_swapPackage()
/third_party/skia/third_party/externals/icu/source/tools/icuswap/
Dicuswap.cpp341 int32_t headerSize; in udata_swapPackage() local
358 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in udata_swapPackage()
409 inBytes=(const uint8_t *)inData+headerSize; in udata_swapPackage()
417 return headerSize+4; in udata_swapPackage()
425 return headerSize+offset+(uint32_t)itemLength; in udata_swapPackage()
431 length-=headerSize; in udata_swapPackage()
455 outBytes=(uint8_t *)outData+headerSize; in udata_swapPackage()
462 return headerSize+4; in udata_swapPackage()
634 uprv_memcpy((uint8_t *)outData+headerSize, outBytes, length); in udata_swapPackage()
638 return headerSize+length; in udata_swapPackage()

1234567