Home
last modified time | relevance | path

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

/build/soong/zip/
Dzip_test.go59 func fh(name string, contents []byte, method uint16) zip.FileHeader {
60 return zip.FileHeader{
69 func fhManifest(contents []byte) zip.FileHeader {
70 return zip.FileHeader{
79 func fhLink(name string, to string) zip.FileHeader {
80 return zip.FileHeader{
89 func fhDir(name string) zip.FileHeader {
90 return zip.FileHeader{
117 files []zip.FileHeader
124 files: []zip.FileHeader{},
[all …]
Dzip.go227 fh *zip.FileHeader
653 header := &zip.FileHeader{
712 func (z *ZipWriter) writeFileContents(header *zip.FileHeader, r pathtools.ReaderAtSeekerCloser) (er…
950 var dirHeader *zip.FileHeader
955 dirHeader = &zip.FileHeader{
976 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,
131 func (w *Writer) CreateCompressedHeader(fh *FileHeader) (io.WriteCloser, error) { argument
137 if len(w.dir) > 0 && w.dir[len(w.dir)-1].FileHeader == fh {
155 FileHeader: fh,
170 func (w *Writer) CreateHeaderAndroid(fh *FileHeader) (io.Writer, error) { argument
198 fh := w.header.FileHeader
Dwriter.go28 *FileHeader anonMember
195 header := &FileHeader{
204 func (w *Writer) CreateHeader(fh *FileHeader) (io.Writer, error) {
220 func (w *Writer) createHeaderImpl(fh *FileHeader) (io.Writer, error) {
227 if len(w.dir) > 0 && w.dir[len(w.dir)-1].FileHeader == fh {
254 FileHeader: fh,
268 func writeHeader(w io.Writer, h *FileHeader) error { argument
375 fh := w.header.FileHeader
Dwriter_test.go144 header := &FileHeader{
191 w, _ := zw.CreateHeader(&FileHeader{
Dandroid_test.go86 w, err := fromZip.CreateHeaderAndroid(&FileHeader{
153 f, err := zip.CreateHeaderAndroid(&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}}
/build/soong/cmd/merge_zips/
Dmerge_zips_test.go285 fh := zip.FileHeader{