Home
last modified time | relevance | path

Searched refs:is_function (Results 1 – 25 of 42) sorted by relevance

12

/freebsd/contrib/llvm-project/libc/src/__support/CPP/type_traits/
H A Dis_function.h23 struct is_function : integral_constant<bool, __is_function(T)> {}; struct
26 struct is_function
30 LIBC_INLINE_VAR constexpr bool is_function_v = is_function<T>::value;
H A Dis_destructible.h57 struct is_destructible : public __destructible_false<T, is_function<T>::value> {
/freebsd/contrib/kyua/utils/fs/
H A Dlua_module_test.cpp50 ATF_REQUIRE(state.is_function(-1)); in ATF_TEST_CASE_BODY()
52 ATF_REQUIRE(state.is_function(-1)); in ATF_TEST_CASE_BODY()
54 ATF_REQUIRE(state.is_function(-1)); in ATF_TEST_CASE_BODY()
/freebsd/contrib/dialog/
H A Ddlg_keys.c644 make_binding(char *widget, int curses_key, int is_function, int dialog_key) in make_binding() argument
660 data[0].is_function_key = is_function; in make_binding()
765 int is_function = FALSE; in dlg_parse_bindkey() local
805 is_function = TRUE; in dlg_parse_bindkey()
810 is_function = (curses_key >= KEY_MIN); in dlg_parse_bindkey()
830 && make_binding(widget, curses_key, is_function, dialog_key) != 0) { in dlg_parse_bindkey()
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__type_traits/
H A Dis_function.h22 struct _LIBCPP_TEMPLATE_VIS is_function : integral_constant<bool, __is_function(_Tp)> {}; struct
H A Ddecay.h49 … __conditional_t<is_function<_Up>::value, typename add_pointer<_Up>::type, __remove_cv_t<_Up> > >
H A Dis_destructible.h75 struct is_destructible : public __destructible_false<_Tp, is_function<_Tp>::value> {};
/freebsd/contrib/llvm-project/libcxx/include/__type_traits/
H A Dis_function.h22 struct _LIBCPP_NO_SPECIALIZATIONS is_function : integral_constant<bool, __is_function(_Tp)> {}; struct
H A Ddecay.h49 … __conditional_t<is_function<_Up>::value, typename add_pointer<_Up>::type, __remove_cv_t<_Up> > >;
H A Dis_destructible.h80 struct is_destructible : __destructible_false<_Tp, is_function<_Tp>::value> {};
/freebsd/contrib/llvm-project/libcxx/include/__new/
H A Dlaunder.h23 static_assert(!(is_function<_Tp>::value), "can't launder functions"); in __launder()
/freebsd/contrib/lutok/
H A Dstate.hpp106 bool is_function(const int);
H A Dstate_test.cpp387 ATF_REQUIRE(!state.is_function(-1)); in ATF_TEST_CASE_BODY()
398 ATF_REQUIRE(state.is_function(-1)); in ATF_TEST_CASE_BODY()
400 ATF_REQUIRE(!state.is_function(-1)); in ATF_TEST_CASE_BODY()
401 ATF_REQUIRE(state.is_function(-2)); in ATF_TEST_CASE_BODY()
H A Dstate.cpp418 lutok::state::is_function(const int index) in is_function() function in lutok::state
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__atomic/
H A Datomic.h81 … static_assert(!is_function<__remove_pointer_t<_Tp> >::value, "Pointer to function isn't allowed");
87 … static_assert(!is_function<__remove_pointer_t<_Tp> >::value, "Pointer to function isn't allowed");
93 … static_assert(!is_function<__remove_pointer_t<_Tp> >::value, "Pointer to function isn't allowed");
99 … static_assert(!is_function<__remove_pointer_t<_Tp> >::value, "Pointer to function isn't allowed");
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DExecutorSymbolDef.h52 std::enable_if_t<std::is_function<T>::value, T *>
H A DExecutorAddress.h129 std::enable_if_t<std::is_function<T>::value, T *>
/freebsd/contrib/llvm-project/libcxx/include/__atomic/
H A Datomic.h288 … static_assert(!is_function<__remove_pointer_t<_Tp> >::value, "Pointer to function isn't allowed");
294 … static_assert(!is_function<__remove_pointer_t<_Tp> >::value, "Pointer to function isn't allowed");
300 … static_assert(!is_function<__remove_pointer_t<_Tp> >::value, "Pointer to function isn't allowed");
306 … static_assert(!is_function<__remove_pointer_t<_Tp> >::value, "Pointer to function isn't allowed");
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
H A Dnew91 #include <__cxx03/__type_traits/is_function.h>
314 static_assert(!(is_function<_Tp>::value), "can't launder functions");
H A Dtype_traits47 template <class T> struct is_function;
271 = is_function<T>::value; // C++17
452 #include <__cxx03/__type_traits/is_function.h>
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__memory/
H A Dpointer_traits.h167 static_assert(!is_function<_Tp>::value, "_Tp is a function type");
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/
H A Dexecutor_address.h92 std::enable_if_t<std::is_function<T>::value, T *>
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/
H A DJITSymbol.h64 std::is_function<std::remove_pointer_t<T>>::value, in jitTargetAddressToFunction()
/freebsd/contrib/llvm-project/libcxx/include/
H A Dtype_traits45 template <class T> struct is_function;
300 = is_function<T>::value; // since C++17
492 # include <__type_traits/is_function.h>
/freebsd/contrib/llvm-project/libcxx/include/__memory/
H A Dpointer_traits.h192 static_assert(!is_function<_Tp>::value, "_Tp is a function type");

12