HomeSort by relevance Sort by last modified time
    Searched refs:zip_file (Results 1 - 25 of 33) sorted by null

1 2

  /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_org/chrome/common/safe_browsing/
zip_analyzer.h 24 void AnalyzeZipFile(base::File zip_file, Results* results);
zip_analyzer.cc 14 void AnalyzeZipFile(base::File zip_file, Results* results) {
19 if (!reader.OpenFromPlatformFile(zip_file.TakePlatformFile())) {
  /external/chromium_org/third_party/zlib/google/
zip.cc 29 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,
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, NULL))
176 zipFile zip_file = internal::OpenFdForZipping(dest_fd, APPEND_STATUS_CREATE); local
    [all...]
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);
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 = temp_dir.path().AppendASCII("out_russian.zip") local
    [all...]
zip_internal.h 64 bool ZipOpenNewFileInZip(zipFile zip_file,
  /external/chromium_org/components/feedback/
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/
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/browser/safe_browsing/
sandboxed_zip_analyzer.h 36 SandboxedZipAnalyzer(const base::FilePath& zip_file,
sandboxed_zip_analyzer.cc 26 const base::FilePath& zip_file,
28 : zip_file_name_(zip_file),
  /external/chromium_org/chrome/common/extensions/docs/server2/
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)
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()
  /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)
test_zipimport_support.py 125 zip_file = zipfile.ZipFile(zip_name, 'r')
127 zip_file.printdir()
128 zip_file.close()
  /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)
test_zipimport_support.py 125 zip_file = zipfile.ZipFile(zip_name, 'r')
127 zip_file.printdir()
128 zip_file.close()
  /external/chromium_org/chrome/browser/chromeos/system/
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,
352 if (!base::ReadFileToString(zip_file, zip_content)) {
354 zip_file.value().c_str();
  /external/chromium_org/build/android/gyp/
jar_toc.py 29 def GetClassesInZipFile(zip_file):
31 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 62 const IPC::PlatformFileForTransit& zip_file);
  /external/chromium_org/tools/telemetry/telemetry/util/
find_dependencies.py 171 with zipfile.ZipFile(options.zip, 'w', zipfile.ZIP_DEFLATED) as zip_file:
176 zip_file.write(path, path_in_archive)
195 zip_file.writestr(link_info, link_script)
223 zip_file.write(path, path_in_archive)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/tests/
test_sdist.py 126 zip_file = zipfile.ZipFile(join(dist_folder, 'fake-1.0.zip'))
128 content = zip_file.namelist()
130 zip_file.close()
248 zip_file = zipfile.ZipFile(join(dist_folder, 'fake-1.0.zip'))
250 content = zip_file.namelist()
252 zip_file.close()

Completed in 654 milliseconds

1 2