Home
last modified time | relevance | path

Searched refs:count (Results 1 – 4 of 4) sorted by relevance

/libnativehelper/include/nativehelper/
DtoStringArray.h28 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/
Djni_invocation_test.cpp21 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/
Dlibnativehelper_lazy_test.cpp59 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/
Dsignature_checker.h559 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;