• Home
  • Raw
  • Download

Lines Matching refs:rightblock

99     block *rightblock;  member
145 deque->rightblock = b; in deque_new()
166 item = deque->rightblock->data[deque->rightindex]; in deque_pop()
173 assert(deque->leftblock == deque->rightblock); in deque_pop()
179 prevblock = deque->rightblock->leftlink; in deque_pop()
180 assert(deque->leftblock != deque->rightblock); in deque_pop()
181 freeblock(deque->rightblock); in deque_pop()
183 deque->rightblock = prevblock; in deque_pop()
210 assert(deque->leftblock == deque->rightblock); in deque_popleft()
216 assert(deque->leftblock != deque->rightblock); in deque_popleft()
235 block *b = newblock(deque->rightblock, NULL, deque->len); in deque_append()
238 assert(deque->rightblock->rightlink == NULL); in deque_append()
239 deque->rightblock->rightlink = b; in deque_append()
240 deque->rightblock = b; in deque_append()
246 deque->rightblock->data[deque->rightindex] = item; in deque_append()
319 block *b = newblock(deque->rightblock, NULL, in deque_extend()
326 assert(deque->rightblock->rightlink == NULL); in deque_extend()
327 deque->rightblock->rightlink = b; in deque_extend()
328 deque->rightblock = b; in deque_extend()
333 deque->rightblock->data[deque->rightindex] = item; in deque_extend()
447 &deque->rightblock->data[deque->rightindex + 1 - m], in _deque_rotate()
454 block *prevblock = deque->rightblock->leftlink; in _deque_rotate()
455 assert(deque->rightblock != NULL); in _deque_rotate()
456 assert(deque->leftblock != deque->rightblock); in _deque_rotate()
457 freeblock(deque->rightblock); in _deque_rotate()
459 deque->rightblock = prevblock; in _deque_rotate()
465 block *b = newblock(deque->rightblock, NULL, len); in _deque_rotate()
468 assert(deque->rightblock->rightlink == NULL); in _deque_rotate()
469 deque->rightblock->rightlink = b; in _deque_rotate()
470 deque->rightblock = b; in _deque_rotate()
481 memcpy(&deque->rightblock->data[deque->rightindex + 1], in _deque_rotate()
490 assert(deque->leftblock != deque->rightblock); in _deque_rotate()
520 block *rightblock = deque->rightblock; in deque_reverse() local
529 assert(leftblock != rightblock || leftindex < rightindex); in deque_reverse()
533 leftblock->data[leftindex] = rightblock->data[rightindex]; in deque_reverse()
534 rightblock->data[rightindex] = tmp; in deque_reverse()
548 if (rightblock->leftlink == NULL) in deque_reverse()
550 rightblock = rightblock->leftlink; in deque_reverse()
682 deque->rightblock = b; in deque_clear()
733 b = deque->rightblock; in deque_item()
744 b = deque->rightblock; in deque_item()
801 b = deque->rightblock; in deque_ass_item()
833 deque->rightblock = NULL; in deque_dealloc()
846 const Py_ssize_t indexhi = b == deque->rightblock ? in deque_traverse()
1303 assert (!(it->b == it->deque->rightblock && in dequeiter_next()
1376 it->b = deque->rightblock; in deque_reviter()