Home
last modified time | relevance | path

Searched refs:is_scalar (Results 1 – 25 of 152) sorted by relevance

1234567

/third_party/boost/libs/type_traits/test/
Dis_scalar_test.cpp15 TT_TEST_BEGIN(is_scalar)
17 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_scalar<bool>::value, true);
18 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_scalar<bool const>::value, true);
19 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_scalar<bool volatile>::value, true);
20 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_scalar<bool const volatile>::value, true);
22 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_scalar<signed char>::value, true);
23 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_scalar<signed char const>::value, true);
24 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_scalar<signed char volatile>::value, true);
25 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_scalar<signed char const volatile>::value, true);
26 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_scalar<unsigned char>::value, true);
[all …]
Dtricky_function_type_test.cpp34 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_scalar<foo0_t>::value, false);
52 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_scalar<foo1_t>::value, false);
62 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_scalar<foo2_t>::value, false);
72 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_scalar<foo3_t>::value, false);
82 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_scalar<foo4_t>::value, false);
/third_party/boost/libs/qvm/test/
Dscalar_traits_test.cpp21 tester<is_scalar<char>::value> t1;
22 tester<is_scalar<signed char>::value> t2;
23 tester<is_scalar<unsigned char>::value> t3;
24 tester<is_scalar<signed short>::value> t4;
25 tester<is_scalar<unsigned short>::value> t5;
26 tester<is_scalar<signed int>::value> t6;
27 tester<is_scalar<unsigned int>::value> t7;
28 tester<is_scalar<signed long>::value> t8;
29 tester<is_scalar<unsigned long>::value> t9;
30 tester<is_scalar<float>::value> t10;
[all …]
/third_party/boost/boost/qvm/
Dscalar_traits.hpp35 is_scalar struct
39 template <> struct is_scalar<char> { static bool const value=true; }; struct
40 template <> struct is_scalar<signed char> { static bool const value=true; }; argument
41 template <> struct is_scalar<unsigned char> { static bool const value=true; }; struct
42 template <> struct is_scalar<signed short> { static bool const value=true; }; argument
43 template <> struct is_scalar<unsigned short> { static bool const value=true; }; struct
44 template <> struct is_scalar<signed int> { static bool const value=true; }; argument
45 template <> struct is_scalar<unsigned int> { static bool const value=true; }; struct
46 template <> struct is_scalar<signed long> { static bool const value=true; }; struct
47 template <> struct is_scalar<unsigned long> { static bool const value=true; }; struct
[all …]
/third_party/boost/boost/log/utility/manipulators/
Doptional.hpp43 is_scalar< OptionalT >::value,
49 is_scalar< NoneT >::value,
85 is_scalar< OptionalT >::value,
130 is_scalar< OptionalT >::value && is_scalar< NoneT >::value,
148 is_scalar< OptionalT >::value && !is_scalar< NoneT >::value,
166 is_scalar< OptionalT >::value,
184 !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,
237 is_scalar< OptionalT >::value,
[all …]
Drange.hpp45 is_scalar< DelimiterT >::value,
135 is_scalar< DelimiterT >::value,
153 is_scalar< DelimiterT >::value,
Dtuple.hpp45 is_scalar< DelimiterT >::value,
168 is_scalar< DelimiterT >::value,
186 is_scalar< DelimiterT >::value,
Dadd_value.hpp65 is_scalar< value_type >::value,
71 is_scalar< value_type >::value,
/third_party/boost/libs/type_traits/doc/
Dis_scalar.qbk8 [section:is_scalar is_scalar]
10 struct is_scalar : public __tof {};
18 __header ` #include <boost/type_traits/is_scalar.hpp>` or ` #include <boost/type_traits.hpp>`
24 [:`is_scalar<int*>` inherits from `__true_type`.]
26 [:`is_scalar<int>::type` is the type `__true_type`.]
28 [:`is_scalar<double>::value` is an integral constant
31 [:`is_scalar<int (*)(long)>::value` is an integral constant
34 [:`is_scalar<int (MyClass::*)(long)>::value` is an integral constant
37 [:`is_scalar<int (MyClass::*)>::value` is an integral constant
40 [:`is_scalar<T>::value_type` is the type `bool`.]
/third_party/boost/libs/numeric/ublas/test/tensor/
Dtest_extents.cpp274 BOOST_CHECK( ! e0.is_scalar());
280 BOOST_CHECK( e1.is_scalar() );
286 BOOST_CHECK( ! e2.is_scalar() );
292 BOOST_CHECK( ! e3.is_scalar() );
298 BOOST_CHECK( ! e4.is_scalar() );
304 BOOST_CHECK( ! e5.is_scalar() );
310 BOOST_CHECK( ! e6.is_scalar() );
316 BOOST_CHECK( ! e7.is_scalar() );
322 BOOST_CHECK( ! e8.is_scalar() );
328 BOOST_CHECK( ! e9.is_scalar() );
[all …]
/third_party/mesa3d/src/intel/compiler/
Dbrw_nir.c525 bool is_scalar, bool allow_copies) in brw_nir_optimize() argument
550 if (is_scalar) { in brw_nir_optimize()
558 if (is_scalar) { in brw_nir_optimize()
584 const bool is_vec4_tessellation = !is_scalar && in brw_nir_optimize()
765 const bool is_scalar = compiler->scalar_stage[nir->info.stage]; in brw_preprocess_nir() local
769 if (is_scalar) { in brw_preprocess_nir()
805 brw_nir_optimize(nir, compiler, is_scalar, true); in brw_preprocess_nir()
812 if (is_scalar) { in brw_preprocess_nir()
833 .lower_vote_trivial = !is_scalar, in brw_preprocess_nir()
859 if (is_scalar && !(indirect_mask & nir_var_function_temp)) in brw_preprocess_nir()
[all …]
Dbrw_shader.h136 const bool is_scalar = compiler->scalar_stage[stage]; in brw_nir_no_indirect_mask() local
146 if (!is_scalar) in brw_nir_no_indirect_mask()
155 if (is_scalar && stage != MESA_SHADER_TESS_CTRL) in brw_nir_no_indirect_mask()
168 if (is_scalar && devinfo->verx10 <= 70) in brw_nir_no_indirect_mask()
Dbrw_nir.h138 bool is_scalar,
155 bool is_scalar);
165 bool is_scalar);
183 bool is_scalar,
Dbrw_vec4_tcs.cpp370 const bool is_scalar = compiler->scalar_stage[MESA_SHADER_TESS_CTRL]; in brw_compile_tcs() local
386 brw_nir_apply_key(nir, compiler, &key->base, 8, is_scalar); in brw_compile_tcs()
393 brw_postprocess_nir(nir, compiler, is_scalar, debug_enabled, in brw_compile_tcs()
414 unsigned verts_per_thread = is_scalar ? 8 : 2; in brw_compile_tcs()
460 if (is_scalar) { in brw_compile_tcs()
/third_party/boost/boost/parameter/
Dkeyword.hpp62 ::std::is_scalar<T>
78 ::boost::is_scalar<T>
110 ::std::is_scalar<Default>
126 ::boost::is_scalar<Default>
275 ::std::is_scalar<T>
291 ::boost::is_scalar<T>
323 ::std::is_scalar<T>
339 ::boost::is_scalar<T>
370 ::std::is_scalar<Default>
386 ::boost::is_scalar<Default>
[all …]
/third_party/mesa3d/src/compiler/glsl/
Dir_validate.cpp151 if (!ir->array_index->type->is_scalar()) { in visit_enter()
737 if (ir->operands[0]->type->is_scalar()) in visit_leave()
739 else if (ir->operands[1]->type->is_scalar()) in visit_leave()
791 || ir->operands[0]->type->is_scalar()); in visit_leave()
809 if (ir->operands[0]->type->is_scalar()) { in visit_leave()
810 assert(ir->operands[1]->type->is_scalar()); in visit_leave()
866 assert(ir->operands[1]->type->is_scalar() in visit_leave()
922 assert(ir->operands[1]->type->is_scalar()); in visit_leave()
924 assert(ir->operands[2]->type->is_scalar() in visit_leave()
948 assert(ir->operands[0]->type->is_scalar()); in visit_leave()
[all …]
/third_party/boost/boost/optional/detail/
Dexperimental_traits.hpp79 : boost::conditional<(boost::is_scalar<T>::value && !boost::is_const<T>::value && !boost::is_volati…
90 … (boost::is_scalar<T>::value && !boost::is_const<T>::value && !boost::is_volatile<T>::value)
96 …: boost::conditional<(boost::is_scalar<T>::value && !boost::is_const<T>::value && !boost::is_volat…
/third_party/boost/boost/gil/extension/numeric/
Dchannel_numeric_operations.hpp123 static_assert(std::is_scalar<Scalar>::value, "Scalar not a scalar");
142 static_assert(std::is_scalar<Scalar>::value, "Scalar not a scalar");
164 static_assert(std::is_scalar<Scalar>::value, "Scalar not a scalar");
185 static_assert(std::is_scalar<Scalar>::value, "Scalar not a scalar");
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_nir_uniforms.cpp33 bool is_scalar) in brw_nir_setup_glsl_builtin_uniform() argument
59 if (swiz == last_swiz && is_scalar) in brw_nir_setup_glsl_builtin_uniform()
151 bool is_scalar) in brw_nir_setup_glsl_uniform() argument
204 if (!is_scalar) { in brw_nir_setup_glsl_uniform()
219 bool is_scalar) in brw_nir_setup_glsl_uniforms() argument
233 is_scalar); in brw_nir_setup_glsl_uniforms()
236 stage_prog_data, is_scalar); in brw_nir_setup_glsl_uniforms()
/third_party/skia/third_party/externals/tint/src/sem/
Dconstant.cc30 if (ty->is_scalar()) { in ElemType()
44 TINT_ASSERT(Semantic, vec->type()->is_scalar()); in ElemType()
Dtype.cc67 bool Type::is_scalar() const { in is_scalar() function in tint::sem::Type
140 return Is([](const Vector* v) { return v->type()->is_scalar(); }); in is_scalar_vector()
/third_party/boost/boost/spirit/home/support/nonterminal/
Dexpand_arg.hpp35 mpl::or_<is_scalar<T>, traits::is_string<T> >
76 return call(x, mpl::or_<is_scalar<T>, traits::is_string<T> >()); in operator ()()
/third_party/boost/boost/qvm/gen/
Dmat_operations2.hpp455 mat_traits<A>::rows==2 && mat_traits<A>::cols==2 && is_scalar<B>::value,
491 is_scalar<A>::value && mat_traits<B>::rows==2 && mat_traits<B>::cols==2,
527 mat_traits<A>::rows==2 && mat_traits<A>::cols==1 && is_scalar<B>::value,
561 is_scalar<A>::value && mat_traits<B>::rows==2 && mat_traits<B>::cols==1,
595 mat_traits<A>::rows==1 && mat_traits<A>::cols==2 && is_scalar<B>::value,
629 is_scalar<A>::value && mat_traits<B>::rows==1 && mat_traits<B>::cols==2,
663 mat_traits<A>::rows==2 && mat_traits<A>::cols==2 && is_scalar<B>::value,
697 mat_traits<A>::rows==2 && mat_traits<A>::cols==1 && is_scalar<B>::value,
729 mat_traits<A>::rows==1 && mat_traits<A>::cols==2 && is_scalar<B>::value,
761 mat_traits<A>::rows==2 && mat_traits<A>::cols==2 && is_scalar<B>::value,
[all …]
Dvec_operations2.hpp162 vec_traits<A>::dim==2 && is_scalar<B>::value,
196 is_scalar<A>::value && vec_traits<B>::dim==2,
230 vec_traits<A>::dim==2 && is_scalar<B>::value,
262 vec_traits<A>::dim==2 && is_scalar<B>::value,
296 vec_traits<A>::dim==2 && is_scalar<B>::value,
/third_party/boost/boost/python/detail/
Dtype_traits.hpp59 using boost::is_scalar;
92 using std::is_scalar;

1234567