Searched refs:size (Results 1 – 7 of 7) sorted by relevance
/libnativehelper/platform_include/nativehelper/detail/ |
D | signature_checker.h | 78 constexpr ConstexprStringView(const char* ptr, size_t size) in ConstexprStringView() 79 : _array(ptr), _size(size) { in ConstexprStringView() 87 constexpr size_t size() const { in size() function 92 return size() == 0u; in empty() 96 X_ASSERT(i <= size()); 102 X_ASSERT(start <= size()); in substr() 103 X_ASSERT(len <= size() - start); in substr() 110 X_ASSERT(start <= size()); in substr() 111 return substr(start, size() - start); in substr() 121 return &_array[size()]; in end() [all …]
|
/libnativehelper/ |
D | JniInvocation.cpp | 126 jint JNI_GetCreatedJavaVMs(JavaVM** vms, jsize size, jsize* vm_count); 263 jint JniInvocationImpl::JNI_GetCreatedJavaVMs(JavaVM** vms, jsize size, jsize* vm_count) { in JNI_GetCreatedJavaVMs() argument 264 return JNI_GetCreatedJavaVMs_(vms, size, vm_count); in JNI_GetCreatedJavaVMs() 296 MODULE_API jint JNI_GetCreatedJavaVMs(JavaVM** vms, jsize size, jsize* vm_count) { in JNI_GetCreatedJavaVMs() argument 297 return JniInvocationImpl::GetJniInvocation().JNI_GetCreatedJavaVMs(vms, size, vm_count); in JNI_GetCreatedJavaVMs()
|
/libnativehelper/header_only_include/nativehelper/ |
D | scoped_string_chars.h | 56 size_t size() const { in size() function
|
D | scoped_primitive_array.h | 73 size_t size() const { return mSize; } \ 126 size_t size() const { return mEnv->GetArrayLength(mJavaArray); } \
|
D | scoped_utf_chars.h | 78 size_t size() const { in size() function
|
/libnativehelper/include/nativehelper/ |
D | toStringArray.h | 59 return strings.size(); in operator()
|
/libnativehelper/tests/ |
D | JniSafeRegisterNativeMethods_test.cpp | 52 EXPECT_EQ(1u, v_str.size()); in TEST() 491 EXPECT_CONSTEXPR_EQ(1u, cvrt->args.size()); in TEST() 507 EXPECT_EQ(2u, cvrt->args.size()); in TEST() 516 EXPECT_EQ(2u, cvrt->args.size()); in TEST() 544 EXPECT_EQ(0u, arr.size()); in TEST()
|