HomeSort by relevance Sort by last modified time
    Searched refs:paxHeader (Results 1 - 5 of 5) sorted by null

  /frameworks/base/libs/androidfw/
BackupHelpers.cpp 553 char* paxHeader = buf + 512; // use a different chunk of it as separate scratch
650 memcpy(paxHeader, buf, 512);
653 memset(paxHeader, 0, 100); // rewrite the name area
654 snprintf(paxHeader, 100, "PaxHeader/%s", leaf.string());
655 memset(paxHeader + 345, 0, 155); // rewrite the prefix area
656 strncpy(paxHeader + 345, prefix.string(), 155);
658 paxHeader[156] = 'x'; // mark it as a pax extended header
661 memset(paxHeader + 124, 0, 12);
662 snprintf(paxHeader + 124, 12, "%011o", (unsigned int)(p - paxData))
    [all...]
  /prebuilts/go/darwin-x86/src/archive/tar/
writer.go 72 // If the value is too long for the field and allowPax is true add a paxheader record instead
103 // If the value is too long for the field and writingPax is enabled both for the field and the add a paxheader record instead
322 fmt.Fprint(&buf, paxHeader(k+"="+v))
338 // paxHeader formats a single pax record, prefixing it with the appropriate length
339 func paxHeader(msg string) string {
writer_test.go 454 if result := paxHeader(key); result != expected {
455 t.Fatalf("paxHeader: got %s, expected %s", result, expected)
  /prebuilts/go/linux-x86/src/archive/tar/
writer.go 72 // If the value is too long for the field and allowPax is true add a paxheader record instead
103 // If the value is too long for the field and writingPax is enabled both for the field and the add a paxheader record instead
322 fmt.Fprint(&buf, paxHeader(k+"="+v))
338 // paxHeader formats a single pax record, prefixing it with the appropriate length
339 func paxHeader(msg string) string {
writer_test.go 454 if result := paxHeader(key); result != expected {
455 t.Fatalf("paxHeader: got %s, expected %s", result, expected)

Completed in 1297 milliseconds