Home
last modified time | relevance | path

Searched refs:PyDict_New (Results 1 – 25 of 144) sorted by relevance

123456

/external/python/cpython2/Objects/
Dmoduleobject.c26 m->md_dict = PyDict_New(); in PyModule_New()
55 ((PyModuleObject *)m) -> md_dict = d = PyDict_New(); in PyModule_GetDict()
163 dict = PyDict_New(); in module_init()
Dframeobject.c686 builtins = PyDict_New(); in PyFrame_New()
759 locals = PyDict_New(); in PyFrame_New()
916 locals = f->f_locals = PyDict_New(); in PyFrame_FastToLocals()
/external/python/cpython2/Mac/Modules/
D_scproxy.c64 result = PyDict_New(); in get_proxy_settings()
177 return PyDict_New(); in get_proxies()
180 result = PyDict_New(); in get_proxies()
/external/python/cpython3/Modules/
D_scproxy.c73 result = PyDict_New(); in get_proxy_settings()
183 return PyDict_New(); in get_proxies()
186 result = PyDict_New(); in get_proxies()
D_testmultiphase.c90 self->x_attr = PyDict_New(); in Example_setattr()
441 dct = PyDict_New(); in createfunc_nonmodule()
Dxxlimited.c98 self->x_attr = PyDict_New(); in Xxo_setattr()
Dxxmodule.c85 self->x_attr = PyDict_New(); in Xxo_setattr()
D_testinternalcapi.c29 PyObject *dict = PyDict_New(); in _add_windows_config()
/external/python/cpython2/Python/
Dsymtable.c45 ste->ste_symbols = PyDict_New(); in ste_new()
210 if ((st->st_symbols = PyDict_New()) == NULL) in symtable_new()
633 local = PyDict_New(); /* collect new names bound in block */ in analyze_block()
636 scope = PyDict_New(); /* collect scopes defined for each name */ in analyze_block()
651 newglobal = PyDict_New(); in analyze_block()
654 newbound = PyDict_New(); in analyze_block()
657 newfree = PyDict_New(); in analyze_block()
695 allfree = PyDict_New(); in analyze_block()
748 temp_bound = PyDict_New(); in analyze_child_block()
753 temp_free = PyDict_New(); in analyze_child_block()
[all …]
Ddynload_beos.c109 beos_dyn_images = PyDict_New(); in beos_init_dyn()
Dpystate.c375 _PyThreadState_Current->dict = d = PyDict_New(); in PyThreadState_GetDict()
461 result = PyDict_New(); in _PyThread_CurrentFrames()
/external/tensorflow/tensorflow/lite/python/interpreter_wrapper/
Dinterpreter_wrapper.cc109 PyObject* result = PyDict_New(); in PyDictFromSparsityParam()
118 PyObject* dim_metadata_i = PyDict_New(); in PyDictFromSparsityParam()
370 return PyDict_New(); in TensorSparsityParameters()
569 PyObject* result = PyDict_New(); in GetSignatureDefs()
571 PyObject* signature_def = PyDict_New(); in GetSignatureDefs()
572 PyObject* inputs = PyDict_New(); in GetSignatureDefs()
573 PyObject* outputs = PyDict_New(); in GetSignatureDefs()
/external/python/cpython2/Modules/
D_functoolsmodule.c134 pto->kw = (kw != NULL) ? PyDict_Copy(kw) : PyDict_New(); in partial_new()
233 pto->dict = PyDict_New(); in partial_get_dict()
308 kw = PyDict_New(); in partial_setstate()
Dxxmodule.c82 self->x_attr = PyDict_New(); in Xxo_setattr()
/external/python/cpython2/Modules/_sqlite/
Dmicroprotocols.c44 if ((psyco_adapters = PyDict_New()) == NULL) { in pysqlite_microprotocols_init()
/external/python/cpython3/Modules/_sqlite/
Dmicroprotocols.c43 if ((psyco_adapters = PyDict_New()) == NULL) { in pysqlite_microprotocols_init()
/external/libnl/python/netlink/genl/
Dcapi.i99 attrs = PyDict_New(); in py_genlmsg_parse()
/external/tensorflow/tensorflow/python/framework/
Dpython_tensor_converter.cc121 Safe_PyObjectPtr kwargs(PyDict_New()); in Convert()
/external/python/cpython3/Include/
Ddictobject.h21 PyAPI_FUNC(PyObject *) PyDict_New(void);
/external/tensorflow/tensorflow/python/util/
Dnest.cc87 PyObject* flat_dictionary = PyDict_New(); in FlattenDictItems()
/external/tensorflow/tensorflow/lite/toco/python/
Dtoco_python_api.cc212 PyObject* dict = PyDict_New(); in TocoConvert()
231 PyObject* op_dict = PyDict_New(); in TocoGetPotentiallySupportedOps()
/external/python/cpython2/Include/
Ddictobject.h109 PyAPI_FUNC(PyObject *) PyDict_New(void);
/external/python/cpython3/Modules/_multiprocessing/
Dmultiprocessing.c191 temp = PyDict_New(); in PyInit__multiprocessing()
/external/python/cpython3/Objects/
Dnamespaceobject.c30 ns->ns_dict = PyDict_New(); in namespace_new()
/external/python/cffi/c/
Dcall_python.c43 d = PyDict_New(); in _get_interpstate_dict()

123456