Home
last modified time | relevance | path

Searched refs:error_msg (Results 1 – 5 of 5) sorted by relevance

/bionic/linker/
Dlinker_config_test.cpp149 std::string error_msg; in run_linker_config_smoke_test() local
154 &error_msg)) << error_msg; in run_linker_config_smoke_test()
156 ASSERT_TRUE(error_msg.empty()); in run_linker_config_smoke_test()
258 std::string error_msg; in TEST() local
263 &error_msg)); in TEST()
267 error_msg); in TEST()
302 std::string error_msg; in TEST() local
308 &error_msg)) << error_msg; in TEST()
310 ASSERT_TRUE(config != nullptr) << error_msg; in TEST()
311 ASSERT_TRUE(error_msg.empty()) << error_msg; in TEST()
Dlinker_config.cpp73 int next_token(std::string* name, std::string* value, std::string* error_msg) { in next_token() argument
102 *error_msg = std::string("invalid format: ") + in next_token()
185 std::string* error_msg) { in parse_config_file() argument
189 *error_msg = std::string("error reading file \"") + in parse_config_file()
287 *error_msg = create_error_msg(ld_config_file_path, in parse_config_file()
467 std::string* error_msg) { in read_binary_config() argument
471 if (!parse_config_file(ld_config_file_path, binary_realpath, &property_map, error_msg)) { in read_binary_config()
495 *error_msg = std::string("error reading version file \"") + in read_binary_config()
509 *error_msg = std::string("invalid version \"") + version_file + "\": \"" + content +"\""; in read_binary_config()
529 *error_msg = create_error_msg(ld_config_file_path, in read_binary_config()
[all …]
Dlinker_config.h170 std::string* error_msg);
/bionic/tests/
Dutils.h173 const std::string* error_msg = nullptr) {
176 if (error_msg == nullptr) {
177 error_msg = &error;
179 ASSERT_EQ(pid, TEMP_FAILURE_RETRY(waitpid(pid, &status, 0))) << *error_msg;
181 ASSERT_TRUE(WIFEXITED(status)) << *error_msg;
182 ASSERT_EQ(expected_exit_status, WEXITSTATUS(status)) << *error_msg;
184 ASSERT_TRUE(WIFSIGNALED(status)) << *error_msg;
185 ASSERT_EQ(-expected_exit_status, WTERMSIG(status)) << *error_msg;
259 std::string error_msg("Test output:\n" + output_); in Run()
260 AssertChildExited(pid, expected_exit_status, &error_msg); in Run()
Dsignal_test.cpp775 static constexpr char error_msg[] = in TEST() local
791 << "rt_tgsigqueueinfo failed: " << strerror(errno) << error_msg; in TEST()
794 << error_msg; in TEST()
798 << "rt_tgsigqueueinfo failed: " << strerror(errno) << error_msg; in TEST()
801 << error_msg; in TEST()