Searched refs:count (Results 1 – 4 of 4) sorted by relevance
/libnativehelper/include/nativehelper/ |
D | toStringArray.h | 28 jobjectArray toStringArray(JNIEnv* env, size_t count, StringVisitor&& visitor) { in toStringArray() argument 30 ScopedLocalRef<jobjectArray> result(env, env->NewObjectArray(count, stringClass, NULL)); in toStringArray() 35 for (size_t i = 0; i < count; ++i) { in toStringArray() 53 size_t count = 0; in toStringArray() local 54 for (; strings[count] != nullptr; ++count) {} in toStringArray() 55 return toStringArray(env, count, [&strings](size_t i) { return strings[i]; }); in toStringArray()
|
/libnativehelper/tests_mts/jni/ |
D | jni_invocation_test.cpp | 21 jsize count; in TEST_F() local 23 ASSERT_EQ(JNI_OK, JNI_GetCreatedJavaVMs(&createdVMs[0], 2, &count)); in TEST_F() 24 ASSERT_EQ(1, count); in TEST_F()
|
/libnativehelper/tests/ |
D | libnativehelper_lazy_test.cpp | 59 jsize count = 0; in TEST_F() local 63 EXPECT_EQ(JNI_OK, JNI_GetCreatedJavaVMs(&vm, 1, &count)); in TEST_F() 64 EXPECT_EQ(0, count); in TEST_F()
|
/libnativehelper/include_platform_header_only/nativehelper/detail/ |
D | signature_checker.h | 559 size_t count = 0; variable 564 if (count != signature.args.size() - 1) { 568 ++count; 912 constexpr bool IsJniParameterCountValid(NativeKind native_kind, size_t count) { in IsJniParameterCountValid() argument 914 return count >= 2u; in IsJniParameterCountValid() 1048 count = sizeof...(Args) + 1u; // args and return type. 1111 size_t kMaxSize = FunctionTypeMetafunction<T, fn>::count> 1224 constexpr size_t kReifiedMaxSize = FunctionTypeMetafunction<T, fn>::count; 1272 static constexpr size_t kMaxSize = FunctionTypeMetafunction<T, fn>::count;
|