Searched refs:zip_path (Results 1 – 9 of 9) sorted by relevance
/third_party/python/Lib/test/test_importlib/ |
D | test_resource.py | 155 self.zip_path = pathlib.Path(f'{uuid.uuid4()}.zip').absolute() 156 self.zip_path.write_bytes(self.source_zip_path.read_bytes()) 157 sys.path.append(str(self.zip_path)) 162 sys.path.remove(str(self.zip_path)) 167 del sys.path_importer_cache[str(self.zip_path)] 173 unlink(self.zip_path) 180 self.zip_path.unlink() 185 self.zip_path.unlink() 190 self.zip_path.unlink() 196 self.zip_path.unlink() [all …]
|
/third_party/python/PC/ |
D | getpathp.c | 751 const wchar_t *zip_path, in calculate_home_prefix() argument 755 if (zip_path[0] && exists(zip_path)) { in calculate_home_prefix() 756 wcscpy_s(prefix, MAXPATHLEN+1, zip_path); in calculate_home_prefix() 778 const wchar_t *zip_path) in calculate_module_search_path() argument 828 bufsz += wcslen(zip_path) + 1; in calculate_module_search_path() 848 if (zip_path[0]) { in calculate_module_search_path() 849 if (wcscpy_s(buf, bufsz - (buf - start_buf), zip_path)) { in calculate_module_search_path() 991 wchar_t zip_path[MAXPATHLEN+1]; in calculate_path() local 992 memset(zip_path, 0, sizeof(zip_path)); in calculate_path() 994 if (get_dllpath(zip_path) || change_ext(zip_path, zip_path, L".zip")) in calculate_path() [all …]
|
/third_party/python/PCbuild/ |
D | get_external.py | 27 def extract_zip(externals_dir, zip_path): argument 28 with zipfile.ZipFile(os.fspath(zip_path)) as zf: 50 zip_path = fetch_zip( 58 extracted = extract_zip(args.externals_dir, zip_path)
|
/third_party/skia/third_party/externals/zlib/google/ |
D | zip_unittest.cc | 145 base::FilePath zip_path(test_dir_); in SetUp() local 146 zip_contents_.insert(zip_path.Append(FILE_PATH_LITERAL("foo.txt"))); in SetUp() 147 zip_path = zip_path.Append(FILE_PATH_LITERAL("foo")); in SetUp() 148 zip_contents_.insert(zip_path); in SetUp() 149 zip_contents_.insert(zip_path.Append(FILE_PATH_LITERAL("bar.txt"))); in SetUp() 150 zip_path = zip_path.Append(FILE_PATH_LITERAL("bar")); in SetUp() 151 zip_contents_.insert(zip_path); in SetUp() 152 zip_contents_.insert(zip_path.Append(FILE_PATH_LITERAL("baz.txt"))); in SetUp() 153 zip_contents_.insert(zip_path.Append(FILE_PATH_LITERAL("quux.txt"))); in SetUp() 154 zip_contents_.insert(zip_path.Append(FILE_PATH_LITERAL(".hidden"))); in SetUp()
|
/third_party/node/deps/zlib/google/ |
D | zip_unittest.cc | 144 base::FilePath zip_path(test_dir_); in SetUp() local 145 zip_contents_.insert(zip_path.Append(FILE_PATH_LITERAL("foo.txt"))); in SetUp() 146 zip_path = zip_path.Append(FILE_PATH_LITERAL("foo")); in SetUp() 147 zip_contents_.insert(zip_path); in SetUp() 148 zip_contents_.insert(zip_path.Append(FILE_PATH_LITERAL("bar.txt"))); in SetUp() 149 zip_path = zip_path.Append(FILE_PATH_LITERAL("bar")); in SetUp() 150 zip_contents_.insert(zip_path); in SetUp() 151 zip_contents_.insert(zip_path.Append(FILE_PATH_LITERAL("baz.txt"))); in SetUp() 152 zip_contents_.insert(zip_path.Append(FILE_PATH_LITERAL("quux.txt"))); in SetUp() 153 zip_contents_.insert(zip_path.Append(FILE_PATH_LITERAL(".hidden"))); in SetUp()
|
/third_party/flutter/skia/third_party/externals/zlib/google/ |
D | zip_unittest.cc | 144 base::FilePath zip_path(test_dir_); in SetUp() local 145 zip_contents_.insert(zip_path.Append(FILE_PATH_LITERAL("foo.txt"))); in SetUp() 146 zip_path = zip_path.Append(FILE_PATH_LITERAL("foo")); in SetUp() 147 zip_contents_.insert(zip_path); in SetUp() 148 zip_contents_.insert(zip_path.Append(FILE_PATH_LITERAL("bar.txt"))); in SetUp() 149 zip_path = zip_path.Append(FILE_PATH_LITERAL("bar")); in SetUp() 150 zip_contents_.insert(zip_path); in SetUp() 151 zip_contents_.insert(zip_path.Append(FILE_PATH_LITERAL("baz.txt"))); in SetUp() 152 zip_contents_.insert(zip_path.Append(FILE_PATH_LITERAL("quux.txt"))); in SetUp() 153 zip_contents_.insert(zip_path.Append(FILE_PATH_LITERAL(".hidden"))); in SetUp()
|
/third_party/python/PC/layout/ |
D | main.py | 331 zip_path = ns.temp / zip_name 332 if zip_path.is_file(): 333 zip_path.unlink() 334 elif zip_path.is_dir(): 341 with zipfile.ZipFile(zip_path, "w", zipfile.ZIP_DEFLATED) as zf:
|
/third_party/python/Modules/ |
D | getpath.c | 143 wchar_t *zip_path; member 1315 calculate->zip_path = joinpath2(parent, path); in calculate_zip_path() 1319 calculate->zip_path = joinpath2(calculate->prefix_macro, path); in calculate_zip_path() 1322 if (calculate->zip_path == NULL) { in calculate_zip_path() 1365 bufsz += wcslen(calculate->zip_path) + 1; in calculate_module_search_path() 1382 wcscat(buf, calculate->zip_path); in calculate_module_search_path() 1483 PyMem_RawFree(calculate->zip_path); in calculate_free()
|
/third_party/python/Lib/importlib/metadata/ |
D | __init__.py | 766 zip_path = zipfile.Path(self.root) 767 names = zip_path.root.namelist() 768 self.joinpath = zip_path.joinpath
|