/bionic/linker/tests/ |
linker_utils_test.cpp | 70 std::string zip_path; local 73 ASSERT_FALSE(parse_zip_path("/not/a/zip/path/file.zip", &zip_path, &entry_path)); 74 ASSERT_FALSE(parse_zip_path("/not/a/zip/path/file.zip!path/in/zip", &zip_path, &entry_path)); 75 ASSERT_TRUE(parse_zip_path("/zip/path/file.zip!/path/in/zip", &zip_path, &entry_path)); 76 ASSERT_EQ("/zip/path/file.zip", zip_path); 79 ASSERT_TRUE(parse_zip_path("/zip/path/file2.zip!/", &zip_path, &entry_path)); 80 ASSERT_EQ("/zip/path/file2.zip", zip_path);
|
/bionic/linker/ |
linker_utils.h | 26 bool parse_zip_path(const char* input_path, std::string* zip_path, std::string* entry_path);
|
linker_utils.cpp | 85 bool parse_zip_path(const char* input_path, std::string* zip_path, std::string* entry_path) { 111 *zip_path = buf;
|
linker.cpp | 467 std::string zip_path; local 477 if (parse_zip_path(normalized_path.c_str(), &zip_path, &entry_path)) { 478 if (realpath(zip_path.c_str(), resolved_path) == nullptr) { 479 DL_WARN("Warning: unable to resolve \"%s\": %s", zip_path.c_str(), strerror(errno)); [all...] |
/external/chromium-trace/catapult/catapult_build/ |
run_dev_server_tests.py | 141 zip_path = os.path.join(tmpdir, 'chrome.zip') 142 with open(zip_path, 'wb') as local_file: 144 zf = zipfile.ZipFile(zip_path)
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/ |
win_platform_backend.py | 69 zip_path = os.path.join(win_binary_dir, 'winring0.zip') 70 cloud_storage.GetIfChanged(zip_path, bucket=cloud_storage.PUBLIC_BUCKET) 72 with zipfile.ZipFile(zip_path, 'r') as zip_file: 95 os.remove(zip_path)
|
/bootable/recovery/updater/ |
install.cpp | 517 char* zip_path; local 519 if (ReadArgs(state, argv, 2, &zip_path, &dest_path) < 0) return NULL; 526 bool success = mzExtractRecursive(za, zip_path, dest_path, 529 free(zip_path); 553 char* zip_path; local 555 if (ReadArgs(state, argv, 2, &zip_path, &dest_path) < 0) return NULL; 557 const ZipEntry* entry = mzFindZipEntry(za, zip_path); 559 printf("%s: no %s in package\n", name, zip_path); 582 free(zip_path); 589 char* zip_path; local [all...] |
/frameworks/base/cmds/idmap/ |
create.cpp | 16 int get_zip_entry_crc(const char *zip_path, const char *entry_name, uint32_t *crc) 18 std::unique_ptr<ZipFileRO> zip(ZipFileRO::open(zip_path));
|
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/ |
status.py | 290 (zip_file, zip_path) = os.path.relpath(path).split('.zip' + os.sep, 1) 291 content = zipfile.ZipFile(zip_file + '.zip').read(zip_path)
|
/external/chromium-trace/catapult/devil/devil/android/ |
device_utils.py | [all...] |