Lines Matching refs:item2
370 listitem_T *item1, *item2; in list_equal() local
385 for (item1 = l1->lv_first, item2 = l2->lv_first; in list_equal()
386 item1 != NULL && item2 != NULL; in list_equal()
387 item1 = item1->li_next, item2 = item2->li_next) in list_equal()
388 if (!tv_equal(&item1->li_tv, &item2->li_tv, ic, recursive)) in list_equal()
390 return item1 == NULL && item2 == NULL; in list_equal()
1271 vimlist_remove(list_T *l, listitem_T *item, listitem_T *item2) in vimlist_remove() argument
1282 if (ip == item2) in vimlist_remove()
1286 if (item2->li_next == NULL) in vimlist_remove()
1289 item2->li_next->li_prev = item->li_prev; in vimlist_remove()
1291 l->lv_first = item2->li_next; in vimlist_remove()
1293 item->li_prev->li_next = item2->li_next; in vimlist_remove()
1710 listitem_T *item, *item2; in list_remove() local
1740 else if ((item2 = list_find(l, end)) == NULL) in list_remove()
1749 if (li == item2) in list_remove()
1756 vimlist_remove(l, item, item2); in list_remove()
1772 if (item == item2) in list_remove()
1780 rl->lv_u.mat.lv_last = item2; in list_remove()
1782 item2->li_next = NULL; in list_remove()