Home
last modified time | relevance | path

Searched refs:PyBytes_FromFormat (Results 1 – 11 of 11) sorted by relevance

/third_party/python/Lib/test/
Dtest_bytes.py1038 PyBytes_FromFormat = pythonapi.PyBytes_FromFormat
1039 PyBytes_FromFormat.argtypes = (c_char_p,)
1040 PyBytes_FromFormat.restype = py_object
1043 self.assertEqual(PyBytes_FromFormat(b'format'),
1045 self.assertEqual(PyBytes_FromFormat(b'Hello %s !', b'world'),
1049 self.assertEqual(PyBytes_FromFormat(b'c=%c', c_int(0)),
1051 self.assertEqual(PyBytes_FromFormat(b'c=%c', c_int(ord('@'))),
1053 self.assertEqual(PyBytes_FromFormat(b'c=%c', c_int(255)),
1055 self.assertEqual(PyBytes_FromFormat(b'd=%d ld=%ld zd=%zd',
1059 self.assertEqual(PyBytes_FromFormat(b'd=%d ld=%ld zd=%zd',
[all …]
/third_party/python/Include/
Dbytesobject.h39 PyAPI_FUNC(PyObject *) PyBytes_FromFormat(const char*, ...)
/third_party/python/Doc/c-api/
Dbytes.rst51 .. c:function:: PyObject* PyBytes_FromFormat(const char *format, ...)
120 Identical to :c:func:`PyBytes_FromFormat` except that it takes exactly two
/third_party/python/PC/
Dpython3dll.c113 EXPORT_FUNC(PyBytes_FromFormat)
/third_party/python/Doc/data/
Dstable_abi.dat27 function,PyBytes_FromFormat,3.2,
Drefcounts.dat139 PyBytes_FromFormat:PyObject*::+1:
140 PyBytes_FromFormat:const char*:format::
141 PyBytes_FromFormat::...::
/third_party/python/Misc/
Dstable_abi.txt342 function PyBytes_FromFormat
/third_party/python/Objects/
Dbytesobject.c410 PyBytes_FromFormat(const char *format, ...) in PyBytes_FromFormat() function
Dunicodeobject.c7562 *obj = PyBytes_FromFormat("cp%u", code_page); in code_page_name()
/third_party/python/Modules/
Dposixmodule.c5657 keyval = PyBytes_FromFormat("%s=%s", PyBytes_AS_STRING(key2), in parse_envlist()
/third_party/python/Misc/NEWS.d/
D3.8.0a1.rst239 ``%s`` in :c:func:`PyBytes_FromFormat` no longer read memory past the limit