Searched refs:last_item (Results 1 – 8 of 8) sorted by relevance
85 MapItem* last_item = test_map.Last(); in main() local86 FailTest(last_item == NULL); in main()87 FailTest(GetStoredIntegerValue(last_item) != 9); in main()92 FailTest(test_map.Next(last_item) != NULL); in main()94 MapItem* second_to_last_item = test_map.Previous(last_item); in main()107 last_item->SetItem(reinterpret_cast<void*>(&swapped_item)); in main()108 FailTest(GetStoredIntegerValue(last_item) != in main()
108 ListItem* last_item = test_list.Last(); in main() local109 FailTest(last_item == NULL); in main()113 FailTest(test_list.Next(last_item) != NULL); in main()116 ListItem* second_to_last_item = test_list.Previous(last_item); in main()121 FailTest(last_item->GetUnsignedItem() != in main()123 FailTest(last_item->GetItem() != in main()
402 struct compute_memory_item *last_item; in compute_memory_alloc() local405 for (last_item = pool->item_list; last_item->next; in compute_memory_alloc()406 last_item = last_item->next); in compute_memory_alloc()408 last_item->next = new_item; in compute_memory_alloc()409 new_item->prev = last_item; in compute_memory_alloc()
293 last_item = None303 if not last_item and message.lstrip() != message:306 last_item = mixed_item315 if (isinstance(last_item, types.StringTypes) and316 last_item.rstrip() != last_item):
1273 MenuItemView* last_item = state.item; in CloseAllNestedMenus() local1274 for (MenuItemView* item = last_item; item; in CloseAllNestedMenus()1277 last_item = item; in CloseAllNestedMenus()1280 state.item = last_item; in CloseAllNestedMenus()
1915 AppListItem* last_item = source_folder->item_list()->item_at(0); in RemoveLastItemFromReparentItemFolderIfNecessary() local1916 model_->MoveItemToFolderAt(last_item, "", source_folder->position()); in RemoveLastItemFromReparentItemFolderIfNecessary()1920 if (!item_list_->FindItemIndex(last_item->id(), &last_item_index) || in RemoveLastItemFromReparentItemFolderIfNecessary()
547 app_list::AppListItem* last_item = item_list->item_at(kItemsPerPage);548 model()->DeleteItem(last_item->id());