Lines Matching refs:last
33 * last_idx; // The last index
208 /* the iterator points the last, update it. */
284 /** Remove the last entry and return it */
346 int first, last, idx0, reset_itr;
360 last = -1;
365 list->itr_next = -2; /* on the last item */
368 /* should we reduce the last side or the first side? */
375 last = list->last_idx;
380 * 0 < last (unused) first < idx < size, so let's reduce the
387 last = list->last_idx;
392 /* the last side */
393 if (last != -1 && last != 0 && last != idx0) {
395 /* move left the items that is from idx0 to the last */
397 idx0 <= list->itr_next && list->itr_next <= last) {
404 (PTR_SIZE) * (last - idx0));
482 list->itr_next = -2; /* on the last item */