Home
last modified time | relevance | path

Searched refs:FileHeader (Results 1 – 18 of 18) sorted by relevance

/build/soong/zip/
Dzip_test.go55 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 …]
Dzip.go199 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/
Dstruct.go70 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
Dandroid.go33 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
Dzip_test.go29 _, 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 …]
Dwriter.go28 *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
Dwriter_test.go144 header := &FileHeader{
191 w, _ := zw.CreateHeader(&FileHeader{
Dreader.go37 FileHeader anonMember
/build/soong/symbol_inject/
Dpe_test.go50 FileHeader: pe.FileHeader{
70 FileHeader: pe.FileHeader{
88 FileHeader: pe.FileHeader{
108 FileHeader: pe.FileHeader{
Dpe.go36 if peFile.FileHeader.Machine == pe.IMAGE_FILE_MACHINE_I386 {
84 fmt.Printf("\t\tMachine: %#v,\n", peFile.FileHeader.Machine)
Dpe_symboldata_test.go33 FileHeader: pe.FileHeader{
1075 FileHeader: pe.FileHeader{
/build/soong/jar/
Djar.go75 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/
Dcompare_test.go27 FileHeader: zip.FileHeader{
/build/soong/cmd/zip2zip/
Dzip2zip.go220 if match.uncompress && match.File.FileHeader.Method != zip.Store {
221 fh := match.File.FileHeader
/build/soong/cmd/extract_apks/
Dmain_test.go477 apkSet.entries[in] = &zip.File{FileHeader: zip.FileHeader{Name: in}}
Dmain.go77 bytes := make([]byte, tocFile.FileHeader.UncompressedSize64)
/build/soong/cmd/merge_zips/
Dmerge_zips.go102 fh *zip.FileHeader
207 fh := &zip.FileHeader{
221 fh := &zip.FileHeader{
Dmerge_zips_test.go285 fh := zip.FileHeader{