Home
last modified time | relevance | path

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

12

/third_party/python/PC/
Dmsvcrtmodule.c614 st = PyModule_AddStringConstant(m, "VC_ASSEMBLY_PUBLICKEYTOKEN", in PyInit_msvcrt()
619 st = PyModule_AddStringConstant(m, "CRT_ASSEMBLY_VERSION", in PyInit_msvcrt()
624 st = PyModule_AddStringConstant(m, "LIBRARIES_ASSEMBLY_NAME_PREFIX", in PyInit_msvcrt()
Dpython3dll.c367 EXPORT_FUNC(PyModule_AddStringConstant)
/third_party/python/Include/
Dmodsupport.h149 PyAPI_FUNC(int) PyModule_AddStringConstant(PyObject *, const char *, const char *);
155 #define PyModule_AddStringMacro(m, c) PyModule_AddStringConstant(m, #c, c)
/third_party/python/Modules/_sqlite/
Dmodule.c416 if (PyModule_AddStringConstant(module, "version", PYSQLITE_VERSION) < 0) { in PyInit__sqlite3()
420 if (PyModule_AddStringConstant(module, "sqlite_version", sqlite3_libversion())) { in PyInit__sqlite3()
/third_party/python/Modules/
Dpyexpat.c1658 if (PyModule_AddStringConstant(errors_module, name, error_string) < 0) { in add_error()
1750 if (PyModule_AddStringConstant(errors_module, "__doc__", in add_errors_module()
1792 if (PyModule_AddStringConstant( in add_model_module()
1888 if (PyModule_AddStringConstant(mod, "EXPAT_VERSION", in pyexpat_exec()
1907 if (PyModule_AddStringConstant(mod, "native_encoding", "UTF-8") < 0) { in pyexpat_exec()
D_dbmmodule.c516 if (PyModule_AddStringConstant(module, "library", which_dbm) < 0) { in _dbm_exec()
D_testmultiphase.c397 if (PyModule_AddStringConstant(m, "str_const", "something different") != 0) { in execfunc()
D_gdbmmodule.c723 if (PyModule_AddStringConstant(module, "open_flags", in _gdbm_exec()
Dreadline.c1494 if (PyModule_AddStringConstant(m, "_READLINE_LIBRARY_VERSION", in PyInit_readline()
Dunicodedata.c1484 if (PyModule_AddStringConstant(module, "unidata_version", UNIDATA_VERSION) < 0) { in unicodedata_exec()
D_tkinter.c3533 if (PyModule_AddStringConstant(m, "TK_VERSION", TK_VERSION)) { in PyInit__tkinter()
3537 if (PyModule_AddStringConstant(m, "TCL_VERSION", TCL_VERSION)) { in PyInit__tkinter()
Dzlibmodule.c1626 if (PyModule_AddStringConstant(mod, "__version__", "1.0") < 0) { in zlib_exec()
D_csv.c1724 if (PyModule_AddStringConstant(module, "__version__", in csv_exec()
D_sre.c2935 if (PyModule_AddStringConstant(m, "copyright", copyright) < 0) { in sre_exec()
Dsocketmodule.c7344 PyModule_AddStringConstant(m, "BDADDR_ANY", "00:00:00:00:00:00");
7345 PyModule_AddStringConstant(m, "BDADDR_LOCAL", "00:00:00:FF:FF:FF");
D_ssl.c5734 PyModule_AddStringConstant(m, "_DEFAULT_CIPHERS", in sslmodule_init_constants()
/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/python/Modules/_sha3/
Dsha3module.c792 if (PyModule_AddStringConstant(m, "implementation", in _sha3_exec()
/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.dat391 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/Misc/
Dstable_abi.txt914 function PyModule_AddStringConstant
/third_party/python/Modules/_decimal/
D_decimal.c5911 CHECK_INT(PyModule_AddStringConstant(m, "__version__", "1.70")); in PyInit__decimal()
5912 CHECK_INT(PyModule_AddStringConstant(m, "__libmpdec_version__", mpd_version())); in PyInit__decimal()
/third_party/python/Doc/whatsnew/
D2.0.rst798 :func:`PyModule_AddIntConstant`, and :func:`PyModule_AddStringConstant`. Each

12