Home
last modified time | relevance | path

Searched refs:u_consts (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Python/
Dcompile.c105 PyObject *u_consts; /* all constants */ member
454 Py_CLEAR(u->u_consts); in compiler_unit_free()
503 u->u_consts = PyDict_New(); in compiler_enter_scope()
504 if (!u->u_consts) { in compiler_enter_scope()
1375 if (compiler_add_o(c, c->u->u_consts, first_const) < 0) { in compiler_function()
1516 if (compiler_add_o(c, c->u->u_consts, Py_None) < 0) in compiler_lambda()
3819 tmp = dict_keys_inorder(c->u->u_consts, 0); in makecode()
/external/python/cpython3/Python/
Dcompile.c114 PyObject *u_consts; /* all constants */ member
530 Py_CLEAR(u->u_consts); in compiler_unit_free()
607 u->u_consts = PyDict_New(); in compiler_enter_scope()
608 if (!u->u_consts) { in compiler_enter_scope()
1934 if (compiler_add_o(c, c->u->u_consts, first_const) < 0) { in compiler_function()
2267 if (compiler_add_o(c, c->u->u_consts, Py_None) < 0) in compiler_lambda()
5384 tmp = dict_keys_inorder(c->u->u_consts, 0); in makecode()