Searched refs:tdict (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython2/Modules/ |
D | threadmodule.c | 284 PyObject *tdict, *ldict = NULL, *wr = NULL; in _local_create_dummy() local 288 tdict = PyThreadState_GetDict(); in _local_create_dummy() 289 if (tdict == NULL) { in _local_create_dummy() 312 r = PyDict_SetItem(tdict, self->key, (PyObject *) dummy); in _local_create_dummy() 436 PyObject *tdict, *ldict, *dummy; in _ldict() local 438 tdict = PyThreadState_GetDict(); in _ldict() 439 if (tdict == NULL) { in _ldict() 445 dummy = PyDict_GetItem(tdict, self->key); in _ldict() 457 PyDict_DelItem(tdict, self->key); in _ldict()
|
/external/python/cpython3/Modules/ |
D | _threadmodule.c | 654 PyObject *tdict, *ldict = NULL, *wr = NULL; in _local_create_dummy() local 658 tdict = PyThreadState_GetDict(); in _local_create_dummy() 659 if (tdict == NULL) { in _local_create_dummy() 682 r = PyDict_SetItem(tdict, self->key, (PyObject *) dummy); in _local_create_dummy() 808 PyObject *tdict, *ldict, *dummy; in _ldict() local 810 tdict = PyThreadState_GetDict(); in _ldict() 811 if (tdict == NULL) { in _ldict() 817 dummy = PyDict_GetItem(tdict, self->key); in _ldict() 829 PyDict_DelItem(tdict, self->key); in _ldict()
|
/external/selinux/python/sepolicy/sepolicy/ |
D | __init__.py | 412 tdict = {} 434 tdict.update({'source': i['source'], 'boolean': i['boolean']}) 435 if tdict not in tlist: 436 tlist.append(tdict) 437 tdict = {}
|