Home
last modified time | relevance | path

Searched refs:is_expected (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/libc/src/__support/CPP/
H A Dexpected.h35 bool is_expected; variable
38 LIBC_INLINE constexpr expected(T exp) : exp(exp), is_expected(true) {} in expected()
40 : unexp(unexp.error()), is_expected(false) {} in expected()
42 LIBC_INLINE constexpr bool has_value() const { return is_expected; } in has_value()
49 LIBC_INLINE constexpr operator bool() const { return is_expected; }
/freebsd/contrib/ncurses/ncurses/tinfo/
H A Dlib_setup.c309 is_expected(const char *value, const char *expected) in is_expected() function
413 && is_expected(user7, "6n") in _nc_check_screensize()
414 && (is_expected(user6, "%i%d;%dR") || in _nc_check_screensize()
415 is_expected(user6, "%i%p1%d;%p2%dR")) in _nc_check_screensize()