Searched refs:u_cellvars (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Python/ |
D | compile.c | 108 PyObject *u_cellvars; /* cell variables */ member 458 Py_CLEAR(u->u_cellvars); in compiler_unit_free() 485 u->u_cellvars = dictbytype(u->u_ste->ste_symbols, CELL, 0, 0); in compiler_enter_scope() 486 if (!u->u_varnames || !u->u_cellvars) { in compiler_enter_scope() 492 PyDict_Size(u->u_cellvars)); in compiler_enter_scope() 1292 arg = compiler_lookup_arg(c->u->u_cellvars, name); in compiler_make_closure() 2337 dict = c->u->u_cellvars; in compiler_nameop() 3793 n = PyDict_Size(c->u->u_cellvars); in compute_code_flags() 3830 cellvars = dict_keys_inorder(c->u->u_cellvars, 0); in makecode()
|
/external/python/cpython3/Python/ |
D | compile.c | 117 PyObject *u_cellvars; /* cell variables */ member 534 Py_CLEAR(u->u_cellvars); in compiler_unit_free() 564 u->u_cellvars = dictbytype(u->u_ste->ste_symbols, CELL, 0, 0); in compiler_enter_scope() 565 if (!u->u_varnames || !u->u_cellvars) { in compiler_enter_scope() 575 assert(PyDict_GET_SIZE(u->u_cellvars) == 0); in compiler_enter_scope() 586 res = PyDict_SetItem(u->u_cellvars, tuple, _PyLong_Zero); in compiler_enter_scope() 595 PyDict_GET_SIZE(u->u_cellvars)); in compiler_enter_scope() 1627 arg = compiler_lookup_arg(c->u->u_cellvars, name); in compiler_make_closure() 2034 i = compiler_lookup_arg(c->u->u_cellvars, str); in compiler_class() 2054 assert(PyDict_GET_SIZE(c->u->u_cellvars) == 0); in compiler_class() [all …]
|