Home
last modified time | relevance | path

Searched refs:version_file (Results 1 – 2 of 2) sorted by relevance

/bionic/linker/
Dlinker_config_test.cpp138 std::string version_file = std::string(tmp_dir.path) + "/.version"; in run_linker_config_smoke_test() local
141 android::base::make_scope_guard([&version_file] { unlink(version_file.c_str()); }); in run_linker_config_smoke_test()
143 ASSERT_TRUE(write_version(version_file, 113U)) << strerror(errno); in run_linker_config_smoke_test()
Dlinker_config.cpp490 std::string version_file = dirname(binary_realpath) + "/.version"; in read_binary_config() local
492 if (!android::base::ReadFileToString(version_file, &content)) { in read_binary_config()
495 version_file + "\": " + strerror(errno); in read_binary_config()
508 *error_msg = std::string("invalid version \"") + version_file + "\": \"" + content +"\""; in read_binary_config()