Home
last modified time | relevance | path

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

12

/third_party/python/Include/
Dmodsupport.h54 PyAPI_FUNC(int) PyModule_AddStringConstant(PyObject *, const char *, const char *);
62 #define PyModule_AddStringMacro(m, c) PyModule_AddStringConstant(m, #c, c)
/third_party/python/PC/
Dmsvcrtmodule.c615 st = PyModule_AddStringConstant(m, "VC_ASSEMBLY_PUBLICKEYTOKEN", in PyInit_msvcrt()
620 st = PyModule_AddStringConstant(m, "CRT_ASSEMBLY_VERSION", in PyInit_msvcrt()
625 st = PyModule_AddStringConstant(m, "LIBRARIES_ASSEMBLY_NAME_PREFIX", in PyInit_msvcrt()
Dpython3dll.c374 EXPORT_FUNC(PyModule_AddStringConstant)
/third_party/python/Modules/
Dpyexpat.c1738 if (PyModule_AddStringConstant(errors_module, name, error_string) < 0) { in add_error()
1793 if (PyModule_AddStringConstant(errors_module, "__doc__", in add_errors_module()
1835 if (PyModule_AddStringConstant( in add_model_module()
1928 if (PyModule_AddStringConstant(mod, "EXPAT_VERSION", in pyexpat_exec()
1947 if (PyModule_AddStringConstant(mod, "native_encoding", "UTF-8") < 0) { in pyexpat_exec()
D_dbmmodule.c521 if (PyModule_AddStringConstant(module, "library", which_dbm) < 0) { in _dbm_exec()
D_testmultiphase.c422 if (PyModule_AddStringConstant(m, "str_const", "something different") != 0) { in execfunc()
D_gdbmmodule.c724 if (PyModule_AddStringConstant(module, "open_flags", in _gdbm_exec()
Dreadline.c1496 if (PyModule_AddStringConstant(m, "_READLINE_LIBRARY_VERSION", in PyInit_readline()
Dunicodedata.c1486 if (PyModule_AddStringConstant(module, "unidata_version", UNIDATA_VERSION) < 0) { in unicodedata_exec()
D_tkinter.c3332 if (PyModule_AddStringConstant(m, "TK_VERSION", TK_VERSION)) { in PyInit__tkinter()
3336 if (PyModule_AddStringConstant(m, "TCL_VERSION", TCL_VERSION)) { in PyInit__tkinter()
Dzlibmodule.c1627 if (PyModule_AddStringConstant(mod, "__version__", "1.0") < 0) { in zlib_exec()
D_csv.c1745 if (PyModule_AddStringConstant(module, "__version__", in csv_exec()
Dsocketmodule.c7476 PyModule_AddStringConstant(m, "BDADDR_ANY", "00:00:00:00:00:00");
7477 PyModule_AddStringConstant(m, "BDADDR_LOCAL", "00:00:00:FF:FF:FF");
/third_party/python/Modules/_sqlite/
Dmodule.c738 if (PyModule_AddStringConstant(module, "version", PYSQLITE_VERSION) < 0) { in module_exec()
742 if (PyModule_AddStringConstant(module, "sqlite_version", sqlite3_libversion())) { in module_exec()
/third_party/python/Modules/_sha3/
Dsha3module.c633 if (PyModule_AddStringConstant(m, "implementation", in _sha3_exec()
/third_party/skia/third_party/externals/brotli/python/
D_brotli.cc750 PyModule_AddStringConstant(m, "__version__", version); in INIT_BROTLI()
/third_party/python/Python/
Dmodsupport.c692 PyModule_AddStringConstant(PyObject *m, const char *name, const char *value) in PyModule_AddStringConstant() function
/third_party/brotli/python/
D_brotli.c982 PyModule_AddStringConstant(m, "__version__", version); in INIT_BROTLI()
/third_party/python/Doc/data/
Drefcounts.dat1346 PyModule_AddStringConstant:int:::
1347 PyModule_AddStringConstant:PyObject*:module:0:
1348 PyModule_AddStringConstant:const char*:name::
1349 PyModule_AddStringConstant:const char*:value::
Dstable_abi.dat403 function,PyModule_AddStringConstant,3.2,,
/third_party/python/Doc/c-api/
Dmodule.rst551 .. c:function:: int PyModule_AddStringConstant(PyObject *module, const char *name, const char *valu…
/third_party/python/Modules/_sre/
Dsre.c3011 if (PyModule_AddStringConstant(m, "copyright", copyright) < 0) { in sre_exec()
/third_party/python/Modules/_decimal/
D_decimal.c6068 CHECK_INT(PyModule_AddStringConstant(m, "__version__", "1.70")); in PyInit__decimal()
6069 CHECK_INT(PyModule_AddStringConstant(m, "__libmpdec_version__", mpd_version())); in PyInit__decimal()
/third_party/python/Misc/
Dstable_abi.toml1006 [function.PyModule_AddStringConstant]
/third_party/python/Doc/whatsnew/
D2.0.rst798 :func:`PyModule_AddIntConstant`, and :func:`PyModule_AddStringConstant`. Each

12