Searched refs:error_string (Results 1 – 11 of 11) sorted by relevance
/system/core/init/ |
D | result.h | 85 ResultError(T&& error_string, int error_errno) in ResultError() 86 : error_string(std::forward<T>(error_string)), error_errno(error_errno) {} in ResultError() 88 std::string error_string; member 93 os << t.error_string; 98 os << std::move(t.error_string); 114 ss_ << result_error.error_string; 120 ss_ << std::move(result_error.error_string); 167 : contents_(std::in_place_index_t<1>(), result_error.error_string, in Result() 170 : contents_(std::in_place_index_t<1>(), std::move(result_error.error_string), in Result() 186 const std::string& error_string() const & { return std::get<1>(contents_).error_string; } in error_string() function [all …]
|
D | result_test.cpp | 78 EXPECT_EQ("failure1", result.error_string()); in TEST() 87 EXPECT_EQ("", result.error_string()); in TEST() 102 EXPECT_EQ("failure1", MakeRvalueErrorResult().error_string()); in TEST() 114 EXPECT_EQ("failure1: "s + strerror(test_errno), result.error_string()); in TEST() 126 EXPECT_EQ(strerror(test_errno), result.error_string()); in TEST() 142 EXPECT_EQ(error_text, result.error_string()); in TEST() 158 EXPECT_EQ(error_text, result.error_string()); in TEST() 178 EXPECT_EQ(error_text + ": " + strerror(test_errno), result.error_string()); in TEST() 301 EXPECT_EQ("failure string", result->error_string()); in TEST() 329 ASSERT_DEATH(result.error_string(), ""); in TEST()
|
D | subcontext_test.cpp | 72 auto pids = Split(result.error_string(), " "); in TEST() 119 EXPECT_EQ(Join(expected_words, " "), result.error_string()); in TEST() 133 EXPECT_EQ("Sane error!", result2.error_string()); in TEST() 142 ASSERT_EQ(context_string, result.error_string()); in TEST() 170 EXPECT_EQ("Failed to expand '" + args[1] + "'", result.error_string()); in TEST()
|
D | util_test.cpp | 37 EXPECT_EQ("open() failed: No such file or directory", file_contents.error_string()); in TEST() 48 EXPECT_EQ("Skipping insecure file", file_contents.error_string()); in TEST() 59 EXPECT_EQ("Skipping insecure file", file_contents.error_string()); in TEST() 68 EXPECT_EQ("open() failed: Too many symbolic links encountered", file_contents.error_string()); in TEST() 133 EXPECT_EQ("getpwnam failed: No such file or directory", decoded_uid.error_string()); in TEST()
|
D | first_stage_init.cpp | 176 for (const auto& [error_string, error_errno] : errors) { in FirstStageMain() 177 LOG(ERROR) << error_string << " " << strerror(error_errno); in FirstStageMain()
|
D | rlimit_parser_test.cpp | 46 EXPECT_EQ(expected_result, result.error_string()); in TestRlimitFailure()
|
D | subcontext.cpp | 144 failure->set_error_string(result.error_string()); in RunCommand() 323 return ResultError(failure.error_string(), failure.error_errno()); in Execute() 347 return ResultError(failure.error_string(), failure.error_errno()); in ExpandArgs()
|
D | subcontext.proto | 31 optional string error_string = 1; field
|
D | action.cpp | 142 << (result ? "succeeded" : "failed: " + result.error_string()); in ExecuteCommand()
|
D | service.cpp | 1386 LOG(ERROR) << result.error_string(); in MarkServicesUpdate()
|
/system/chre/host/common/include/chre_host/ |
D | log.h | 61 char error_string[64]; \ 62 strerror_r(error_code, error_string, sizeof(error_string)); \ 63 LOGE("%s: %s (%d)\n", message, error_string, error_code); \
|