/external/chromium_org/tools/deep_memory_profiler/tests/ |
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/chrome/common/ |
zip.h | 19 // Unzip the contents of zip_file into dest_dir. 20 bool Unzip(const FilePath& zip_file, const FilePath& dest_dir);
|
zip.cc | 24 static bool ExtractCurrentFile(unzFile zip_file, 28 int err = unzGetCurrentFileInfo(zip_file, &file_info, filename_inzip, 35 err = unzOpenCurrentFile(zip_file); 81 num_bytes = unzReadCurrentFile(zip_file, buf, kZipBufSize); 99 err = unzCloseCurrentFile(zip_file); 101 unzCloseCurrentFile(zip_file); // Don't lose the original error code. 168 unzFile zip_file = unzOpen(src_file_str.c_str()); local 171 unzFile zip_file = unzOpen2(src_file_str.c_str(), &zip_funcs); local 173 if (!zip_file) { 179 err = unzGetGlobalInfo(zip_file, &zip_info) 278 zipFile zip_file = zipOpen(dest_file_str.c_str(), APPEND_STATUS_CREATE); local 281 zipFile zip_file = zipOpen2(dest_file_str.c_str(), APPEND_STATUS_CREATE, local [all...] |
zip_unittest.cc | 126 FilePath zip_file = temp_dir.path().AppendASCII("out.zip"); local 128 EXPECT_TRUE(Zip(src_dir, zip_file, true)); 129 TestUnzipFile(zip_file, true); 139 FilePath zip_file = temp_dir.path().AppendASCII("out.zip"); local 141 EXPECT_TRUE(Zip(src_dir, zip_file, false)); 142 TestUnzipFile(zip_file, false);
|
/external/chromium_org/chrome/common/safe_browsing/ |
zip_analyzer.h | 24 void AnalyzeZipFile(base::PlatformFile zip_file, Results* results);
|
zip_analyzer.cc | 14 void AnalyzeZipFile(base::PlatformFile zip_file, Results* results) { 16 if (!reader.OpenFromPlatformFile(zip_file)) {
|
/external/chromium_org/chrome/test/chromedriver/chrome/ |
zip.cc | 27 bool AddFileToZip(zipFile zip_file, const base::FilePath& src_dir) { 41 if (ZIP_OK != zipWriteInFileInZip(zip_file, buf, num_bytes)) { 52 bool AddEntryToZip(zipFile zip_file, const base::FilePath& path, 65 zip_file, str_path.c_str(), 75 success = AddFileToZip(zip_file, path); 78 if (ZIP_OK != zipCloseFileInZip(zip_file)) { 132 zipFile zip_file = internal::OpenForZipping(dest_file.AsUTF8Unsafe(), local 135 if (!zip_file) { 149 if (!AddEntryToZip(zip_file, path, src_dir)) { 155 if (ZIP_OK != zipClose(zip_file, NULL)) 179 zipFile zip_file = internal::OpenFdForZipping(dest_fd, APPEND_STATUS_CREATE); local [all...] |
zip.h | 39 // Unzip the contents of zip_file into dest_dir. 40 bool Unzip(const base::FilePath& zip_file, const base::FilePath& dest_dir);
|
/external/chromium_org/third_party/zlib/google/ |
zip.cc | 27 bool AddFileToZip(zipFile zip_file, const base::FilePath& src_dir) { 41 if (ZIP_OK != zipWriteInFileInZip(zip_file, buf, num_bytes)) { 52 bool AddEntryToZip(zipFile zip_file, const base::FilePath& path, 65 zip_file, str_path.c_str(), 75 success = AddFileToZip(zip_file, path); 78 if (ZIP_OK != zipCloseFileInZip(zip_file)) { 132 zipFile zip_file = internal::OpenForZipping(dest_file.AsUTF8Unsafe(), local 135 if (!zip_file) { 149 if (!AddEntryToZip(zip_file, path, src_dir)) { 155 if (ZIP_OK != zipClose(zip_file, NULL)) 179 zipFile zip_file = internal::OpenFdForZipping(dest_fd, APPEND_STATUS_CREATE); local [all...] |
zip.h | 39 // Unzip the contents of zip_file into dest_dir. 40 bool Unzip(const base::FilePath& zip_file, const base::FilePath& dest_dir);
|
zip_unittest.cc | 158 base::FilePath zip_file = temp_dir.path().AppendASCII("out.zip"); local 160 EXPECT_TRUE(zip::Zip(src_dir, zip_file, true)); 161 TestUnzipFile(zip_file, true); 171 base::FilePath zip_file = temp_dir.path().AppendASCII("out.zip"); local 173 EXPECT_TRUE(zip::Zip(src_dir, zip_file, false)); 174 TestUnzipFile(zip_file, false); 185 base::FilePath zip_file = temp_dir.path().AppendASCII("out.zip"); local 189 base::CreatePlatformFile(zip_file, flags, NULL, NULL); 195 EXPECT_TRUE(reader.Open(zip_file));
|
/external/chromium/chrome/browser/chromeos/cros/ |
syslogs_library.cc | 36 void LoadCompressedLogs(const FilePath& zip_file, 100 FilePath zip_file; local 101 if (compress_logs && !file_util::CreateTemporaryFile(&zip_file)) { 109 compress_logs ? &zip_file : NULL, 116 LoadCompressedLogs(zip_file, zip_content); 117 file_util::Delete(zip_file, false); 126 void SyslogsLibraryImpl::LoadCompressedLogs(const FilePath& zip_file, 129 if (!file_util::ReadFileToString(zip_file, zip_content)) { 131 zip_file.value().c_str();
|
/external/chromium_org/chrome/tools/build/win/ |
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/ |
example_zipper.py | 21 zip_file = ZipFile(zip_bytes, mode='w') 33 zip_file.writestr(file_path[len(redundant_prefix):], file_contents) 35 zip_file.close()
|
github_file_system.py | 125 zip_file = self._zip_file.Get() 129 if zip_file is None: 132 prefix = zip_file.namelist()[0][:-1] 133 return zip_file.read(prefix + path) 137 zip_file = self._zip_file.Get() 141 if zip_file is None: 144 filenames = zip_file.namelist()
|
/external/chromium_org/chrome/browser/safe_browsing/ |
sandboxed_zip_analyzer.h | 36 SandboxedZipAnalyzer(const base::FilePath& zip_file,
|
sandboxed_zip_analyzer.cc | 27 const base::FilePath& zip_file, 29 : zip_file_(zip_file),
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
script_helper.py | 125 zip_file = zipfile.ZipFile(zip_name, 'w') 128 zip_file.write(script_name, name_in_zip) 129 zip_file.close() 131 # zip_file = zipfile.ZipFile(zip_name, 'r') 133 # zip_file.printdir() 134 # zip_file.close() 157 zip_file = zipfile.ZipFile(zip_name, 'w') 160 zip_file.write(init_name, init_name_in_zip) 161 zip_file.write(script_name, script_name_in_zip) 162 zip_file.close( [all...] |
test_pkgutil.py | 61 zip_file = os.path.join(self.dirname, zip) 62 z = zipfile.ZipFile(zip_file, 'w') 72 sys.path.insert(0, zip_file)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
script_helper.py | 125 zip_file = zipfile.ZipFile(zip_name, 'w') 128 zip_file.write(script_name, name_in_zip) 129 zip_file.close() 131 # zip_file = zipfile.ZipFile(zip_name, 'r') 133 # zip_file.printdir() 134 # zip_file.close() 157 zip_file = zipfile.ZipFile(zip_name, 'w') 160 zip_file.write(init_name, init_name_in_zip) 161 zip_file.write(script_name, script_name_in_zip) 162 zip_file.close( [all...] |
test_pkgutil.py | 61 zip_file = os.path.join(self.dirname, zip) 62 z = zipfile.ZipFile(zip_file, 'w') 72 sys.path.insert(0, zip_file)
|
/external/chromium_org/chrome/browser/chromeos/system/ |
syslogs_provider.cc | 205 void LoadCompressedLogs(const base::FilePath& zip_file, 308 base::FilePath zip_file; 309 if (compress_logs && !file_util::CreateTemporaryFile(&zip_file)) { 316 compress_logs ? &zip_file : NULL, 323 LoadCompressedLogs(zip_file, zip_content); 324 base::DeleteFile(zip_file, false); 348 void SyslogsProviderImpl::LoadCompressedLogs(const base::FilePath& zip_file, 351 if (!file_util::ReadFileToString(zip_file, zip_content)) { 353 zip_file.value().c_str();
|
/external/chromium_org/build/android/gyp/ |
jar_toc.py | 28 def GetClassesInZipFile(zip_file): 30 files = zip_file.namelist()
|
/external/chromium_org/remoting/host/installer/ |
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/ |
chrome_content_utility_client.h | 84 const IPC::PlatformFileForTransit& zip_file);
|