Home
last modified time | relevance | path

Searched refs:add_const (Results 1 – 25 of 58) sorted by relevance

123

/external/mesa3d/src/compiler/glsl/
Dbuiltin_variables.cpp454 ir_variable *add_const(const char *name, int precision, int value);
455 ir_variable *add_const(const char *name, int value) in add_const() function in __anon50b65e060111::builtin_variable_generator
457 return add_const(name, GLSL_PRECISION_MEDIUM, value); in add_const()
656 builtin_variable_generator::add_const(const char *name, int precision, in add_const() function in __anon50b65e060111::builtin_variable_generator
691 add_const("gl_MaxVertexAttribs", state->Const.MaxVertexAttribs); in generate_constants()
692 add_const("gl_MaxVertexTextureImageUnits", in generate_constants()
694 add_const("gl_MaxCombinedTextureImageUnits", in generate_constants()
696 add_const("gl_MaxTextureImageUnits", state->Const.MaxTextureImageUnits); in generate_constants()
697 add_const("gl_MaxDrawBuffers", state->Const.MaxDrawBuffers); in generate_constants()
704 add_const("gl_MaxFragmentUniformComponents", in generate_constants()
[all …]
/external/tensorflow/tensorflow/compiler/aot/tests/
Dtfcompile_test.cc91 const AddComp& add_const = add; in TEST() local
92 EXPECT_EQ(add_const.error_msg(), ""); in TEST()
93 EXPECT_EQ(add_const.arg0(), 123); in TEST()
94 EXPECT_EQ(add_const.arg0_data()[0], 123); in TEST()
95 EXPECT_EQ(add_const.arg0_data(), add.arg_data(0)); in TEST()
96 EXPECT_EQ(add_const.arg1(), 456); in TEST()
97 EXPECT_EQ(add_const.arg1_data()[0], 456); in TEST()
98 EXPECT_EQ(add_const.arg1_data(), add.arg_data(1)); in TEST()
99 EXPECT_EQ(add_const.result0(), 579); in TEST()
100 EXPECT_EQ(add_const.result0_data()[0], 579); in TEST()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/
Dcase_op.pbtxt118 name: "add_const"
153 input: "add_const"
188 name: "add_const"
223 input: "add_const"
/external/eigen/test/
Dmeta.cpp35 VERIFY(( internal::is_same< internal::add_const<float>::type, const float >::value)); in test_meta()
36 VERIFY(( internal::is_same< internal::add_const<float*>::type, float* const>::value)); in test_meta()
37 VERIFY(( internal::is_same< internal::add_const<float const*>::type, float const* const>::value)); in test_meta()
38 VERIFY(( internal::is_same< internal::add_const<float&>::type, float& >::value)); in test_meta()
Dsparse_ref.cpp37 typedef typename internal::add_const<PlainObjectType>::type ConstPlainObjectType; in check_const_correctness()
/external/llvm-project/libcxx/test/std/concepts/lang/
Dsame_as.pass.cpp189 CheckSameAs<std::add_const>(); in main()
230 CheckNotSameAs<identity, std::add_const>(); in main()
231 CheckNotSameAs<std::add_const, identity>(); in main()
242 CheckNotSameAs<std::add_const, std::add_volatile>(); in main()
243 CheckNotSameAs<std::add_volatile, std::add_const>(); in main()
246 CheckNotSameAs<std::add_const, std::add_cv>(); in main()
247 CheckNotSameAs<std::add_cv, std::add_const>(); in main()
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dreadability-const-return-type.cpp10 template< class T> struct add_const { typedef const T type; }; struct
38 typename std::add_const<T>::type n15(T v) { return v; } in n15()
242 std::add_const<int>::type p28() { return 3; } in p28()
/external/llvm-project/clang/test/CXX/temp/temp.decls/temp.variadic/
Dmulti-level-substitution.cpp167 template<class> struct add_const;
181 int check10[X5<add_reference, add_pointer, add_const>
184 add_const<double>>>::value == 1? 1 : -1];
188 add_const<double>>>::value == 0? 1 : -1];
Dmetafunctions.cpp187 struct add_const { struct
192 add_reference, add_pointer, add_const>::type,
201 add_const>::type,
/external/clang/test/CXX/temp/temp.decls/temp.variadic/
Dmulti-level-substitution.cpp167 template<class> struct add_const;
181 int check10[X5<add_reference, add_pointer, add_const>
184 add_const<double>>>::value == 1? 1 : -1];
188 add_const<double>>>::value == 0? 1 : -1];
Dmetafunctions.cpp187 struct add_const { struct
192 add_reference, add_pointer, add_const>::type,
201 add_const>::type,
/external/parameter-framework/asio-1.10.6/include/asio/detail/
Dtype_traits.hpp21 using std::add_const;
/external/llvm-project/libcxx/test/std/utilities/meta/meta.trans/meta.trans.cv/
Dadd_const.pass.cpp20 ASSERT_SAME_TYPE(const U, typename std::add_const<T>::type); in test_add_const_imp()
/external/libcxx/test/std/utilities/meta/meta.trans/meta.trans.cv/
Dadd_const.pass.cpp21 static_assert((std::is_same<typename std::add_const<T>::type, const U>::value), ""); in test_add_const_imp()
/external/libaom/libaom/av1/common/x86/
Dreconinter_sse4.c108 const __m128i add_const = in av1_build_compound_diffwtd_mask_d16_sse4_1() local
138 const __m128i diff_const_16 = _mm_add_epi16(diff_sign, add_const); in av1_build_compound_diffwtd_mask_d16_sse4_1()
/external/eigen/Eigen/src/Core/
DSolverBase.h82 typedef typename internal::add_const<Transpose<const Derived> >::type ConstTransposeReturnType;
DGeneralProduct.h305 typename add_const<ActualLhsType>::type actualLhs = LhsBlasTraits::extract(lhs);
306 typename add_const<ActualRhsType>::type actualRhs = RhsBlasTraits::extract(rhs);
DMatrixBase.h218 typedef typename internal::add_const<Diagonal<const Derived> >::type ConstDiagonalReturnType;
234 …typedef typename internal::add_const<Diagonal<const Derived,DynamicIndex> >::type ConstDiagonalDyn…
/external/clang/test/Analysis/Inputs/
Dsystem-header-simulator-cxx.h152 template <class _Tp> struct add_const {typedef typename __add_const<_Tp>::type type;};
161 typename add_lvalue_reference<typename add_const<_Tp>::type>::type> {};
/external/smali/dexlib2/src/main/ragel/
DSyntheticAccessorFSM.rl111 add_const = (add_int_lit8 | add_int_lit16) @ {
180 increment_accessor = get add_const type_conversion? put return_something @ {
/external/libaom/libaom/av1/common/arm/
Dwarp_plane_neon.c227 const int32x4_t add_const = vdupq_n_s32((int32_t)(1 << offset_bits_horiz)); in horizontal_filter_neon() local
300 tmp_res_low = vaddq_s32(tmp_res_low, add_const); in horizontal_filter_neon()
301 tmp_res_high = vaddq_s32(tmp_res_high, add_const); in horizontal_filter_neon()
/external/rust/cxx/book/src/binding/
Dbox.md18 typename std::add_pointer<typename std::add_const<T>::type>::type;
/external/skqp/include/private/
DSkTLogic.h37 template <typename T> using add_const_t = typename std::add_const<T>::type;
/external/abseil-cpp/absl/meta/
Dtype_traits.h281 std::is_const<typename std::add_const<T>::type>::value)> {};
568 using add_const_t = typename std::add_const<T>::type;
/external/webrtc/third_party/abseil-cpp/absl/meta/
Dtype_traits.h281 std::is_const<typename std::add_const<T>::type>::value)> {};
568 using add_const_t = typename std::add_const<T>::type;

123