Searched refs:result (Results 1 – 8 of 8) sorted by relevance
/libnativehelper/tests/ |
D | JniInvocation_test.cpp | 28 const char* result = JniInvocationGetLibraryWith(nullptr, true, kTestNonNull2); in TEST() local 29 EXPECT_STREQ(result, kTestNonNull2); in TEST() 31 result = JniInvocationGetLibraryWith(kTestNonNull, true, kTestNonNull2); in TEST() 32 EXPECT_STREQ(result, kTestNonNull); in TEST() 34 result = JniInvocationGetLibraryWith(kTestNonNull, true, nullptr); in TEST() 35 EXPECT_STREQ(result, kTestNonNull); in TEST() 37 result = JniInvocationGetLibraryWith(nullptr, true, nullptr); in TEST() 38 EXPECT_STREQ(result, kDefaultJniInvocationLibrary); in TEST() 42 const char* result = JniInvocationGetLibraryWith(nullptr, false, kTestNonNull2); in TEST() local 43 EXPECT_STREQ(result, kDefaultJniInvocationLibrary); in TEST() [all …]
|
D | libnativehelper_test.cpp | 31 int result = GetJavaVM()->GetEnv(reinterpret_cast<void**>(&mEnv), JNI_VERSION_1_6); in SetUp() local 32 CHECK_EQ(JNI_OK, result); in SetUp() 43 std::unique_ptr<ScopedUtfChars> result; in TEST_F() local 47 result.reset(new ScopedUtfChars(std::move(str))); in TEST_F() 51 EXPECT_EQ(result->c_str(), std::string_view("foo")); in TEST_F() 58 std::unique_ptr<ScopedUtfChars> result; in TEST_F() local 62 result.reset(new ScopedUtfChars(std::move(str))); in TEST_F() 65 EXPECT_EQ(result->c_str(), std::string_view("foo")); in TEST_F() 96 std::unique_ptr<ScopedLocalRef<jstring>> result; in TEST_F() local 100 result.reset(new ScopedLocalRef<jstring>(std::move(j_str))); in TEST_F() [all …]
|
/libnativehelper/include/nativehelper/ |
D | toStringArray.h | 30 ScopedLocalRef<jobjectArray> result(env, env->NewObjectArray(count, stringClass, NULL)); in toStringArray() 32 if (result == nullptr) { in toStringArray() 40 env->SetObjectArrayElement(result.get(), i, s.get()); in toStringArray() 45 return result.release(); in toStringArray()
|
D | JNIHelp.h | 373 int result = env->RegisterNatives(clazz, methods, numMethods); in jniRegisterNativeMethods() local 375 if (result == 0) { in jniRegisterNativeMethods() 393 return result; in jniRegisterNativeMethods()
|
/libnativehelper/tests_mts/jni/ |
D | libnativehelper_test.cpp | 22 int result = GetJavaVM()->GetEnv(reinterpret_cast<void**>(&mEnv), JNI_VERSION_1_6); in SetUp() local 23 EXPECT_EQ(JNI_OK, result); in SetUp()
|
/libnativehelper/ |
D | JNIHelp.c | 329 int result = (*env)->RegisterNatives(env, clazz, methods, numMethods); in jniRegisterNativeMethods() local 331 if (result == 0) { in jniRegisterNativeMethods() 348 return result; in jniRegisterNativeMethods()
|
D | NOTICE | 172 result of this License or out of the use or inability to use the
|
/libnativehelper/include_jni/ |
D | jni.h | 544 jobject PopLocalFrame(jobject result) in PopLocalFrame() 545 { return functions->PopLocalFrame(this, result); } in PopLocalFrame() 572 jobject result = functions->NewObjectV(this, clazz, methodID, args); in NewObject() local 574 return result; in NewObject() 595 _jtype result; \ 598 result = functions->Call##_jname##MethodV(this, obj, methodID, \ 601 return result; \ 643 _jtype result; \ 646 result = functions->CallNonvirtual##_jname##MethodV(this, obj, \ 649 return result; \ [all …]
|