Searched defs:location (Results 1 - 10 of 10) sorted by relevance

/ndk/tests/device/test-gnustl-full/unit/
H A Dadvance_test.cpp34 IntVector::iterator location = v.begin(); local
35 CPPUNIT_ASSERT(*location==0);
36 advance(location, 5);
37 CPPUNIT_ASSERT(*location==5);
H A Dbound_test.cpp46 int location = upper_bound((int*)arr, (int*)arr + 20, 3) - arr; local
47 CPPUNIT_ASSERT(location==16);
56 int location = (upper_bound((char const**)str, (char const**)str + strCt, (const char *)"d", char_str_less) - str); local
57 CPPUNIT_ASSERT(location==4);
67 vector<int>::iterator location = lower_bound(v1.begin(), v1.end(), 3); local
69 CPPUNIT_ASSERT((location - v1.begin())==12);
77 char const** location = lower_bound((char const**)str, (char const**)str + strCt, (const char *)"d", char_str_less); local
79 CPPUNIT_ASSERT((location - str) == 4);
H A Dsearch_test.cpp45 int* location; local
46 location = search((int*)v1, (int*)v1 + 6, (int*)v3, (int*)v3 + 2);
47 CPPUNIT_ASSERT(location == v1 + 6);
49 location = search((int*)v2, (int*)v2 + 6, (int*)v3, (int*)v3 + 2);
50 CPPUNIT_ASSERT(location != v2 + 6);
51 CPPUNIT_ASSERT(location - v2 == 3);
61 IntVec::iterator location; local
62 location = search(v1.begin(), v1.end(), v2.begin(), v2.end());
64 CPPUNIT_ASSERT(location == v1.end());
68 location
79 char const** location = search((char const**)grades, (char const**)grades + gradeCount, (char const**)letters, (char const**)letters + letterCount, str_equal); local
[all...]
H A Dadj_test.cpp46 int* location = adjacent_find((int*)numbers1, (int*)numbers1 + 5); local
47 CPPUNIT_ASSERT(location == numbers1 + 5); // no adj so loc should be _last
49 location = adjacent_find((int*)numbers2, (int*)numbers2 + 5);
50 CPPUNIT_ASSERT(location != numbers2 + 5); // adj location off should be 3 (first 1)
51 CPPUNIT_ASSERT((location - numbers2)==3);
59 IntVector::iterator location; local
60 location = adjacent_find(v.begin(), v.end());
61 CPPUNIT_ASSERT(location == v.end());
63 location
76 CStrVector::iterator location; local
[all...]
H A Dfind_test.cpp42 int *location = find((int*)numbers, (int*)numbers + 10, 25); local
44 CPPUNIT_ASSERT((location - numbers)==5);
69 int* location = find((int*)years, (int*)years + yearCount, 1972); local
71 CPPUNIT_ASSERT((location - years)==3);
78 int *location = find_if((int*)numbers, (int*)numbers + 6, odd); local
80 CPPUNIT_ASSERT((location - numbers)==3);
/ndk/tests/device/test-stlport/unit/
H A Dadvance_test.cpp34 IntVector::iterator location = v.begin(); local
35 CPPUNIT_ASSERT(*location==0);
36 advance(location, 5);
37 CPPUNIT_ASSERT(*location==5);
H A Dbound_test.cpp46 int location = upper_bound((int*)arr, (int*)arr + 20, 3) - arr; local
47 CPPUNIT_ASSERT(location==16);
56 int location = (upper_bound((char const**)str, (char const**)str + strCt, (const char *)"d", char_str_less) - str); local
57 CPPUNIT_ASSERT(location==4);
67 vector<int>::iterator location = lower_bound(v1.begin(), v1.end(), 3); local
69 CPPUNIT_ASSERT((location - v1.begin())==12);
77 char const** location = lower_bound((char const**)str, (char const**)str + strCt, (const char *)"d", char_str_less); local
79 CPPUNIT_ASSERT((location - str) == 4);
H A Dsearch_test.cpp45 int* location; local
46 location = search((int*)v1, (int*)v1 + 6, (int*)v3, (int*)v3 + 2);
47 CPPUNIT_ASSERT(location == v1 + 6);
49 location = search((int*)v2, (int*)v2 + 6, (int*)v3, (int*)v3 + 2);
50 CPPUNIT_ASSERT(location != v2 + 6);
51 CPPUNIT_ASSERT(location - v2 == 3);
61 IntVec::iterator location; local
62 location = search(v1.begin(), v1.end(), v2.begin(), v2.end());
64 CPPUNIT_ASSERT(location == v1.end());
68 location
79 char const** location = search((char const**)grades, (char const**)grades + gradeCount, (char const**)letters, (char const**)letters + letterCount, str_equal); local
[all...]
H A Dadj_test.cpp46 int* location = adjacent_find((int*)numbers1, (int*)numbers1 + 5); local
47 CPPUNIT_ASSERT(location == numbers1 + 5); // no adj so loc should be _last
49 location = adjacent_find((int*)numbers2, (int*)numbers2 + 5);
50 CPPUNIT_ASSERT(location != numbers2 + 5); // adj location off should be 3 (first 1)
51 CPPUNIT_ASSERT((location - numbers2)==3);
59 IntVector::iterator location; local
60 location = adjacent_find(v.begin(), v.end());
61 CPPUNIT_ASSERT(location == v.end());
63 location
76 CStrVector::iterator location; local
[all...]
H A Dfind_test.cpp42 int *location = find((int*)numbers, (int*)numbers + 10, 25); local
44 CPPUNIT_ASSERT((location - numbers)==5);
69 int* location = find((int*)years, (int*)years + yearCount, 1972); local
71 CPPUNIT_ASSERT((location - years)==3);
78 int *location = find_if((int*)numbers, (int*)numbers + 6, odd); local
80 CPPUNIT_ASSERT((location - numbers)==3);

Completed in 70 milliseconds