Searched refs:size (Results 1 – 11 of 11) sorted by relevance
/libnativehelper/include_platform_header_only/nativehelper/detail/ |
D | signature_checker.h | 79 constexpr ConstexprStringView(const char* ptr, size_t size) in ConstexprStringView() 80 : _array(ptr), _size(size) { in ConstexprStringView() 88 constexpr size_t size() const { in size() function 93 return size() == 0u; in empty() 97 X_ASSERT(i <= size()); 103 X_ASSERT(start <= size()); in substr() 104 X_ASSERT(len <= size() - start); in substr() 111 X_ASSERT(start <= size()); in substr() 112 return substr(start, size() - start); in substr() 122 return &_array[size()]; in end() [all …]
|
/libnativehelper/tests/ |
D | ExpandableString_test.cpp | 83 const std::string& appendee = inputs[i % inputs.size()]; in TEST_P() 85 size_t requiredSize = pad.size() + i * step + 1u; in TEST_P() 95 const std::string& expected = inputs[i % inputs.size()]; in TEST_P() 96 EXPECT_EQ(0, strncmp(expected.c_str(), expandableString.data + position, expected.size())); in TEST_P() 97 position += expected.size(); in TEST_P()
|
D | scoped_primitive_array_test.cpp | 25 sba.size(); in TestScopedPrimitiveArrayRO() 32 sba.size(); in TestCompilationRW()
|
D | JniSafeRegisterNativeMethods_test.cpp | 39 EXPECT_EQ(1u, v_str.size()); in TEST() 478 EXPECT_CONSTEXPR_EQ(1u, cvrt->args.size()); in TEST() 494 EXPECT_EQ(2u, cvrt->args.size()); in TEST() 503 EXPECT_EQ(2u, cvrt->args.size()); in TEST() 531 EXPECT_EQ(0u, arr.size()); in TEST()
|
/libnativehelper/tests_mts/jni/ |
D | jni_helper_jni.cpp | 88 return jniCreateString(env, ssc.get(), ssc.size()); in createString() 137 std::size(methods)); in JNI_OnLoad()
|
/libnativehelper/header_only_include/nativehelper/ |
D | scoped_string_chars.h | 58 size_t size() const { in size() function
|
D | scoped_primitive_array.h | 75 size_t size() const { return mSize; } \ 128 size_t size() const { return mEnv->GetArrayLength(mJavaArray); } \
|
D | scoped_utf_chars.h | 86 size_t size() const { in size() function
|
/libnativehelper/ |
D | JniInvocation.c | 110 jint JNI_GetCreatedJavaVMs(JavaVM** vms, jsize size, jsize* vm_count) { in JNI_GetCreatedJavaVMs() argument 115 return g_impl.JNI_GetCreatedJavaVMs(vms, size, vm_count); in JNI_GetCreatedJavaVMs()
|
D | README.md | 9 multiple ways, including mainline modules, so keeping the size down
|
/libnativehelper/include/nativehelper/ |
D | toStringArray.h | 49 return toStringArray(env, strings.size(), [&strings](size_t i) { return strings[i].c_str(); }); in toStringArray()
|