/external/chromium_org/third_party/android_crazy_linker/src/src/ |
H A D | crazy_linker_zip.h | 12 // Find "filename" in the specified "zip_file" and return the offset 16 int FindStartOffsetOfFileInZipFile(const char* zip_file, const char* filename);
|
H A D | crazy_linker_zip.cpp | 94 int FindStartOffsetOfFileInZipFile(const char* zip_file, const char* filename) { argument 97 if (!fd.OpenReadOnly(zip_file)) { 99 __FUNCTION__, zip_file); 105 if (stat(zip_file, &stat_buf) == -1) { 107 __FUNCTION__, zip_file); 113 __FUNCTION__, stat_buf.st_size, zip_file); 121 __FUNCTION__, zip_file); 138 __FUNCTION__, zip_file); 152 __FUNCTION__, start_of_central_dir, zip_file); 159 __FUNCTION__, end_of_central_dir, zip_file); [all...] |
/external/chromium_org/tools/deep_memory_profiler/tests/ |
H A D | mock_gsutil.py | 22 zip_file = zipfile.ZipFile(sys.argv[4], 'r') 32 assert set(zip_file.namelist()) == expected_nameset 34 heap_1 = zip_file.getinfo('heap.01234.0001.heap') 38 buckets_1 = zip_file.getinfo('heap.01234.0001.buckets') 42 nm_chrome = zip_file.getinfo('heap.01234.symmap/chrome.abcdef.nm') 46 zip_file.close()
|
/external/chromium_org/mojo/tools/package_manager/ |
H A D | unpacker.cc | 21 bool Unpacker::Unpack(const base::FilePath& zip_file) { argument 23 zip_file_ = zip_file; 28 if (!zip::Unzip(zip_file, dir_)) {
|
H A D | unpacker.h | 25 bool Unpack(const base::FilePath& zip_file);
|
/external/chromium_org/chrome/common/safe_browsing/ |
H A D | zip_analyzer.h | 24 void AnalyzeZipFile(base::File zip_file, Results* results);
|
H A D | zip_analyzer.cc | 14 void AnalyzeZipFile(base::File zip_file, Results* results) { argument 19 if (!reader.OpenFromPlatformFile(zip_file.TakePlatformFile())) {
|
/external/chromium_org/third_party/zlib/google/ |
H A D | zip.cc | 29 bool AddFileToZip(zipFile zip_file, const base::FilePath& src_dir) { argument 41 if (ZIP_OK != zipWriteInFileInZip(zip_file, buf, num_bytes)) { 52 bool AddEntryToZip(zipFile zip_file, const base::FilePath& path, argument 67 if (!zip::internal::ZipOpenNewFileInZip(zip_file, str_path, &file_info)) 72 success = AddFileToZip(zip_file, path); 75 if (ZIP_OK != zipCloseFileInZip(zip_file)) { 129 zipFile zip_file = internal::OpenForZipping(dest_file.AsUTF8Unsafe(), local 132 if (!zip_file) { 146 if (!AddEntryToZip(zip_file, path, src_dir)) { 152 if (ZIP_OK != zipClose(zip_file, NUL 176 zipFile zip_file = internal::OpenFdForZipping(dest_fd, APPEND_STATUS_CREATE); local [all...] |
H A D | zip_unittest.cc | 121 base::FilePath zip_file = temp_dir.path().AppendASCII("out.zip"); local 146 EXPECT_TRUE(zip::Zip(src_dir, zip_file, true)); 147 ASSERT_TRUE(zip::Unzip(zip_file, out_dir)); 218 base::FilePath zip_file = temp_dir.path().AppendASCII("out.zip"); local 220 EXPECT_TRUE(zip::Zip(src_dir, zip_file, true)); 221 TestUnzipFile(zip_file, true); 231 base::FilePath zip_file = temp_dir.path().AppendASCII("out.zip"); local 233 EXPECT_TRUE(zip::Zip(src_dir, zip_file, false)); 234 TestUnzipFile(zip_file, false); 249 base::FilePath zip_file local [all...] |
H A D | zip.h | 41 // Unzip the contents of zip_file into dest_dir. 42 bool Unzip(const base::FilePath& zip_file, const base::FilePath& dest_dir);
|
H A D | zip_internal.h | 64 bool ZipOpenNewFileInZip(zipFile zip_file,
|
/external/chromium_org/components/feedback/ |
H A D | feedback_util.cc | 79 base::FilePath zip_file; local 89 bool succeed = base::CreateTemporaryFile(&zip_file) && 90 zip::Zip(temp_path, zip_file, false) && 91 base::ReadFileToString(zip_file, compressed_logs); 94 base::DeleteFile(zip_file, false);
|
/external/chromium_org/components/policy/tools/ |
H A D | make_policy_zip.py | 17 def add_files_to_zip(zip_file, base_dir, file_list): 22 zip_file: An object representing the zip archive. 28 zip_file.write(base_dir + file_path, file_path) 75 zip_file = zipfile.ZipFile(options.output, 'w', zipfile.ZIP_DEFLATED) 77 return add_files_to_zip(zip_file, options.basedir, file_list) 79 zip_file.close()
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
H A D | directory_zipper.py | 29 with ZipFile(zip_bytes, mode='w') as zip_file: 43 zip_file.writestr(posixpath.join(dir_name, file_name), file_contents)
|
H A D | github_file_system.py | 121 zip_file = self._zip_file.Get() 125 if zip_file is None: 128 prefix = zip_file.namelist()[0] 129 return zip_file.read(prefix + path) 133 zip_file = self._zip_file.Get() 137 if zip_file is None: 140 filenames = zip_file.namelist()
|
/external/chromium_org/tools/usb_gadget/ |
H A D | package.py | 84 if args.zip_file: 85 with open(args.zip_file, 'w') as zip_file: 86 zip_file.write(content)
|
/external/chromium_org/tools/telemetry/telemetry/util/ |
H A D | find_dependencies_unittest.py | 37 with zipfile.ZipFile(zip_path, 'r') as zip_file: 38 zip_file.extractall(temp_dir)
|
H A D | find_dependencies.py | 170 with zipfile.ZipFile(options.zip, 'w', zipfile.ZIP_DEFLATED) as zip_file: 175 zip_file.write(path, path_in_archive) 194 zip_file.writestr(link_info, link_script) 223 zip_file.write(path, path_in_archive)
|
/external/chromium_org/chrome/browser/chromeos/system/ |
H A D | syslogs_provider.cc | 205 void LoadCompressedLogs(const base::FilePath& zip_file, 309 base::FilePath zip_file; 310 if (compress_logs && !base::CreateTemporaryFile(&zip_file)) { 317 compress_logs ? &zip_file : NULL, 324 LoadCompressedLogs(zip_file, zip_content); 325 base::DeleteFile(zip_file, false); 349 void SyslogsProviderImpl::LoadCompressedLogs(const base::FilePath& zip_file, argument 352 if (!base::ReadFileToString(zip_file, zip_content)) { 354 zip_file.value().c_str();
|
/external/chromium_org/chrome/browser/safe_browsing/ |
H A D | sandboxed_zip_analyzer.h | 36 SandboxedZipAnalyzer(const base::FilePath& zip_file,
|
H A D | sandboxed_zip_analyzer.cc | 26 const base::FilePath& zip_file, 28 : zip_file_name_(zip_file), 25 SandboxedZipAnalyzer( const base::FilePath& zip_file, const ResultCallback& result_callback) argument
|
/external/chromium_org/build/android/gyp/ |
H A D | jar_toc.py | 30 def GetClassesInZipFile(zip_file): 32 files = zip_file.namelist()
|
/external/chromium_org/remoting/host/installer/ |
H A D | build-installer-archive.py | 144 def copyZipIntoArchive(out_dir, files_root, zip_file): 145 """Expands the zip_file into the out_dir, preserving the directory structure. 149 files_root: Path prefix which is stripped of zip_file before appending 151 zip_file: Relative path (and filename) to the zip file. 153 base_zip_name = os.path.basename(zip_file) 158 os.chdir(os.path.dirname(zip_file)) 163 out_zip_path = remapSrcFile(out_dir, files_root, zip_file) 166 (src_dir, ignore1) = os.path.splitext(zip_file)
|
/external/chromium_org/chrome/utility/ |
H A D | chrome_content_utility_client.h | 67 const IPC::PlatformFileForTransit& zip_file);
|
/external/chromium_org/tools/ |
H A D | bisect-builds.py | 552 def RunRevision(context, revision, zip_file, profile, num_runs, command, args): 559 UnzipFilenameToDir(zip_file, tempdir) 647 def __init__(self, context, name, rev, zip_file): 653 self.zip_file = zip_file 662 self.zip_file, 675 os.unlink(self.zip_file) 749 zip_file = _GetDownloadPath(rev) 750 fetch = DownloadJob(context, 'initial_fetch', rev, zip_file) 755 while fetch and fetch.zip_file an [all...] |