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

  /bionic/linker/tests/
linker_utils_test.cpp 89 std::string zip_path; local
92 ASSERT_FALSE(parse_zip_path("/not/a/zip/path/file.zip", &zip_path, &entry_path));
93 ASSERT_FALSE(parse_zip_path("/not/a/zip/path/file.zip!path/in/zip", &zip_path, &entry_path));
94 ASSERT_TRUE(parse_zip_path("/zip/path/file.zip!/path/in/zip", &zip_path, &entry_path));
95 ASSERT_EQ("/zip/path/file.zip", zip_path);
98 ASSERT_TRUE(parse_zip_path("/zip/path/file2.zip!/", &zip_path, &entry_path));
99 ASSERT_EQ("/zip/path/file2.zip", zip_path);
  /bootable/recovery/tests/unit/
zip_test.cpp 33 std::string zip_path = from_testdata_base("ziptest_valid.zip"); local
35 ASSERT_EQ(0, OpenArchive(zip_path.c_str(), &handle));
70 std::string zip_path = from_testdata_base("ziptest_dummy-update.zip"); local
71 ASSERT_EQ(0, sysMapFile(zip_path.c_str(), &map));
75 ASSERT_EQ(0, OpenArchiveFromMemory(map.addr, map.length, zip_path.c_str(), &handle));
ziputil_test.cpp 32 std::string zip_path = from_testdata_base("ziptest_valid.zip"); local
34 ASSERT_EQ(0, OpenArchive(zip_path.c_str(), &handle));
36 // zip_path must be a relative path.
47 std::string zip_path = from_testdata_base("ziptest_valid.zip"); local
49 ASSERT_EQ(0, OpenArchive(zip_path.c_str(), &handle));
82 std::string zip_path = from_testdata_base("ziptest_valid.zip"); local
84 ASSERT_EQ(0, OpenArchive(zip_path.c_str(), &handle));
118 std::string zip_path = from_testdata_base("ziptest_valid.zip"); local
120 ASSERT_EQ(0, OpenArchive(zip_path.c_str(), &handle));
154 std::string zip_path = from_testdata_base("ziptest_valid.zip") local
    [all...]
  /bionic/linker/
linker_utils.cpp 140 bool parse_zip_path(const char* input_path, std::string* zip_path, std::string* entry_path) {
166 *zip_path = buf;
224 std::string zip_path; local
234 if (parse_zip_path(normalized_path.c_str(), &zip_path, &entry_path)) {
235 if (realpath(zip_path.c_str(), resolved_path) == nullptr) {
236 DL_WARN("Warning: unable to resolve \"%s\": %s", zip_path.c_str(), strerror(errno));
linker.cpp 888 bool get_or_open(const char* zip_path, ZipArchiveHandle* handle);
895 bool ZipArchiveCache::get_or_open(const char* zip_path, ZipArchiveHandle* handle) {
896 std::string key(zip_path);
904 int fd = TEMP_FAILURE_RETRY(open(zip_path, O_RDONLY | O_CLOEXEC));
954 const char* zip_path = buf; local
956 int fd = TEMP_FAILURE_RETRY(open(zip_path, O_RDONLY | O_CLOEXEC));
962 if (!zip_archive_cache->get_or_open(zip_path, &handle)) {
    [all...]
  /bootable/recovery/tests/component/
updater_test.cpp 233 std::string zip_path = from_testdata_base("ziptest_valid.zip"); local
235 ASSERT_EQ(0, OpenArchive(zip_path.c_str(), &handle));
312 // Only relative zip_path is allowed.
329 std::string zip_path = from_testdata_base("ziptest_valid.zip"); local
331 ASSERT_EQ(0, OpenArchive(zip_path.c_str(), &handle));
  /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...]
  /system/core/libziparchive/
zip_archive_test.cc 512 const std::string zip_path = test_data_dir + "/" + kUpdateZip; local
513 android::base::unique_fd fd(open(zip_path.c_str(), O_RDONLY | O_BINARY));
520 file_map.create(zip_path.c_str(), fd, 0/*offset*/, sb.st_size, true);
523 zip_path.c_str(), &handle));
  /bootable/recovery/updater/
install.cpp 407 const std::string& zip_path = args[0]; local
415 bool success = ExtractPackageRecursive(za, zip_path, dest_path, &timestamp, sehandle);
439 const std::string& zip_path = args[0]; local
443 ZipString zip_string_path(zip_path.c_str());
446 LOG(ERROR) << name << ": no " << zip_path << " in package"; local
460 LOG(ERROR) << name << ": Failed to extract entry \"" << zip_path << "\" ("
483 const std::string& zip_path = args[0]; local
486 ZipString zip_string_path(zip_path.c_str());
490 zip_path.c_str());
500 zip_path.c_str(), buffer.size(), ErrorCodeString(ret))
    [all...]

Completed in 253 milliseconds