Home
last modified time | relevance | path

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

/third_party/python/Objects/clinic/
Dmemoryobject.c.h225 int bytes_per_sep);
236 int bytes_per_sep = 1; in memoryview_hex() local
251 bytes_per_sep = _PyLong_AsInt(args[1]); in memoryview_hex()
252 if (bytes_per_sep == -1 && PyErr_Occurred()) { in memoryview_hex()
256 return_value = memoryview_hex_impl(self, sep, bytes_per_sep); in memoryview_hex()
Dbytesobject.c.h776 bytes_hex_impl(PyBytesObject *self, PyObject *sep, int bytes_per_sep);
787 int bytes_per_sep = 1; in bytes_hex() local
802 bytes_per_sep = _PyLong_AsInt(args[1]); in bytes_hex()
803 if (bytes_per_sep == -1 && PyErr_Occurred()) { in bytes_hex()
807 return_value = bytes_hex_impl(self, sep, bytes_per_sep); in bytes_hex()
Dbytearrayobject.c.h1016 bytearray_hex_impl(PyByteArrayObject *self, PyObject *sep, int bytes_per_sep);
1027 int bytes_per_sep = 1; in bytearray_hex() local
1042 bytes_per_sep = _PyLong_AsInt(args[1]); in bytearray_hex()
1043 if (bytes_per_sep == -1 && PyErr_Occurred()) { in bytearray_hex()
1047 return_value = bytearray_hex_impl(self, sep, bytes_per_sep); in bytearray_hex()
/third_party/python/Modules/clinic/
Dbinascii.c.h437 int bytes_per_sep);
449 int bytes_per_sep = 1; in binascii_b2a_hex() local
471 bytes_per_sep = _PyLong_AsInt(args[2]); in binascii_b2a_hex()
472 if (bytes_per_sep == -1 && PyErr_Occurred()) { in binascii_b2a_hex()
476 return_value = binascii_b2a_hex_impl(module, &data, sep, bytes_per_sep); in binascii_b2a_hex()
507 int bytes_per_sep);
519 int bytes_per_sep = 1; in binascii_hexlify() local
541 bytes_per_sep = _PyLong_AsInt(args[2]); in binascii_hexlify()
542 if (bytes_per_sep == -1 && PyErr_Occurred()) { in binascii_hexlify()
546 return_value = binascii_hexlify_impl(module, &data, sep, bytes_per_sep); in binascii_hexlify()
/third_party/python/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.rst2496 .. method:: hex([sep[, bytes_per_sep]])
2506 By default between each byte. A second optional *bytes_per_sep*
2521 :meth:`bytes.hex` now supports optional *sep* and *bytes_per_sep*
2590 .. method:: hex([sep[, bytes_per_sep]])
2602 optional *sep* and *bytes_per_sep* parameters to insert separators
3816 .. method:: hex([sep[, bytes_per_sep]])
3829 optional *sep* and *bytes_per_sep* parameters to insert separators
/third_party/python/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()
/third_party/python/Objects/
Dmemoryobject.c2229 int bytes_per_sep) in memoryview_hex_impl() argument
2239 return _Py_strhex_with_sep(src->buf, src->len, sep, bytes_per_sep); in memoryview_hex_impl()
2253 sep, bytes_per_sep); in memoryview_hex_impl()
Dbytearrayobject.c2102 bytearray_hex_impl(PyByteArrayObject *self, PyObject *sep, int bytes_per_sep) in bytearray_hex_impl() argument
2107 return _Py_strhex_with_sep(argbuf, arglen, sep, bytes_per_sep); in bytearray_hex_impl()
Dbytesobject.c2459 bytes_hex_impl(PyBytesObject *self, PyObject *sep, int bytes_per_sep) in bytes_hex_impl() argument
2464 return _Py_strhex_with_sep(argbuf, arglen, sep, bytes_per_sep); in bytes_hex_impl()