Searched refs:PyModule_AddStringConstant (Results 1 – 19 of 19) sorted by relevance
/external/python/cpython2/Include/ |
D | modsupport.h | 42 PyAPI_FUNC(int) PyModule_AddStringConstant(PyObject *, const char *, const char *); 44 #define PyModule_AddStringMacro(m, c) PyModule_AddStringConstant(m, #c, c)
|
/external/python/cpython2/PC/ |
D | msvcrtmodule.c | 416 st = PyModule_AddStringConstant(m, "VC_ASSEMBLY_PUBLICKEYTOKEN", in initmsvcrt() 421 st = PyModule_AddStringConstant(m, "CRT_ASSEMBLY_VERSION", in initmsvcrt() 426 st = PyModule_AddStringConstant(m, "LIBRARIES_ASSEMBLY_NAME_PREFIX", in initmsvcrt()
|
/external/python/cpython2/Python/ |
D | importdl.c | 65 if (PyModule_AddStringConstant(m, "__file__", pathname) < 0) in _PyImport_LoadDynamicModule()
|
D | modsupport.c | 661 PyModule_AddStringConstant(PyObject *m, const char *name, const char *value) in PyModule_AddStringConstant() function
|
D | Python-ast.c | 6770 if (PyModule_AddStringConstant(m, "__version__", "82160") < 0) in init_ast()
|
/external/python/cpython2/Modules/ |
D | pyexpat.c | 1880 PyModule_AddStringConstant(m, "EXPAT_VERSION", in MODULE_INITFUNC() 1895 PyModule_AddStringConstant(m, "native_encoding", "UTF-8"); in MODULE_INITFUNC() 1955 PyModule_AddStringConstant(errors_module, #name, \ in MODULE_INITFUNC() 1998 PyModule_AddStringConstant(errors_module, "__doc__", in MODULE_INITFUNC() 2010 PyModule_AddStringConstant(model_module, "__doc__", in MODULE_INITFUNC()
|
D | parsermodule.c | 3461 PyModule_AddStringConstant(module, "__copyright__", in initparser() 3463 PyModule_AddStringConstant(module, "__doc__", in initparser() 3465 PyModule_AddStringConstant(module, "__version__", in initparser()
|
D | unicodedata.c | 1267 PyModule_AddStringConstant(m, "unidata_version", UNIDATA_VERSION); in initunicodedata()
|
D | zlibmodule.c | 1158 PyModule_AddStringConstant(m, "__version__", "1.0"); in PyInit_zlib()
|
D | _csv.c | 1614 if (PyModule_AddStringConstant(module, "__version__", in init_csv()
|
D | _hotshot.c | 1622 PyModule_AddStringConstant(module, "__version__", s); in init_hotshot()
|
D | socketmodule.c | 4817 PyModule_AddStringConstant(m, "BDADDR_ANY", "00:00:00:00:00:00"); 4818 PyModule_AddStringConstant(m, "BDADDR_LOCAL", "00:00:00:FF:FF:FF");
|
D | posixmodule.c | 9199 if (PyModule_AddStringConstant(module, "version", tmp) < 0) in insertvalues() 9207 return PyModule_AddStringConstant(module, "bootdrive", tmp); in insertvalues()
|
/external/python/cpython2/Doc/c-api/ |
D | module.rst | 99 .. c:function:: int PyModule_AddStringConstant(PyObject *module, const char *name, const char *valu…
|
/external/brotli/python/ |
D | _brotli.cc | 525 PyModule_AddStringConstant(m, "__version__", version); in INIT_BROTLI()
|
/external/python/cpython2/PC/os2emx/ |
D | python27.def | 1006 "PyModule_AddStringConstant"
|
/external/python/cpython2/Modules/_ctypes/ |
D | _ctypes.c | 5718 PyModule_AddStringConstant(m, "__version__", "1.1.0"); in init_ctypes()
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.0.rst | 798 :func:`PyModule_AddIntConstant`, and :func:`PyModule_AddStringConstant`. Each
|
/external/python/cpython2/Misc/ |
D | HISTORY | 8496 - pyexpat adds definitions of PyModule_AddStringConstant and 8698 PyModule_AddStringConstant().
|