/packages/modules/Virtualization/zipfuse/src/ |
D | inode.rs | 97 fn new_file(zip_index: ZipIndex, zip_file: &zip::read::ZipFile) -> InodeData { in new_file() 166 archive: &mut zip::ZipArchive<R>, in from_zip() 230 use zip::write::FileOptions; 233 fn setup(add: fn(&mut zip::ZipWriter<&mut std::io::Cursor<Vec<u8>>>)) -> InodeTable { in setup() 235 let mut writer = zip::ZipWriter::new(&mut buf); in setup() 240 let zip = zip::ZipArchive::new(buf); in setup() localVariable 241 assert!(zip.is_ok()); in setup() 242 let it = InodeTable::from_zip(&mut zip.unwrap()); in setup() 282 let it = setup(|zip| { in one_file() 283 zip.start_file("foo", FileOptions::default()).unwrap(); in one_file() [all …]
|
D | main.rs | 76 zip_archive: Mutex<zip::ZipArchive<File>>, 114 let mut z = zip::ZipArchive::new(f)?; in new() 384 use zip::write::FileOptions; 427 fn run_test(add: fn(&mut zip::ZipWriter<File>), check: fn(&std::path::Path)) { in run_test() 431 let zip = File::create(&zip_path); in run_test() localVariable 432 assert!(zip.is_ok()); in run_test() 433 let mut zip = zip::ZipWriter::new(zip.unwrap()); in run_test() localVariable 436 add(&mut zip); in run_test() 437 assert!(zip.finish().is_ok()); in run_test() 438 drop(zip); in run_test() [all …]
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/ |
D | WriteableArchiveTest.java | 36 import java.util.zip.ZipEntry; 37 import java.util.zip.ZipFile; 183 ZipFile zip = null; in testAddDirectory() local 185 zip = new ZipFile(mFile); in testAddDirectory() 186 final Enumeration<? extends ZipEntry> entries = zip.entries(); in testAddDirectory() 192 if (zip != null) { in testAddDirectory() 193 zip.close(); in testAddDirectory() 250 ZipFile zip = null; in testAddFile() local 253 zip = new ZipFile(mFile); in testAddFile() 257 final Enumeration<? extends ZipEntry> entries = zip.entries(); in testAddFile() [all …]
|
/packages/modules/adb/client/ |
D | incremental_utils.cpp | 285 ZipArchiveHandle zip; in openZipArchiveFd() local 286 if (OpenArchiveFd(osfd, "apk_fd", &zip, transferFdOwnership) != 0) { in openZipArchiveFd() 294 return zip; in openZipArchiveFd() 310 ZipArchiveHandle zip; in openZipArchive() local 311 if (OpenArchiveFromMemory(mapping->data(), mapping->size(), "apk_mapping", &zip) != 0) { in openZipArchive() 315 return {zip, std::move(mapping)}; in openZipArchive() 321 auto [zip, _] = openZipArchive(fd, fileSize); in InstallationPriorityBlocks() 322 if (!zip) { in InstallationPriorityBlocks() 335 if (StartIteration(zip, &cookie, std::move(matcher)) != 0) { in InstallationPriorityBlocks() 368 CloseArchive(zip); in InstallationPriorityBlocks()
|
/packages/modules/GeoTZ/tzbb_data/ |
D | METADATA | 18 …value: "input-data.zip downloaded from https://github.com/evansiroky/timezone-boundary-builder/rel… 22 …mezones.geojson.zip downloaded from https://github.com/evansiroky/timezone-boundary-builder/releas…
|
/packages/modules/Gki/ |
D | ota_from_raw_image.py | 70 with ZipFile(tf, "w") as zip: 76 zip.write(img_path, arcname=os.path.join("IMAGES", name + ".img")) 84 zip.writestr("META/ab_partitions.txt", "\n".join(names) + "\n") 85 zip.writestr("META/dynamic_partitions_info.txt", """
|
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/ |
D | ZipUtils.java | 27 import java.util.zip.ZipEntry; 28 import java.util.zip.ZipFile; 29 import java.util.zip.ZipOutputStream;
|
D | BugReportInfoActivity.java | 54 import java.util.zip.ZipEntry; 55 import java.util.zip.ZipInputStream; 56 import java.util.zip.ZipOutputStream;
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/ |
D | DataExporter.java | 31 import java.util.zip.Deflater; 32 import java.util.zip.ZipEntry; 33 import java.util.zip.ZipOutputStream;
|
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/ |
D | Android.bp | 100 // This genrule generates a zip file of 5000+ test cases from the NNAPI test 102 // currently not able to accept a zip file as a fuzzer seed corpus. 112 out: ["libneuralnetworks_fuzzer_seed_corpus.zip"],
|
/packages/modules/NeuralNetworks/runtime/test/specs/V1_3/ |
D | if_constant.mod.py | 23 True: [x + y for (x, y) in zip(x_data, y_data)], 24 False: [x - y for (x, y) in zip(x_data, y_data)],
|
D | sub_quant8_signed.mod.py | 36 input0_values, input1_values = zip(*inputs) 98 output_values = [max(-128, (a - b) - 128) for a, b in zip(input0_values, input1_values)]
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
D | Compress.java | 22 import java.util.zip.GZIPInputStream; 23 import java.util.zip.GZIPOutputStream;
|
/packages/modules/GeoTZ/ |
D | download-tzbb-files.sh | 48 input-data.zip \ 49 timezones.geojson.zip \
|
D | run-data-pipeline.sh | 136 ZIPPED_BOUNDARY_FILE=${TZBB_DATA_DIR}/timezones.geojson.zip 141 unzip -o ${TZBB_DATA_DIR}/timezones.geojson.zip -d ${WORKING_DIR_ROOT}/dist/
|
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
D | DictionaryBackupAgent.java | 30 import java.util.zip.CRC32; 31 import java.util.zip.GZIPInputStream; 32 import java.util.zip.GZIPOutputStream;
|
/packages/modules/DnsResolver/tests/ |
D | Android.bp | 62 // convert .pbtxt to .pb files; zip them as a single pb.zip. 67 out: ["testdata/pb.zip"],
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/rule/ |
D | FailureWatcher.java | 21 import java.util.zip.ZipEntry; 22 import java.util.zip.ZipOutputStream;
|
/packages/apps/Car/SystemUpdater/src/com/android/car/systemupdater/ |
D | UpdateParser.java | 32 import java.util.zip.ZipEntry; 33 import java.util.zip.ZipFile;
|
/packages/apps/DocumentsUI/tests/ |
D | Android.bp | 59 "-0 .zip", 83 "-0 .zip",
|
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/ |
D | ArchiveEntryInputStream.java | 26 import org.apache.commons.compress.archivers.zip.ZipArchiveEntry; 27 import org.apache.commons.compress.archivers.zip.ZipFile;
|
D | WriteableArchive.java | 44 import org.apache.commons.compress.archivers.zip.ZipArchiveEntry; 45 import org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream;
|
/packages/services/Car/car_product/build/ |
D | car.mk | 146 …ckages/services/Car/car_product/bootanimations/bootanimation-832.zip:system/media/bootanimation.zip
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarDebugActivity.java | 38 import java.util.zip.ZipEntry; 39 import java.util.zip.ZipOutputStream;
|
/packages/modules/NeuralNetworks/runtime/test/specs/V1_2/ |
D | layer_norm_lstm.mod.py | 174 tests = zip( 343 tests = zip(
|