/build/soong/zip/ |
D | zip_test.go | 15 package zip package 53 func fh(name string, contents []byte, method uint16) zip.FileHeader { 54 return zip.FileHeader{ 63 func fhManifest(contents []byte) zip.FileHeader { 64 return zip.FileHeader{ 66 Method: zip.Store, 73 func fhLink(name string, to string) zip.FileHeader { 74 return zip.FileHeader{ 76 Method: zip.Store, 83 func fhDir(name string) zip.FileHeader { [all …]
|
D | Android.bp | 18 name: "soong-zip", 19 pkgPath: "android/soong/zip", 21 "android-archive-zip", 26 "zip.go",
|
D | zip.go | 15 package zip package 199 fh *zip.FileHeader 432 zipMethod := zip.Deflate 434 zipMethod = zip.Store 479 pathMappings = append(pathMappings, pathMapping{jar.ManifestFile, manifest, zip.Deflate}) 501 zipw := zip.NewWriter(f) 536 if op.fh.Method == zip.Deflate { 643 header := &zip.FileHeader{ 692 func (z *ZipWriter) writeFileContents(header *zip.FileHeader, r pathtools.ReaderAtSeekerCloser) (er… 714 if header.Method == zip.Deflate && fileSize >= minParallelFileSize { [all …]
|
/build/make/core/tasks/ |
D | device-tests.mk | 18 device-tests-zip := $(PRODUCT_OUT)/device-tests.zip 20 device-tests-list-zip := $(PRODUCT_OUT)/device-tests_list.zip 22 $(device-tests-zip) : .KATI_IMPLICIT_OUTPUTS := $(device-tests-list-zip) 23 $(device-tests-zip) : PRIVATE_device_tests_list := $(PRODUCT_OUT)/device-tests_list 24 $(device-tests-zip) : PRIVATE_HOST_SHARED_LIBS := $(my_host_shared_lib_for_device_tests) 25 $(device-tests-zip) : $(COMPATIBILITY.device-tests.FILES) $(my_host_shared_lib_for_device_tests) $(… 36 $(hide) $(SOONG_ZIP) -d -o $(device-tests-list-zip) -C $(dir $@) -f $(PRIVATE_device_tests_list) 39 device-tests: $(device-tests-zip) 40 $(call dist-for-goals, device-tests, $(device-tests-zip) $(device-tests-list-zip))
|
D | general-tests.mk | 22 general_tests_zip := $(PRODUCT_OUT)/general-tests.zip 24 general_tests_list_zip := $(PRODUCT_OUT)/general-tests_list.zip
|
/build/make/core/ |
D | soong_droiddoc_prebuilt.mk | 16 $(eval $(call copy-one-file,$(LOCAL_DROIDDOC_DOC_ZIP),$(OUT_DOCS)/$(LOCAL_MODULE)-docs.zip)) 17 $(call dist-for-goals,docs,$(OUT_DOCS)/$(LOCAL_MODULE)-docs.zip) 19 .PHONY: $(LOCAL_MODULE) $(LOCAL_MODULE)-docs.zip 20 $(LOCAL_MODULE) $(LOCAL_MODULE)-docs.zip : $(OUT_DOCS)/$(LOCAL_MODULE)-docs.zip 21 ALL_DOCS += $(OUT_DOCS)/$(LOCAL_MODULE)-docs.zip 25 …DOC_ANNOTATIONS_ZIP),$(TARGET_OUT_COMMON_INTERMEDIATES)/PACKAGING/$(LOCAL_MODULE)_annotations.zip)) 33 …l $(call copy-one-file,$(LOCAL_DROIDDOC_JDIFF_DOC_ZIP),$(OUT_DOCS)/$(LOCAL_MODULE)-jdiff-docs.zip)) 34 $(call dist-for-goals,docs,$(OUT_DOCS)/$(LOCAL_MODULE)-jdiff-docs.zip) 36 ALL_DOCS += $(OUT_DOCS)/$(LOCAL_MODULE)-jdiff-docs.zip 39 $(LOCAL_MODULE) $(LOCAL_MODULE)-jdiff : $(OUT_DOCS)/$(LOCAL_MODULE)-jdiff-docs.zip
|
D | dpi_specific_apk.mk | 51 $(call create-assets-package,$@.parts/apk.zip) 53 $(call create-jni-shared-libs-package,$@.parts/jni.zip) 57 $(if $(PRIVATE_EXTRA_JAR_ARGS),$(call create-java-resources-jar,$@.parts/res.zip)) 59 $(call create-dex-jar,$@.parts/dex.zip,$(PRIVATE_DEX_FILE)) 60 $(call extract-resources-jar,$@.parts/res.zip,$(PRIVATE_SOURCE_ARCHIVE)) 62 $(MERGE_ZIPS) $@ $@.parts/*.zip
|
D | package_internal.mk | 214 my_bundle_module := $(intermediates)/base.zip 626 cp -f $(PRIVATE_RES_PACKAGE) $@.parts/apk.zip 628 $(call create-assets-package,$@.parts/apk.zip) 631 $(call create-jni-shared-libs-package,$@.parts/jni.zip,$(PRIVATE_USE_EMBEDDED_NATIVE_LIBS)) 635 $(if $(PRIVATE_EXTRA_JAR_ARGS),$(call create-java-resources-jar,$@.parts/res.zip)) 637 $(call create-dex-jar,$@.parts/dex.zip,$(PRIVATE_DEX_FILE)) 638 $(call extract-resources-jar,$@.parts/res.zip,$(PRIVATE_SOURCE_ARCHIVE)) 640 $(MERGE_ZIPS) $@ $@.parts/*.zip 694 …$(ZIP2ZIP) -i $(PRIVATE_RES_PACKAGE) -o $@.parts/apk.zip AndroidManifest.xml:manifest/AndroidManif… 696 $(call create-jni-shared-libs-package,$@.parts/jni.zip) [all …]
|
D | java_library.mk | 74 $(call create-dex-jar,$@.parts/dex.zip,$(PRIVATE_DEX_FILE)) 75 $(call extract-resources-jar,$@.parts/res.zip,$(PRIVATE_SOURCE_ARCHIVE)) 76 $(MERGE_ZIPS) -j $@.tmp $@.parts/dex.zip $@.parts/res.zip
|
D | host_dalvik_java_library.mk | 179 $(call create-dex-jar,$@.parts/dex.zip,$(PRIVATE_DEX_FILE)) 180 $(call extract-resources-jar,$@.parts/res.zip,$(PRIVATE_SOURCE_ARCHIVE)) 181 $(MERGE_ZIPS) -j $@ $@.parts/dex.zip $@.parts/res.zip
|
/build/make/tools/ziptime/ |
D | README.txt | 1 ziptime -- zip timestamp tool 3 usage: ziptime file.zip 5 file.zip is an existing Zip archive to rewrite 8 This tools replaces the timestamps in the zip headers with a static time 10 -X option to zip so that it doesn't create the 'universal time' extra.
|
D | ZipTime.cpp | 41 ZipFile zip; in main() local 42 if (zip.rewrite(argv[1]) != 0) { in main()
|
/build/make/tools/zipalign/ |
D | README.txt | 1 zipalign -- zip archive alignment tool 3 usage: zipalign [-f] [-v] <align> infile.zip outfile.zip 4 zipalign -c [-v] <align> infile.zip 7 -f : overwrite existing outfile.zip 11 infile.zip is an existing Zip archive 12 outfile.zip will be created 22 the "extra" field in the zip Local File Header sections. Existing data 35 You can use the "-c" flag to test whether a zip archive is properly aligned. 38 uncompressed in the zip archive, to a 4096-byte page boundary. This 39 facilitates directly loading shared libraries from inside a zip archive.
|
/build/soong/jar/ |
D | jar.go | 72 func MetaDirFileHeader() *zip.FileHeader { 73 dirHeader := &zip.FileHeader{ 84 func ManifestFileContents(contents []byte) (*zip.FileHeader, []byte, error) { 90 fh := &zip.FileHeader{ 92 Method: zip.Store,
|
/build/make/tools/releasetools/ |
D | rangelib.py | 41 self.monotonic = all(x < y for x, y in zip(self.data, self.data[1:])) 167 for p, d in heapq.merge(zip(self.data, itertools.cycle((+1, -1))), 168 zip(other.data, itertools.cycle((+1, -1)))): 185 for p, d in heapq.merge(zip(self.data, itertools.cycle((+1, -1))), 186 zip(other.data, itertools.cycle((+1, -1)))): 204 for p, d in heapq.merge(zip(self.data, itertools.cycle((+1, -1))), 205 zip(other.data, itertools.cycle((-1, +1)))): 224 for _, d in heapq.merge(zip(self.data, itertools.cycle((+1, -1))), 225 zip(other.data, itertools.cycle((+1, -1)))): 265 for p, d in heapq.merge(zip(self.data, itertools.cycle((-5, +5))), [all …]
|
/build/soong/third_party/zip/ |
D | example_test.go | 22 w := zip.NewWriter(buf) 52 r, err := zip.OpenReader("testdata/readme.zip") 85 w := zip.NewWriter(buf) 88 w.RegisterCompressor(zip.Deflate, func(out io.Writer) (io.WriteCloser, error) {
|
D | Android.bp | 16 name: "android-archive-zip", 17 pkgPath: "android/soong/third_party/zip",
|
/build/soong/cmd/merge_zips/ |
D | merge_zips.go | 116 writer := zip.NewWriter(output) 128 reader, err := zip.OpenReader(input) 156 reader *zip.Reader 172 content *zip.File 191 func (ze zipEntry) WriteToZip(dest string, zw *zip.Writer) error { 197 fh *zip.FileHeader 217 func (be bufferEntry) WriteToZip(dest string, zw *zip.Writer) error { 238 WriteToZip(dest string, zw *zip.Writer) error 247 func mergeZips(readers []namedZipReader, writer *zip.Writer, manifest, pyMain string, 292 fh := &zip.FileHeader{ [all …]
|
D | merge_zips_test.go | 222 writer := zip.NewWriter(out) 253 zw := zip.NewWriter(b) 256 fh := zip.FileHeader{ 280 func testZipEntriesToZipReader(entries []testZipEntry) *zip.Reader { 284 zr, err := zip.NewReader(r, int64(len(b))) 294 zr, err := zip.NewReader(r, int64(len(buf)))
|
/build/soong/cmd/zip2zip/ |
D | zip2zip.go | 80 reader, err := zip.OpenReader(*input) 92 writer := zip.NewWriter(output) 108 *zip.File 113 func zip2zip(reader *zip.Reader, writer *zip.Writer, sortOutput, sortJava, setTime bool, 180 seen := make(map[string]*zip.File) 220 if match.uncompress && match.File.FileHeader.Method != zip.Store { 223 fh.Method = zip.Store
|
D | zip2zip_test.go | 424 inputWriter := zip.NewWriter(inputBuf) 434 inputReader, err := zip.NewReader(bytes.NewReader(inputBytes), int64(len(inputBytes))) 439 outputWriter := zip.NewWriter(outputBuf) 448 outputReader, err := zip.NewReader(bytes.NewReader(outputBytes), int64(len(outputBytes))) 458 if file.Method == zip.Store {
|
/build/soong/zip/cmd/ |
D | main.go | 104 fileArgsBuilder = zip.NewFileArgsBuilder() 123 respArgs := zip.ReadRespFile(bytes) 192 err := zip.Zip(zip.ZipArgs{
|
/build/soong/cmd/diff_target_files/ |
D | zip_artifact.go | 39 zr *zip.ReadCloser 45 zr, err := zip.OpenReader(name) 74 *zip.File
|
D | whitelist_test.go | 26 w := zip.NewWriter(buf) 38 r, err := zip.NewReader(bytes.NewReader(buf.Bytes()), int64(buf.Len()))
|
/build/soong/cmd/multiproduct_kati/ |
D | main.go | 324 args := zip.ZipArgs{ 325 FileArgs: []zip.FileArg{ 332 if err := zip.Zip(args); err != nil { 406 args := zip.ZipArgs{ 407 FileArgs: []zip.FileArg{ 417 if err := zip.Zip(args); err != nil {
|