Home
last modified time | relevance | path

Searched refs:grades (Results 1 – 2 of 2) sorted by relevance

/ndk/tests/device/test-stlport/unit/
Dsearch_test.cpp75 char const* grades[] = { "A", "B", "C", "D", "F" }; in search2() local
77 const unsigned gradeCount = sizeof(grades) / sizeof(grades[0]); in search2()
79 …char const** location = search((char const**)grades, (char const**)grades + gradeCount, (char cons… in search2()
81 CPPUNIT_ASSERT(location == grades + gradeCount); in search2()
83 copy((char const**)grades + 1, (char const**)grades + 1 + letterCount, (char const**)letters); in search2()
84 …location = search((char const**)grades, (char const**)grades + gradeCount, (char const**)letters, … in search2()
86 CPPUNIT_ASSERT(location != grades + gradeCount); in search2()
87 CPPUNIT_ASSERT(location - grades == 1); in search2()
/ndk/tests/device/test-gnustl-full/unit/
Dsearch_test.cpp75 char const* grades[] = { "A", "B", "C", "D", "F" }; in search2() local
77 const unsigned gradeCount = sizeof(grades) / sizeof(grades[0]); in search2()
79 …char const** location = search((char const**)grades, (char const**)grades + gradeCount, (char cons… in search2()
81 CPPUNIT_ASSERT(location == grades + gradeCount); in search2()
83 copy((char const**)grades + 1, (char const**)grades + 1 + letterCount, (char const**)letters); in search2()
84 …location = search((char const**)grades, (char const**)grades + gradeCount, (char const**)letters, … in search2()
86 CPPUNIT_ASSERT(location != grades + gradeCount); in search2()
87 CPPUNIT_ASSERT(location - grades == 1); in search2()