Searched defs:NULL (Results 1 - 4 of 4) sorted by relevance

/libnativehelper/include/nativehelper/
H A DScopedLocalRef.h35 void reset(T ptr = NULL) { argument
37 if (mLocalRef != NULL) {
46 mLocalRef = NULL;
H A DJNIHelp.h113 * If exception is NULL, logs the current exception in the JNI environment.
176 inline void jniLogException(JNIEnv* env, int priority, const char* tag, jthrowable exception = NULL) { argument
184 inline std::string jniGetStackTrace(JNIEnv* env, jthrowable exception = NULL) { argument
H A DUniquePtr.h21 #include <cstdlib> // For NULL.
54 explicit UniquePtr(T* ptr = NULL) : mPtr(ptr) { argument
70 mPtr = NULL;
77 void reset(T* ptr = NULL) { argument
107 explicit UniquePtr(T* ptr = NULL) : mPtr(ptr) { argument
121 mPtr = NULL;
125 void reset(T* ptr = NULL) { argument
/libnativehelper/
H A DJNIHelp.cpp38 scoped_local_ref(C_JNIEnv* env, T localRef = NULL) argument
47 void reset(T localRef = NULL) { argument
48 if (mLocalRef != NULL) {
80 if (c.get() == NULL) {
111 if (classNameStr.get() == NULL) {
116 const char* classNameChars = (*env)->GetStringUTFChars(e, classNameStr.get(), NULL);
117 if (classNameChars == NULL) {
130 if (messageStr.get() == NULL) {
136 const char* messageChars = (*env)->GetStringUTFChars(e, messageStr.get(), NULL);
137 if (messageChars != NULL) {
[all...]

Completed in 90 milliseconds