/build/soong/zip/ |
D | zip_test.go | 55 func fh(name string, contents []byte, method uint16) zip.FileHeader { 56 return zip.FileHeader{ 65 func fhManifest(contents []byte) zip.FileHeader { 66 return zip.FileHeader{ 75 func fhLink(name string, to string) zip.FileHeader { 76 return zip.FileHeader{ 85 func fhDir(name string) zip.FileHeader { 86 return zip.FileHeader{ 113 files []zip.FileHeader 120 files: []zip.FileHeader{}, [all …]
|
D | zip.go | 199 fh *zip.FileHeader 667 header := &zip.FileHeader{ 724 func (z *ZipWriter) writeFileContents(header *zip.FileHeader, r pathtools.ReaderAtSeekerCloser) (er… 962 var dirHeader *zip.FileHeader 967 dirHeader = &zip.FileHeader{ 988 fileHeader := &zip.FileHeader{
|
/build/soong/third_party/zip/ |
D | struct.go | 70 type FileHeader struct { struct 94 func (h *FileHeader) FileInfo() os.FileInfo { argument 100 fh *FileHeader 120 func FileInfoHeader(fi os.FileInfo) (*FileHeader, error) { 122 fh := &FileHeader{ 179 func (h *FileHeader) ModTime() time.Time { argument 185 func (h *FileHeader) SetModTime(t time.Time) { argument 209 func (h *FileHeader) Mode() (mode os.FileMode) { argument 223 func (h *FileHeader) SetMode(mode os.FileMode) { argument 237 func (fh *FileHeader) isZip64() bool { argument
|
D | android.go | 33 fileHeader := orig.FileHeader 42 FileHeader: fh, 122 func (w *Writer) CreateCompressedHeader(fh *FileHeader) (io.WriteCloser, error) { argument 128 if len(w.dir) > 0 && w.dir[len(w.dir)-1].FileHeader == fh { 146 FileHeader: fh, 161 func (w *Writer) CreateHeaderAndroid(fh *FileHeader) (io.Writer, error) { argument 189 fh := w.header.FileHeader
|
D | zip_test.go | 29 _, err := w.CreateHeader(&FileHeader{ 58 fh := new(FileHeader) 66 func testHeaderRoundTrip(fh *FileHeader, wantUncompressedSize uint32, wantUncompressedSize64 uint64… argument 88 if sysfh, ok := fi.Sys().(*FileHeader); !ok && sysfh != fh { 94 fh := &FileHeader{ 104 fh := &FileHeader{ 259 f, err := w.CreateHeader(&FileHeader{ 368 func testValidHeader(h *FileHeader, t *testing.T) { argument 388 zh := zf.File[0].FileHeader 401 h := FileHeader{ [all …]
|
D | writer.go | 28 *FileHeader anonMember 188 header := &FileHeader{ 197 func (w *Writer) CreateHeader(fh *FileHeader) (io.Writer, error) { 213 func (w *Writer) createHeaderImpl(fh *FileHeader) (io.Writer, error) { 220 if len(w.dir) > 0 && w.dir[len(w.dir)-1].FileHeader == fh { 247 FileHeader: fh, 261 func writeHeader(w io.Writer, h *FileHeader) error { argument 356 fh := w.header.FileHeader
|
D | writer_test.go | 144 header := &FileHeader{ 191 w, _ := zw.CreateHeader(&FileHeader{
|
D | reader.go | 37 FileHeader anonMember
|
/build/soong/symbol_inject/ |
D | pe_test.go | 50 FileHeader: pe.FileHeader{ 70 FileHeader: pe.FileHeader{ 88 FileHeader: pe.FileHeader{ 108 FileHeader: pe.FileHeader{
|
D | pe.go | 36 if peFile.FileHeader.Machine == pe.IMAGE_FILE_MACHINE_I386 { 84 fmt.Printf("\t\tMachine: %#v,\n", peFile.FileHeader.Machine)
|
D | pe_symboldata_test.go | 33 FileHeader: pe.FileHeader{ 1075 FileHeader: pe.FileHeader{
|
/build/soong/jar/ |
D | jar.go | 75 func MetaDirFileHeader() *zip.FileHeader { 76 dirHeader := &zip.FileHeader{ 87 func ManifestFileContents(contents []byte) (*zip.FileHeader, []byte, error) { 93 fh := &zip.FileHeader{
|
/build/soong/cmd/diff_target_files/ |
D | compare_test.go | 27 FileHeader: zip.FileHeader{
|
/build/soong/cmd/zip2zip/ |
D | zip2zip.go | 220 if match.uncompress && match.File.FileHeader.Method != zip.Store { 221 fh := match.File.FileHeader
|
/build/soong/cmd/extract_apks/ |
D | main_test.go | 477 apkSet.entries[in] = &zip.File{FileHeader: zip.FileHeader{Name: in}}
|
D | main.go | 77 bytes := make([]byte, tocFile.FileHeader.UncompressedSize64)
|
/build/soong/cmd/merge_zips/ |
D | merge_zips.go | 102 fh *zip.FileHeader 207 fh := &zip.FileHeader{ 221 fh := &zip.FileHeader{
|
D | merge_zips_test.go | 285 fh := zip.FileHeader{
|