HomeSort by relevance Sort by last modified time
    Searched defs:zip_path (Results 1 - 13 of 13) sorted by null

  /bionic/linker/
linker_utils_test.cpp 92 std::string zip_path; local
95 ASSERT_FALSE(parse_zip_path("/not/a/zip/path/file.zip", &zip_path, &entry_path));
96 ASSERT_FALSE(parse_zip_path("/not/a/zip/path/file.zip!path/in/zip", &zip_path, &entry_path));
97 ASSERT_TRUE(parse_zip_path("/zip/path/file.zip!/path/in/zip", &zip_path, &entry_path));
98 ASSERT_EQ("/zip/path/file.zip", zip_path);
101 ASSERT_TRUE(parse_zip_path("/zip/path/file2.zip!/", &zip_path, &entry_path));
102 ASSERT_EQ("/zip/path/file2.zip", zip_path);
linker_utils.cpp 140 bool parse_zip_path(const char* input_path, std::string* zip_path, std::string* entry_path) {
166 *zip_path = buf;
228 std::string zip_path; local
230 if (parse_zip_path(normalized_path.c_str(), &zip_path, &entry_path)) {
231 if (realpath(zip_path.c_str(), resolved_path) == nullptr) {
233 zip_path.c_str(), strerror(errno));
linker.cpp 961 bool get_or_open(const char* zip_path, ZipArchiveHandle* handle);
968 bool ZipArchiveCache::get_or_open(const char* zip_path, ZipArchiveHandle* handle) {
969 std::string key(zip_path);
977 int fd = TEMP_FAILURE_RETRY(open(zip_path, O_RDONLY | O_CLOEXEC));
1026 const char* zip_path = buf; local
1028 int fd = TEMP_FAILURE_RETRY(open(zip_path, O_RDONLY | O_CLOEXEC));
1034 if (!zip_archive_cache->get_or_open(zip_path, &handle)) {
    [all...]
  /bootable/recovery/tests/unit/
zip_test.cpp 31 std::string zip_path = from_testdata_base("ziptest_dummy-update.zip"); local
33 ASSERT_TRUE(map.MapFile(zip_path));
37 ASSERT_EQ(0, OpenArchiveFromMemory(map.addr, map.length, zip_path.c_str(), &handle));
  /external/python/cpython2/PC/os2emx/
getpathp.c 266 char zip_path[MAXPATHLEN+1]; local
286 strncpy(zip_path, progpath, MAXPATHLEN);
287 zip_path[MAXPATHLEN] = '\0';
288 len = strlen(zip_path);
290 zip_path[len-3] = 'z'; /* change ending to "zip" */
291 zip_path[len-2] = 'i';
292 zip_path[len-1] = 'p';
295 zip_path[0] = 0;
321 bufsz += strlen(zip_path) + 1;
345 if (zip_path[0])
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Efi/
getpath.c 472 char zip_path[MAXPATHLEN+1]; local
542 strncpy(zip_path, prefix, MAXPATHLEN);
543 zip_path[MAXPATHLEN] = '\0';
544 reduce(zip_path);
545 joinpath(zip_path, "python00.zip");
546 bufsz = strlen(zip_path); /* Replace "00" with version */
547 zip_path[bufsz - 6] = VERSION[0];
548 zip_path[bufsz - 5] = VERSION[1];
607 bufsz += strlen(zip_path) + 1;
629 strcat(buf, zip_path);
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/
getpath.c 403 char zip_path[MAXPATHLEN+1]; local
473 strncpy(zip_path, prefix, MAXPATHLEN);
474 zip_path[MAXPATHLEN] = '\0';
475 reduce(zip_path);
476 joinpath(zip_path, "python00.zip");
477 bufsz = strlen(zip_path); /* Replace "00" with version */
478 zip_path[bufsz - 6] = VERSION[0];
479 zip_path[bufsz - 5] = VERSION[1];
538 bufsz += strlen(zip_path) + 1;
560 strcat(buf, zip_path);
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
getpath.c 383 char zip_path[MAXPATHLEN+1]; local
523 strncpy(zip_path, prefix, MAXPATHLEN);
524 zip_path[MAXPATHLEN] = '\0';
526 reduce(zip_path);
527 reduce(zip_path);
530 strncpy(zip_path, PREFIX, MAXPATHLEN);
531 joinpath(zip_path, "lib/python00.zip");
532 bufsz = strlen(zip_path); /* Replace "00" with version */
533 zip_path[bufsz - 6] = VERSION[0];
534 zip_path[bufsz - 5] = VERSION[2];
    [all...]
  /external/python/cpython2/Modules/
getpath.c 379 char zip_path[MAXPATHLEN+1]; local
519 strncpy(zip_path, prefix, MAXPATHLEN);
520 zip_path[MAXPATHLEN] = '\0';
522 reduce(zip_path);
523 reduce(zip_path);
526 strncpy(zip_path, PREFIX, MAXPATHLEN);
527 joinpath(zip_path, "lib/python00.zip");
528 bufsz = strlen(zip_path); /* Replace "00" with version */
529 zip_path[bufsz - 6] = VERSION[0];
530 zip_path[bufsz - 5] = VERSION[2]
    [all...]
  /external/python/cpython2/PC/
getpathp.c 475 char zip_path[MAXPATHLEN+1]; local
499 strncpy(zip_path, dllpath, MAXPATHLEN);
501 strncpy(zip_path, progpath, MAXPATHLEN);
502 zip_path[MAXPATHLEN] = '\0';
503 len = strlen(zip_path);
505 zip_path[len-3] = 'z'; /* change ending to "zip" */
506 zip_path[len-2] = 'i';
507 zip_path[len-1] = 'p';
510 zip_path[0] = 0;
556 bufsz += strlen(zip_path) + 1
    [all...]
  /bootable/recovery/updater/
install.cpp 129 const std::string& zip_path = args[0]; local
133 ZipString zip_string_path(zip_path.c_str());
136 LOG(ERROR) << name << ": no " << zip_path << " in package"; local
150 LOG(ERROR) << name << ": Failed to extract entry \"" << zip_path << "\" ("
174 const std::string& zip_path = args[0]; local
177 ZipString zip_string_path(zip_path.c_str());
181 zip_path.c_str());
192 zip_path.c_str(), buffer.size(), ErrorCodeString(ret));
    [all...]
  /external/python/cpython3/Modules/
getpath.c 127 wchar_t zip_path[MAXPATHLEN+1]; /* ".../lib/pythonXY.zip" */ member in struct:__anon37376
779 wcsncpy(calculate->zip_path, prefix, MAXPATHLEN);
780 calculate->zip_path[MAXPATHLEN] = L'\0';
784 reduce(calculate->zip_path);
785 reduce(calculate->zip_path);
788 wcsncpy(calculate->zip_path, calculate->prefix, MAXPATHLEN);
790 joinpath(calculate->zip_path, L"lib/python00.zip");
793 size_t bufsz = wcslen(calculate->zip_path);
794 calculate->zip_path[bufsz - 6] = VERSION[0];
795 calculate->zip_path[bufsz - 5] = VERSION[2]
    [all...]
  /external/python/cpython3/PC/
getpathp.c 129 wchar_t zip_path[MAXPATHLEN+1]; member in struct:__anon37499
752 if (calculate->zip_path[0] && exists(calculate->zip_path)) {
753 wcscpy_s(prefix, MAXPATHLEN+1, calculate->zip_path);
820 bufsz += wcslen(calculate->zip_path) + 1;
850 if (calculate->zip_path[0]) {
851 if (wcscpy_s(buf, bufsz - (buf - start_buf), calculate->zip_path)) {
987 change_ext(calculate->zip_path,
    [all...]

Completed in 812 milliseconds