Home
last modified time | relevance | path

Searched refs:bytes_per_sep (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython3/Objects/clinic/
Dmemoryobject.c.h33 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()
Dbytesobject.c.h796 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()
Dbytearrayobject.c.h977 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/
Dbinascii.c.h457 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/
Dbinascii.rst156 .. 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.
Dstdtypes.rst2462 .. 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/
Dbinascii.c1180 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/
Dmemoryobject.c2204 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()
Dbytearrayobject.c2110 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()
Dbytesobject.c2444 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()