Home
last modified time | relevance | path

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

123

/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.c650 builtins = PyDict_New(); in PyFrame_New()
723 locals = PyDict_New(); in PyFrame_New()
880 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/cpython2/Python/
Dsymtable.c45 ste->ste_symbols = PyDict_New(); in ste_new()
208 if ((st->st_symbols = PyDict_New()) == NULL) in symtable_new()
631 local = PyDict_New(); /* collect new names bound in block */ in analyze_block()
634 scope = PyDict_New(); /* collect scopes defined for each name */ in analyze_block()
649 newglobal = PyDict_New(); in analyze_block()
652 newbound = PyDict_New(); in analyze_block()
655 newfree = PyDict_New(); in analyze_block()
693 allfree = PyDict_New(); in analyze_block()
746 temp_bound = PyDict_New(); in analyze_child_block()
751 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.c482 wf.strings = (version > 0) ? PyDict_New() : NULL; in PyMarshal_WriteObjectToFile()
933 v = PyDict_New(); in r_object()
1224 wf.strings = (version > 0) ? PyDict_New() : NULL; in PyMarshal_WriteObjectToString()
1267 wf.strings = (version > 0) ? PyDict_New() : 0; in marshal_dump()
Dpythonrun.c221 interp->modules = PyDict_New(); in Py_InitializeEx()
224 interp->modules_reloading = PyDict_New(); in Py_InitializeEx()
599 interp->modules = PyDict_New(); in Py_NewInterpreter()
600 interp->modules_reloading = PyDict_New(); in Py_NewInterpreter()
Derrors.c594 dict = mydict = PyDict_New(); in PyErr_NewException()
637 dict = mydict = PyDict_New(); in PyErr_NewExceptionWithDoc()
D_warnings.c471 *registry = PyDict_New(); in setup_context()
897 _once_registry = PyDict_New(); in _PyWarnings_Init()
Dcodecs.c1009 interp->codec_search_cache = PyDict_New(); in _PyCodecRegistry_Init()
1010 interp->codec_error_registry = PyDict_New(); in _PyCodecRegistry_Init()
/external/python/cpython2/Modules/
D_functoolsmodule.c134 pto->kw = (kw != NULL) ? PyDict_Copy(kw) : PyDict_New(); in partial_new()
232 pto->dict = PyDict_New(); in partial_get_dict()
307 kw = PyDict_New(); in partial_setstate()
Dxxmodule.c82 self->x_attr = PyDict_New(); in Xxo_setattr()
D_elementtree.c424 res = PyDict_New(); in element_get_attrib()
485 attrib = (attrib) ? PyDict_Copy(attrib) : PyDict_New(); in element()
516 attrib = (attrib) ? PyDict_Copy(attrib) : PyDict_New(); in subelement()
2233 attrib = PyDict_New();
2270 attrib = PyDict_New();
2497 self->entity = PyDict_New();
2503 self->names = PyDict_New();
2901 g = PyDict_New();
Dthreadmodule.c295 ldict = PyDict_New(); in _local_create_dummy()
362 self->dummies = PyDict_New(); in local_new()
D_hotshot.c783 dict = PyDict_New(); in get_fileno()
1366 self->info = PyDict_New(); in hotshot_logreader()
1517 self->filemap = PyDict_New(); in hotshot_profiler()
/external/python/cpython2/Modules/_sqlite/
Dmicroprotocols.c44 if ((psyco_adapters = PyDict_New()) == NULL) { in pysqlite_microprotocols_init()
Dcache.c77 self->mapping = PyDict_New(); in pysqlite_cache_init()
Dmodule.c226 converters = PyDict_New(); in converters_init()
/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/cpython2/Modules/_multiprocessing/
Dmultiprocessing.c325 temp = PyDict_New(); in init_multiprocessing()
/external/protobuf/python/google/protobuf/pyext/
Dextension_dict.cc267 self->values = PyDict_New(); in NewExtensionDict()
/external/python/cpython2/PC/os2vacpp/
Dpython.def127 PyDict_New
/external/python/cpython2/Mac/Modules/cf/
Dpycfbridge.c76 if ( (rv=PyDict_New()) == NULL ) goto err; in PyCF_CF2Python_mapping()

123