Searched refs:insert_position (Results 1 – 3 of 3) sorted by relevance
154 size_t insert_position = new_size; in OnUserRemoved() local155 while (insert_position > 0 && in OnUserRemoved()156 (controllers_[insert_position - 1]->is_new_user() || in OnUserRemoved()157 controllers_[insert_position - 1]->is_guest())) { in OnUserRemoved()158 --insert_position; in OnUserRemoved()161 controllers_.insert(controllers_.begin() + insert_position, in OnUserRemoved()168 if (i != insert_position) in OnUserRemoved()173 controllers_[insert_position]->Init(insert_position, new_size, false); in OnUserRemoved()
405 unsigned int insert_position = kNumberOfElements/2; in TEST() local406 ASSERT_EQ(insert_position * 2, kNumberOfElements); in TEST()419 for (unsigned int j = 0; j < insert_position - 1; ++j) { in TEST()424 --insert_position; in TEST()451 unsigned int insert_position = kNumberOfElements/2; in TEST() local452 ASSERT_EQ(insert_position * 2, kNumberOfElements); in TEST()465 for (unsigned int j = 0; j < insert_position - 1; ++j) { in TEST()470 --insert_position; in TEST()
493 std::vector<const BookmarkNode*>::iterator insert_position = in GetMostRecentlyAddedEntries() local496 if (nodes->size() < count || insert_position != nodes->end()) { in GetMostRecentlyAddedEntries()497 nodes->insert(insert_position, node); in GetMostRecentlyAddedEntries()