Searched refs:pHeader (Results 1 – 2 of 2) sorted by relevance
/art/dexdump/ |
D | dexdump.cc | 355 const DexFile::Header& pHeader = pDexFile->GetHeader(); in dumpFileHeader() local 356 char sanitized[sizeof(pHeader.magic_) * 2 + 1]; in dumpFileHeader() 358 asciify(sanitized, pHeader.magic_, sizeof(pHeader.magic_)); in dumpFileHeader() 360 fprintf(gOutFile, "checksum : %08x\n", pHeader.checksum_); in dumpFileHeader() 362 pHeader.signature_[0], pHeader.signature_[1], in dumpFileHeader() 363 pHeader.signature_[DexFile::kSha1DigestSize - 2], in dumpFileHeader() 364 pHeader.signature_[DexFile::kSha1DigestSize - 1]); in dumpFileHeader() 365 fprintf(gOutFile, "file_size : %d\n", pHeader.file_size_); in dumpFileHeader() 366 fprintf(gOutFile, "header_size : %d\n", pHeader.header_size_); in dumpFileHeader() 367 fprintf(gOutFile, "link_size : %d\n", pHeader.link_size_); in dumpFileHeader() [all …]
|
/art/tools/dmtracedump/ |
D | tracedump.cc | 940 int32_t parseDataHeader(FILE* fp, DataHeader* pHeader) { in parseDataHeader() argument 941 pHeader->magic = read4LE(fp); in parseDataHeader() 942 pHeader->version = read2LE(fp); in parseDataHeader() 943 pHeader->offsetToData = read2LE(fp); in parseDataHeader() 944 pHeader->startWhen = read8LE(fp); in parseDataHeader() 945 int32_t bytesToRead = pHeader->offsetToData - 16; in parseDataHeader() 946 if (pHeader->version == 1) { in parseDataHeader() 947 pHeader->recordSize = 9; in parseDataHeader() 948 } else if (pHeader->version == 2) { in parseDataHeader() 949 pHeader->recordSize = 10; in parseDataHeader() [all …]
|