Home
last modified time | relevance | path

Searched refs:module_dict (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/python/module/
Dmodule.py297 module_dict = vars(module)
300 for key in sorted(module_dict, key=attribute_traversal_key):
304 for leaf_path, leaf in nest.flatten_with_tuple_paths(module_dict[key]):
/external/python/cpython2/Modules/_sqlite/
Dconnection.c1429 PyObject* module_dict; in pysqlite_connection_iterdump() local
1441 module_dict = PyModule_GetDict(module); in pysqlite_connection_iterdump()
1442 if (!module_dict) { in pysqlite_connection_iterdump()
1446 pyfn_iterdump = PyDict_GetItemString(module_dict, "_iterdump"); in pysqlite_connection_iterdump()
/external/python/cpython3/Modules/_sqlite/
Dconnection.c1418 PyObject* module_dict; in pysqlite_connection_iterdump() local
1430 module_dict = PyModule_GetDict(module); in pysqlite_connection_iterdump()
1431 if (!module_dict) { in pysqlite_connection_iterdump()
1435 pyfn_iterdump = PyDict_GetItemString(module_dict, "_iterdump"); in pysqlite_connection_iterdump()
/external/python/cpython2/Modules/
DcPickle.c5875 init_stuff(PyObject *module_dict) in init_stuff() argument
5937 if (PyDict_SetItemString(module_dict, "__builtins__", t) < 0) in init_stuff()
5945 module_dict, t) )) return -1; in init_stuff()
5966 module_dict, t) )) return -1; in init_stuff()
5983 if (PyDict_SetItemString(module_dict, "PickleError", in init_stuff()
5987 if (PyDict_SetItemString(module_dict, "PicklingError", in init_stuff()
5991 if (PyDict_SetItemString(module_dict, "UnpicklingError", in init_stuff()
5995 if (PyDict_SetItemString(module_dict, "UnpickleableError", in init_stuff()
5999 if (PyDict_SetItemString(module_dict, "BadPickleGet", in init_stuff()
/external/libchrome/third_party/jinja2/
Denvironment.py962 def from_module_dict(cls, environment, module_dict, globals): argument
968 return cls._from_namespace(environment, module_dict, globals)
/external/python/cpython3/Python/
Dimport.c944 exec_code_in_module(PyObject *name, PyObject *module_dict, PyObject *code_object) in exec_code_in_module() argument
948 v = PyEval_EvalCode(code_object, module_dict, module_dict); in exec_code_in_module()
/external/python/cpython3/Lib/
Dinspect.py1987 module_dict = {}
1992 module_dict = module.__dict__
2003 value = eval(s, module_dict)
/external/selinux/python/sepolicy/sepolicy/
Dgui.py678 self.module_dict = {}
683 self.module_dict[mod[1]] = { "priority": mod[0], "Disabled" : (len(mod) > 3) }
685 self.enable_unconfined_button.set_active(not self.module_dict["unconfined"]["Disabled"])
686 … self.enable_permissive_button.set_active(not self.module_dict["permissivedomains"]["Disabled"])