/external/minijail/ |
elfparse.c | 20 Minijail_Elf ## bit ## _Ehdr *pHeader = NULL; \ 21 Minijail_Elf ## bit ## _Phdr pheader = { 0 }; \ 27 pHeader = (Minijail_Elf ## bit ## _Ehdr *)pHead; \ 29 pHeader->e_phoff = le ## bit ## toh(pHeader->e_phoff); \ 30 pHeader->e_phentsize = le16toh(pHeader->e_phentsize); \ 31 pHeader->e_phnum = le16toh(pHeader->e_phnum); \ 33 pHeader->e_phoff = be ## bit ## toh(pHeader->e_phoff); [all...] |
/external/icu/icu4c/source/common/ |
udatamem.c | 87 This->pHeader = UDataMemory_normalizeDataPointer(dataAddr); 105 if(pData!=NULL && pData->pHeader!=NULL) { 106 return (char *)(pData->pHeader)+udata_getHeaderSize(pData->pHeader); 134 if(pData!=NULL && pData->pHeader!=NULL && pData->length>=0) { 139 return pData->length-udata_getHeaderSize(pData->pHeader); 152 if(pData!=NULL && pData->pHeader!=NULL) { 153 return pData->pHeader; 160 return This->pHeader != NULL;
|
ucmndata.c | 73 const DataHeader *pHeader; 260 return pData->pHeader; 292 return UDataMemory_normalizeDataPointer(toc->entry[number].pHeader); 300 return pData->pHeader; 322 if(udm==NULL || udm->pHeader==NULL) { 324 } else if(!(udm->pHeader->dataHeader.magic1==0xda && 325 udm->pHeader->dataHeader.magic2==0x27 && 326 udm->pHeader->info.isBigEndian==U_IS_BIG_ENDIAN && 327 udm->pHeader->info.charsetFamily==U_CHARSET_FAMILY) 332 else if (udm->pHeader->info.dataFormat[0]==0x43 & [all...] |
udataswp.c | 289 const DataHeader *pHeader; 302 pHeader=(const DataHeader *)inData; 304 pHeader->dataHeader.magic1!=0xda || 305 pHeader->dataHeader.magic2!=0x27 || 306 pHeader->info.sizeofUChar!=2 313 headerSize=ds->readUInt16(pHeader->dataHeader.headerSize); 314 infoSize=ds->readUInt16(pHeader->info.size); 318 headerSize<(sizeof(pHeader->dataHeader)+infoSize) || 342 ds->swapArray16(ds, &pHeader->dataHeader.headerSize, 2, &outHeader->dataHeader.headerSize, pErrorCode); 345 ds->swapArray16(ds, &pHeader->info.size, 4, &outHeader->info.size, pErrorCode) [all...] |
umapfile.c | 141 pData->pHeader=(const DataHeader *)MapViewOfFile(map, FILE_MAP_READ, 0, 0, 0); 142 if(pData->pHeader==NULL) { 153 UnmapViewOfFile(pData->pHeader); 155 pData->pHeader=NULL; 196 pData->pHeader=(const DataHeader *)data; 210 pData->pHeader=NULL; 269 pData->pHeader=(const DataHeader *)p; 280 pData->pHeader = NULL; 366 const DataHeader *pHeader; 404 pData->pHeader=(const DataHeader *)data [all...] |
udatamem.h | 30 const DataHeader *pHeader; /* Header of the memory being described by this */
|
udata.cpp | 149 if ((gCommonICUDataArray[i] != NULL) && (gCommonICUDataArray[i]->pHeader == pData->pHeader)) { 187 } else if (gCommonICUDataArray[i]->pHeader == pData->pHeader) { 677 if(gCommonICUDataArray[i]->pHeader == &U_ICUDATA_ENTRY_POINT) { [all...] |
ucnvsel.cpp | 484 const DataHeader *pHeader = (const DataHeader *)p; 486 pHeader->dataHeader.magic1==0xda && 487 pHeader->dataHeader.magic2==0x27 && 488 pHeader->info.dataFormat[0] == 0x43 && 489 pHeader->info.dataFormat[1] == 0x53 && 490 pHeader->info.dataFormat[2] == 0x65 && 491 pHeader->info.dataFormat[3] == 0x6c 497 if (pHeader->info.formatVersion[0] != 1) { 502 if (pHeader->info.isBigEndian != U_IS_BIG_ENDIAN || 503 pHeader->info.charsetFamily != U_CHARSET_FAMIL [all...] |
/device/generic/goldfish-opengl/system/include/ETC1/ |
etc1.h | 88 void etc1_pkm_format_header(etc1_byte* pHeader, etc1_uint32 width, etc1_uint32 height); 92 etc1_bool etc1_pkm_is_valid(const etc1_byte* pHeader); 96 etc1_uint32 etc1_pkm_get_width(const etc1_byte* pHeader); 100 etc1_uint32 etc1_pkm_get_height(const etc1_byte* pHeader);
|
/external/skia/third_party/etc1/ |
etc1.h | 96 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);
|
etc1.cpp | 641 void etc1_pkm_format_header(etc1_byte* pHeader, etc1_uint32 width, etc1_uint32 height) { 642 memcpy(pHeader, kMagic, sizeof(kMagic)); 645 writeBEUint16(pHeader + ETC1_PKM_FORMAT_OFFSET, ETC1_RGB_NO_MIPMAPS); 646 writeBEUint16(pHeader + ETC1_PKM_ENCODED_WIDTH_OFFSET, encodedWidth); 647 writeBEUint16(pHeader + ETC1_PKM_ENCODED_HEIGHT_OFFSET, encodedHeight); 648 writeBEUint16(pHeader + ETC1_PKM_WIDTH_OFFSET, width); 649 writeBEUint16(pHeader + ETC1_PKM_HEIGHT_OFFSET, height); 654 etc1_bool etc1_pkm_is_valid(const etc1_byte* pHeader) { 655 if (memcmp(pHeader, kMagic, sizeof(kMagic))) { 658 etc1_uint32 format = readBEUint16(pHeader + ETC1_PKM_FORMAT_OFFSET) [all...] |
/frameworks/native/opengl/include/ETC1/ |
etc1.h | 88 void etc1_pkm_format_header(etc1_byte* pHeader, etc1_uint32 width, etc1_uint32 height); 92 etc1_bool etc1_pkm_is_valid(const etc1_byte* pHeader); 96 etc1_uint32 etc1_pkm_get_width(const etc1_byte* pHeader); 100 etc1_uint32 etc1_pkm_get_height(const etc1_byte* pHeader);
|
/dalvik/libdex/ |
DexFile.cpp | 229 numEntries = dexRoundUpPower2(pDexFile->pHeader->classDefsSize * 2); 239 for (i = 0; i < (int)pDexFile->pHeader->classDefsSize; i++) { 257 pDexFile->pHeader->classDefsSize, numEntries, 258 (100 * pDexFile->pHeader->classDefsSize) / numEntries, 270 DexHeader *pHeader = (DexHeader*) data; 273 pDexFile->pHeader = pHeader; 274 pDexFile->pStringIds = (const DexStringId*) (data + pHeader->stringIdsOff); 275 pDexFile->pTypeIds = (const DexTypeId*) (data + pHeader->typeIdsOff); 276 pDexFile->pFieldIds = (const DexFieldId*) (data + pHeader->fieldIdsOff) [all...] |
DexClass.h | 63 DexClassDataHeader *pHeader); 122 DexClassDataHeader *pHeader) { 123 pHeader->staticFieldsSize = readUnsignedLeb128(pData); 124 pHeader->instanceFieldsSize = readUnsignedLeb128(pData); 125 pHeader->directMethodsSize = readUnsignedLeb128(pData); 126 pHeader->virtualMethodsSize = readUnsignedLeb128(pData);
|
DexSwapVerify.cpp | 46 const DexHeader* pHeader; 229 return (state->pHeader->typeIdsSize + 0x1f) >> 5; 249 static bool swapDexHeader(const CheckState* state, DexHeader* pHeader) 251 CHECK_PTR_RANGE(pHeader, pHeader + 1); 254 SWAP_FIELD4(pHeader->checksum); 256 SWAP_FIELD4(pHeader->fileSize); 257 SWAP_FIELD4(pHeader->headerSize); 258 SWAP_FIELD4(pHeader->endianTag); 259 SWAP_FIELD4(pHeader->linkSize) [all...] |
DexFile.h | 588 const DexHeader* pHeader; 657 bool dexHasValidMagic(const DexHeader* pHeader); 662 u4 dexComputeChecksum(const DexHeader* pHeader); 687 u4 mapOff = pDexFile->pHeader->mapOff; 708 assert(idx < pDexFile->pHeader->stringIdsSize); 724 assert(idx < pDexFile->pHeader->typeIdsSize); 739 assert(idx < pDexFile->pHeader->methodIdsSize); 745 assert(idx < pDexFile->pHeader->fieldIdsSize); 751 assert(idx < pDexFile->pHeader->protoIdsSize); 770 assert(idx < pDexFile->pHeader->classDefsSize) [all...] |
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/inc/ |
IPACM_Header.h | 59 bool AddHeaderProcCtx(struct ipa_ioc_add_hdr_proc_ctx* pHeader);
|
/frameworks/native/opengl/libs/ETC1/ |
etc1.cpp | 633 void etc1_pkm_format_header(etc1_byte* pHeader, etc1_uint32 width, etc1_uint32 height) { 634 memcpy(pHeader, kMagic, sizeof(kMagic)); 637 writeBEUint16(pHeader + ETC1_PKM_FORMAT_OFFSET, ETC1_RGB_NO_MIPMAPS); 638 writeBEUint16(pHeader + ETC1_PKM_ENCODED_WIDTH_OFFSET, encodedWidth); 639 writeBEUint16(pHeader + ETC1_PKM_ENCODED_HEIGHT_OFFSET, encodedHeight); 640 writeBEUint16(pHeader + ETC1_PKM_WIDTH_OFFSET, width); 641 writeBEUint16(pHeader + ETC1_PKM_HEIGHT_OFFSET, height); 646 etc1_bool etc1_pkm_is_valid(const etc1_byte* pHeader) { 647 if (memcmp(pHeader, kMagic, sizeof(kMagic))) { 650 etc1_uint32 format = readBEUint16(pHeader + ETC1_PKM_FORMAT_OFFSET) [all...] |
/dalvik/dexdump/ |
DexDump.cpp | 403 const DexHeader* pHeader = pDexFile->pHeader; 404 char sanitized[sizeof(pHeader->magic)*2 +1]; 406 assert(sizeof(pHeader->magic) == sizeof(pOptHeader->magic)); 428 asciify(sanitized, pHeader->magic, sizeof(pHeader->magic)); 430 printf("checksum : %08x\n", pHeader->checksum); 432 pHeader->signature[0], pHeader->signature[1], 433 pHeader->signature[kSHA1DigestLen-2] [all...] |
/art/dexdump/ |
dexdump.cc | 552 const DexFile::Header& pHeader = pDexFile->GetHeader(); 553 char sanitized[sizeof(pHeader.magic_) * 2 + 1]; 555 asciify(sanitized, pHeader.magic_, sizeof(pHeader.magic_)); 557 fprintf(gOutFile, "checksum : %08x\n", pHeader.checksum_); 559 pHeader.signature_[0], pHeader.signature_[1], 560 pHeader.signature_[DexFile::kSha1DigestSize - 2], 561 pHeader.signature_[DexFile::kSha1DigestSize - 1]); 562 fprintf(gOutFile, "file_size : %d\n", pHeader.file_size_) [all...] |
/device/linaro/bootloader/edk2/OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772/ |
SimpleNetwork.c | 433 ETHERNET_HEADER * pHeader;
480 pHeader = (ETHERNET_HEADER *) &pRxPacket->Data[0];
482 *pHeaderSize = sizeof ( *pHeader );
485 CopyMem ( pDestAddr, &pHeader->dest_addr, PXE_HWADDR_LEN_ETHER );
488 CopyMem ( pSrcAddr, &pHeader->src_addr, PXE_HWADDR_LEN_ETHER );
491 Type = pHeader->type;
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/WebServer/ |
SystemTable.c | 24 @param [in] pHeader Address of the EFI_TABLE_HEADER structure 33 IN EFI_TABLE_HEADER * pHeader 52 pHeader->Signature, 67 pHeader->Revision ); 78 pHeader->HeaderSize ); 90 pHeader->CRC32, 102 pHeader->Reserved,
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/ |
IPACM_Header.cpp | 201 bool IPACM_Header::AddHeaderProcCtx(struct ipa_ioc_add_hdr_proc_ctx* pHeader) 205 ret = ioctl(m_fd, IPA_IOC_ADD_HDR_PROC_CTX, pHeader);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/X11/extensions/ |
syncstr.h | 147 SyncAwaitHeader *pHeader;
|
/external/icu/icu4c/source/tools/toolutil/ |
package.cpp | 115 const DataHeader *pHeader; 128 pHeader=(const DataHeader *)data; 129 pInfo=&pHeader->info; 131 pHeader->dataHeader.magic1!=0xda || 132 pHeader->dataHeader.magic2!=0x27 || 140 headerLength=pHeader->dataHeader.headerSize; 143 headerLength=readSwapUInt16(pHeader->dataHeader.headerSize); 149 headerLength<(int32_t)(sizeof(pHeader->dataHeader)+infoLength) || 405 DataHeader *pHeader; 406 pHeader=(DataHeader *)header [all...] |