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.c122 PyObject *u_consts; /* all constants */ member
546 Py_CLEAR(u->u_consts); in compiler_unit_free()
616 u->u_consts = PyDict_New(); in compiler_enter_scope()
617 if (!u->u_consts) { in compiler_enter_scope()
1313 Py_ssize_t arg = compiler_add_o(c->u->u_consts, key); in compiler_add_const()
5912 consts = consts_dict_keys_inorder(c->u->u_consts); in makecode()