/external/libcxx/test/std/diagnostics/syserr/ |
D | errc.pass.cpp | 18 static_assert(static_cast<int>(std::errc::address_family_not_supported) == EAFNOSUPPORT, ""); in main() 19 static_assert(static_cast<int>(std::errc::address_in_use) == EADDRINUSE, ""); in main() 20 static_assert(static_cast<int>(std::errc::address_not_available) == EADDRNOTAVAIL, ""); in main() 21 static_assert(static_cast<int>(std::errc::already_connected) == EISCONN, ""); in main() 22 static_assert(static_cast<int>(std::errc::argument_list_too_long) == E2BIG, ""); in main() 23 static_assert(static_cast<int>(std::errc::argument_out_of_domain) == EDOM, ""); in main() 24 static_assert(static_cast<int>(std::errc::bad_address) == EFAULT, ""); in main() 25 static_assert(static_cast<int>(std::errc::bad_file_descriptor) == EBADF, ""); in main() 26 static_assert(static_cast<int>(std::errc::bad_message) == EBADMSG, ""); in main() 27 static_assert(static_cast<int>(std::errc::broken_pipe) == EPIPE, ""); in main() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | Errc.h | 36 enum class errc { enum 37 argument_list_too_long = int(std::errc::argument_list_too_long), 38 argument_out_of_domain = int(std::errc::argument_out_of_domain), 39 bad_address = int(std::errc::bad_address), 40 bad_file_descriptor = int(std::errc::bad_file_descriptor), 41 broken_pipe = int(std::errc::broken_pipe), 42 device_or_resource_busy = int(std::errc::device_or_resource_busy), 43 directory_not_empty = int(std::errc::directory_not_empty), 44 executable_format_error = int(std::errc::executable_format_error), 45 file_exists = int(std::errc::file_exists), [all …]
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | Errc.h | 36 enum class errc { enum 37 argument_list_too_long = int(std::errc::argument_list_too_long), 38 argument_out_of_domain = int(std::errc::argument_out_of_domain), 39 bad_address = int(std::errc::bad_address), 40 bad_file_descriptor = int(std::errc::bad_file_descriptor), 41 broken_pipe = int(std::errc::broken_pipe), 42 device_or_resource_busy = int(std::errc::device_or_resource_busy), 43 directory_not_empty = int(std::errc::directory_not_empty), 44 executable_format_error = int(std::errc::executable_format_error), 45 file_exists = int(std::errc::file_exists), [all …]
|
/external/llvm/include/llvm/Support/ |
D | Errc.h | 36 enum class errc { enum 37 argument_list_too_long = int(std::errc::argument_list_too_long), 38 argument_out_of_domain = int(std::errc::argument_out_of_domain), 39 bad_address = int(std::errc::bad_address), 40 bad_file_descriptor = int(std::errc::bad_file_descriptor), 41 broken_pipe = int(std::errc::broken_pipe), 42 device_or_resource_busy = int(std::errc::device_or_resource_busy), 43 directory_not_empty = int(std::errc::directory_not_empty), 44 executable_format_error = int(std::errc::executable_format_error), 45 file_exists = int(std::errc::file_exists), [all …]
|
/external/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/ |
D | file_size.pass.cpp | 84 std::errc expected_err; in TEST_CASE() 86 {env.create_dir("dir"), std::errc::is_a_directory}, in TEST_CASE() 87 {env.create_fifo("fifo"), std::errc::not_supported}, in TEST_CASE() 88 {env.create_symlink("dir", "sym"), std::errc::is_a_directory}}; in TEST_CASE() 130 TEST_CHECK(ErrorIs(ec, std::errc::no_such_file_or_directory)); in TEST_CASE() 134 TEST_CHECK(ErrorIs(ec, std::errc::no_such_file_or_directory)); in TEST_CASE() 137 std::errc::no_such_file_or_directory, in TEST_CASE() 148 TEST_CHECK(ErrorIs(ec, std::errc::no_such_file_or_directory)); in TEST_CASE() 157 TEST_CHECK(ErrorIs(ec, std::errc::no_such_file_or_directory)); in TEST_CASE() 160 std::errc::no_such_file_or_directory, in TEST_CASE() [all …]
|
D | last_write_time.pass.cpp | 102 TEST_CHECK(ErrorIs(ec, std::errc::no_such_file_or_directory)); in TEST_CASE() 106 TEST_CHECK(ErrorIs(ec, std::errc::no_such_file_or_directory)); in TEST_CASE() 109 std::errc::no_such_file_or_directory, in TEST_CASE() 120 TEST_CHECK(ErrorIs(ec, std::errc::no_such_file_or_directory)); in TEST_CASE() 129 TEST_CHECK(ErrorIs(ec, std::errc::no_such_file_or_directory)); in TEST_CASE() 132 std::errc::no_such_file_or_directory, in TEST_CASE() 145 TEST_CHECK(ErrorIs(ec, std::errc::permission_denied)); in TEST_CASE() 149 TEST_CHECK(ErrorIs(ec, std::errc::permission_denied)); in TEST_CASE() 151 ExceptionChecker Checker(file, std::errc::permission_denied, in TEST_CASE() 171 TEST_CHECK(ErrorIs(ec, std::errc::permission_denied)); in TEST_CASE() [all …]
|
D | hard_link_count.pass.cpp | 129 TEST_CHECK(ErrorIs(ec, std::errc::no_such_file_or_directory)); in TEST_CASE() 133 TEST_CHECK(ErrorIs(ec, std::errc::no_such_file_or_directory)); in TEST_CASE() 136 std::errc::no_such_file_or_directory, in TEST_CASE() 147 TEST_CHECK(ErrorIs(ec, std::errc::no_such_file_or_directory)); in TEST_CASE() 156 TEST_CHECK(ErrorIs(ec, std::errc::no_such_file_or_directory)); in TEST_CASE() 159 std::errc::no_such_file_or_directory, in TEST_CASE() 172 TEST_CHECK(ErrorIs(ec, std::errc::permission_denied)); in TEST_CASE() 176 TEST_CHECK(ErrorIs(ec, std::errc::permission_denied)); in TEST_CASE() 178 ExceptionChecker Checker(file, std::errc::permission_denied, in TEST_CASE() 198 TEST_CHECK(ErrorIs(ec, std::errc::permission_denied)); in TEST_CASE() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/DWARF/ |
D | DWARFDebugAddr.cpp | 31 return createStringError(errc::invalid_argument, in extract() 37 WarnCallback(createStringError(errc::invalid_argument, in extract() 50 return createStringError(errc::not_supported, in extract() 57 return createStringError(errc::invalid_argument, in extract() 67 return createStringError(errc::invalid_argument, in extract() 91 return createStringError(errc::not_supported, "version %" PRIu16 in extract() 100 return createStringError(errc::invalid_argument, in extract() 107 return createStringError(errc::not_supported, in extract() 112 return createStringError(errc::invalid_argument, in extract() 120 return createStringError(errc::not_supported, in extract() [all …]
|
/external/llvm/lib/DebugInfo/CodeView/ |
D | RecordSerialization.cpp | 38 return std::make_error_code(std::errc::illegal_byte_sequence); in consume() 49 return std::make_error_code(std::errc::illegal_byte_sequence); in consume() 58 return std::make_error_code(std::errc::illegal_byte_sequence); in consume() 67 return std::make_error_code(std::errc::illegal_byte_sequence); in consume() 76 return std::make_error_code(std::errc::illegal_byte_sequence); in consume() 85 return std::make_error_code(std::errc::illegal_byte_sequence); in consume() 94 return std::make_error_code(std::errc::illegal_byte_sequence); in consume() 103 return std::make_error_code(std::errc::illegal_byte_sequence); in consume() 111 return std::make_error_code(std::errc::illegal_byte_sequence); in consume() 128 return std::make_error_code(std::errc::illegal_byte_sequence); in consume_numeric() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/XRay/ |
D | Trace.cpp | 55 std::make_error_code(std::errc::invalid_argument)); in readBinaryFormatHeader() 64 std::make_error_code(std::errc::invalid_argument)); in loadNaiveFormatLog() 69 std::make_error_code(std::errc::invalid_argument)); in loadNaiveFormatLog() 110 std::make_error_code(std::errc::executable_format_error)); in loadNaiveFormatLog() 134 std::make_error_code(std::errc::executable_format_error)); in loadNaiveFormatLog() 143 std::make_error_code(std::errc::executable_format_error)); in loadNaiveFormatLog() 214 std::make_error_code(std::errc::executable_format_error)); in processFDRNewBufferRecord() 229 std::make_error_code(std::errc::executable_format_error)); in processFDREndOfBufferRecord() 243 std::make_error_code(std::errc::executable_format_error)); in processFDRNewCPUIdRecord() 259 std::make_error_code(std::errc::executable_format_error)); in processFDRTSCWrapRecord() [all …]
|
/external/libcxx/test/std/utilities/charconv/charconv.from.chars/ |
D | integral.pass.cpp | 67 assert(r.ec == std::errc{}); in operator ()() 78 assert(r.ec == std::errc::result_out_of_range); in operator ()() 86 assert(r.ec == std::errc{}); in operator ()() 101 assert(r.ec == std::errc::result_out_of_range); in operator ()() 108 assert(r.ec == std::errc{}); in operator ()() 150 assert(r.ec == std::errc::invalid_argument); in operator ()() 156 assert(r.ec == std::errc{}); in operator ()() 166 assert(r.ec == std::errc{}); in operator ()() 182 assert(r.ec == std::errc::invalid_argument); in operator ()()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/ |
D | ErrorOrTest.cpp | 20 ErrorOr<int> t2() { return errc::invalid_argument; } in t2() 34 EXPECT_EQ(a.getError(), errc::invalid_argument); in TEST() 70 ErrorOr<int> x(errc::no_such_file_or_directory); in TEST() 71 EXPECT_EQ(x, errc::no_such_file_or_directory); in TEST() 94 operator std::error_code() { return errc::invalid_argument; } in TEST() 100 ErrorOr<CastsToErrorCode> x5(errc::no_such_file_or_directory); in TEST() 101 ErrorOr<CastsToErrorCode> x6 = errc::no_such_file_or_directory; in TEST() 102 ErrorOr<CastsToErrorCode> x7 = {errc::no_such_file_or_directory}; in TEST() 103 ErrorOr<CastsToErrorCode> x8{errc::no_such_file_or_directory}; in TEST()
|
/external/llvm/unittests/Support/ |
D | ErrorOrTest.cpp | 20 ErrorOr<int> t2() { return errc::invalid_argument; } in t2() 34 EXPECT_EQ(a.getError(), errc::invalid_argument); in TEST() 70 ErrorOr<int> x(errc::no_such_file_or_directory); in TEST() 71 EXPECT_EQ(x, errc::no_such_file_or_directory); in TEST() 94 operator std::error_code() { return errc::invalid_argument; } in TEST() 100 ErrorOr<CastsToErrorCode> x5(errc::no_such_file_or_directory); in TEST() 101 ErrorOr<CastsToErrorCode> x6 = errc::no_such_file_or_directory; in TEST() 102 ErrorOr<CastsToErrorCode> x7 = {errc::no_such_file_or_directory}; in TEST() 103 ErrorOr<CastsToErrorCode> x8{errc::no_such_file_or_directory}; in TEST()
|
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.file_size/ |
D | file_size.pass.cpp | 67 std::errc expected_err; in TEST_CASE() 69 {StaticEnv::Dir, std::errc::is_a_directory}, in TEST_CASE() 70 {StaticEnv::SymlinkToDir, std::errc::is_a_directory}, in TEST_CASE() 71 {StaticEnv::BadSymlink, std::errc::no_such_file_or_directory}, in TEST_CASE() 72 {StaticEnv::DNE, std::errc::no_such_file_or_directory}, in TEST_CASE() 73 {"", std::errc::no_such_file_or_directory}}; in TEST_CASE()
|
/external/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/ |
D | refresh.pass.cpp | 60 TEST_CHECK(ErrorIs(ec, std::errc::no_such_file_or_directory)); in TEST_CASE() 92 TEST_CHECK(ErrorIs(ec, std::errc::no_such_file_or_directory)); in TEST_CASE() 168 TEST_CHECK(ErrorIs(ec, std::errc::permission_denied)); in TEST_CASE() 171 ExceptionChecker Checker(file, std::errc::permission_denied, in TEST_CASE() 183 TEST_CHECK(ErrorIs(ec, std::errc::permission_denied)); in TEST_CASE() 186 ExceptionChecker Checker(sym_in_dir, std::errc::permission_denied, in TEST_CASE() 205 TEST_CHECK(ErrorIs(ec, std::errc::permission_denied)); in TEST_CASE() 238 TEST_CHECK(ErrorIs(ec, std::errc::no_such_file_or_directory)); in TEST_CASE() 243 TEST_CHECK(ErrorIs(ec, std::errc::no_such_file_or_directory)); in TEST_CASE() 263 TEST_CHECK(ErrorIs(ec, std::errc::no_such_file_or_directory)); in TEST_CASE() [all …]
|
/external/libcxx/test/support/ |
D | filesystem_test_helper.hpp | 395 using std::errc; in GetTestEC() 399 return errc::address_family_not_supported; in GetTestEC() 401 return errc::address_not_available; in GetTestEC() 403 return errc::address_in_use; in GetTestEC() 405 return errc::argument_list_too_long; in GetTestEC() 415 std::vector<std::errc> const& errors) { in ErrorIsImp() 416 for (auto errc : errors) { in ErrorIsImp() local 417 if (ec == std::make_error_code(errc)) in ErrorIsImp() 424 inline bool ErrorIs(const std::error_code& ec, std::errc First, ErrcT... Rest) { in ErrorIs() 425 std::vector<std::errc> errors = {First, Rest...}; in ErrorIs() [all …]
|
D | charconv_test_helpers.h | 95 assert(r.ec == std::errc::value_too_large); in test() 99 assert(r.ec == std::errc{}); in test() 110 assert(r.ec == std::errc{}); in test_value() 119 assert(r.ec == std::errc::value_too_large); in test_value() 164 assert(r.ec == std::errc{}); in test() 173 assert(r.ec == std::errc{}); in test() 181 assert(r2.ec == std::errc::invalid_argument); in test() 187 assert(r2.ec == std::errc::result_out_of_range); in test()
|
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.status/ |
D | status.pass.cpp | 38 std::make_error_code(std::errc::no_such_file_or_directory); in TEST_CASE() 44 std::error_code ec = std::make_error_code(std::errc::address_in_use); in TEST_CASE() 67 std::make_error_code(std::errc::address_in_use); in TEST_CASE() 69 std::make_error_code(std::errc::permission_denied); in TEST_CASE() 71 std::make_error_code(std::errc::filename_too_long); in TEST_CASE() 124 std::error_code ec = std::make_error_code(std::errc::address_in_use); in TEST_CASE() 155 std::error_code ec = std::make_error_code(std::errc::address_in_use); in TEST_CASE()
|
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.symlink_status/ |
D | symlink_status.pass.cpp | 38 std::make_error_code(std::errc::no_such_file_or_directory); in TEST_CASE() 43 std::error_code ec = std::make_error_code(std::errc::address_in_use); in TEST_CASE() 67 std::make_error_code(std::errc::address_in_use); in TEST_CASE() 69 std::make_error_code(std::errc::permission_denied); in TEST_CASE() 132 std::error_code ec = std::make_error_code(std::errc::address_in_use); in TEST_CASE() 166 std::error_code ec = std::make_error_code(std::errc::address_in_use); in TEST_CASE() 180 std::error_code ec = std::make_error_code(std::errc::address_in_use); in TEST_CASE()
|
/external/syzkaller/vendor/google.golang.org/appengine/aetest/ |
D | instance_vm.go | 102 errc := make(chan error, 1) 104 errc <- child.Wait() 118 case err = <-errc: 221 errc := make(chan error, 1) 228 errc <- fmt.Errorf("failed to parse API URL %q: %v", match[1], err) 240 errc <- s.Err() 249 case err := <-errc:
|
/external/syzkaller/vm/vmimpl/ |
D | vmimpl.go | 44 …Run(timeout time.Duration, stop <-chan bool, command string) (outc <-chan []byte, errc <-chan erro… 110 errc := make(chan error, 1) 113 case errc <- err: 145 return merger.Output, errc, nil
|
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/ |
D | copy_file.pass.cpp | 66 TEST_CHECK(ErrorIs(ec, std::errc::file_exists)); in TEST_CASE() 67 ExceptionChecker Checker(file, file, std::errc::file_exists, "copy_file"); in TEST_CASE() 74 TEST_CHECK(ErrorIs(ec, std::errc::file_exists)); in TEST_CASE() 75 ExceptionChecker Checker(file, file, std::errc::file_exists, "copy_file"); in TEST_CASE() 90 TEST_CHECK(ErrorIs(ec, std::errc::not_supported)); in TEST_CASE() 97 TEST_CHECK(ErrorIs(ec, std::errc::not_supported)); in TEST_CASE()
|
/external/syzkaller/vm/ |
D | vm.go | 107 outc <-chan []byte, errc <-chan error, err error) { 125 func (inst *Instance) MonitorExecution(outc <-chan []byte, errc <-chan error, 130 errc: errc, 139 case err := <-errc: 203 errc <-chan error member
|
/external/libcxx/test/std/input.output/iostreams.base/ios.base/ios.types/ios_failure/ |
D | ctor_char_pointer_error_code.pass.cpp | 25 std::ios_base::failure se(what_arg.c_str(), make_error_code(std::errc::is_a_directory)); in main() 26 assert(se.code() == std::make_error_code(std::errc::is_a_directory)); in main() 30 (std::errc::is_a_directory))) != std::string::npos); in main()
|
D | ctor_string_error_code.pass.cpp | 28 std::ios_base::failure se(what_arg, make_error_code(std::errc::is_a_directory)); in main() 29 assert(se.code() == std::make_error_code(std::errc::is_a_directory)); in main() 33 (std::errc::is_a_directory))) != std::string::npos); in main()
|