Home
last modified time | relevance | path

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

/libnativehelper/platform_include/nativehelper/detail/
Dsignature_checker.h78 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/
DJniInvocation.cpp126 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/
Dscoped_string_chars.h56 size_t size() const { in size() function
Dscoped_primitive_array.h73 size_t size() const { return mSize; } \
126 size_t size() const { return mEnv->GetArrayLength(mJavaArray); } \
Dscoped_utf_chars.h78 size_t size() const { in size() function
/libnativehelper/include/nativehelper/
DtoStringArray.h59 return strings.size(); in operator()
/libnativehelper/tests/
DJniSafeRegisterNativeMethods_test.cpp52 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()