Home
last modified time | relevance | path

Searched refs:T (Results 1 – 4 of 4) sorted by relevance

/libnativehelper/header_only_include/nativehelper/
Dscoped_local_ref.h28 template<typename T>
31 ScopedLocalRef(JNIEnv* env, T localRef) : mEnv(env), mLocalRef(localRef) { in ScopedLocalRef()
44 void reset(T ptr = nullptr) {
53 T release() __attribute__((warn_unused_result)) { in release()
54 T localRef = mLocalRef; in release()
59 T get() const { in get()
88 T mLocalRef;
Dscoped_primitive_array.h28 #define POINTER_TYPE(T) T* /* NOLINT */ argument
34 #define REFERENCE_TYPE(T) T& /* NOLINT */ argument
/libnativehelper/include_platform_header_only/nativehelper/detail/
Dsignature_checker.h173 template<typename T, size_t kMaxSize>
219 T _value;
243 constexpr void push_back(const T& value) { in push_back()
254 constexpr const T& operator[](size_t i) const {
258 constexpr T& operator[](size_t i) {
301 template<typename T>
308 constexpr ConstexprOptional(const T& value) // NOLINT(google-explicit-constructor) in ConstexprOptional()
320 constexpr const T& value() const { in value()
325 constexpr const T* operator->() const {
329 constexpr const T& operator*() const {
[all …]
/libnativehelper/tests/
DJniSafeRegisterNativeMethods_test.cpp23 template <typename T>
24 std::string stringify_helper(const T& val) { in stringify_helper()
229 template <typename T>
230 operator T() const { // NOLINT in operator T()
231 return T{}; in operator T()
514 template <typename T>
517 return sizeof(T) == sizeof(int); in operator ()()
546 template <typename T, size_t kMaxSize>
547 constexpr size_t SumUpVector(const nativehelper::detail::ConstexprVector<T, kMaxSize>& vec) { in SumUpVector() argument
549 for (const T& elem : vec) { in SumUpVector()
[all …]