/external/python/cpython2/Modules/ |
D | clmodule.c | 975 (void) PyDict_SetItemString(d, "error", ClError); in initcl() 979 if (x == NULL || PyDict_SetItemString(d, "ADDED_ALGORITHM_ERROR", x) < 0) in initcl() 985 if (x == NULL || PyDict_SetItemString(d, "ALAW", x) < 0) in initcl() 991 if (x == NULL || PyDict_SetItemString(d, "ALGORITHM_ID", x) < 0) in initcl() 997 if (x == NULL || PyDict_SetItemString(d, "ALGORITHM_TABLE_FULL", x) < 0) in initcl() 1003 if (x == NULL || PyDict_SetItemString(d, "ALGORITHM_VERSION", x) < 0) in initcl() 1009 if (x == NULL || PyDict_SetItemString(d, "ALG_AUDIO", x) < 0) in initcl() 1015 if (x == NULL || PyDict_SetItemString(d, "ALG_VIDEO", x) < 0) in initcl() 1021 if (x == NULL || PyDict_SetItemString(d, "AUDIO", x) < 0) in initcl() 1027 if (x == NULL || PyDict_SetItemString(d, "AWARE_BITRATE_POLICY", x) < 0) in initcl() [all …]
|
D | almodule.c | 1701 PyDict_SetItemString(v, "resource", item); in al_GetParamInfo() 1705 PyDict_SetItemString(v, "param", item); in al_GetParamInfo() 1709 PyDict_SetItemString(v, "valueType", item); in al_GetParamInfo() 1715 PyDict_SetItemString(v, "maxElems", item); in al_GetParamInfo() 1721 PyDict_SetItemString(v, "maxElems2", item); in al_GetParamInfo() 1727 PyDict_SetItemString(v, "elementType", item); in al_GetParamInfo() 1731 PyDict_SetItemString(v, "name", item); in al_GetParamInfo() 1735 PyDict_SetItemString(v, "initial", item); in al_GetParamInfo() 1743 PyDict_SetItemString(v, "min", item); in al_GetParamInfo() 1747 PyDict_SetItemString(v, "max", item); in al_GetParamInfo() [all …]
|
D | signalmodule.c | 591 if (!x || PyDict_SetItemString(d, "SIG_DFL", x) < 0) in initsignal() 595 if (!x || PyDict_SetItemString(d, "SIG_IGN", x) < 0) in initsignal() 599 if (!x || PyDict_SetItemString(d, "NSIG", x) < 0) in initsignal() 630 PyDict_SetItemString(d, "SIGHUP", x); in initsignal() 635 PyDict_SetItemString(d, "SIGINT", x); in initsignal() 640 PyDict_SetItemString(d, "SIGBREAK", x); in initsignal() 645 PyDict_SetItemString(d, "SIGQUIT", x); in initsignal() 650 PyDict_SetItemString(d, "SIGILL", x); in initsignal() 655 PyDict_SetItemString(d, "SIGTRAP", x); in initsignal() 660 PyDict_SetItemString(d, "SIGIOT", x); in initsignal() [all …]
|
D | _localemodule.c | 123 PyDict_SetItemString(string, "uppercase", ulo); in fixup_ulcase() 125 PyDict_SetItemString(strop, "uppercase", ulo); in fixup_ulcase() 138 PyDict_SetItemString(string, "lowercase", ulo); in fixup_ulcase() 140 PyDict_SetItemString(strop, "lowercase", ulo); in fixup_ulcase() 153 PyDict_SetItemString(string, "letters", ulo); in fixup_ulcase() 226 PyDict_SetItemString(result, #s, x);\ in PyLocale_localeconv() 232 PyDict_SetItemString(result, #i, x);\ in PyLocale_localeconv() 241 PyDict_SetItemString(result, "grouping", x); in PyLocale_localeconv() 252 PyDict_SetItemString(result, "mon_grouping", x); in PyLocale_localeconv() 706 PyDict_SetItemString(d, "LC_CTYPE", x); in init_locale() [all …]
|
D | cdmodule.c | 764 PyDict_SetItemString(d, "error", CdError); in initcd() 767 PyDict_SetItemString(d, "audio", PyInt_FromLong((long) cd_audio)); in initcd() 768 PyDict_SetItemString(d, "pnum", PyInt_FromLong((long) cd_pnum)); in initcd() 769 PyDict_SetItemString(d, "index", PyInt_FromLong((long) cd_index)); in initcd() 770 PyDict_SetItemString(d, "ptime", PyInt_FromLong((long) cd_ptime)); in initcd() 771 PyDict_SetItemString(d, "atime", PyInt_FromLong((long) cd_atime)); in initcd() 772 PyDict_SetItemString(d, "catalog", PyInt_FromLong((long) cd_catalog)); in initcd() 773 PyDict_SetItemString(d, "ident", PyInt_FromLong((long) cd_ident)); in initcd() 774 PyDict_SetItemString(d, "control", PyInt_FromLong((long) cd_control)); in initcd() 777 PyDict_SetItemString(d, "DATASIZE", in initcd() [all …]
|
D | dlmodule.c | 230 if (!v || PyDict_SetItemString(d, name, v)) in insint() 256 PyDict_SetItemString(d, "error", x); in initdl() 258 PyDict_SetItemString(d, "RTLD_LAZY", x); in initdl()
|
D | _curses_panel.c | 488 PyDict_SetItemString(d, "error", PyCursesError); in init_curses_panel() 492 PyDict_SetItemString(d, "version", v); in init_curses_panel() 493 PyDict_SetItemString(d, "__version__", v); in init_curses_panel()
|
D | _ssl.c | 1207 if (PyDict_SetItemString(retval, (const char *) "subject", peer) < 0) { in _decode_certificate() 1217 if (PyDict_SetItemString(retval, (const char *)"issuer", issuer) < 0) { in _decode_certificate() 1226 if (PyDict_SetItemString(retval, "version", version) < 0) { in _decode_certificate() 1247 if (PyDict_SetItemString(retval, "serialNumber", sn_obj) < 0) { in _decode_certificate() 1264 if (PyDict_SetItemString(retval, "notBefore", pnotBefore) < 0) { in _decode_certificate() 1281 if (PyDict_SetItemString(retval, "notAfter", pnotAfter) < 0) { in _decode_certificate() 1293 if (PyDict_SetItemString(retval, "subjectAltName", in _decode_certificate() 1306 result = PyDict_SetItemString(retval, "OCSP", obj); in _decode_certificate() 1317 result = PyDict_SetItemString(retval, "caIssuers", obj); in _decode_certificate() 1329 result = PyDict_SetItemString(retval, "crlDistributionPoints", obj); in _decode_certificate() [all …]
|
D | fpetestmodule.c | 185 PyDict_SetItemString(d, "error", fpe_error); in initfpetest()
|
D | dbmmodule.c | 414 PyDict_SetItemString(d, "library", s); in initdbm() 418 PyDict_SetItemString(d, "error", DbmError); in initdbm()
|
D | gdbmmodule.c | 543 PyDict_SetItemString(d, "error", DbmError); in initgdbm() 545 PyDict_SetItemString(d, "open_flags", s); in initgdbm()
|
D | cStringIO.c | 770 PyDict_SetItemString(d,"cStringIO_CAPI", v); in initcStringIO() 774 PyDict_SetItemString(d,"InputType", (PyObject*)&Itype); in initcStringIO() 775 PyDict_SetItemString(d,"OutputType", (PyObject*)&Otype); in initcStringIO()
|
/external/python/cpython2/Modules/_sqlite/ |
D | module.c | 231 PyDict_SetItemString(dict, "converters", converters); in converters_init() 344 PyDict_SetItemString(dict, "Error", pysqlite_Error); in init_sqlite3() 349 PyDict_SetItemString(dict, "Warning", pysqlite_Warning); in init_sqlite3() 356 PyDict_SetItemString(dict, "InterfaceError", pysqlite_InterfaceError); in init_sqlite3() 361 PyDict_SetItemString(dict, "DatabaseError", pysqlite_DatabaseError); in init_sqlite3() 368 PyDict_SetItemString(dict, "InternalError", pysqlite_InternalError); in init_sqlite3() 373 PyDict_SetItemString(dict, "OperationalError", pysqlite_OperationalError); in init_sqlite3() 378 PyDict_SetItemString(dict, "ProgrammingError", pysqlite_ProgrammingError); in init_sqlite3() 383 PyDict_SetItemString(dict, "IntegrityError", pysqlite_IntegrityError); in init_sqlite3() 388 PyDict_SetItemString(dict, "DataError", pysqlite_DataError); in init_sqlite3() [all …]
|
D | microprotocols.c | 48 return PyDict_SetItemString(dict, "adapters", psyco_adapters); in pysqlite_microprotocols_init()
|
/external/python/cpython2/Objects/ |
D | moduleobject.c | 29 if (PyDict_SetItemString(m->md_dict, "__name__", nameobj) != 0) in PyModule_New() 31 if (PyDict_SetItemString(m->md_dict, "__doc__", Py_None) != 0) in PyModule_New() 33 if (PyDict_SetItemString(m->md_dict, "__package__", Py_None) != 0) in PyModule_New() 168 if (PyDict_SetItemString(dict, "__name__", name) < 0) in module_init() 170 if (PyDict_SetItemString(dict, "__doc__", doc) < 0) in module_init()
|
/external/python/cpython2/Python/ |
D | Python-ast.c | 659 PyDict_SetItemString(d, "_fields", empty_tuple) < 0 || in add_ast_fields() 660 PyDict_SetItemString(d, "_attributes", empty_tuple) < 0) { in add_ast_fields() 6767 if (PyDict_SetItemString(d, "AST", (PyObject*)&AST_type) < 0) return; in init_ast() 6772 if (PyDict_SetItemString(d, "mod", (PyObject*)mod_type) < 0) return; in init_ast() 6773 if (PyDict_SetItemString(d, "Module", (PyObject*)Module_type) < 0) in init_ast() 6775 if (PyDict_SetItemString(d, "Interactive", (PyObject*)Interactive_type) in init_ast() 6777 if (PyDict_SetItemString(d, "Expression", (PyObject*)Expression_type) < in init_ast() 6779 if (PyDict_SetItemString(d, "Suite", (PyObject*)Suite_type) < 0) return; in init_ast() 6780 if (PyDict_SetItemString(d, "stmt", (PyObject*)stmt_type) < 0) return; in init_ast() 6781 if (PyDict_SetItemString(d, "FunctionDef", (PyObject*)FunctionDef_type) in init_ast() [all …]
|
D | sysmodule.c | 83 return PyDict_SetItemString(sd, name, v); in PySys_SetObject() 1370 PyDict_SetItemString(sysdict, key, v); \ in _PySys_Init() 1406 PyDict_SetItemString(sysdict, "stdin", sysin); in _PySys_Init() 1407 PyDict_SetItemString(sysdict, "stdout", sysout); in _PySys_Init() 1408 PyDict_SetItemString(sysdict, "stderr", syserr); in _PySys_Init() 1410 PyDict_SetItemString(sysdict, "__stdin__", sysin); in _PySys_Init() 1411 PyDict_SetItemString(sysdict, "__stdout__", sysout); in _PySys_Init() 1412 PyDict_SetItemString(sysdict, "__stderr__", syserr); in _PySys_Init() 1413 PyDict_SetItemString(sysdict, "__displayhook__", in _PySys_Init() 1415 PyDict_SetItemString(sysdict, "__excepthook__", in _PySys_Init() [all …]
|
D | import.c | 450 PyDict_SetItemString(dict, "_", Py_None); in PyImport_Cleanup() 460 PyDict_SetItemString(dict, *p, Py_None); in PyImport_Cleanup() 468 PyDict_SetItemString(dict, *p, v); in PyImport_Cleanup() 478 PyDict_SetItemString(modules, "__main__", Py_None); in PyImport_Cleanup() 541 PyDict_SetItemString(modules, "sys", Py_None); in PyImport_Cleanup() 548 PyDict_SetItemString(modules, "__builtin__", Py_None); in PyImport_Cleanup() 600 PyDict_SetItemString(extensions, filename, copy); in _PyImport_FixupExtension() 712 if (PyDict_SetItemString(d, "__builtins__", in PyImport_ExecCodeModuleEx() 727 if (PyDict_SetItemString(d, "__file__", v) != 0) in PyImport_ExecCodeModuleEx() 1167 err = PyDict_SetItemString(d, "__file__", file); in load_package() [all …]
|
D | modsupport.c | 86 if (PyDict_SetItemString(d, ml->ml_name, v) != 0) { in Py_InitModule4() 97 if (v == NULL || PyDict_SetItemString(d, "__doc__", v) != 0) { in Py_InitModule4() 642 if (PyDict_SetItemString(dict, name, o)) in PyModule_AddObject()
|
/external/python/cpython2/Mac/Modules/ |
D | _scproxy.c | 81 r = PyDict_SetItemString(result, "exclude_simple", v); in get_proxy_settings() 93 r = PyDict_SetItemString(result, "exceptions", v); in get_proxy_settings() 155 r = PyDict_SetItemString(proxies, proto, in set_proxy()
|
D | MacOS.c | 706 if (MacOS_Error == NULL || PyDict_SetItemString(d, "Error", MacOS_Error) != 0) 710 if (PyDict_SetItemString(d, "ResourceForkType", (PyObject *)&Rftype) != 0) 721 if( PyDict_SetItemString(d, "string_id_to_buffer", Py_BuildValue("i", off)) != 0) 725 if (PyDict_SetItemString(d, "runtimemodel", 735 if (PyDict_SetItemString(d, "linkmodel",
|
D | autoGIL.c | 100 if (PyDict_SetItemString(tstate_dict, "autoGIL.InstalledAutoGIL", in autoGIL_installAutoGIL()
|
/external/python/cpython2/Modules/_multiprocessing/ |
D | multiprocessing.c | 292 PyDict_SetItemString(SemLockType.tp_dict, "SEM_VALUE_MAX", in init_multiprocessing() 331 if (PyDict_SetItemString(temp, #name, value) < 0) { \ in init_multiprocessing()
|
/external/python/cpython2/Mac/Modules/scrap/ |
D | _Scrapmodule.c | 355 PyDict_SetItemString(d, "Error", Scrap_Error) != 0) in init_Scrap() 359 if (PyDict_SetItemString(d, "ScrapType", (PyObject *)&Scrap_Type) != 0) in init_Scrap()
|
/external/python/cpython2/Mac/Modules/ah/ |
D | _AHmodule.c | 139 PyDict_SetItemString(d, "Error", Ah_Error) != 0) in init_AH()
|