Home
last modified time | relevance | path

Searched refs:pHeader (Results 1 – 25 of 50) sorted by relevance

12

/third_party/skia/third_party/externals/icu/source/common/
Ducmndata.cpp73 const DataHeader *pHeader; member
267 return pData->pHeader; in offsetTOCLookupFn()
299 return UDataMemory_normalizeDataPointer(toc->entry[number].pHeader); in pointerTOCLookupFn()
307 return pData->pHeader; in pointerTOCLookupFn()
331 if(udm==NULL || udm->pHeader==NULL) { in udata_checkCommonData()
333 } else if(!(udm->pHeader->dataHeader.magic1==0xda && in udata_checkCommonData()
334 udm->pHeader->dataHeader.magic2==0x27 && in udata_checkCommonData()
335 udm->pHeader->info.isBigEndian==U_IS_BIG_ENDIAN && in udata_checkCommonData()
336 udm->pHeader->info.charsetFamily==U_CHARSET_FAMILY) in udata_checkCommonData()
341 else if (udm->pHeader->info.dataFormat[0]==0x43 && in udata_checkCommonData()
[all …]
Dudatamem.cpp87 This->pHeader = UDataMemory_normalizeDataPointer(dataAddr); in UDataMemory_setData()
105 if(pData!=NULL && pData->pHeader!=NULL) { in udata_getMemory()
106 return (char *)(pData->pHeader)+udata_getHeaderSize(pData->pHeader); in udata_getMemory()
134 if(pData!=NULL && pData->pHeader!=NULL && pData->length>=0) { in udata_getLength()
139 return pData->length-udata_getHeaderSize(pData->pHeader); in udata_getLength()
152 if(pData!=NULL && pData->pHeader!=NULL) { in udata_getRawMemory()
153 return pData->pHeader; in udata_getRawMemory()
160 return This->pHeader != NULL; in UDataMemory_isLoaded()
Dudataswp.cpp289 const DataHeader *pHeader; in udata_swapDataHeader() local
302 pHeader=(const DataHeader *)inData; in udata_swapDataHeader()
304 pHeader->dataHeader.magic1!=0xda || in udata_swapDataHeader()
305 pHeader->dataHeader.magic2!=0x27 || in udata_swapDataHeader()
306 pHeader->info.sizeofUChar!=2 in udata_swapDataHeader()
313 headerSize=ds->readUInt16(pHeader->dataHeader.headerSize); in udata_swapDataHeader()
314 infoSize=ds->readUInt16(pHeader->info.size); in udata_swapDataHeader()
318 headerSize<(sizeof(pHeader->dataHeader)+infoSize) || in udata_swapDataHeader()
342 …ds->swapArray16(ds, &pHeader->dataHeader.headerSize, 2, &outHeader->dataHeader.headerSize, pErrorC… in udata_swapDataHeader()
345 ds->swapArray16(ds, &pHeader->info.size, 4, &outHeader->info.size, pErrorCode); in udata_swapDataHeader()
[all …]
Dumapfile.cpp190 … pData->pHeader = reinterpret_cast<const DataHeader *>(MapViewOfFile(map, FILE_MAP_READ, 0, 0, 0)); in uprv_mapFile()
191 if (pData->pHeader == nullptr) { in uprv_mapFile()
202 UnmapViewOfFile(pData->pHeader); in uprv_unmapFile()
204 pData->pHeader = nullptr; in uprv_unmapFile()
250 pData->pHeader=(const DataHeader *)data; in uprv_mapFile()
264 pData->pHeader=nullptr; in uprv_unmapFile()
328 pData->pHeader=(const DataHeader *)p; in uprv_mapFile()
339 pData->pHeader = nullptr; in uprv_unmapFile()
425 const DataHeader *pHeader; in uprv_mapFile() local
468 pData->pHeader=(const DataHeader *)data; in uprv_mapFile()
[all …]
Dudata.cpp155 … if ((gCommonICUDataArray[i] != NULL) && (gCommonICUDataArray[i]->pHeader == pData->pHeader)) { in findCommonICUDataByName()
193 } else if (gCommonICUDataArray[i]->pHeader == pData->pHeader) { in setCommonICUData()
699 if(gCommonICUDataArray[i]->pHeader == &U_ICUDATA_ENTRY_POINT.hdr) { in openCommonData()
950 const DataHeader *pHeader, /* The data item to be checked. */ in checkDataItem() argument
967 if(pHeader->dataHeader.magic1==0xda && in checkDataItem()
968 pHeader->dataHeader.magic2==0x27 && in checkDataItem()
969 (isAcceptable==NULL || isAcceptable(context, type, name, &pHeader->info)) in checkDataItem()
975 rDataMem->pHeader = pHeader; in checkDataItem()
1011 …pEntryData = checkDataItem(dataMemory.pHeader, isAcceptable, context, type, name, subErrorCode, pE… in doLoadFromIndividualFiles()
1055 const DataHeader *pHeader; in doLoadFromCommonData() local
[all …]
/third_party/icu/icu4c/source/common/
Ducmndata.cpp73 const DataHeader *pHeader; member
267 return pData->pHeader; in offsetTOCLookupFn()
299 return UDataMemory_normalizeDataPointer(toc->entry[number].pHeader); in pointerTOCLookupFn()
307 return pData->pHeader; in pointerTOCLookupFn()
331 if(udm==NULL || udm->pHeader==NULL) { in udata_checkCommonData()
333 } else if(!(udm->pHeader->dataHeader.magic1==0xda && in udata_checkCommonData()
334 udm->pHeader->dataHeader.magic2==0x27 && in udata_checkCommonData()
335 udm->pHeader->info.isBigEndian==U_IS_BIG_ENDIAN && in udata_checkCommonData()
336 udm->pHeader->info.charsetFamily==U_CHARSET_FAMILY) in udata_checkCommonData()
341 else if (udm->pHeader->info.dataFormat[0]==0x43 && in udata_checkCommonData()
[all …]
Dudatamem.cpp87 This->pHeader = UDataMemory_normalizeDataPointer(dataAddr); in UDataMemory_setData()
105 if(pData!=NULL && pData->pHeader!=NULL) { in udata_getMemory()
106 return (char *)(pData->pHeader)+udata_getHeaderSize(pData->pHeader); in udata_getMemory()
134 if(pData!=NULL && pData->pHeader!=NULL && pData->length>=0) { in udata_getLength()
139 return pData->length-udata_getHeaderSize(pData->pHeader); in udata_getLength()
152 if(pData!=NULL && pData->pHeader!=NULL) { in udata_getRawMemory()
153 return pData->pHeader; in udata_getRawMemory()
160 return This->pHeader != NULL; in UDataMemory_isLoaded()
Dudataswp.cpp289 const DataHeader *pHeader; in udata_swapDataHeader() local
302 pHeader=(const DataHeader *)inData; in udata_swapDataHeader()
304 pHeader->dataHeader.magic1!=0xda || in udata_swapDataHeader()
305 pHeader->dataHeader.magic2!=0x27 || in udata_swapDataHeader()
306 pHeader->info.sizeofUChar!=2 in udata_swapDataHeader()
313 headerSize=ds->readUInt16(pHeader->dataHeader.headerSize); in udata_swapDataHeader()
314 infoSize=ds->readUInt16(pHeader->info.size); in udata_swapDataHeader()
318 headerSize<(sizeof(pHeader->dataHeader)+infoSize) || in udata_swapDataHeader()
342 …ds->swapArray16(ds, &pHeader->dataHeader.headerSize, 2, &outHeader->dataHeader.headerSize, pErrorC… in udata_swapDataHeader()
345 ds->swapArray16(ds, &pHeader->info.size, 4, &outHeader->info.size, pErrorCode); in udata_swapDataHeader()
[all …]
Dumapfile.cpp190 … pData->pHeader = reinterpret_cast<const DataHeader *>(MapViewOfFile(map, FILE_MAP_READ, 0, 0, 0)); in uprv_mapFile()
191 if (pData->pHeader == nullptr) { in uprv_mapFile()
202 UnmapViewOfFile(pData->pHeader); in uprv_unmapFile()
204 pData->pHeader = nullptr; in uprv_unmapFile()
250 pData->pHeader=(const DataHeader *)data; in uprv_mapFile()
264 pData->pHeader=nullptr; in uprv_unmapFile()
328 pData->pHeader=(const DataHeader *)p; in uprv_mapFile()
339 pData->pHeader = nullptr; in uprv_unmapFile()
425 const DataHeader *pHeader; in uprv_mapFile() local
468 pData->pHeader=(const DataHeader *)data; in uprv_mapFile()
[all …]
Dudata.cpp155 … if ((gCommonICUDataArray[i] != NULL) && (gCommonICUDataArray[i]->pHeader == pData->pHeader)) { in findCommonICUDataByName()
193 } else if (gCommonICUDataArray[i]->pHeader == pData->pHeader) { in setCommonICUData()
699 if(gCommonICUDataArray[i]->pHeader == &U_ICUDATA_ENTRY_POINT) { in openCommonData()
950 const DataHeader *pHeader, /* The data item to be checked. */ in checkDataItem() argument
967 if(pHeader->dataHeader.magic1==0xda && in checkDataItem()
968 pHeader->dataHeader.magic2==0x27 && in checkDataItem()
969 (isAcceptable==NULL || isAcceptable(context, type, name, &pHeader->info)) in checkDataItem()
975 rDataMem->pHeader = pHeader; in checkDataItem()
1011 …pEntryData = checkDataItem(dataMemory.pHeader, isAcceptable, context, type, name, subErrorCode, pE… in doLoadFromIndividualFiles()
1055 const DataHeader *pHeader; in doLoadFromCommonData() local
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/common/
Ducmndata.cpp73 const DataHeader *pHeader; member
267 return pData->pHeader; in offsetTOCLookupFn()
299 return UDataMemory_normalizeDataPointer(toc->entry[number].pHeader); in pointerTOCLookupFn()
307 return pData->pHeader; in pointerTOCLookupFn()
331 if(udm==NULL || udm->pHeader==NULL) { in udata_checkCommonData()
333 } else if(!(udm->pHeader->dataHeader.magic1==0xda && in udata_checkCommonData()
334 udm->pHeader->dataHeader.magic2==0x27 && in udata_checkCommonData()
335 udm->pHeader->info.isBigEndian==U_IS_BIG_ENDIAN && in udata_checkCommonData()
336 udm->pHeader->info.charsetFamily==U_CHARSET_FAMILY) in udata_checkCommonData()
341 else if (udm->pHeader->info.dataFormat[0]==0x43 && in udata_checkCommonData()
[all …]
Dudatamem.cpp87 This->pHeader = UDataMemory_normalizeDataPointer(dataAddr); in UDataMemory_setData()
105 if(pData!=NULL && pData->pHeader!=NULL) { in udata_getMemory()
106 return (char *)(pData->pHeader)+udata_getHeaderSize(pData->pHeader); in udata_getMemory()
134 if(pData!=NULL && pData->pHeader!=NULL && pData->length>=0) { in udata_getLength()
139 return pData->length-udata_getHeaderSize(pData->pHeader); in udata_getLength()
152 if(pData!=NULL && pData->pHeader!=NULL) { in udata_getRawMemory()
153 return pData->pHeader; in udata_getRawMemory()
160 return This->pHeader != NULL; in UDataMemory_isLoaded()
Dudataswp.cpp289 const DataHeader *pHeader; in udata_swapDataHeader() local
302 pHeader=(const DataHeader *)inData; in udata_swapDataHeader()
304 pHeader->dataHeader.magic1!=0xda || in udata_swapDataHeader()
305 pHeader->dataHeader.magic2!=0x27 || in udata_swapDataHeader()
306 pHeader->info.sizeofUChar!=2 in udata_swapDataHeader()
313 headerSize=ds->readUInt16(pHeader->dataHeader.headerSize); in udata_swapDataHeader()
314 infoSize=ds->readUInt16(pHeader->info.size); in udata_swapDataHeader()
318 headerSize<(sizeof(pHeader->dataHeader)+infoSize) || in udata_swapDataHeader()
342 …ds->swapArray16(ds, &pHeader->dataHeader.headerSize, 2, &outHeader->dataHeader.headerSize, pErrorC… in udata_swapDataHeader()
345 ds->swapArray16(ds, &pHeader->info.size, 4, &outHeader->info.size, pErrorCode); in udata_swapDataHeader()
[all …]
Dumapfile.cpp188 pData->pHeader=(const DataHeader *)MapViewOfFile(map, FILE_MAP_READ, 0, 0, 0); in uprv_mapFile()
189 if(pData->pHeader==NULL) { in uprv_mapFile()
200 UnmapViewOfFile(pData->pHeader); in uprv_unmapFile()
202 pData->pHeader=NULL; in uprv_unmapFile()
248 pData->pHeader=(const DataHeader *)data; in uprv_mapFile()
262 pData->pHeader=NULL; in uprv_unmapFile()
326 pData->pHeader=(const DataHeader *)p; in uprv_mapFile()
337 pData->pHeader = NULL; in uprv_unmapFile()
423 const DataHeader *pHeader; in uprv_mapFile() local
466 pData->pHeader=(const DataHeader *)data; in uprv_mapFile()
[all …]
Dudata.cpp153 … if ((gCommonICUDataArray[i] != NULL) && (gCommonICUDataArray[i]->pHeader == pData->pHeader)) { in findCommonICUDataByName()
191 } else if (gCommonICUDataArray[i]->pHeader == pData->pHeader) { in setCommonICUData()
696 if(gCommonICUDataArray[i]->pHeader == &U_ICUDATA_ENTRY_POINT.hdr) { in openCommonData()
946 const DataHeader *pHeader, /* The data item to be checked. */ in checkDataItem() argument
963 if(pHeader->dataHeader.magic1==0xda && in checkDataItem()
964 pHeader->dataHeader.magic2==0x27 && in checkDataItem()
965 (isAcceptable==NULL || isAcceptable(context, type, name, &pHeader->info)) in checkDataItem()
971 rDataMem->pHeader = pHeader; in checkDataItem()
1007 …pEntryData = checkDataItem(dataMemory.pHeader, isAcceptable, context, type, name, subErrorCode, pE… in doLoadFromIndividualFiles()
1051 const DataHeader *pHeader; in doLoadFromCommonData() local
[all …]
Ducnvsel.cpp485 const DataHeader *pHeader = (const DataHeader *)p; in ucnvsel_openFromSerialized() local
487 pHeader->dataHeader.magic1==0xda && in ucnvsel_openFromSerialized()
488 pHeader->dataHeader.magic2==0x27 && in ucnvsel_openFromSerialized()
489 pHeader->info.dataFormat[0] == 0x43 && in ucnvsel_openFromSerialized()
490 pHeader->info.dataFormat[1] == 0x53 && in ucnvsel_openFromSerialized()
491 pHeader->info.dataFormat[2] == 0x65 && in ucnvsel_openFromSerialized()
492 pHeader->info.dataFormat[3] == 0x6c in ucnvsel_openFromSerialized()
498 if (pHeader->info.formatVersion[0] != 1) { in ucnvsel_openFromSerialized()
503 if (pHeader->info.isBigEndian != U_IS_BIG_ENDIAN || in ucnvsel_openFromSerialized()
504 pHeader->info.charsetFamily != U_CHARSET_FAMILY in ucnvsel_openFromSerialized()
[all …]
/third_party/node/deps/icu-small/source/common/
Ducmndata.cpp73 const DataHeader *pHeader; member
267 return pData->pHeader; in offsetTOCLookupFn()
299 return UDataMemory_normalizeDataPointer(toc->entry[number].pHeader); in pointerTOCLookupFn()
307 return pData->pHeader; in pointerTOCLookupFn()
331 if(udm==NULL || udm->pHeader==NULL) { in udata_checkCommonData()
333 } else if(!(udm->pHeader->dataHeader.magic1==0xda && in udata_checkCommonData()
334 udm->pHeader->dataHeader.magic2==0x27 && in udata_checkCommonData()
335 udm->pHeader->info.isBigEndian==U_IS_BIG_ENDIAN && in udata_checkCommonData()
336 udm->pHeader->info.charsetFamily==U_CHARSET_FAMILY) in udata_checkCommonData()
341 else if (udm->pHeader->info.dataFormat[0]==0x43 && in udata_checkCommonData()
[all …]
Dudatamem.cpp87 This->pHeader = UDataMemory_normalizeDataPointer(dataAddr); in UDataMemory_setData()
105 if(pData!=NULL && pData->pHeader!=NULL) { in udata_getMemory()
106 return (char *)(pData->pHeader)+udata_getHeaderSize(pData->pHeader); in udata_getMemory()
134 if(pData!=NULL && pData->pHeader!=NULL && pData->length>=0) { in udata_getLength()
139 return pData->length-udata_getHeaderSize(pData->pHeader); in udata_getLength()
152 if(pData!=NULL && pData->pHeader!=NULL) { in udata_getRawMemory()
153 return pData->pHeader; in udata_getRawMemory()
160 return This->pHeader != NULL; in UDataMemory_isLoaded()
Dudataswp.cpp289 const DataHeader *pHeader; in udata_swapDataHeader() local
302 pHeader=(const DataHeader *)inData; in udata_swapDataHeader()
304 pHeader->dataHeader.magic1!=0xda || in udata_swapDataHeader()
305 pHeader->dataHeader.magic2!=0x27 || in udata_swapDataHeader()
306 pHeader->info.sizeofUChar!=2 in udata_swapDataHeader()
313 headerSize=ds->readUInt16(pHeader->dataHeader.headerSize); in udata_swapDataHeader()
314 infoSize=ds->readUInt16(pHeader->info.size); in udata_swapDataHeader()
318 headerSize<(sizeof(pHeader->dataHeader)+infoSize) || in udata_swapDataHeader()
342 …ds->swapArray16(ds, &pHeader->dataHeader.headerSize, 2, &outHeader->dataHeader.headerSize, pErrorC… in udata_swapDataHeader()
345 ds->swapArray16(ds, &pHeader->info.size, 4, &outHeader->info.size, pErrorCode); in udata_swapDataHeader()
[all …]
Dumapfile.cpp190 … pData->pHeader = reinterpret_cast<const DataHeader *>(MapViewOfFile(map, FILE_MAP_READ, 0, 0, 0)); in uprv_mapFile()
191 if (pData->pHeader == nullptr) { in uprv_mapFile()
202 UnmapViewOfFile(pData->pHeader); in uprv_unmapFile()
204 pData->pHeader = nullptr; in uprv_unmapFile()
250 pData->pHeader=(const DataHeader *)data; in uprv_mapFile()
264 pData->pHeader=nullptr; in uprv_unmapFile()
328 pData->pHeader=(const DataHeader *)p; in uprv_mapFile()
339 pData->pHeader = nullptr; in uprv_unmapFile()
425 const DataHeader *pHeader; in uprv_mapFile() local
468 pData->pHeader=(const DataHeader *)data; in uprv_mapFile()
[all …]
Dudata.cpp155 … if ((gCommonICUDataArray[i] != NULL) && (gCommonICUDataArray[i]->pHeader == pData->pHeader)) { in findCommonICUDataByName()
193 } else if (gCommonICUDataArray[i]->pHeader == pData->pHeader) { in setCommonICUData()
699 if(gCommonICUDataArray[i]->pHeader == &U_ICUDATA_ENTRY_POINT) { in openCommonData()
950 const DataHeader *pHeader, /* The data item to be checked. */ in checkDataItem() argument
967 if(pHeader->dataHeader.magic1==0xda && in checkDataItem()
968 pHeader->dataHeader.magic2==0x27 && in checkDataItem()
969 (isAcceptable==NULL || isAcceptable(context, type, name, &pHeader->info)) in checkDataItem()
975 rDataMem->pHeader = pHeader; in checkDataItem()
1011 …pEntryData = checkDataItem(dataMemory.pHeader, isAcceptable, context, type, name, subErrorCode, pE… in doLoadFromIndividualFiles()
1055 const DataHeader *pHeader; in doLoadFromCommonData() local
[all …]
/third_party/flutter/skia/third_party/etc1/
Detc1.cpp643 void etc1_pkm_format_header(etc1_byte* pHeader, etc1_uint32 width, etc1_uint32 height) { in etc1_pkm_format_header() argument
644 memcpy(pHeader, kMagic, sizeof(kMagic)); in etc1_pkm_format_header()
647 writeBEUint16(pHeader + ETC1_PKM_FORMAT_OFFSET, ETC1_RGB_NO_MIPMAPS); in etc1_pkm_format_header()
648 writeBEUint16(pHeader + ETC1_PKM_ENCODED_WIDTH_OFFSET, encodedWidth); in etc1_pkm_format_header()
649 writeBEUint16(pHeader + ETC1_PKM_ENCODED_HEIGHT_OFFSET, encodedHeight); in etc1_pkm_format_header()
650 writeBEUint16(pHeader + ETC1_PKM_WIDTH_OFFSET, width); in etc1_pkm_format_header()
651 writeBEUint16(pHeader + ETC1_PKM_HEIGHT_OFFSET, height); in etc1_pkm_format_header()
656 etc1_bool etc1_pkm_is_valid(const etc1_byte* pHeader) { in etc1_pkm_is_valid() argument
657 if (memcmp(pHeader, kMagic, sizeof(kMagic))) { in etc1_pkm_is_valid()
660 etc1_uint32 format = readBEUint16(pHeader + ETC1_PKM_FORMAT_OFFSET); in etc1_pkm_is_valid()
[all …]
Detc1.h96 void etc1_pkm_format_header(etc1_byte* pHeader, etc1_uint32 width, etc1_uint32 height);
100 etc1_bool etc1_pkm_is_valid(const etc1_byte* pHeader);
104 etc1_uint32 etc1_pkm_get_width(const etc1_byte* pHeader);
108 etc1_uint32 etc1_pkm_get_height(const etc1_byte* pHeader);
/third_party/skia/third_party/etc1/
Detc1.cpp638 void etc1_pkm_format_header(etc1_byte* pHeader, etc1_uint32 width, etc1_uint32 height) { in etc1_pkm_format_header() argument
639 memcpy(pHeader, kMagic, sizeof(kMagic)); in etc1_pkm_format_header()
642 writeBEUint16(pHeader + ETC1_PKM_FORMAT_OFFSET, ETC1_RGB_NO_MIPMAPS); in etc1_pkm_format_header()
643 writeBEUint16(pHeader + ETC1_PKM_ENCODED_WIDTH_OFFSET, encodedWidth); in etc1_pkm_format_header()
644 writeBEUint16(pHeader + ETC1_PKM_ENCODED_HEIGHT_OFFSET, encodedHeight); in etc1_pkm_format_header()
645 writeBEUint16(pHeader + ETC1_PKM_WIDTH_OFFSET, width); in etc1_pkm_format_header()
646 writeBEUint16(pHeader + ETC1_PKM_HEIGHT_OFFSET, height); in etc1_pkm_format_header()
651 etc1_bool etc1_pkm_is_valid(const etc1_byte* pHeader) { in etc1_pkm_is_valid() argument
652 if (memcmp(pHeader, kMagic, sizeof(kMagic))) { in etc1_pkm_is_valid()
655 etc1_uint32 format = readBEUint16(pHeader + ETC1_PKM_FORMAT_OFFSET); in etc1_pkm_is_valid()
[all …]
Detc1.h96 void etc1_pkm_format_header(etc1_byte* pHeader, etc1_uint32 width, etc1_uint32 height);
100 etc1_bool etc1_pkm_is_valid(const etc1_byte* pHeader);
104 etc1_uint32 etc1_pkm_get_width(const etc1_byte* pHeader);
108 etc1_uint32 etc1_pkm_get_height(const etc1_byte* pHeader);

12