Home
last modified time | relevance | path

Searched refs:PyModule_AddStringConstant (Results 1 – 19 of 19) sorted by relevance

/external/python/cpython2/Include/
Dmodsupport.h42 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/
Dmsvcrtmodule.c416 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/
Dimportdl.c65 if (PyModule_AddStringConstant(m, "__file__", pathname) < 0) in _PyImport_LoadDynamicModule()
Dmodsupport.c661 PyModule_AddStringConstant(PyObject *m, const char *name, const char *value) in PyModule_AddStringConstant() function
DPython-ast.c6770 if (PyModule_AddStringConstant(m, "__version__", "82160") < 0) in init_ast()
/external/python/cpython2/Modules/
Dpyexpat.c1880 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()
Dparsermodule.c3461 PyModule_AddStringConstant(module, "__copyright__", in initparser()
3463 PyModule_AddStringConstant(module, "__doc__", in initparser()
3465 PyModule_AddStringConstant(module, "__version__", in initparser()
Dunicodedata.c1267 PyModule_AddStringConstant(m, "unidata_version", UNIDATA_VERSION); in initunicodedata()
Dzlibmodule.c1158 PyModule_AddStringConstant(m, "__version__", "1.0"); in PyInit_zlib()
D_csv.c1614 if (PyModule_AddStringConstant(module, "__version__", in init_csv()
D_hotshot.c1622 PyModule_AddStringConstant(module, "__version__", s); in init_hotshot()
Dsocketmodule.c4817 PyModule_AddStringConstant(m, "BDADDR_ANY", "00:00:00:00:00:00");
4818 PyModule_AddStringConstant(m, "BDADDR_LOCAL", "00:00:00:FF:FF:FF");
Dposixmodule.c9199 if (PyModule_AddStringConstant(module, "version", tmp) < 0) in insertvalues()
9207 return PyModule_AddStringConstant(module, "bootdrive", tmp); in insertvalues()
/external/python/cpython2/Doc/c-api/
Dmodule.rst99 .. c:function:: int PyModule_AddStringConstant(PyObject *module, const char *name, const char *valu…
/external/brotli/python/
D_brotli.cc525 PyModule_AddStringConstant(m, "__version__", version); in INIT_BROTLI()
/external/python/cpython2/PC/os2emx/
Dpython27.def1006 "PyModule_AddStringConstant"
/external/python/cpython2/Modules/_ctypes/
D_ctypes.c5718 PyModule_AddStringConstant(m, "__version__", "1.1.0"); in init_ctypes()
/external/python/cpython2/Doc/whatsnew/
D2.0.rst798 :func:`PyModule_AddIntConstant`, and :func:`PyModule_AddStringConstant`. Each
/external/python/cpython2/Misc/
DHISTORY8496 - pyexpat adds definitions of PyModule_AddStringConstant and
8698 PyModule_AddStringConstant().