Lines Matching refs:T
35 template <typename T> in DEFINE_JNI_TYPE_TRAIT()
36 std::string stringify_helper(const T& val) { in DEFINE_JNI_TYPE_TRAIT()
241 template <typename T>
242 operator T() const { // NOLINT in operator T()
243 return T{}; in operator T()
526 template <typename T>
529 return sizeof(T) == sizeof(int); in operator ()()
558 template <typename T, size_t kMaxSize>
559 constexpr size_t SumUpVector(const nativehelper::detail::ConstexprVector<T, kMaxSize>& vec) { in SumUpVector() argument
561 for (const T& elem : vec) { in SumUpVector()
567 template <typename T>
570 ConstexprVector<T, 5> vec_int; in make_test_int_vector()
571 vec_int.push_back(T{1}); in make_test_int_vector()
572 vec_int.push_back(T{2}); in make_test_int_vector()
573 vec_int.push_back(T{3}); in make_test_int_vector()
574 vec_int.push_back(T{4}); in make_test_int_vector()
575 vec_int.push_back(T{5}); in make_test_int_vector()