Home
last modified time | relevance | path

Searched refs:i (Results 1 – 8 of 8) sorted by relevance

/libnativehelper/include/nativehelper/
DtoStringArray.h34 for (size_t i = 0; i < count; ++i) { in toStringArray() local
35 ScopedLocalRef<jstring> s(env, env->NewStringUTF(visitor(i))); in toStringArray()
39 env->SetObjectArrayElement(result.get(), i, s.get()); in toStringArray()
48 return toStringArray(env, strings.size(), [&strings](size_t i) { return strings[i].c_str(); }); in toStringArray()
54 return toStringArray(env, count, [&strings](size_t i) { return strings[i]; }); in toStringArray()
59 return toStringArray(env, counter(), [getter](size_t i) { return getter(i); }); in toStringArray()
/libnativehelper/
DDlHelp.c71 for (DWORD i = length - 1; i > 0; --i) { in DlGetError() local
72 if (!isspace(buffer[i])) { in DlGetError()
75 buffer[i] = '\0'; in DlGetError()
DNOTICE31 "control" means (i) the power, direct or indirect, to cause the
/libnativehelper/tests/
DExpandableString_test.cpp82 for (size_t i = 0; i < 4096u; ++i) { in TEST_P() local
83 const std::string& appendee = inputs[i % inputs.size()]; in TEST_P()
85 size_t requiredSize = pad.size() + i * step + 1u; in TEST_P()
94 for (size_t i = 0; i < 4096; ++i) { in TEST_P() local
95 const std::string& expected = inputs[i % inputs.size()]; in TEST_P()
DJniSafeRegisterNativeMethods_test.cpp550 constexpr int GetTestValue(const IntHolder& i) { in GetTestValue() argument
551 return i.value; in GetTestValue()
554 constexpr int GetTestValue(int i) { in GetTestValue() argument
555 return i; in GetTestValue()
1243 for (size_t i = 0; i < sizeof(gParcelMethods) / sizeof(JNINativeMethod); ++i) { in TEST() local
1244 const JNINativeMethod& actual = gParcelMethods[i]; in TEST()
1245 const JNINativeMethod& expected = gParcelMethodsExpected[i]; in TEST()
/libnativehelper/include_platform_header_only/nativehelper/detail/
Dsignature_checker.h95 constexpr char operator[](size_t i) const {
96 X_ASSERT(i <= size());
97 return _array[i];
134 for (size_t i = 0; i < lhs.size(); ++i) { variable
135 if (lhs[i] != rhs[i]) {
253 constexpr const T& operator[](size_t i) const {
254 return _array[i]._value;
257 constexpr T& operator[](size_t i) {
258 return _array[i]._value;
512 for (size_t i = 0; i < single_type.size(); ++i) { variable
[all …]
/libnativehelper/tests_mts/src/android/libnativehelper/mts/
DJniHelpTest.java201 for (int i = 0; i < 4; ++i, bb.get(data)) { in checkNioHeapBuffers()
207 assertEquals(i * data.length, position); in checkNioHeapBuffers()
302 for (int i = 0; i < 10; ++i) { in testCreateStringArray()
303 String[] array = createStringArray(i); in testCreateStringArray()
305 for (int j = 0; j < i; ++j) { in testCreateStringArray()
/libnativehelper/include_jni/
Djni.h114 jint i; member