Home
last modified time | relevance | path

Searched refs:zip_path (Results 1 – 25 of 386) sorted by relevance

12345678910>>...16

/dports/devel/android-tools-fastboot/platform_system_core-platform-tools-29.0.5/extras/simpleperf/
H A Dread_apk_test.cpp47 std::string zip_path; in TEST() local
51 "base.apk]", &zip_path, &entry_name)); in TEST()
52 ASSERT_EQ(zip_path, "/data/app/com.example.simpleperf.simpleperfexamplepurejava" in TEST()
56 &zip_path, &entry_name)); in TEST()
59 " (deleted)", &zip_path, &entry_name)); in TEST()
60 ASSERT_EQ(zip_path, "/data/app/com.example.simpleperf.simpleperfexamplepurejava" in TEST()
64 &zip_path, &entry_name)); in TEST()
69 "(deleted)", &zip_path, &entry_name)); in TEST()
70 ASSERT_EQ(zip_path, "/data/app/getxml.test.com.testgetxml-knxI11ZXLT-OVBs9X9bSkw==/base.apk"); in TEST()
/dports/www/chromium-legacy/chromium-88.0.4324.182/native_client_sdk/src/tools/
H A Doshelpers.py342 zip_path = os_path
348 if zip_path.startswith('/'):
349 zip_path = zip_path[1:]
350 zip_path = posixpath.normpath(zip_path)
353 zip_path += '/'
354 return zip_path
430 for zip_path in new_files_to_add:
431 zip_data.append((zip_path_to_os_path_dict[zip_path], zip_path, None))
443 zip_path = file_info_or_zip_path
453 zip_info.filename = zip_path
[all …]
/dports/databases/py-sqlite3/Python-3.8.12/Lib/test/test_importlib/
H A Dtest_resource.py183 sys.path.append(str(self.zip_path))
188 sys.path.remove(str(self.zip_path))
193 del sys.path_importer_cache[str(self.zip_path)]
199 support.unlink(self.zip_path)
206 self.zip_path.unlink()
210 self.zip_path.unlink()
214 self.zip_path.unlink()
218 self.zip_path.unlink()
224 self.zip_path.unlink()
228 self.zip_path.unlink()
[all …]
/dports/databases/py-gdbm/Python-3.8.12/Lib/test/test_importlib/
H A Dtest_resource.py183 sys.path.append(str(self.zip_path))
188 sys.path.remove(str(self.zip_path))
193 del sys.path_importer_cache[str(self.zip_path)]
199 support.unlink(self.zip_path)
206 self.zip_path.unlink()
210 self.zip_path.unlink()
214 self.zip_path.unlink()
218 self.zip_path.unlink()
224 self.zip_path.unlink()
228 self.zip_path.unlink()
[all …]
/dports/lang/python-tools/Python-3.8.12/Lib/test/test_importlib/
H A Dtest_resource.py183 sys.path.append(str(self.zip_path))
188 sys.path.remove(str(self.zip_path))
193 del sys.path_importer_cache[str(self.zip_path)]
199 support.unlink(self.zip_path)
206 self.zip_path.unlink()
210 self.zip_path.unlink()
214 self.zip_path.unlink()
218 self.zip_path.unlink()
224 self.zip_path.unlink()
228 self.zip_path.unlink()
[all …]
/dports/lang/python38/Python-3.8.12/Lib/test/test_importlib/
H A Dtest_resource.py183 sys.path.append(str(self.zip_path))
188 sys.path.remove(str(self.zip_path))
193 del sys.path_importer_cache[str(self.zip_path)]
199 support.unlink(self.zip_path)
206 self.zip_path.unlink()
210 self.zip_path.unlink()
214 self.zip_path.unlink()
218 self.zip_path.unlink()
224 self.zip_path.unlink()
228 self.zip_path.unlink()
[all …]
/dports/lang/python39/Python-3.9.9/Lib/test/test_importlib/
H A Dtest_resource.py183 sys.path.append(str(self.zip_path))
188 sys.path.remove(str(self.zip_path))
193 del sys.path_importer_cache[str(self.zip_path)]
199 support.unlink(self.zip_path)
206 self.zip_path.unlink()
210 self.zip_path.unlink()
214 self.zip_path.unlink()
218 self.zip_path.unlink()
224 self.zip_path.unlink()
228 self.zip_path.unlink()
[all …]
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Lib/test/test_importlib/
H A Dtest_resource.py183 sys.path.append(str(self.zip_path))
188 sys.path.remove(str(self.zip_path))
193 del sys.path_importer_cache[str(self.zip_path)]
199 support.unlink(self.zip_path)
206 self.zip_path.unlink()
210 self.zip_path.unlink()
214 self.zip_path.unlink()
218 self.zip_path.unlink()
224 self.zip_path.unlink()
228 self.zip_path.unlink()
[all …]
/dports/textproc/R-cran-readxl/readxl/R/
H A Dxlsx-zip.R2 zip_buffer <- function(zip_path, file_path) { argument
3 files <- utils::unzip(zip_path, list = TRUE)
7 stop("Couldn't find '", file_path, "' in '", zip_path, "'", call. = FALSE)
12 con <- unz(zip_path, file_path, open = "rb")
17 zip_has_file <- function(zip_path, file_path) { argument
18 file_path %in% utils::unzip(zip_path, list = TRUE)$Name
/dports/lang/python310/Python-3.10.1/Lib/test/test_importlib/
H A Dtest_resource.py157 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()
203 self.zip_path.unlink()
208 self.zip_path.unlink()
[all …]
/dports/multimedia/tautulli/Tautulli-2.8.0/lib/importlib_resources/tests/
H A Dtest_resource.py149 sys.path.append(str(self.zip_path))
154 sys.path.remove(str(self.zip_path))
159 del sys.path_importer_cache[str(self.zip_path)]
165 unlink(self.zip_path)
172 self.zip_path.unlink()
177 self.zip_path.unlink()
182 self.zip_path.unlink()
188 self.zip_path.unlink()
197 self.zip_path.unlink()
202 self.zip_path.unlink()
[all …]
/dports/devel/py-importlib-resources/importlib_resources-5.4.0/importlib_resources/tests/
H A Dtest_resource.py149 sys.path.append(str(self.zip_path))
154 sys.path.remove(str(self.zip_path))
159 del sys.path_importer_cache[str(self.zip_path)]
165 unlink(self.zip_path)
172 self.zip_path.unlink()
177 self.zip_path.unlink()
182 self.zip_path.unlink()
188 self.zip_path.unlink()
197 self.zip_path.unlink()
202 self.zip_path.unlink()
[all …]
/dports/lang/python311/Python-3.11.0a3/Lib/test/test_importlib/
H A Dtest_resource.py174 sys.path.append(str(self.zip_path))
179 sys.path.remove(str(self.zip_path))
184 del sys.path_importer_cache[str(self.zip_path)]
190 unlink(self.zip_path)
198 self.zip_path.unlink()
204 self.zip_path.unlink()
210 self.zip_path.unlink()
216 self.zip_path.unlink()
224 self.zip_path.unlink()
230 self.zip_path.unlink()
[all …]
/dports/lang/python27/Python-2.7.18/PC/os2emx/
H A Dgetpathp.c266 char zip_path[MAXPATHLEN+1]; in calculate_path() local
286 strncpy(zip_path, progpath, MAXPATHLEN); in calculate_path()
287 zip_path[MAXPATHLEN] = '\0'; in calculate_path()
288 len = strlen(zip_path); in calculate_path()
290 zip_path[len-3] = 'z'; /* change ending to "zip" */ in calculate_path()
291 zip_path[len-2] = 'i'; in calculate_path()
292 zip_path[len-1] = 'p'; in calculate_path()
295 zip_path[0] = 0; in calculate_path()
321 bufsz += strlen(zip_path) + 1; in calculate_path()
345 if (zip_path[0]) { in calculate_path()
[all …]
/dports/lang/python-legacy/Python-2.7.18/PC/os2emx/
H A Dgetpathp.c266 char zip_path[MAXPATHLEN+1]; in calculate_path() local
286 strncpy(zip_path, progpath, MAXPATHLEN); in calculate_path()
287 zip_path[MAXPATHLEN] = '\0'; in calculate_path()
288 len = strlen(zip_path); in calculate_path()
290 zip_path[len-3] = 'z'; /* change ending to "zip" */ in calculate_path()
291 zip_path[len-2] = 'i'; in calculate_path()
292 zip_path[len-1] = 'p'; in calculate_path()
295 zip_path[0] = 0; in calculate_path()
321 bufsz += strlen(zip_path) + 1; in calculate_path()
345 if (zip_path[0]) { in calculate_path()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/android_crazy_linker/src/src/
H A Dcrazy_linker_search_path_list.cpp79 int32_t FindLibFileInZipArchive(const char* zip_path, const char* file_name) { in FindLibFileInZipArchive() argument
81 int32_t offset = FindStartOffsetOfFileInZipFile(zip_path, file_name); in FindLibFileInZipArchive()
83 LOG(" FOUND_IN_ZIP %s!%s @ 0x%x", zip_path, file_name, offset); in FindLibFileInZipArchive()
97 offset = FindStartOffsetOfFileInZipFile(zip_path, crazy_name.c_str()); in FindLibFileInZipArchive()
99 LOG(" FOUND IN ZIP %s!%s @ 0x%x", zip_path, crazy_name.c_str(), offset); in FindLibFileInZipArchive()
120 String zip_path = MakeAbsolutePathFrom(path, bang - path); in FindLibFile() local
122 int32_t offset = FindLibFileInZipArchive(zip_path.c_str(), bang + 1); in FindLibFile()
124 return {std::move(zip_path), offset}; in FindLibFile()
/dports/textproc/R-cran-readxl/readxl/src/
H A Dzip.cpp13 std::string zip_buffer(const std::string& zip_path, in zip_buffer() argument
17 Rcpp::RawVector xml = Rcpp::as<Rcpp::RawVector>(zip_buffer(zip_path, file_path)); in zip_buffer()
24 bool zip_has_file(const std::string& zip_path, in zip_has_file() argument
28 LogicalVector res = wrap<LogicalVector>(zip_has_file(zip_path, file_path)); in zip_has_file()
45 void zip_xml(const std::string& zip_path, in zip_xml() argument
48 std::string buffer = zip_buffer(zip_path, file_path); in zip_xml()
/dports/devel/pycharm-pro/pycharm-2020.2.3/plugins/python/helpers/generator3/
H A Dextra.py62 def zip_sources(zip_path): argument
63 if not os.path.exists(zip_path):
64 os.makedirs(zip_path)
66 zip_filename = os.path.normpath(os.path.sep.join([zip_path, "skeletons.zip"]))
145 def zip_stdlib(roots, zip_path): argument
146 if not os.path.exists(zip_path):
147 os.makedirs(zip_path)
151 zip_filename = os.path.normpath(os.path.sep.join([zip_path, "%s-%s-stdlib-%s.zip" % (
/dports/devel/py-cookiecutter/cookiecutter-1.7.3/cookiecutter/
H A Dzipfile.py43 zip_path = os.path.join(clone_to_dir, identifier)
45 if os.path.exists(zip_path):
46 download = prompt_and_delete(zip_path, no_input=no_input)
53 with open(zip_path, 'wb') as f:
59 zip_path = os.path.abspath(zip_uri)
64 zip_file = ZipFile(zip_path)
/dports/archivers/torrentzip/trrntzip/src/
H A Dtrrntzip.c363 if ((UnZipHandle = unzOpen (zip_path)) == NULL) in MigrateZip()
391 pDir, zip_path); in MigrateZip()
417 pDir, zip_path); in MigrateZip()
451 szFileName, pDir, zip_path); in MigrateZip()
525 "\"%s%s\"\n\n", szFileName, pDir, zip_path); in MigrateZip()
552 szFileName, pDir, zip_path); in MigrateZip()
556 pDir, zip_path); in MigrateZip()
614 stat (zip_path, &istat); in MigrateZip()
616 if (remove (zip_path)) in MigrateZip()
620 "rezipped copy!\n\n", pDir, zip_path); in MigrateZip()
[all …]
/dports/security/fcrackzip/fcrackzip-1.0/
H A Dcrack.c68 char zip_path[1024]; in load_zip() local
78 fread (zip_path, name_len, 1, f); in load_zip()
79 zip_path[name_len] = 0; in load_zip()
112zip_path, (unsigned long) compr_size, (unsigned long) uncompr_size, (unsigned long) flags, in load_zip()
127 fprintf (stderr, "'%s' is corrupted, skipping zipfile\n", zip_path); in load_zip()
132 printf ("'%s' is not encrypted, skipping\n", zip_path); in load_zip()
/dports/lang/cython/Cython-0.29.24/pyximport/test/
H A Dtest_pyximport.py88 fd, zip_path = tempfile.mkstemp(suffix=".zip")
91 with ZipFile(zip_path, "w") as zf:
94 sys.path.insert(0, zip_path)
98 if zip_path in sys.path:
99 sys.path.remove(zip_path)
100 os.remove(zip_path)
/dports/lang/cython-devel/cython-2b1e743/pyximport/test/
H A Dtest_pyximport.py88 fd, zip_path = tempfile.mkstemp(suffix=".zip")
91 with ZipFile(zip_path, "w") as zf:
94 sys.path.insert(0, zip_path)
98 if zip_path in sys.path:
99 sys.path.remove(zip_path)
100 os.remove(zip_path)
/dports/lang/python-legacy/Python-2.7.18/Modules/
H A Dgetpath.c375 char zip_path[MAXPATHLEN+1]; in calculate_path() local
515 strncpy(zip_path, prefix, MAXPATHLEN); in calculate_path()
516 zip_path[MAXPATHLEN] = '\0'; in calculate_path()
518 reduce(zip_path); in calculate_path()
519 reduce(zip_path); in calculate_path()
522 strncpy(zip_path, PREFIX, MAXPATHLEN); in calculate_path()
523 joinpath(zip_path, "lib/python00.zip"); in calculate_path()
525 zip_path[bufsz - 6] = VERSION[0]; in calculate_path()
526 zip_path[bufsz - 5] = VERSION[2]; in calculate_path()
566 bufsz += strlen(zip_path) + 1; in calculate_path()
[all …]
/dports/lang/python27/Python-2.7.18/Modules/
H A Dgetpath.c375 char zip_path[MAXPATHLEN+1]; in calculate_path() local
515 strncpy(zip_path, prefix, MAXPATHLEN); in calculate_path()
516 zip_path[MAXPATHLEN] = '\0'; in calculate_path()
518 reduce(zip_path); in calculate_path()
519 reduce(zip_path); in calculate_path()
522 strncpy(zip_path, PREFIX, MAXPATHLEN); in calculate_path()
523 joinpath(zip_path, "lib/python00.zip"); in calculate_path()
525 zip_path[bufsz - 6] = VERSION[0]; in calculate_path()
526 zip_path[bufsz - 5] = VERSION[2]; in calculate_path()
566 bufsz += strlen(zip_path) + 1; in calculate_path()
[all …]

12345678910>>...16