Home
last modified time | relevance | path

Searched refs:file_path_ (Results 1 – 10 of 10) sorted by relevance

/aosp12/system/extras/libjsonpb/verify/include/jsonpb/
H A Djson_schema_test.h55 AbstractJsonSchemaTestConfig(const std::string& path) : file_path_(path){}; in AbstractJsonSchemaTestConfig()
59 std::string file_path() const override { return file_path_; } in file_path()
62 std::string file_path_;
74 file_path_ = config->file_path(); in SetUp()
76 if (access(file_path_.c_str(), F_OK) == -1) { in SetUp()
77 ASSERT_EQ(ENOENT, errno) << "File '" << file_path_ in SetUp()
79 ASSERT_TRUE(config->optional()) << "Missing mandatory file " << file_path_; in SetUp()
82 ASSERT_TRUE(android::base::ReadFileToString(file_path_, &json_)); in SetUp()
90 std::string file_path_; variable
100 << "File: " << file_path_ << ": " << error; in TEST_P()
[all …]
/aosp12/system/core/libprocessgroup/profiles/
H A Dtask_profiles_test.h42 << "No name for attribute #" << i << " in " << file_path_; in TEST_P()
44 << "No controller for attribute #" << i << " in " << file_path_; in TEST_P()
46 << "No file for attribute #" << i << " in " << file_path_; in TEST_P()
54 << "No name for profile #" << profile_idx << " in " << file_path_; in TEST_P()
59 << "] in " << file_path_; in TEST_P()
H A Dcgroups_test.h44 << "No controller name for cgroup #" << i << " in " << file_path_; in TEST_P()
45 EXPECT_FALSE(cgroup.path().empty()) << "No path for cgroup #" << i << " in " << file_path_; in TEST_P()
52 << "No path for cgroup2 in " << file_path_; in TEST_P()
61 << "For cgroup controller #" << i << " in " << file_path_; in TEST_P()
67 << "For cgroups2 in " << file_path_; in TEST_P()
H A Dtest_vendor.cpp36 TestConfig(const std::string& path) : file_path_(path){}; in TestConfig()
40 std::string file_path() const override { return file_path_; } in file_path()
47 std::string file_path_; member in android::profiles::TestConfig
/aosp12/art/libartbase/base/unix_file/
H A Dfd_file.cc155 file_path_(path), in FdFile()
178 LOG(ERROR) << "File " << file_path_ << " wasn't explicitly closed before destruction."; in Destroy()
184 PLOG(WARNING) << "Failed to close file with fd=" << fd_ << " path=" << file_path_; in Destroy()
192 file_path_(std::move(other.file_path_)), in FdFile()
214 file_path_ = std::move(other.file_path_); in operator =()
304 file_path_ = path; in Open()
325 DCHECK_GE(guard_state_, GuardState::kFlushed) << "File " << file_path_ in Close()
340 file_path_ = ""; in Close()
521 if (file_path_.empty()) { in Unlink()
529 int cur_fd = TEMP_FAILURE_RETRY(open(file_path_.c_str(), O_RDONLY | O_CLOEXEC)); in Unlink()
[all …]
H A Dfd_file.h106 return file_path_; in GetPath()
171 std::string file_path_; variable
/aosp12/art/runtime/
H A Delf_file.cc290 file_path_.c_str()); in CheckAndSet()
705 CHECK(!program_header_only_) << file_path_; in GetSectionHeader()
720 CHECK(!program_header_only_) << file_path_; in FindSectionByType()
806 << file_path_ << " " << section_header.sh_type; in GetSymbolNum()
841 CHECK(!program_header_only_) << file_path_; in FindSymbolByName()
932 CHECK(!program_header_only_) << file_path_; in GetString()
958 CHECK_LT(i, GetDynamicNum()) << file_path_; in GetDynamic()
999 CHECK_LT(i, GetRelNum(section_header)) << file_path_; in GetRel()
1049 << " in ELF file \"" << file_path_ << "\""; in GetLoadedAddressRange()
1061 CHECK_LT(min_vaddr, max_vaddr) << file_path_; in GetLoadedAddressRange()
[all …]
H A Delf_file_impl.h59 return file_path_; in GetFilePath()
189 const std::string file_path_; variable
/aosp12/system/core/fs_mgr/libfiemap/include/libfiemap/
H A Dfiemap_writer.h84 const std::string& file_path() const { return file_path_; }; in file_path()
99 std::string file_path_;
/aosp12/system/core/fs_mgr/libfiemap/
H A Dfiemap_writer.cpp793 fmap->file_path_ = abs_path; in Open()