Lines Matching refs:location
45 int* location; in search0() local
46 location = search((int*)v1, (int*)v1 + 6, (int*)v3, (int*)v3 + 2); in search0()
47 CPPUNIT_ASSERT(location == v1 + 6); in search0()
49 location = search((int*)v2, (int*)v2 + 6, (int*)v3, (int*)v3 + 2); in search0()
50 CPPUNIT_ASSERT(location != v2 + 6); in search0()
51 CPPUNIT_ASSERT(location - v2 == 3); in search0()
61 IntVec::iterator location; in search1() local
62 location = search(v1.begin(), v1.end(), v2.begin(), v2.end()); in search1()
64 CPPUNIT_ASSERT(location == v1.end()); in search1()
68 location = search(v1.begin(), v1.end(), v2.begin(), v2.end()); in search1()
70 CPPUNIT_ASSERT(location != v1.end()); in search1()
71 CPPUNIT_ASSERT(location - v1.begin() == 4); in search1()
79 …char const** location = search((char const**)grades, (char const**)grades + gradeCount, (char cons… in search2() local
81 CPPUNIT_ASSERT(location == grades + gradeCount); 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()