Lines Matching defs:byteorder
5845 byteorder: unicode(c_default="NULL") = "big"
5846 The byte order used to represent the integer. If byteorder is 'big',
5848 byteorder is 'little', the most significant byte is at the end of the
5850 `sys.byteorder' as the byte order value. Default is to use 'big'.
5861 int_to_bytes_impl(PyObject *self, Py_ssize_t length, PyObject *byteorder,
5868 if (byteorder == NULL)
5870 else if (_PyUnicode_Equal(byteorder, &_Py_ID(little)))
5872 else if (_PyUnicode_Equal(byteorder, &_Py_ID(big)))
5876 "byteorder must be either 'little' or 'big'");
5909 byteorder: unicode(c_default="NULL") = "big"
5910 The byte order used to represent the integer. If byteorder is 'big',
5912 byteorder is 'little', the most significant byte is at the end of the
5914 `sys.byteorder' as the byte order value. Default is to use 'big'.
5924 PyObject *byteorder, int is_signed)
5930 if (byteorder == NULL)
5932 else if (_PyUnicode_Equal(byteorder, &_Py_ID(little)))
5934 else if (_PyUnicode_Equal(byteorder, &_Py_ID(big)))
5938 "byteorder must be either 'little' or 'big'");