Lines Matching refs:path
97 static bool write_version(const std::string& path, uint32_t version) { in write_version() argument
99 return android::base::WriteStringToFile(content, path); in write_version()
133 android::base::WriteStringToFile(config_str, tmp_file.path); in run_linker_config_smoke_test()
137 std::string executable_path = std::string(tmp_dir.path) + "/some-binary"; in run_linker_config_smoke_test()
138 std::string version_file = std::string(tmp_dir.path) + "/.version"; in run_linker_config_smoke_test()
148 ASSERT_TRUE(Config::read_binary_config(tmp_file.path, in run_linker_config_smoke_test()
249 android::base::WriteStringToFile(config_str, tmp_file.path); in TEST()
253 std::string executable_path = std::string(tmp_dir.path) + "/some-binary"; in TEST()
257 ASSERT_FALSE(Config::read_binary_config(tmp_file.path, in TEST()
263 ASSERT_EQ(std::string(tmp_file.path) + ":6: " in TEST()
274 std::string sub_dir = std::string(tmp_dir.path) + "/subdir"; in TEST()
280 std::string symlink_path = std::string(tmp_dir.path) + "/symlink"; in TEST()
295 android::base::WriteStringToFile(config_str, tmp_file.path); in TEST()
302 ASSERT_TRUE(Config::read_binary_config(tmp_file.path, in TEST()