Home | History | Annotate | Download | only in tar

Lines Matching full:sparse

52 // A sparseFileReader is a numBytesReader for reading sparse file data from a tar archive.
54 rfr *regFileReader // reads the sparse-encoded file data
55 sp []sparseEntry // the sparse map for the file
60 // Keywords for GNU sparse files in a PAX extended header
62 paxGNUSparseNumBlocks = "GNU.sparse.numblocks"
63 paxGNUSparseOffset = "GNU.sparse.offset"
64 paxGNUSparseNumBytes = "GNU.sparse.numbytes"
65 paxGNUSparseMap = "GNU.sparse.map"
66 paxGNUSparseName = "GNU.sparse.name"
67 paxGNUSparseMajor = "GNU.sparse.major"
68 paxGNUSparseMinor = "GNU.sparse.minor"
69 paxGNUSparseSize = "GNU.sparse.size"
70 paxGNUSparseRealSize = "GNU.sparse.realsize"
73 // Keywords for old GNU sparse headers
122 // Check for a PAX format sparse file
129 // Current file is a PAX format GNU sparse file.
130 // Set the current file reader to a sparse file reader.
156 // checkForGNUSparsePAXHeaders checks the PAX headers for GNU sparse headers. If they are found, then
157 // this function reads the sparse map and returns it. Unknown sparse formats are ignored, causing the file to
162 // Check for sparse format indicators
170 // Identify which, if any, sparse format applies from which PAX headers are set
178 // Not a PAX format GNU sparse file.
182 // Check for unknown sparse format
187 // Update hdr from GNU sparse PAX headers
205 // Set up the sparse map, according to the particular sparse format in use
325 // For GNU PAX sparse format 0.0 support.
326 // This function transforms the sparse format 0.0 headers into sparse format 0.1 headers.
359 // GNU sparse format 0.0 special key. Write to sparseMap instead of using the headers map.
368 // Add sparse info to headers, chopping off the extra comma
534 // Check for old GNU sparse format entry.
539 // Read the sparse map.
544 // Current file is a GNU sparse file. Update the current file reader.
551 // A sparseEntry holds a single entry in a sparse file's sparse map.
552 // A sparse entry indicates the offset and size in a sparse file of a
559 // readOldGNUSparseMap reads the sparse map as stored in the old GNU sparse format.
560 // The sparse map is stored in the tar header if it's small enough. If it's larger than four entries,
561 // then one or more extension headers are used to store the rest of the sparse map.
609 // readGNUSparseMap1x0 reads the sparse map as stored in GNU's PAX sparse format version 1.0.
610 // The sparse map is stored just before the file data and padded out to the nearest block boundary.
615 // readDecimal is a helper function to read a decimal integer from the sparse map
691 // readGNUSparseMap0x1 reads the sparse map as stored in GNU's PAX sparse format version 0.1.
692 // The sparse map is stored in the PAX headers.
711 // Loop through the entries in the sparse map
774 // readHole reads a sparse file hole ending at offset toOffset
788 // Read reads the sparse file data in expanded form.
831 // numBytes returns the number of bytes left to read in the sparse file's
832 // sparse-encoded data in the tar archive.