Home
last modified time | relevance | path

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

/libnativehelper/tests/
DJniInvocation_test.cpp109 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/
DtoStringArray.h31 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()
DUniquePtr.h69 T* result = mPtr;
71 return result;
113 T* result = mPtr;
115 return result;
Djni.h546 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/
DJNIHelp.cpp115 static bool getExceptionSummary(C_JNIEnv* env, jthrowable exception, std::string& result) { in getExceptionSummary() argument
128 result = "<error getting class name>"; in getExceptionSummary()
134 result = "<error getting class name UTF-8>"; in getExceptionSummary()
137 result += classNameChars; in getExceptionSummary()
149 result += ": "; in getExceptionSummary()
153 result += messageChars; in getExceptionSummary()
156 result += "<error getting message>"; in getExceptionSummary()
166 static bool getStackTrace(C_JNIEnv* env, jthrowable exception, std::string& result) { in getStackTrace() argument
218 result = utfChars; in getStackTrace()
DJniConstants.cpp89 jclass result = reinterpret_cast<jclass>(env->NewGlobalRef(localClass.get())); in findClass() local
90 if (result == NULL) { in findClass()
94 return result; in findClass()
DNOTICE172 result of this License or out of the use or inability to use the