Home
last modified time | relevance | path

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

12

/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/cpython3/PC/
Dmsvcrtmodule.c598 st = PyModule_AddStringConstant(m, "VC_ASSEMBLY_PUBLICKEYTOKEN", in PyInit_msvcrt()
603 st = PyModule_AddStringConstant(m, "CRT_ASSEMBLY_VERSION", in PyInit_msvcrt()
608 st = PyModule_AddStringConstant(m, "LIBRARIES_ASSEMBLY_NAME_PREFIX", in PyInit_msvcrt()
Dpython3.def365 PyModule_AddStringConstant=python37.PyModule_AddStringConstant
/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/cpython3/Include/
Dmodsupport.h119 PyAPI_FUNC(int) PyModule_AddStringConstant(PyObject *, const char *, const char *);
121 #define PyModule_AddStringMacro(m, c) PyModule_AddStringConstant(m, #c, c)
/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
/external/python/cpython3/Modules/
Dparsermodule.c1161 PyModule_AddStringConstant(module, "__copyright__", in PyInit_parser()
1163 PyModule_AddStringConstant(module, "__doc__", in PyInit_parser()
1165 PyModule_AddStringConstant(module, "__version__", in PyInit_parser()
Dpyexpat.c1685 PyModule_AddStringConstant(m, "EXPAT_VERSION", in MODULE_INITFUNC()
1697 PyModule_AddStringConstant(m, "native_encoding", "UTF-8"); in MODULE_INITFUNC()
1770 if (PyModule_AddStringConstant(errors_module, #name, \ in MODULE_INITFUNC()
1825 if (PyModule_AddStringConstant(errors_module, "__doc__", in MODULE_INITFUNC()
1844 PyModule_AddStringConstant(model_module, "__doc__", in MODULE_INITFUNC()
D_testmultiphase.c215 if (PyModule_AddStringConstant(m, "str_const", "something different") != 0) in execfunc()
Dreadline.c1364 if (PyModule_AddStringConstant(m, "_READLINE_LIBRARY_VERSION", in PyInit_readline()
Dunicodedata.c1356 PyModule_AddStringConstant(m, "unidata_version", UNIDATA_VERSION); in PyInit_unicodedata()
Dzlibmodule.c1399 PyModule_AddStringConstant(m, "__version__", "1.0"); in PyInit_zlib()
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/include/
Dcext.h147 if (PyModule_AddStringConstant(module, name, string) < 0) \
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/include/
Dcext.h185 if (PyModule_AddStringConstant(module, name, string) < 0) \
/external/python/cpython2/Modules/
Dpyexpat.c1878 PyModule_AddStringConstant(m, "EXPAT_VERSION", in MODULE_INITFUNC()
1893 PyModule_AddStringConstant(m, "native_encoding", "UTF-8"); in MODULE_INITFUNC()
1953 PyModule_AddStringConstant(errors_module, #name, \ in MODULE_INITFUNC()
1996 PyModule_AddStringConstant(errors_module, "__doc__", in MODULE_INITFUNC()
2008 PyModule_AddStringConstant(model_module, "__doc__", in MODULE_INITFUNC()
Dparsermodule.c3502 PyModule_AddStringConstant(module, "__copyright__", in initparser()
3504 PyModule_AddStringConstant(module, "__doc__", in initparser()
3506 PyModule_AddStringConstant(module, "__version__", in initparser()
Dunicodedata.c1271 PyModule_AddStringConstant(m, "unidata_version", UNIDATA_VERSION); in initunicodedata()
Dzlibmodule.c1158 PyModule_AddStringConstant(m, "__version__", "1.0"); in PyInit_zlib()
/external/python/cpython2/Doc/c-api/
Dmodule.rst99 .. c:function:: int PyModule_AddStringConstant(PyObject *module, const char *name, const char *valu…
/external/python/cpython3/Modules/_sha3/
Dsha3module.c746 if (PyModule_AddStringConstant(m, "implementation", in PyInit__sha3()
/external/brotli/python/
D_brotli.cc749 PyModule_AddStringConstant(m, "__version__", version); in INIT_BROTLI()
/external/python/cpython3/Python/
Dmodsupport.c656 PyModule_AddStringConstant(PyObject *m, const char *name, const char *value) in PyModule_AddStringConstant() function
/external/python/cpython3/Doc/data/
Drefcounts.dat1315 PyModule_AddStringConstant:int:::
1316 PyModule_AddStringConstant:PyObject*:module:0:
1317 PyModule_AddStringConstant:const char*:name::
1318 PyModule_AddStringConstant:const char*:value::
/external/python/cpython2/PC/os2emx/
Dpython27.def1006 "PyModule_AddStringConstant"

12