Searched refs:bytes_per_sep (Results 1 – 10 of 10) sorted by relevance
/external/python/cpython3/Objects/clinic/ |
D | memoryobject.c.h | 33 int bytes_per_sep); 44 int bytes_per_sep = 1; in memoryview_hex() local 64 bytes_per_sep = _PyLong_AsInt(args[1]); in memoryview_hex() 65 if (bytes_per_sep == -1 && PyErr_Occurred()) { in memoryview_hex() 69 return_value = memoryview_hex_impl(self, sep, bytes_per_sep); in memoryview_hex()
|
D | bytesobject.c.h | 796 bytes_hex_impl(PyBytesObject *self, PyObject *sep, int bytes_per_sep); 807 int bytes_per_sep = 1; in bytes_hex() local 827 bytes_per_sep = _PyLong_AsInt(args[1]); in bytes_hex() 828 if (bytes_per_sep == -1 && PyErr_Occurred()) { in bytes_hex() 832 return_value = bytes_hex_impl(self, sep, bytes_per_sep); in bytes_hex()
|
D | bytearrayobject.c.h | 977 bytearray_hex_impl(PyByteArrayObject *self, PyObject *sep, int bytes_per_sep); 988 int bytes_per_sep = 1; in bytearray_hex() local 1008 bytes_per_sep = _PyLong_AsInt(args[1]); in bytearray_hex() 1009 if (bytes_per_sep == -1 && PyErr_Occurred()) { in bytearray_hex() 1013 return_value = bytearray_hex_impl(self, sep, bytes_per_sep); in bytearray_hex()
|
/external/python/cpython3/Modules/clinic/ |
D | binascii.c.h | 457 int bytes_per_sep); 469 int bytes_per_sep = 1; in binascii_b2a_hex() local 496 bytes_per_sep = _PyLong_AsInt(args[2]); in binascii_b2a_hex() 497 if (bytes_per_sep == -1 && PyErr_Occurred()) { in binascii_b2a_hex() 501 return_value = binascii_b2a_hex_impl(module, &data, sep, bytes_per_sep); in binascii_b2a_hex() 532 int bytes_per_sep); 544 int bytes_per_sep = 1; in binascii_hexlify() local 571 bytes_per_sep = _PyLong_AsInt(args[2]); in binascii_hexlify() 572 if (bytes_per_sep == -1 && PyErr_Occurred()) { in binascii_hexlify() 576 return_value = binascii_hexlify_impl(module, &data, sep, bytes_per_sep); in binascii_hexlify()
|
/external/python/cpython3/Doc/library/ |
D | binascii.rst | 156 .. function:: b2a_hex(data[, sep[, bytes_per_sep=1]]) 157 hexlify(data[, sep[, bytes_per_sep=1]]) 167 It will be inserted in the output after every *bytes_per_sep* input bytes. 169 if you wish to count from the left, supply a negative *bytes_per_sep* value. 182 The *sep* and *bytes_per_sep* parameters were added.
|
D | stdtypes.rst | 2462 .. method:: hex([sep[, bytes_per_sep]]) 2472 By default between each byte. A second optional *bytes_per_sep* 2487 :meth:`bytes.hex` now supports optional *sep* and *bytes_per_sep* 2556 .. method:: hex([sep[, bytes_per_sep]]) 2568 optional *sep* and *bytes_per_sep* parameters to insert separators 3782 .. method:: hex([sep[, bytes_per_sep]]) 3795 optional *sep* and *bytes_per_sep* parameters to insert separators
|
/external/python/cpython3/Modules/ |
D | binascii.c | 1180 int bytes_per_sep) in binascii_b2a_hex_impl() argument 1184 sep, bytes_per_sep); in binascii_b2a_hex_impl() 1198 int bytes_per_sep) in binascii_hexlify_impl() argument 1202 sep, bytes_per_sep); in binascii_hexlify_impl()
|
/external/python/cpython3/Objects/ |
D | memoryobject.c | 2204 int bytes_per_sep) in memoryview_hex_impl() argument 2214 return _Py_strhex_with_sep(src->buf, src->len, sep, bytes_per_sep); in memoryview_hex_impl() 2228 sep, bytes_per_sep); in memoryview_hex_impl()
|
D | bytearrayobject.c | 2110 bytearray_hex_impl(PyByteArrayObject *self, PyObject *sep, int bytes_per_sep) in bytearray_hex_impl() argument 2115 return _Py_strhex_with_sep(argbuf, arglen, sep, bytes_per_sep); in bytearray_hex_impl()
|
D | bytesobject.c | 2444 bytes_hex_impl(PyBytesObject *self, PyObject *sep, int bytes_per_sep) in bytes_hex_impl() argument 2449 return _Py_strhex_with_sep(argbuf, arglen, sep, bytes_per_sep); in bytes_hex_impl()
|