Home
last modified time | relevance | path

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

/libnativehelper/
DJNIHelp.cpp50 T get() const { in get() function in scoped_local_ref
74 ALOG_ALWAYS_FATAL_IF(c.get() == NULL, in jniRegisterNativeMethods()
78 int result = e->RegisterNatives(c.get(), gMethods, numMethods); in jniRegisterNativeMethods()
96 (*env)->GetObjectClass(e, exceptionClass.get())); // java.lang.Class, can't fail in getExceptionSummary()
98 (*env)->GetMethodID(e, classClass.get(), "getName", "()Ljava/lang/String;"); in getExceptionSummary()
100 (jstring) (*env)->CallObjectMethod(e, exceptionClass.get(), classGetNameMethod)); in getExceptionSummary()
101 if (classNameStr.get() == NULL) { in getExceptionSummary()
106 const char* classNameChars = (*env)->GetStringUTFChars(e, classNameStr.get(), NULL); in getExceptionSummary()
113 (*env)->ReleaseStringUTFChars(e, classNameStr.get(), classNameChars); in getExceptionSummary()
117 (*env)->GetMethodID(e, exceptionClass.get(), "getMessage", "()Ljava/lang/String;"); in getExceptionSummary()
[all …]
DJniConstants.cpp87 ALOG_ALWAYS_FATAL_IF(klass.get() == nullptr, "failed to find class '%s'", name); in FindClass()
88 return reinterpret_cast<jclass>(env->NewGlobalRef(klass.get())); in FindClass()
/libnativehelper/header_only_include/nativehelper/
Dscoped_bytes.h70 const jbyte* get() const { in get() function
78 jbyte* get() { in get() function
Dscoped_primitive_array.h70 const PRIMITIVE_TYPE* get() const { return mRawArray; } \
121 const PRIMITIVE_TYPE* get() const { return mRawArray; } \
124 POINTER_TYPE(PRIMITIVE_TYPE) get() { return mRawArray; } \
Dscoped_string_chars.h52 const jchar* get() const { in get() function
Dscoped_local_ref.h57 T get() const { in get() function
/libnativehelper/include/nativehelper/
DtoStringArray.h47 env->SetObjectArrayElement(result, i, s.get()); in toStringArray()