Home
last modified time | relevance | path

Searched refs:insert_position (Results 1 – 3 of 3) sorted by relevance

/external/chromium/chrome/browser/chromeos/login/
Dviews_login_display.cc154 size_t insert_position = new_size; in OnUserRemoved() local
155 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()
/external/webrtc/src/system_wrappers/source/
Dlist_unittest.cc405 unsigned int insert_position = kNumberOfElements/2; in TEST() local
406 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() local
452 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()
/external/chromium/chrome/browser/bookmarks/
Dbookmark_utils.cc493 std::vector<const BookmarkNode*>::iterator insert_position = in GetMostRecentlyAddedEntries() local
496 if (nodes->size() < count || insert_position != nodes->end()) { in GetMostRecentlyAddedEntries()
497 nodes->insert(insert_position, node); in GetMostRecentlyAddedEntries()