Home
last modified time | relevance | path

Searched refs:get (Results 1 – 9 of 9) sorted by relevance

/libnativehelper/
DJNIHelp.cpp52 T get() const { in get() function in scoped_local_ref
78 if (c.get() == NULL) { in jniRegisterNativeMethods()
84 if ((*env)->RegisterNatives(e, c.get(), gMethods, numMethods) < 0) { in jniRegisterNativeMethods()
104 (*env)->GetObjectClass(e, exceptionClass.get())); // java.lang.Class, can't fail in getExceptionSummary()
106 (*env)->GetMethodID(e, classClass.get(), "getName", "()Ljava/lang/String;"); in getExceptionSummary()
108 (jstring) (*env)->CallObjectMethod(e, exceptionClass.get(), classGetNameMethod)); in getExceptionSummary()
109 if (classNameStr.get() == NULL) { in getExceptionSummary()
114 const char* classNameChars = (*env)->GetStringUTFChars(e, classNameStr.get(), NULL); in getExceptionSummary()
121 (*env)->ReleaseStringUTFChars(e, classNameStr.get(), classNameChars); in getExceptionSummary()
125 (*env)->GetMethodID(e, exceptionClass.get(), "getMessage", "()Ljava/lang/String;"); in getExceptionSummary()
[all …]
DJniConstants.cpp80 jclass result = reinterpret_cast<jclass>(env->NewGlobalRef(localClass.get())); in findClass()
/libnativehelper/include/nativehelper/
DScopedBytes.h67 const jbyte* get() const { in get() function
75 jbyte* get() { in get() function
DScopedPrimitiveArray.h48 const PRIMITIVE_TYPE* get() const { return mRawArray; } \
97 const PRIMITIVE_TYPE* get() const { return mRawArray; } \
100 PRIMITIVE_TYPE* get() { return mRawArray; } \
DScopedFd.h35 int get() const { in get() function
DScopedLocalRef.h50 T get() const { in get() function
DScopedStringChars.h51 const jchar* get() const { in get() function
DUniquePtr.h68 T* get() const { return mPtr; }
121 T* get() const { return mPtr; }
DtoStringArray.h40 env->SetObjectArrayElement(result, i, s.get()); in toStringArray()