Searched refs:index_from_end (Results 1 – 1 of 1) sorted by relevance
/art/runtime/base/ |
D | transform_iterator_test.cc | 106 ptrdiff_t index_from_end = -static_cast<ptrdiff_t>(input.size() - i); in TEST() local 107 ASSERT_EQ(input[i].value + 1, MakeTransformIterator(input.end(), add1)[index_from_end]); in TEST() 108 ASSERT_EQ(input[i].value + 1, MakeTransformIterator(input.cend(), add1)[index_from_end]); in TEST() 311 ptrdiff_t index_from_end = -static_cast<ptrdiff_t>(input.size() - i); in TEST() local 312 ASSERT_EQ(input[i].value, MakeTransformIterator(input.end(), ref)[index_from_end]); in TEST() 313 ASSERT_EQ(input[i].value, MakeTransformIterator(input.cend(), ref)[index_from_end]); in TEST() 376 ptrdiff_t index_from_end = -static_cast<ptrdiff_t>(input.size() - i); in TEST() local 377 ASSERT_EQ(input[i].value, MakeTransformIterator(input.end(), ref)[index_from_end]); in TEST() 472 ptrdiff_t index_from_end = -static_cast<ptrdiff_t>(input.size() - i); in TEST() local 473 ASSERT_EQ(input[i].value, MakeTransformIterator(input.end(), ref)[index_from_end]); in TEST() [all …]
|