Home
last modified time | relevance | path

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

123456

/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/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/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.c69 self->x_attr = PyDict_New(); in Example_setattr()
269 dct = PyDict_New(); in createfunc_nonmodule()
Dxxlimited.c94 self->x_attr = PyDict_New(); in Xxo_setattr()
Dxxmodule.c82 self->x_attr = PyDict_New(); in Xxo_setattr()
/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 …]
Dpystate.c375 _PyThreadState_Current->dict = d = PyDict_New(); in PyThreadState_GetDict()
461 result = PyDict_New(); in _PyThread_CurrentFrames()
Ddynload_beos.c109 beos_dyn_images = PyDict_New(); in beos_init_dyn()
Dmarshal.c488 wf.strings = (version > 0) ? PyDict_New() : NULL; in PyMarshal_WriteObjectToFile()
939 v = PyDict_New(); in r_object()
1230 wf.strings = (version > 0) ? PyDict_New() : NULL; in PyMarshal_WriteObjectToString()
1273 wf.strings = (version > 0) ? PyDict_New() : 0; in marshal_dump()
/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()
D_elementtree.c434 res = PyDict_New(); in element_get_attrib()
499 attrib = (attrib) ? PyDict_Copy(attrib) : PyDict_New(); in element()
530 attrib = (attrib) ? PyDict_Copy(attrib) : PyDict_New(); in subelement()
2276 attrib = PyDict_New();
2313 attrib = PyDict_New();
2552 self->entity = PyDict_New();
2558 self->names = PyDict_New();
2990 g = PyDict_New();
Dxxmodule.c82 self->x_attr = PyDict_New(); in Xxo_setattr()
/external/tensorflow/tensorflow/python/util/
Dpy_checkpoint_reader.i28 tensorflow::Safe_PyObjectPtr output_map(tensorflow::make_safe(PyDict_New()));
72 tensorflow::Safe_PyObjectPtr output_map(tensorflow::make_safe(PyDict_New()));
/external/python/cpython2/Modules/_sqlite/
Dmicroprotocols.c44 if ((psyco_adapters = PyDict_New()) == NULL) { in pysqlite_microprotocols_init()
/external/python/cpython3/Modules/_sqlite/
Dmicroprotocols.c44 if ((psyco_adapters = PyDict_New()) == NULL) { in pysqlite_microprotocols_init()
/external/tensorflow/tensorflow/lite/toco/python/
Dtoco_python_api.cc89 PyObject* dict = PyDict_New(); in TocoConvert()
/external/libnl/python/netlink/genl/
Dcapi.i91 attrs = PyDict_New(); in py_genlmsg_parse()
/external/python/cpython2/Include/
Ddictobject.h109 PyAPI_FUNC(PyObject *) PyDict_New(void);
/external/python/cpython3/Objects/
Dframeobject.c683 builtins = PyDict_New(); in _PyFrame_New_NoTrack()
757 locals = PyDict_New(); in _PyFrame_New_NoTrack()
931 locals = f->f_locals = PyDict_New(); in PyFrame_FastToLocalsWithError()
Dnamespaceobject.c30 ns->ns_dict = PyDict_New(); in namespace_new()
/external/python/cpython3/Modules/_multiprocessing/
Dmultiprocessing.c191 temp = PyDict_New(); in PyInit__multiprocessing()
/external/python/cpython3/Python/
Derrors.c777 kwargs = PyDict_New(); in PyErr_SetImportErrorSubclass()
876 dict = mydict = PyDict_New(); in PyErr_NewException()
920 dict = mydict = PyDict_New(); in PyErr_NewExceptionWithDoc()
/external/tensorflow/tensorflow/python/grappler/
Dcluster.i274 PyObject* result = PyDict_New(); in TF_GetSupportedDevices()
408 PyObject* result = PyDict_New(); in TF_DeterminePeakMemoryUsage()

123456