Home
last modified time | relevance | path

Searched refs:error_errno (Results 1 – 9 of 9) 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()
190 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()
317 return ResultError(failure.error_string(), failure.error_errno()); in Execute()
341 return ResultError(failure.error_string(), failure.error_errno()); in ExpandArgs()
Drlimit_parser_test.cpp47 EXPECT_EQ(0, result.error_errno()); in TestRlimitFailure()
Dsubcontext.proto32 optional int32 error_errno = 2; field
Daction.cpp132 result.error_errno() == ENOENT) { in ExecuteCommand()
/system/core/libsparse/
Doutput_file.c133 error_errno("lseek64"); in file_skip()
163 error_errno("write"); in file_write()
195 error_errno("gzopen"); in gz_file_open()
210 error_errno("gzseek"); in gz_file_skip()
562 error_errno("malloc zero_buf"); in output_file_init()
568 error_errno("malloc fill_buf"); in output_file_init()
615 error_errno("malloc struct outgz"); in output_file_new_gz()
628 error_errno("malloc struct outn"); in output_file_new_normal()
646 error_errno("malloc struct outc"); in output_file_open_callback()
Dsparse_defs.h47 #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