Home
last modified time | relevance | path

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

/art/dexdump/
Ddexdump.cc554 const DexFile::Header& pHeader = pDexFile->GetHeader(); in dumpFileHeader() local
555 char sanitized[sizeof(pHeader.magic_) * 2 + 1]; in dumpFileHeader()
557 asciify(sanitized, pHeader.magic_, sizeof(pHeader.magic_)); in dumpFileHeader()
559 fprintf(gOutFile, "checksum : %08x\n", pHeader.checksum_); in dumpFileHeader()
561 pHeader.signature_[0], pHeader.signature_[1], in dumpFileHeader()
562 pHeader.signature_[DexFile::kSha1DigestSize - 2], in dumpFileHeader()
563 pHeader.signature_[DexFile::kSha1DigestSize - 1]); in dumpFileHeader()
564 fprintf(gOutFile, "file_size : %d\n", pHeader.file_size_); in dumpFileHeader()
565 fprintf(gOutFile, "header_size : %d\n", pHeader.header_size_); in dumpFileHeader()
566 fprintf(gOutFile, "link_size : %d\n", pHeader.link_size_); in dumpFileHeader()
[all …]
/art/tools/dmtracedump/
Dtracedump.cc944 int32_t parseDataHeader(FILE* fp, DataHeader* pHeader) { in parseDataHeader() argument
945 pHeader->magic = read4LE(fp); in parseDataHeader()
946 pHeader->version = read2LE(fp); in parseDataHeader()
947 pHeader->offsetToData = read2LE(fp); in parseDataHeader()
948 pHeader->startWhen = read8LE(fp); in parseDataHeader()
949 int32_t bytesToRead = pHeader->offsetToData - 16; in parseDataHeader()
950 if (pHeader->version == 1) { in parseDataHeader()
951 pHeader->recordSize = 9; in parseDataHeader()
952 } else if (pHeader->version == 2) { in parseDataHeader()
953 pHeader->recordSize = 10; in parseDataHeader()
[all …]