Searched refs:T (Results 1 – 6 of 6) sorted by relevance
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 {[all …]
26 template<typename T>29 ScopedLocalRef(JNIEnv* env, T localRef) : mEnv(env), mLocalRef(localRef) { in ScopedLocalRef()42 void reset(T ptr = NULL) {51 T release() __attribute__((warn_unused_result)) { in release()52 T localRef = mLocalRef; in release()57 T get() const { in get()86 T mLocalRef;
26 #define POINTER_TYPE(T) T* /* NOLINT */ argument32 #define REFERENCE_TYPE(T) T& /* NOLINT */ argument
36 template <typename T> in DEFINE_JNI_TYPE_TRAIT()37 std::string stringify_helper(const T& val) { in DEFINE_JNI_TYPE_TRAIT()242 template <typename T>243 operator T() const { // NOLINT in operator T()244 return T{}; in operator T()527 template <typename T>530 return sizeof(T) == sizeof(int); in operator ()()559 template <typename T, size_t kMaxSize>560 constexpr size_t SumUpVector(const nativehelper::detail::ConstexprVector<T, kMaxSize>& vec) { in SumUpVector() argument562 for (const T& elem : vec) { in SumUpVector()[all …]
31 template<typename T>34 explicit scoped_local_ref(C_JNIEnv* env, T localRef = NULL) in scoped_local_ref()43 void reset(T localRef = NULL) { in reset()50 T get() const { in get()56 T mLocalRef;
41 template <typename T>42 void UNUSED(const T&) {} in UNUSED() argument