Home
last modified time | relevance | path

Searched refs:position (Results 1 – 6 of 6) sorted by relevance

/libnativehelper/
DJNIPlatformHelp.c52 const int position = GetBufferPosition(env, nioBuffer); in jniGetNioBufferPointer() local
54 baseAddress += position << shift; in jniGetNioBufferPointer()
60 jint* position, jint* limit, jint* elementSizeShift) { in jniGetNioBufferFields() argument
61 *position = GetBufferPosition(env, nioBuffer); in jniGetNioBufferFields()
Dlibnativehelper_lazy.c237 jint* position, jint* limit, jint* elementSizeShift) { in jniGetNioBufferFields() argument
239 INVOKE_METHOD(jniGetNioBufferFields, M, env, nioBuffer, position, limit, in jniGetNioBufferFields()
DJniConstants.c52 V(NioBuffer, position, "I", false)
/libnativehelper/tests/
DExpandableString_test.cpp89 size_t position = 0u; in TEST_P() local
91 EXPECT_EQ(c, expandableString.data[position]); in TEST_P()
92 position++; 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()
/libnativehelper/include_platform/nativehelper/
DJNIPlatformHelp.h62 /*out*/jint* position,
124 jint* position, jint* limit, jint* elementSizeShift) { in jniGetNioBufferFields() argument
126 position, limit, elementSizeShift); in jniGetNioBufferFields()
/libnativehelper/include_platform_header_only/nativehelper/detail/
Dsignature_checker.h692 constexpr NativePositionAllowed ConvertPositionToAllowed(size_t position) { in ConvertPositionToAllowed() argument
693 switch (position) { in ConvertPositionToAllowed()
833 NativePositionAllowed position, in IsValidJniParameterPosition() argument
845 if (position != kReturnPosition) { in IsValidJniParameterPosition()
854 if (position == kZerothPosition && expected_position != kZerothPosition) { in IsValidJniParameterPosition()
857 } else if (position == kFirstOrLaterPosition && expected_position != kFirstOrLaterPosition) { in IsValidJniParameterPosition()
860 } else if (position == kSecondOrLaterPosition || position == kReturnPosition) { in IsValidJniParameterPosition()
871 constexpr bool IsValidJniParameter(NativeKind native_kind, NativePositionAllowed position) { in IsValidJniParameter() argument
886 if (!IsValidJniParameterPosition(native_kind, position, expected_position)) { in IsValidJniParameter()
929 template<NativeKind native_kind, size_t position, typename ... Args>
[all …]