Home
last modified time | relevance | path

Searched refs:error_errno (Results 1 – 10 of 10) sorted by relevance

/system/core/init/
Dresult.h85 ResultError(T&& error_string, int error_errno) in ResultError()
86 : error_string(std::forward<T>(error_string)), error_errno(error_errno) {} in ResultError()
89 int error_errno; member
115 errno_ = result_error.error_errno;
121 errno_ = result_error.error_errno;
168 result_error.error_errno) {} in Result()
171 result_error.error_errno) {} in Result()
192 int error_errno() const { return std::get<1>(contents_).error_errno; } in error_errno() function
Dresult_test.cpp77 EXPECT_EQ(0, result.error_errno()); in TEST()
86 EXPECT_EQ(0, result.error_errno()); in TEST()
101 EXPECT_EQ(0, MakeRvalueErrorResult().error_errno()); in TEST()
113 EXPECT_EQ(test_errno, result.error_errno()); in TEST()
125 EXPECT_EQ(test_errno, result.error_errno()); in TEST()
141 EXPECT_EQ(0, result.error_errno()); in TEST()
157 EXPECT_EQ(0, result.error_errno()); in TEST()
177 EXPECT_EQ(test_errno, result.error_errno()); in TEST()
302 EXPECT_EQ(6, result->error_errno()); in TEST()
Dsubcontext.cpp145 failure->set_error_errno(result.error_errno()); in RunCommand()
180 if (init_message.error_errno() == 0) { in MainLoop()
323 return ResultError(failure.error_string(), failure.error_errno()); in Execute()
347 return ResultError(failure.error_string(), failure.error_errno()); in ExpandArgs()
Dfirst_stage_init.cpp176 for (const auto& [error_string, error_errno] : errors) { in FirstStageMain()
177 LOG(ERROR) << error_string << " " << strerror(error_errno); in FirstStageMain()
Drlimit_parser_test.cpp47 EXPECT_EQ(0, result.error_errno()); in TestRlimitFailure()
Dsubcontext.proto32 optional int32 error_errno = 2; field
Daction.cpp130 result.error_errno() == ENOENT) { in ExecuteCommand()
/system/core/libsparse/
Doutput_file.cpp129 error_errno("lseek64"); in file_skip()
157 error_errno("write"); in file_write()
187 error_errno("gzopen"); in gz_file_open()
200 error_errno("gzseek"); in gz_file_skip()
518 error_errno("malloc zero_buf"); in output_file_init()
524 error_errno("malloc fill_buf"); in output_file_init()
570 error_errno("malloc struct outgz"); in output_file_new_gz()
583 error_errno("malloc struct outn"); in output_file_new_normal()
601 error_errno("malloc struct outc"); in output_file_open_callback()
Dsparse_defs.h50 #define error_errno(s, args...) error(s ": %s", ##args, strerror(errno)) macro
/system/extras/ext4_utils/include/ext4_utils/
Dext4_utils.h54 #define error_errno(s, args...) error(s ": %s", ##args, strerror(errno)) macro