Lines Matching refs:location
46 int* location = adjacent_find((int*)numbers1, (int*)numbers1 + 5); in adjfind0() local
47 CPPUNIT_ASSERT(location == numbers1 + 5); // no adj so loc should be _last in adjfind0()
49 location = adjacent_find((int*)numbers2, (int*)numbers2 + 5); in adjfind0()
50 CPPUNIT_ASSERT(location != numbers2 + 5); // adj location off should be 3 (first 1) in adjfind0()
51 CPPUNIT_ASSERT((location - numbers2)==3); in adjfind0()
59 IntVector::iterator location; in adjfind1() local
60 location = adjacent_find(v.begin(), v.end()); in adjfind1()
61 CPPUNIT_ASSERT(location == v.end()); in adjfind1()
63 location = adjacent_find(v.begin(), v.end()); in adjfind1()
64 CPPUNIT_ASSERT(location != v.end()); in adjfind1()
76 CStrVector::iterator location; in adjfind2() local
77 location = adjacent_find(v.begin(), v.end(), equal_length); in adjfind2()
79 CPPUNIT_ASSERT(location != v.end()); in adjfind2()