/external/google-breakpad/src/common/tests/ |
auto_tempdir.h | 79 string entry_path = path + "/" + entry->d_name; local 81 EXPECT_TRUE(lstat(entry_path.c_str(), &stats) == 0); 83 DeleteRecursively(entry_path); 85 EXPECT_TRUE(unlink(entry_path.c_str()) == 0);
|
/bionic/linker/tests/ |
linker_utils_test.cpp | 90 std::string entry_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)); 96 ASSERT_EQ("path/in/zip", entry_path); 98 ASSERT_TRUE(parse_zip_path("/zip/path/file2.zip!/", &zip_path, &entry_path)); 100 ASSERT_EQ("", entry_path);
|
/bionic/linker/ |
linker_utils.cpp | 140 bool parse_zip_path(const char* input_path, std::string* zip_path, std::string* entry_path) { 167 *entry_path = &buf[separator - path + 2]; 225 std::string entry_path; local 234 if (parse_zip_path(normalized_path.c_str(), &zip_path, &entry_path)) { 240 resolved_paths->push_back(std::string(resolved_path) + kZipFileSeparator + entry_path); local
|
linker_utils.h | 42 bool parse_zip_path(const char* input_path, std::string* zip_path, std::string* entry_path);
|
/external/autotest/client/bin/result_tools/ |
view.py | 363 entry_path = '%s/%s' % (parent_path, entry) 367 PATH: entry_path, 377 subdirs, entry_path, subdir_total_size,
|
/external/devlib/devlib/module/ |
hwmon.py | 138 entry_path = self.target.path.join(self.root, entry) 139 if self.target.file_exists(self.target.path.join(entry_path, 'name')): 140 device = HwmonDevice(self.target, entry_path)
|
/system/core/bootstat/ |
boot_event_record_store_test.cpp | 84 const std::string entry_path = path + "/" + entry_name; local 86 DeleteDirectory(entry_path); 88 unlink(entry_path.c_str());
|
/system/extras/simpleperf/ |
environment.cpp | 157 std::string entry_path = path + "/" + name; local 158 if (IsRegularFile(entry_path) && android::base::EndsWith(name, ".ko")) { 161 module_file_map->insert(std::make_pair(module_name, entry_path)); 162 } else if (IsDir(entry_path)) { 163 GetAllModuleFiles(entry_path, module_file_map);
|
/frameworks/native/cmds/dumpstate/ |
dumpstate.h | 219 bool AddZipEntry(const std::string& entry_name, const std::string& entry_path);
|
dumpstate.cpp | 745 bool Dumpstate::AddZipEntry(const std::string& entry_name, const std::string& entry_path) { 747 TEMP_FAILURE_RETRY(open(entry_path.c_str(), O_RDONLY | O_NONBLOCK | O_CLOEXEC))); 749 MYLOGE("open(%s): %s\n", entry_path.c_str(), strerror(errno)); [all...] |