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/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/cpython3/Modules/
D_collectionsmodule.c91 Py_ssize_t rightindex; /* 0 <= rightindex < BLOCKLEN */ member
179 deque->rightindex = CENTER; in deque_new()
197 item = deque->rightblock->data[deque->rightindex]; in deque_pop()
198 deque->rightindex--; in deque_pop()
202 if (deque->rightindex < 0) { in deque_pop()
210 deque->rightindex = BLOCKLEN - 1; in deque_pop()
213 assert(deque->leftindex == deque->rightindex+1); in deque_pop()
216 deque->rightindex = CENTER; in deque_pop()
251 assert(deque->leftindex == deque->rightindex+1); in deque_popleft()
254 deque->rightindex = CENTER; in deque_popleft()
[all …]
/external/python/cpython2/Lib/idlelib/
DParenMatch.py142 rightindex = indices[1]+"+1c"
144 rightindex = indices[1]
145 self.text.tag_add("paren", indices[0], rightindex)