Searched refs:paxHeader (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/libs/androidfw/ |
D | BackupHelpers.cpp | 562 char* const paxHeader = buf + PAXHEADER_OFFSET; // use a different chunk of in write_tarfile() local 564 char* const paxData = paxHeader + PAXHEADER_SIZE; in write_tarfile() 660 memcpy(paxHeader, buf, 512); in write_tarfile() 663 memset(paxHeader, 0, 100); // rewrite the name area in write_tarfile() 664 snprintf(paxHeader, 100, "PaxHeader/%s", leaf.c_str()); in write_tarfile() 665 memset(paxHeader + 345, 0, 155); // rewrite the prefix area in write_tarfile() 666 strncpy(paxHeader + 345, prefix.c_str(), 155); in write_tarfile() 668 paxHeader[156] = 'x'; // mark it as a pax extended header in write_tarfile() 671 memset(paxHeader + 124, 0, 12); in write_tarfile() 672 snprintf(paxHeader + 124, 12, "%011o", (unsigned int)paxLen); in write_tarfile() [all …]
|