Searched refs:PyBytes_FromFormat (Results 1 – 11 of 11) sorted by relevance
/third_party/python/Lib/test/ |
D | test_bytes.py | 1038 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/ |
D | bytesobject.h | 39 PyAPI_FUNC(PyObject *) PyBytes_FromFormat(const char*, ...)
|
/third_party/python/Doc/c-api/ |
D | bytes.rst | 51 .. c:function:: PyObject* PyBytes_FromFormat(const char *format, ...) 120 Identical to :c:func:`PyBytes_FromFormat` except that it takes exactly two
|
/third_party/python/Doc/data/ |
D | stable_abi.dat | 27 function,PyBytes_FromFormat,3.2,
|
D | refcounts.dat | 139 PyBytes_FromFormat:PyObject*::+1: 140 PyBytes_FromFormat:const char*:format:: 141 PyBytes_FromFormat::...::
|
/third_party/python/PC/ |
D | python3dll.c | 113 EXPORT_FUNC(PyBytes_FromFormat)
|
/third_party/python/Misc/ |
D | stable_abi.txt | 342 function PyBytes_FromFormat
|
/third_party/python/Objects/ |
D | bytesobject.c | 410 PyBytes_FromFormat(const char *format, ...) in PyBytes_FromFormat() function
|
D | unicodeobject.c | 7562 *obj = PyBytes_FromFormat("cp%u", code_page); in code_page_name()
|
/third_party/python/Modules/ |
D | posixmodule.c | 5657 keyval = PyBytes_FromFormat("%s=%s", PyBytes_AS_STRING(key2), in parse_envlist()
|
/third_party/python/Misc/NEWS.d/ |
D | 3.8.0a1.rst | 239 ``%s`` in :c:func:`PyBytes_FromFormat` no longer read memory past the limit
|