Lines Matching refs:T
172 template<typename T, size_t kMaxSize>
218 T _value;
242 constexpr void push_back(const T& value) { in push_back()
253 constexpr const T& operator[](size_t i) const {
257 constexpr T& operator[](size_t i) {
300 template<typename T>
307 constexpr ConstexprOptional(const T& value) // NOLINT(google-explicit-constructor) in ConstexprOptional()
319 constexpr const T& value() const { in value()
324 constexpr const T* operator->() const {
328 constexpr const T& operator*() const {
338 T _value;
342 template<typename T>
344 operator==(const ConstexprOptional<T>& lhs, const ConstexprOptional<T>& rhs) {
351 template<typename T>
353 operator!=(const ConstexprOptional<T>& lhs, const ConstexprOptional<T>& rhs) {
357 template<typename T>
358 inline std::ostream& operator<<(std::ostream& os, const ConstexprOptional<T>& val) {
369 template<typename T>
370 constexpr operator ConstexprOptional<T>() const { // NOLINT(google-explicit-constructor)
371 return ConstexprOptional<T>();
546 template<typename T, size_t kMaxSize>
548 ConstexprVector<T, kMaxSize> args;
549 T ret;
555 template<typename T, size_t kMaxSize>
558 const FunctionSignatureDescriptor<T, kMaxSize>& signature) {
703 template<typename T>
721 template<typename T>
725 using TR = jni_type_trait<T>; in Reify()
869 template <typename T>
872 using expected_trait = jni_type_trait<typename std::remove_cv<T>::type>; in IsValidJniParameter()
938 template<NativeKind native_kind, size_t position, typename T>
939 struct is_valid_jni_argument_type<native_kind, position, T> {
941 IsValidJniParameter<T>(native_kind, ConvertPositionToAllowed(position));
944 template<NativeKind native_kind, size_t position, typename T, typename ... Args>
945 struct is_valid_jni_argument_type<native_kind, position, T, Args...> {
947 IsValidJniParameter<T>(native_kind, ConvertPositionToAllowed(position))
954 template<NativeKind native_kind, typename T, T fn>
968 template<NativeKind native_kind, typename T, T fn>
970 return is_valid_jni_function_type_helper<native_kind, T, fn>::value;
976 template<typename T, size_t N>
987 T _array[N];
993 using iterator = T*;
994 using const_iterator = const T*;
1012 constexpr T& operator[](size_t i) {
1016 constexpr const T& operator[](size_t i) const {
1039 template<typename T, T fn>
1064 template<typename T>
1088 template<typename T>
1091 auto res = ReifiedJniTypeTrait::Reify<T>();
1109 typename T,
1110 T fn,
1111 size_t kMaxSize = FunctionTypeMetafunction<T, fn>::count>
1114 if (!IsValidJniFunctionType<native_kind, T, fn>()) {
1119 FunctionTypeMetafunction<T,
1126 FunctionTypeMetafunction<T, fn>::template map_args<ReifyJniTypeMetafunction>();
1221 template<NativeKind native_kind, typename T, T fn, size_t kMaxSize>
1224 constexpr size_t kReifiedMaxSize = FunctionTypeMetafunction<T, fn>::count;
1228 MaybeMakeReifiedJniSignature<native_kind, T, fn>();
1270 template<NativeKind native_kind, typename T, T fn>
1272 static constexpr size_t kMaxSize = FunctionTypeMetafunction<T, fn>::count;
1285 MaybeMakeReifiedJniSignature<native_kind, T, fn>();