Home
last modified time | relevance | path

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

12345678910>>...13

/third_party/boost/libs/type_traits/test/
Dis_array_test.cpp20 TT_TEST_BEGIN(is_array)
22 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_array<int>::value, false);
23 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_array<int*>::value, false);
24 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_array<const int*>::value, false);
25 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_array<const volatile int*>::value, false);
26 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_array<int*const>::value, false);
27 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_array<const int*volatile>::value, false);
28 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_array<const volatile int*const>::value, false);
29 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_array<int[2]>::value, true);
30 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_array<const int[2]>::value, true);
[all …]
Dtricky_incomplete_type_test.cpp21 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_array<int[]>::value, true);
22 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_array<int[][3]>::value, true);
23 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_array<const int[]>::value, true);
24 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_array<const int[][3]>::value, true);
25 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_array<volatile int[]>::value, true);
26 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_array<volatile int[][3]>::value, true);
27 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_array<const volatile int[]>::value, true);
28 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_array<const volatile int[][3]>::value, true);
/third_party/boost/boost/type_traits/
Dis_array.hpp23 template <class T> struct is_array : public integral_constant<bool, __is_array(T)> {}; struct
25 template <class T> struct is_array : public false_type {};
27 template <class T, std::size_t N> struct is_array<T[N]> : public true_type {};
28 template <class T, std::size_t N> struct is_array<T const[N]> : public true_type{};
29 template <class T, std::size_t N> struct is_array<T volatile[N]> : public true_type{};
30 template <class T, std::size_t N> struct is_array<T const volatile[N]> : public true_type{};
32 template <class T> struct is_array<T[]> : public true_type{};
33 template <class T> struct is_array<T const[]> : public true_type{};
34 template <class T> struct is_array<T const volatile[]> : public true_type{};
35 template <class T> struct is_array<T volatile[]> : public true_type{};
Dis_convertible.hpp73 … To, bool b = or_helper<boost::is_void<From>, boost::is_function<To>, boost::is_array<To> >::value>
358 …value = ( ::boost::detail::is_convertible_basic_impl<From,To>::value && ! ::boost::is_array<To>::v…
365 …:boost::detail::is_convertible_basic_impl<From, To>::value && !::boost::is_array<To>::value && !::…
483 …SG(boost::is_complete<To>::value || boost::is_void<To>::value || boost::is_array<To>::value, "Dest…
484 …oost::is_complete<From>::value || boost::is_void<From>::value || boost::is_array<From>::value, "Fr…
493 …oost::is_complete<From>::value || boost::is_void<From>::value || boost::is_array<From>::value || b…
497 …SG(boost::is_complete<To>::value || boost::is_void<To>::value || boost::is_array<To>::value, "Dest…
498 …oost::is_complete<From>::value || boost::is_void<From>::value || boost::is_array<From>::value, "Fr…
Dis_enum.hpp113 || is_array<T>::value);
121 || is_array<T>::value);
130 || is_array<T>::value);
/third_party/json/doc/examples/
Dis_array.cpp21 std::cout << j_null.is_array() << '\n'; in main()
22 std::cout << j_boolean.is_array() << '\n'; in main()
23 std::cout << j_number_integer.is_array() << '\n'; in main()
24 std::cout << j_number_unsigned_integer.is_array() << '\n'; in main()
25 std::cout << j_number_float.is_array() << '\n'; in main()
26 std::cout << j_object.is_array() << '\n'; in main()
27 std::cout << j_array.is_array() << '\n'; in main()
28 std::cout << j_string.is_array() << '\n'; in main()
29 std::cout << j_binary.is_array() << '\n'; in main()
/third_party/boost/libs/type_traits/doc/
Dis_array.qbk8 [section:is_array is_array]
10 struct is_array : public __tof {};
17 __header ` #include <boost/type_traits/is_array.hpp>` or ` #include <boost/type_traits.hpp>`
23 [:`is_array<int[2]>` inherits from `__true_type`.]
25 [:`is_array<char[2][3]>::type` is the type `__true_type`.]
27 [:`is_array<double[]>::value` is an integral constant
30 [:`is_array<T>::value_type` is the type `bool`.]
/third_party/boost/libs/move/test/
Dunique_ptr_test_utils_beg.hpp43 static const bool is_array = ::boost::move_upmu::is_array<T>::value; member in def_constr_deleter
54 { is_array ? delete []p : delete p; } in operator ()()
57 { ++state_; is_array ? delete []p : delete p; } in operator ()()
68 static const bool is_array = ::boost::move_upmu::is_array<T>::value; member in copy_constr_deleter
92 { is_array ? delete []p : delete p; } in operator ()()
95 { ++state_; is_array ? delete []p : delete p; } in operator ()()
108 static const bool is_array = ::boost::move_upmu::is_array<T>::value; member in move_constr_deleter
145 { is_array ? delete []p : delete p; } in operator ()()
148 { ++state_; is_array ? delete []p : delete p; } in operator ()()
/third_party/skia/third_party/externals/angle2/src/common/spirv/
Dgen_spirv_builder_and_parser.py330 is_array = quantifier == '*'
334 if is_array:
344 return (type_in, type_out, is_array, is_optional)
346 def get_operand_push_back_line(self, operand, operand_name, is_array, is_optional): argument
359 elif is_array:
390 def get_operand_parse_line(self, operand, operand_name, is_array, is_optional): argument
401 elif is_array:
410 if is_array:
417 if is_array:
424 if is_array:
[all …]
/third_party/mesa3d/src/compiler/glsl/
Dir_set_program_inouts.cpp154 var->data.mode == ir_var_shader_in && type->is_array()) { in mark_whole_variable()
160 assert(type->is_array()); in mark_whole_variable()
166 assert(type->is_array()); in mark_whole_variable()
172 assert(type->is_array()); in mark_whole_variable()
223 assert(type->is_array()); in try_mark_partial_variable()
229 assert(type->is_array()); in try_mark_partial_variable()
235 assert(type->is_array()); in try_mark_partial_variable()
241 assert(type->is_array()); in try_mark_partial_variable()
248 if (type->is_array() && type->fields.array->is_array()) in try_mark_partial_variable()
268 (type->is_array() && in try_mark_partial_variable()
[all …]
Dopt_array_splitting.cpp57 if (var->type->is_array()) in variable_entry()
134 if (!(var->type->is_array() || var->type->is_matrix())) in get_variable_entry()
163 if (var->type->is_array() && var->type->fields.array->is_array()) in get_variable_entry()
192 ir->lhs->type->is_array() && ir->whole_variable_written(); in visit_enter()
407 if (lhs->type->is_array() && ir->whole_variable_written() && in visit_leave()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_enums.c83 bool is_array = glsl_sampler_type_is_array(type); in dxil_get_resource_kind() local
88 return is_array ? DXIL_RESOURCE_KIND_TEXTURE1D_ARRAY in dxil_get_resource_kind()
91 return is_array ? DXIL_RESOURCE_KIND_TEXTURE2D_ARRAY in dxil_get_resource_kind()
96 return is_array ? DXIL_RESOURCE_KIND_TEXTURECUBE_ARRAY in dxil_get_resource_kind()
103 return is_array ? DXIL_RESOURCE_KIND_TEXTURE2DMS_ARRAY in dxil_get_resource_kind()
/third_party/mesa3d/src/panfrost/util/
Dpan_sysval.c58 bool is_array = nir_intrinsic_image_array(instr); in panfrost_sysval_for_image_size() local
60 unsigned dim = nir_intrinsic_dest_components(instr) - is_array; in panfrost_sysval_for_image_size()
62 return PAN_SYSVAL(IMAGE_SIZE, PAN_TXS_SYSVAL_ID(uindex, dim, is_array)); in panfrost_sysval_for_image_size()
123 (tex->is_array ? 1 : 0), in panfrost_sysval_for_instr()
124 tex->is_array)); in panfrost_sysval_for_instr()
/third_party/boost/boost/smart_ptr/
Dmake_unique.hpp22 inline typename enable_if_<!is_array<T>::value, std::unique_ptr<T> >::type
30 inline typename enable_if_<!is_array<T>::value, std::unique_ptr<T> >::type
38 inline typename enable_if_<!is_array<T>::value, std::unique_ptr<T> >::type
45 inline typename enable_if_<!is_array<T>::value, std::unique_ptr<T> >::type
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/codegen/
Dgen_llvm_types.py28 def gen_llvm_type(type, name, idx, is_pointer, is_pointer_pointer, is_array, is_array_array, array_… argument
95 elif is_array:
239 is_array = re.search('\[(\w*)\]', line)
241 if is_array is not None:
242 array_count = is_array.group(1)
243 is_array = True
245 is_array = False
299 … type, name, idx+1, is_pointer, is_pointer_pointer, is_array, is_array_array,
/third_party/json/test/src/
Dunit-inspection.cpp54 CHECK(!j.is_array());
72 CHECK(j.is_array());
90 CHECK(!j.is_array());
108 CHECK(!j.is_array());
126 CHECK(!j.is_array());
144 CHECK(!j.is_array());
162 CHECK(!j.is_array());
180 CHECK(!j.is_array());
198 CHECK(!j.is_array());
216 CHECK(!j.is_array());
Dunit-readme.cpp108 CHECK(empty_array_implicit.is_array()); in skip()
110 CHECK(empty_array_explicit.is_array()); in skip()
118 CHECK(array_not_object.is_array()); in skip()
120 CHECK(array_not_object[0].is_array()); in skip()
121 CHECK(array_not_object[1].is_array()); in skip()
/third_party/mesa3d/src/amd/common/
Dac_shader_util.c224 bool is_array) in ac_get_sampler_dim() argument
229 return is_array ? ac_image_2darray : ac_image_2d; in ac_get_sampler_dim()
230 return is_array ? ac_image_1darray : ac_image_1d; in ac_get_sampler_dim()
234 return is_array ? ac_image_2darray : ac_image_2d; in ac_get_sampler_dim()
240 return is_array ? ac_image_2darraymsaa : ac_image_2dmsaa; in ac_get_sampler_dim()
251 bool is_array) in ac_get_image_dim() argument
253 enum ac_image_dim dim = ac_get_sampler_dim(chip_class, sdim, is_array); in ac_get_image_dim()
258 else if (sdim == GLSL_SAMPLER_DIM_2D && !is_array && chip_class == GFX9) { in ac_get_image_dim()
/third_party/boost/boost/ptr_container/detail/
Dis_convertible.hpp40 is_array<T>,
41 is_array<U>,
52 is_array<T>,
/third_party/spirv-tools/source/opt/
Ddesc_sroa.cpp217 const bool is_array = pointee_type_inst->opcode() == SpvOpTypeArray; in GetReplacementVariable() local
219 assert((is_array || is_struct) && in GetReplacementVariable()
224 if (is_array) { in GetReplacementVariable()
267 const bool is_array = pointee_type_inst->opcode() == SpvOpTypeArray; in CreateReplacementVariable() local
269 assert((is_array || is_struct) && in CreateReplacementVariable()
273 is_array ? pointee_type_inst->GetSingleWordInOperand(0) in CreateReplacementVariable()
300 if (is_array) { in CreateReplacementVariable()
321 if (is_array) { in CreateReplacementVariable()
/third_party/mesa3d/src/compiler/
Dglsl_types.h978 bool is_array() const in is_array() function
985 return is_array() && fields.array->is_array(); in is_array_of_arrays()
1046 while (t->is_array()) in without_array()
1058 if (!is_array()) in arrays_of_arrays_size()
1064 while (array_base_type->is_array()) { in arrays_of_arrays_size()
1095 else if (is_array()) in atomic_size()
1185 return is_array() ? length : -1; in array_size()
1193 return is_array() && length == 0; in is_unsized_array()
/third_party/boost/boost/log/utility/manipulators/
Doptional.hpp184 !is_scalar< OptionalT >::value && !is_array< OptionalT >::value && is_scalar< NoneT >::value,
202 !is_scalar< OptionalT >::value && !is_array< OptionalT >::value && !is_scalar< NoneT >::value,
220 !is_scalar< OptionalT >::value && !is_array< OptionalT >::value,
254 !is_scalar< OptionalT >::value && !is_array< OptionalT >::value,
/third_party/libphonenumber/cpp/src/phonenumbers/base/
Dtemplate_util.h33 template<class> struct is_array : public false_type {};
34 template<class T, size_t n> struct is_array<T[n]> : public true_type {};
35 template<class T> struct is_array<T[]> : public true_type {};
/third_party/boost/boost/lambda/detail/
Dlambda_functors.hpp27 typename lazy_disable_if<is_array<A1>, typename R1 >::type
29 typename lazy_disable_if<mpl::or_<is_array<A1>, is_array<A2> >, typename R1, R2 >::type
31 …typename lazy_disable_if<mpl::or_<is_array<A1>, is_array<A2>, is_array<A3> >, typename R1, R2, R3 …
/third_party/json/include/nlohmann/detail/conversions/
Dfrom_json.hpp134 if (JSON_HEDLEY_UNLIKELY(!j.is_array())) in from_json()
151 if (JSON_HEDLEY_UNLIKELY(!j.is_array())) in from_json()
242 if (JSON_HEDLEY_UNLIKELY(!j.is_array()))
349 if (JSON_HEDLEY_UNLIKELY(!j.is_array())) in from_json()
356 if (JSON_HEDLEY_UNLIKELY(!p.is_array())) in from_json()
369 if (JSON_HEDLEY_UNLIKELY(!j.is_array())) in from_json()
376 if (JSON_HEDLEY_UNLIKELY(!p.is_array())) in from_json()

12345678910>>...13