Searched refs:result (Results 1 – 7 of 7) sorted by relevance
/libnativehelper/tests/ |
D | JniInvocation_test.cpp | 109 const char* result = JniInvocation::GetLibrary(NULL, buffer); in TEST_F() local 110 EXPECT_FALSE(result == NULL); in TEST_F() 111 if (result != NULL) { in TEST_F() 112 EXPECT_TRUE(strcmp(result, kTestNonNull2) == 0); in TEST_F() 113 EXPECT_FALSE(strcmp(result, kExpected) == 0); in TEST_F() 116 result = JniInvocation::GetLibrary(kTestNonNull, buffer); in TEST_F() 117 EXPECT_FALSE(result == NULL); in TEST_F() 118 if (result != NULL) { in TEST_F() 119 EXPECT_TRUE(strcmp(result, kTestNonNull) == 0); in TEST_F() 120 EXPECT_FALSE(strcmp(result, kTestNonNull2) == 0); in TEST_F() [all …]
|
/libnativehelper/include/nativehelper/ |
D | toStringArray.h | 31 jobjectArray result = newStringArray(env, count); in toStringArray() local 32 if (result == NULL) { in toStringArray() 40 env->SetObjectArrayElement(result, i, s.get()); in toStringArray() 45 return result; in toStringArray()
|
D | UniquePtr.h | 73 T* result = mPtr; 75 return result; 124 T* result = mPtr; 126 return result;
|
D | jni.h | 546 jobject PopLocalFrame(jobject result) in PopLocalFrame() 547 { return functions->PopLocalFrame(this, result); } in PopLocalFrame() 574 jobject result = functions->NewObjectV(this, clazz, methodID, args); in NewObject() local 576 return result; in NewObject() 597 _jtype result; \ 600 result = functions->Call##_jname##MethodV(this, obj, methodID, \ 603 return result; \ 645 _jtype result; \ 648 result = functions->CallNonvirtual##_jname##MethodV(this, obj, \ 651 return result; \ [all …]
|
/libnativehelper/ |
D | JNIHelp.cpp | 98 static bool getExceptionSummary(C_JNIEnv* env, jthrowable exception, std::string& result) { in getExceptionSummary() argument 111 result = "<error getting class name>"; in getExceptionSummary() 117 result = "<error getting class name UTF-8>"; in getExceptionSummary() 120 result += classNameChars; in getExceptionSummary() 132 result += ": "; in getExceptionSummary() 136 result += messageChars; in getExceptionSummary() 139 result += "<error getting message>"; in getExceptionSummary() 149 static bool getStackTrace(C_JNIEnv* env, jthrowable exception, std::string& result) { in getStackTrace() argument 201 result = utfChars; in getStackTrace()
|
D | JniConstants.cpp | 80 jclass result = reinterpret_cast<jclass>(env->NewGlobalRef(localClass.get())); in findClass() local 81 if (result == NULL) { in findClass() 85 return result; in findClass()
|
D | NOTICE | 172 result of this License or out of the use or inability to use the
|