Home
last modified time | relevance | path

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

12

/external/python/cpython3/Include/
Dmodsupport.h40 PyAPI_FUNC(int) PyModule_AddStringConstant(PyObject *, const char *, const char *);
48 #define PyModule_AddStringMacro(m, c) PyModule_AddStringConstant((m), #c, (c))
/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/cpython3/Modules/
Dpyexpat.c1791 if (PyModule_AddStringConstant(errors_module, name, error_string) < 0) { in add_error()
1850 if (PyModule_AddStringConstant(errors_module, "__doc__", in add_errors_module()
1887 if (PyModule_AddStringConstant( in add_model_module()
1989 if (PyModule_AddStringConstant(mod, "EXPAT_VERSION", in pyexpat_exec()
2007 if (PyModule_AddStringConstant(mod, "native_encoding", "UTF-8") < 0) { in pyexpat_exec()
D_testsinglephase.c795 if(PyModule_AddStringConstant(static_module_circular, in PyInit__testsinglephase_circular()
Dreadline.c1567 if (PyModule_AddStringConstant(m, "_READLINE_LIBRARY_VERSION", in PyInit_readline()
1573 if (PyModule_AddStringConstant(m, "backend", backend) < 0) { in PyInit_readline()
Dsha3module.c594 if (PyModule_AddStringConstant(m, "implementation", in _sha3_exec()
D_dbmmodule.c583 if (PyModule_AddStringConstant(module, "library", which_dbm) < 0) { in _dbm_exec()
D_testmultiphase.c408 if (PyModule_AddStringConstant(m, "str_const", "something different") != 0) { in execfunc()
D_gdbmmodule.c785 if (PyModule_AddStringConstant(module, "open_flags", in _gdbm_exec()
Dunicodedata.c1638 if (PyModule_AddStringConstant(module, "unidata_version", UNIDATA_VERSION) < 0) { in unicodedata_exec()
D_tkinter.c3458 if (PyModule_AddStringConstant(m, "TK_VERSION", TK_VERSION)) { in PyInit__tkinter()
3462 if (PyModule_AddStringConstant(m, "TCL_VERSION", TCL_VERSION)) { in PyInit__tkinter()
Dzlibmodule.c2100 if (PyModule_AddStringConstant(mod, "__version__", "1.0") < 0) { in zlib_exec()
D_ssl.c6301 if (PyModule_AddStringConstant(m, "_DEFAULT_CIPHERS", in sslmodule_init_constants()
/external/python/cpython3/PC/
Dmsvcrtmodule.c587 if (PyModule_AddStringConstant(MOD, NAME, CONST) < 0) { \
Dpython3dll.c399 EXPORT_FUNC(PyModule_AddStringConstant)
/external/python/cpython3/Modules/_sqlite/
Dmodule.c717 if (PyModule_AddStringConstant(module, "_deprecated_version", PYSQLITE_VERSION) < 0) { in module_exec()
721 if (PyModule_AddStringConstant(module, "sqlite_version", sqlite3_libversion())) { in module_exec()
/external/python/cpython3/Python/
Dmodsupport.c633 PyModule_AddStringConstant(PyObject *m, const char *name, const char *value) in PyModule_AddStringConstant() function
/external/brotli/python/
D_brotli.cc750 PyModule_AddStringConstant(m, "__version__", version); in INIT_BROTLI()
/external/python/cpython3/Doc/data/
Drefcounts.dat1409 PyModule_AddStringConstant:int:::
1410 PyModule_AddStringConstant:PyObject*:module:0:
1411 PyModule_AddStringConstant:const char*:name::
1412 PyModule_AddStringConstant:const char*:value::
Dstable_abi.dat423 func,PyModule_AddStringConstant,3.2,,
/external/python/cpython3/Doc/c-api/
Dmodule.rst631 .. c:function:: int PyModule_AddStringConstant(PyObject *module, const char *name, const char *valu…
/external/python/cpython3/Modules/_sre/
Dsre.c3387 if (PyModule_AddStringConstant(m, "copyright", copyright) < 0) { in sre_exec()
/external/python/cpython3/Modules/_decimal/
D_decimal.c6080 CHECK_INT(PyModule_AddStringConstant(m, "__version__", "1.70")); in _decimal_exec()
6081 CHECK_INT(PyModule_AddStringConstant(m, "__libmpdec_version__", mpd_version())); in _decimal_exec()
/external/python/cpython3/Misc/
Dstable_abi.toml1019 [function.PyModule_AddStringConstant]

12