Home
last modified time | relevance | path

Searched refs:unexpected (Results 1 – 25 of 169) sorted by relevance

1234567

/freebsd/contrib/llvm-project/libcxx/include/__expected/
H A Dunexpected.h42 class unexpected; variable
48 struct __is_std_unexpected<unexpected<_Err>> : true_type {};
60 class unexpected {
66 _LIBCPP_HIDE_FROM_ABI constexpr unexpected(const unexpected&) = default;
67 _LIBCPP_HIDE_FROM_ABI constexpr unexpected(unexpected&&) = default;
70 requires(!is_same_v<remove_cvref_t<_Error>, unexpected> && //
73 _LIBCPP_HIDE_FROM_ABI constexpr explicit unexpected(_Error&& __error) //
79 _LIBCPP_HIDE_FROM_ABI constexpr explicit unexpected(in_place_t, _Args&&... __args) //
85 …_LIBCPP_HIDE_FROM_ABI constexpr explicit unexpected(in_place_t, initializer_list<_Up> __il, _Args&…
89 _LIBCPP_HIDE_FROM_ABI constexpr unexpected& operator=(const unexpected&) = default;
[all …]
H A Dexpected.h469 using unexpected_type = unexpected<_Err>;
526 _Not<is_constructible<unexpected<_Err>, expected<_Up, _OtherErr>&>>,
527 _Not<is_constructible<unexpected<_Err>, expected<_Up, _OtherErr>>>,
528 _Not<is_constructible<unexpected<_Err>, const expected<_Up, _OtherErr>&>>,
529 _Not<is_constructible<unexpected<_Err>, const expected<_Up, _OtherErr>>> >;
569 …const unexpected<_OtherErr>& __unex) noexcept(is_nothrow_constructible_v<_Err, const _OtherErr&>) …
575 …expected(unexpected<_OtherErr>&& __unex) noexcept(is_nothrow_constructible_v<_Err, _OtherErr>) // …
699 _LIBCPP_HIDE_FROM_ABI constexpr expected& operator=(const unexpected<_OtherErr>& __un) {
710 _LIBCPP_HIDE_FROM_ABI constexpr expected& operator=(unexpected<_OtherErr>&& __un) {
1178 …_LIBCPP_HIDE_FROM_ABI friend constexpr bool operator==(const expected& __x, const unexpected<_E2>&…
[all …]
/freebsd/contrib/llvm-project/libc/src/__support/CPP/
H A Dexpected.h20 template <class T> class unexpected {
24 LIBC_INLINE constexpr explicit unexpected(T value) : value(value) {} in unexpected() function
28 template <class T> explicit unexpected(T) -> unexpected<T>;
39 LIBC_INLINE constexpr expected(unexpected<E> unexp) in expected()
/freebsd/contrib/llvm-project/libc/src/__support/time/windows/
H A Dclock_gettime.cpp33 ret = cpp::unexpected(EINVAL); in clock_gettime()
50 ret = cpp::unexpected(EOVERFLOW); in clock_gettime()
72 ret = cpp::unexpected(EOVERFLOW); in clock_gettime()
79 ret = cpp::unexpected(EOVERFLOW); in clock_gettime()
103 ret = cpp::unexpected(EINVAL); in clock_gettime()
121 ret = cpp::unexpected(EOVERFLOW); in clock_gettime()
/freebsd/contrib/llvm-project/libcxx/include/
H A Dexpected17 // [expected.unexpected], class template unexpected
18 template<class E> class unexpected;
26 // in-place construction of unexpected values
50 # include <__expected/unexpected.h>
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dexpected.cppm
/freebsd/crypto/openssh/regress/
H A Dsftp-glob.sh12 unexpected=$4
32 if test "x$unexpected" != "x" && \
33 fgrep "$unexpected" ${RESULTS} >/dev/null 2>&1 ; then
34 fail "$unexpected present in $errtag results"
/freebsd/contrib/bmake/unit-tests/
H A Dvarmod-indirect.mk20 . warning unexpected
26 . warning unexpected
33 . warning unexpected
42 . warning unexpected
H A Dcmd-errors-jobs.mk42 : unexpected $@-${UNCLOSED
45 : unexpected $@-${UNCLOSED:
48 : unexpected $@-${UNKNOWN:Z}-eol
/freebsd/sys/contrib/openzfs/tests/test-runner/bin/
H A Dzts-report.py.in434 unexpected = [] variable
454 unexpected.append(test)
456 unexpected.append(test)
496 for test in sorted(unexpected):
500 if len(unexpected) == 0:
/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_write_format_zip_windows_path.c73 const char *unexpected = raw_path; in test_with_hdrcharset() local
76 const char *unexpected = replaced; in test_with_hdrcharset() local
84 if (memcmp(ptr, unexpected, len) == 0) in test_with_hdrcharset()
/freebsd/contrib/llvm-project/libc/src/__support/time/linux/
H A Dabs_timeout.h37 return cpp::unexpected(Error::Invalid); in from_timespec()
42 return cpp::unexpected(Error::BeforeEpoch); in from_timespec()
/freebsd/sys/contrib/openzfs/.github/workflows/scripts/
H A Dmerge_summary.awk95 /Tests with result of PASS that are unexpected/{state="unexpected_pass_lines"; next}
96 /Tests with results other than PASS that are unexpected/{state="unexpected_lines"; next}
/freebsd/contrib/llvm-project/libcxx/src/support/runtime/
H A Dexception_fallback.ipp24 [[noreturn]] void unexpected() {
26 // unexpected handler should not return
H A Dexception_msvc.ipp34 [[noreturn]] void unexpected() {
36 // unexpected handler should not return
/freebsd/contrib/byacc/test/yacc/
H A Derr_syntax26.error1 YACC: e - line 6 of "./err_syntax26.y", unexpected end-of-file
/freebsd/contrib/byacc/test/btyacc/
H A Derr_syntax26.error1 YACC: e - line 6 of "./err_syntax26.y", unexpected end-of-file
/freebsd/contrib/llvm-project/libc/src/__support/
H A Derror_or.h19 using Error = cpp::unexpected<int>;
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnosticParseKinds.td235 def err_at_in_class : Error<"unexpected '@' in member specification">;
236 def err_unexpected_semi : Error<"unexpected ';' before %0">;
355 def err_unexpected_at : Error<"unexpected '@' in program">;
431 "unexpected type name %0: expected identifier">;
436 "unexpected namespace scope prior to decltype">;
472 "unexpected ':' in nested name specifier; did you mean '::'?">;
572 def err_objc_concat_string : Error<"unexpected token after Objective-C string">;
645 "unexpected end of exception specification">;
677 "unexpected end of default argument expression">;
700 "unexpected %0 in function call; perhaps remove the %0?">;
[all …]
/freebsd/contrib/llvm-project/libc/src/__support/time/gpu/
H A Dclock_gettime.cpp22 return cpp::unexpected(-1); in clock_gettime()
/freebsd/tools/build/options/
H A DWITH_ZONEINFO_LEAPSECONDS_SUPPORT4 and all other applicable standards, and is known to cause unexpected
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_clone/
H A Dzfs_clone_010_pos.ksh79 typeset unexpected=$2
100 if [[ $unexpected -eq 1 ]]; then
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__exception/
H A Doperations.h23 _LIBCPP_NORETURN _LIBCPP_EXPORTED_FROM_ABI void unexpected();
/freebsd/contrib/llvm-project/libcxx/include/__exception/
H A Doperations.h24 [[__noreturn__]] _LIBCPP_EXPORTED_FROM_ABI void unexpected();
/freebsd/bin/sh/tests/errors/
H A Dbad-binary1.1263 # Syntax error: word unexpected (expecting ")")

1234567