Home
last modified time | relevance | path

Searched refs:is_array (Results 1 – 25 of 45) sorted by relevance

12

/freebsd/contrib/libucl/src/
H A Ducl_emitter_streamline.c33 bool is_array; member
106 if (top && !top->is_array) { in ucl_object_emit_streamline_start_container()
112 st->is_array = true; in ucl_object_emit_streamline_start_container()
116 st->is_array = false; in ucl_object_emit_streamline_start_container()
135 bool is_array = false, is_first = false; in ucl_object_emit_streamline_add_object() local
138 if (sctx->containers->is_array) { in ucl_object_emit_streamline_add_object()
139 is_array = true; in ucl_object_emit_streamline_add_object()
147 sctx->ops->ucl_emitter_write_elt(ctx, obj, is_first, !is_array); in ucl_object_emit_streamline_add_object()
158 if (st->is_array) { in ucl_object_emit_streamline_end_container()
H A Ducl_emitter.c164 const ucl_object_t *obj, bool compact, bool is_array) in ucl_emitter_finish_object() argument
170 if (!is_array) { in ucl_emitter_finish_object()
H A Ducl_parser.c664 bool is_array, uint32_t level, bool has_obrace) in ucl_parser_add_container() argument
670 nobj = ucl_object_new_full(is_array ? UCL_ARRAY : UCL_OBJECT, parser->chunks->priority); in ucl_parser_add_container()
676 if (obj->type == (is_array ? UCL_OBJECT : UCL_ARRAY)) { in ucl_parser_add_container()
685 nobj->type = is_array ? UCL_ARRAY : UCL_OBJECT; in ucl_parser_add_container()
688 if (!is_array) { in ucl_parser_add_container()
/freebsd/contrib/llvm-project/libcxx/include/__type_traits/
H A Dis_array.h26 struct _LIBCPP_NO_SPECIALIZATIONS is_array : _BoolConstant<__is_array(_Tp)> {}; struct
36 struct is_array : public false_type {};
38 struct is_array<_Tp[]> : public true_type {};
40 struct is_array<_Tp[_Np]> : public true_type {};
44 inline constexpr bool is_array_v = is_array<_Tp>::value;
H A Ddecay.h47 __conditional_t<is_array<_Up>::value,
/freebsd/contrib/llvm-project/libc/src/__support/CPP/type_traits/
H A Dis_array.h22 template <class T> struct is_array : false_type {}; struct
23 template <class T> struct is_array<T[]> : true_type {};
24 template <class T, size_t N> struct is_array<T[N]> : true_type {};
26 LIBC_INLINE_VAR constexpr bool is_array_v = is_array<T>::value;
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__type_traits/
H A Dis_array.h26 struct _LIBCPP_TEMPLATE_VIS is_array : _BoolConstant<__is_array(_Tp)> {}; struct
31 struct _LIBCPP_TEMPLATE_VIS is_array : public false_type {};
33 struct _LIBCPP_TEMPLATE_VIS is_array<_Tp[]> : public true_type {};
35 struct _LIBCPP_TEMPLATE_VIS is_array<_Tp[_Np]> : public true_type {};
H A Ddecay.h47 __conditional_t<is_array<_Up>::value,
/freebsd/tests/atf_python/sys/netpfil/ipfw/
H A Dutils.py48 is_array: bool = False variable in AttrDescr
57 ret[ad.val.value]["is_array"] = ad.is_array
/freebsd/tests/atf_python/sys/netlink/
H A Dutils.py37 is_array: bool = False variable in AttrDescr
46 ret[ad.val.value]["is_array"] = ad.is_array
/freebsd/contrib/llvm-project/libcxx/include/__memory/
H A Dconstruct_at.h58 template <class _Tp, __enable_if_t<!is_array<_Tp>::value, int> = 0>
65 template <class _Tp, __enable_if_t<is_array<_Tp>::value, int> = 0>
H A Dshared_ptr.h256 struct __raw_pointer_compatible_with : _And< _Not<is_array<_Tp>>, is_convertible<_Yp*, _Tp*> > {};
340 … _If<is_array<_Tp>::value, __is_array_deletable<_Yp*>, __is_deletable<_Yp*> >
588 …__enable_if_t<!is_array<_Yp>::value && is_convertible<_Yp*, typename shared_ptr<_Tp>::element_type…
636 …static_assert(!is_array<_Tp>::value, "std::shared_ptr<T>::operator-> is only valid when T is not a…
662 …static_assert(is_array<_Tp>::value, "std::shared_ptr<T>::operator[] is only valid when T is an arr…
731 template <class _Tp, class _Alloc, class... _Args, __enable_if_t<!is_array<_Tp>::value, int> = 0>
742 template <class _Tp, class... _Args, __enable_if_t<!is_array<_Tp>::value, int> = 0>
749 template <class _Tp, class _Alloc, __enable_if_t<!is_array<_Tp>::value, int> = 0>
756 template <class _Tp, __enable_if_t<!is_array<_Tp>::value, int> = 0>
H A Dunique_ptr.h174 … __enable_if_t< is_convertible<typename _UPtr::pointer, pointer>::value && !is_array<_Up>::value >;
464 __enable_if_t< is_array<_Up>::value && is_same<pointer, element_type*>::value &&
757 template <class _Tp, class... _Args, enable_if_t<!is_array<_Tp>::value, int> = 0>
/freebsd/contrib/libucl/lua/
H A Dlua_ucl.c338 bool is_array = true, is_implicit = false, found_mt = false; in ucl_object_lua_fromtable() local
353 is_array = false; in ucl_object_lua_fromtable()
356 is_array = true; in ucl_object_lua_fromtable()
365 is_array = true; in ucl_object_lua_fromtable()
396 is_array = false; in ucl_object_lua_fromtable()
401 is_array = false; in ucl_object_lua_fromtable()
410 if (is_array) { in ucl_object_lua_fromtable()
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__memory/
H A Dconstruct_at.h50 template <class _Tp, __enable_if_t<!is_array<_Tp>::value, int> = 0>
H A Dshared_ptr.h611 …__enable_if_t<!is_array<_Yp>::value && is_convertible<_Yp*, typename shared_ptr<_Tp>::element_type…
658 …static_assert(!is_array<_Tp>::value, "std::shared_ptr<T>::operator-> is only valid when T is not a…
737 template <class _Tp, class _Alloc, class... _Args, __enable_if_t<!is_array<_Tp>::value, int> = 0>
748 template <class _Tp, class... _Args, __enable_if_t<!is_array<_Tp>::value, int> = 0>
H A Dunique_ptr.h157 … __enable_if_t< is_convertible<typename _UPtr::pointer, pointer>::value && !is_array<_Up>::value >;
312 __enable_if_t< is_array<_Up>::value && is_same<pointer, element_type*>::value &&
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_safe_c_api.h38 template <typename T, bool B = std::is_array<T>::value>
/freebsd/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/
H A D_nvlist.py239 is_array = bool(_lib.nvpair_type_is_array(pair))
243 if is_array:
/freebsd/contrib/llvm-project/llvm/include/llvm/Bitcode/
H A DBitcodeConvenience.h336 template <typename T> struct is_array {
350 using has_array = is_array<typename last_type<int, Types...>::type>;
/freebsd/sys/dev/hptmv/
H A Dhptproc.c546 is_array: in hpt_get_info()
558 goto is_array; in hpt_get_info()
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
H A Dtype_traits38 template <class T> struct is_array;
253 = is_array<T>::value; // C++17
440 #include <__cxx03/__type_traits/is_array.h>
/freebsd/contrib/llvm-project/libcxx/include/
H A Dtype_traits36 template <class T> struct is_array;
282 = is_array<T>::value; // since C++17
480 # include <__type_traits/is_array.h>
/freebsd/contrib/llvm-project/libcxx/include/experimental/
H A Dpropagate_const121 # include <__type_traits/is_array.h>
163 …static_assert(!is_array<_Tp>::value, "Instantiation of propagate_const with an array type is ill-f…
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dtype_traits.cppm

12