Home
last modified time | relevance | path

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

/bionic/linker/
Dlinker_config_test.cpp184 std::string error_msg; in run_linker_config_smoke_test() local
190 &error_msg)) << error_msg; in run_linker_config_smoke_test()
192 ASSERT_TRUE(error_msg.empty()); in run_linker_config_smoke_test()
298 std::string error_msg; in TEST() local
304 &error_msg)); in TEST()
308 error_msg); in TEST()
343 std::string error_msg; in TEST() local
350 &error_msg)) << error_msg; in TEST()
352 ASSERT_TRUE(config != nullptr) << error_msg; in TEST()
353 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()
468 std::string* error_msg) { in read_binary_config() argument
472 if (!parse_config_file(ld_config_file_path, binary_realpath, &property_map, error_msg)) { in read_binary_config()
496 *error_msg = std::string("error reading version file \"") + in read_binary_config()
510 *error_msg = std::string("invalid version \"") + version_file + "\": \"" + content +"\""; in read_binary_config()
530 *error_msg = create_error_msg(ld_config_file_path, in read_binary_config()
[all …]
Dlinker_config.h171 std::string* error_msg);
Dlinker.cpp3565 std::string error_msg; in init_default_namespaces() local
3567 &config, &error_msg)) { in init_default_namespaces()
3568 if (!error_msg.empty()) { in init_default_namespaces()
3570 ld_config_file_path.c_str(), executable_path, error_msg.c_str()); in init_default_namespaces()
/bionic/tests/
Dutils.h167 const std::string* error_msg = nullptr) {
170 if (error_msg == nullptr) {
171 error_msg = &error;
173 ASSERT_EQ(pid, TEMP_FAILURE_RETRY(waitpid(pid, &status, 0))) << *error_msg;
175 ASSERT_TRUE(WIFEXITED(status)) << *error_msg;
176 ASSERT_EQ(expected_exit_status, WEXITSTATUS(status)) << *error_msg;
178 ASSERT_TRUE(WIFSIGNALED(status)) << *error_msg;
179 ASSERT_EQ(-expected_exit_status, WTERMSIG(status)) << *error_msg;
253 std::string error_msg("Test output:\n" + output_); in Run()
254 AssertChildExited(pid, expected_exit_status, &error_msg); in Run()
Dsignal_test.cpp796 static constexpr char error_msg[] = in TEST() local
812 << "rt_tgsigqueueinfo failed: " << strerror(errno) << error_msg; in TEST()
815 << error_msg; in TEST()
819 << "rt_tgsigqueueinfo failed: " << strerror(errno) << error_msg; in TEST()
822 << error_msg; in TEST()
/bionic/libc/malloc_debug/tests/
Dmalloc_debug_system_tests.cpp233 std::string error_msg; in Exec() local
234 bool found_expected = CheckExpectedLogStrings(&error_msg); in Exec()
236 ASSERT_NE(i, kMaxRetries - 1) << error_msg; in Exec()
345 bool CheckExpectedLogStrings(std::string* error_msg) { in CheckExpectedLogStrings() argument
367 *error_msg = android::base::StringPrintf("Didn't find string '%s' in log output:\n%s", in CheckExpectedLogStrings()