Searched refs:tcur (Results 1 – 2 of 2) sorted by relevance
1500 PyThreadState *tcur = (PyThreadState *)PyThread_tss_get(&gilstate->autoTSSkey); in PyGILState_Ensure() local1502 if (tcur == NULL) { in PyGILState_Ensure()1504 tcur = PyThreadState_New(gilstate->autoInterpreterState); in PyGILState_Ensure()1505 if (tcur == NULL) { in PyGILState_Ensure()1511 tcur->gilstate_counter = 0; in PyGILState_Ensure()1515 current = PyThreadState_IsCurrent(tcur); in PyGILState_Ensure()1519 PyEval_RestoreThread(tcur); in PyGILState_Ensure()1527 ++tcur->gilstate_counter; in PyGILState_Ensure()
5221 int tcur, tcol; in rewindow() local5225 holdcur1 = holdcur2 = tcur = 0; in rewindow()5227 while (tcur < vs->cursor) { in rewindow()5231 holdcur2 = tcur; in rewindow()5234 tcol = newcol((unsigned char)vs->cbuf[tcur++], tcol); in rewindow()