/build/soong/zip/ |
D | zip_test.go | 15 package zip package 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{ 68 Method: zip.Store, 75 func fhLink(name string, to string) zip.FileHeader { 76 return zip.FileHeader{ 78 Method: zip.Store, 85 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 433 zipMethod := zip.Deflate 435 zipMethod = zip.Store 482 pathMappings = append(pathMappings, pathMapping{jar.ManifestFile, manifest, zip.Deflate}) 504 zipw := zip.NewWriter(f) 539 if op.fh.Method == zip.Deflate { 667 header := &zip.FileHeader{ 724 func (z *ZipWriter) writeFileContents(header *zip.FileHeader, r pathtools.ReaderAtSeekerCloser) (er… 746 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-configs-zip := $(PRODUCT_OUT)/device-tests_configs.zip 24 device_tests_host_shared_libs_zip := $(PRODUCT_OUT)/device-tests_host-shared-libs.zip 26 $(device-tests-zip) : .KATI_IMPLICIT_OUTPUTS := $(device-tests-list-zip) $(device-tests-configs-zip… 27 $(device-tests-zip) : PRIVATE_device_tests_list := $(PRODUCT_OUT)/device-tests_list 28 $(device-tests-zip) : PRIVATE_HOST_SHARED_LIBS := $(my_host_shared_lib_for_device_tests) 29 $(device-tests-zip) : PRIVATE_device_host_shared_libs_zip := $(device_tests_host_shared_libs_zip) 30 $(device-tests-zip) : $(COMPATIBILITY.device-tests.FILES) $(my_host_shared_lib_for_device_tests) $(… 43 $(hide) $(SOONG_ZIP) -d -o $(device-tests-configs-zip) \ [all …]
|
D | general-tests.mk | 23 general_tests_zip := $(PRODUCT_OUT)/general-tests.zip 25 general_tests_list_zip := $(PRODUCT_OUT)/general-tests_list.zip 39 general_tests_configs_zip := $(PRODUCT_OUT)/general-tests_configs.zip 41 general_tests_host_shared_libs_zip := $(PRODUCT_OUT)/general-tests_host-shared-libs.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 [all …]
|
D | package_internal.mk | 202 my_bundle_module := $(intermediates)/base.zip 560 cp -f $(PRIVATE_RES_PACKAGE) $@.parts/apk.zip 562 $(call create-jni-shared-libs-package,$@.parts/jni.zip,$(PRIVATE_USE_EMBEDDED_NATIVE_LIBS)) 566 $(if $(PRIVATE_EXTRA_JAR_ARGS),$(call create-java-resources-jar,$@.parts/res.zip)) 568 $(call create-dex-jar,$@.parts/dex.zip,$(PRIVATE_DEX_FILE)) 569 $(call extract-resources-jar,$@.parts/res.zip,$(PRIVATE_SOURCE_ARCHIVE)) 571 $(MERGE_ZIPS) $@ $@.parts/*.zip 612 …$(ZIP2ZIP) -i $(PRIVATE_RES_PACKAGE) -o $@.parts/apk.zip AndroidManifest.xml:manifest/AndroidManif… 614 $(call create-jni-shared-libs-package,$@.parts/jni.zip) 619 $(call create-java-resources-jar,$@.parts/res.zip) && \ [all …]
|
D | line_coverage.mk | 56 line_coverage_profiles := $(intermediates)/line_coverage_profiles.zip 80 line_coverage_fuzz_targets := $(intermediates)/line_coverage_fuzz_targets.zip 90 $(line_coverage_profiles):line_coverage_profiles.zip \ 91 $(line_coverage_fuzz_targets):line_coverage_fuzz_targets.zip)
|
D | java_library.mk | 75 $(call create-dex-jar,$@.parts/dex.zip,$(PRIVATE_DEX_FILE)) 76 $(call extract-resources-jar,$@.parts/res.zip,$(PRIVATE_SOURCE_ARCHIVE)) 77 $(MERGE_ZIPS) -j $@.tmp $@.parts/dex.zip $@.parts/res.zip
|
D | host_dalvik_java_library.mk | 180 $(call create-dex-jar,$@.parts/dex.zip,$(PRIVATE_DEX_FILE)) 181 $(call extract-resources-jar,$@.parts/res.zip,$(PRIVATE_SOURCE_ARCHIVE)) 182 $(MERGE_ZIPS) -j $@ $@.parts/dex.zip $@.parts/res.zip
|
/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/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/releasetools/ |
D | rangelib.py | 41 self.monotonic = all(x < y for x, y in zip(self.data, self.data[1:])) 170 for p, d in heapq.merge(zip(self.data, itertools.cycle((+1, -1))), 171 zip(other.data, itertools.cycle((+1, -1)))): 188 for p, d in heapq.merge(zip(self.data, itertools.cycle((+1, -1))), 189 zip(other.data, itertools.cycle((+1, -1)))): 207 for p, d in heapq.merge(zip(self.data, itertools.cycle((+1, -1))), 208 zip(other.data, itertools.cycle((-1, +1)))): 227 for _, d in heapq.merge(zip(self.data, itertools.cycle((+1, -1))), 228 zip(other.data, itertools.cycle((+1, -1)))): 268 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/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/cmd/merge_zips/ |
D | merge_zips.go | 41 Entries() []*zip.File 51 WriteToZip(dest string, zw *zip.Writer) error 93 func (ze ZipEntryFromZip) WriteToZip(dest string, zw *zip.Writer) error { 102 fh *zip.FileHeader 122 func (be ZipEntryFromBuffer) WriteToZip(dest string, zw *zip.Writer) error { 140 outputWriter *zip.Writer 150 func NewOutputZip(outputWriter *zip.Writer, sortEntries, emulateJar, stripDirEntries, ignoreDuplica… 207 fh := &zip.FileHeader{ 209 Method: zip.Store, 221 fh := &zip.FileHeader{ [all …]
|
D | merge_zips_test.go | 57 reader *zip.Reader 76 func (tiz *testInputZip) Entries() []*zip.File { 251 writer := zip.NewWriter(out) 282 zw := zip.NewWriter(b) 285 fh := zip.FileHeader{ 309 func testZipEntriesToZipReader(entries []testZipEntry) *zip.Reader { 313 zr, err := zip.NewReader(r, int64(len(b))) 323 zr, err := zip.NewReader(r, int64(len(buf))) 355 func (DummyInpuZip) Entries() []*zip.File {
|
D | Android.bp | 18 "android-archive-zip", 21 "soong-zip",
|
/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{ 95 Method: zip.Store,
|
/build/soong/zip/cmd/ |
D | main.go | 104 fileArgsBuilder = zip.NewFileArgsBuilder() 117 respArgs := zip.ReadRespFile(bytes) 191 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
|
/build/make/target/product/security/ |
D | Android.mk | 55 LOCAL_MODULE_STEM := otacerts.zip 69 LOCAL_MODULE_STEM := otacerts.zip
|