Home
last modified time | relevance | path

Searched refs:rightindex (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Modules/
D_collectionsmodule.c101 Py_ssize_t rightindex; /* in range(BLOCKLEN) */ member
147 deque->rightindex = CENTER; in deque_new()
166 item = deque->rightblock->data[deque->rightindex]; in deque_pop()
167 deque->rightindex--; in deque_pop()
171 if (deque->rightindex == -1) { in deque_pop()
174 assert(deque->leftindex == deque->rightindex+1); in deque_pop()
177 deque->rightindex = CENTER; in deque_pop()
184 deque->rightindex = BLOCKLEN - 1; in deque_pop()
211 assert(deque->leftindex == deque->rightindex+1); in deque_popleft()
214 deque->rightindex = CENTER; in deque_popleft()
[all …]
/external/python/cpython3/Modules/
D_collectionsmodule.c82 Py_ssize_t rightindex; /* 0 <= rightindex < BLOCKLEN */ member
170 deque->rightindex = CENTER; in deque_new()
188 item = deque->rightblock->data[deque->rightindex]; in deque_pop()
189 deque->rightindex--; in deque_pop()
193 if (deque->rightindex < 0) { in deque_pop()
201 deque->rightindex = BLOCKLEN - 1; in deque_pop()
204 assert(deque->leftindex == deque->rightindex+1); in deque_pop()
207 deque->rightindex = CENTER; in deque_pop()
242 assert(deque->leftindex == deque->rightindex+1); in deque_popleft()
245 deque->rightindex = CENTER; in deque_popleft()
[all …]
/external/python/cpython3/Lib/idlelib/
Dparenmatch.py128 rightindex = indices[1]+"+1c"
130 rightindex = indices[1]
131 self.text.tag_add("paren", indices[0], indices[0]+"+1c", rightindex+"-1c", rightindex)
137 rightindex = indices[1]+"+1c"
139 rightindex = indices[1]
140 self.text.tag_add("paren", indices[0], rightindex)
/external/python/cpython2/Lib/idlelib/
DParenMatch.py142 rightindex = indices[1]+"+1c"
144 rightindex = indices[1]
145 self.text.tag_add("paren", indices[0], rightindex)