Lines Matching defs:values
515 PyObject *values)
523 if (values == (PyObject *)self) {
526 values = PyByteArray_FromStringAndSize(PyByteArray_AS_STRING(values),
527 PyByteArray_GET_SIZE(values));
528 if (values == NULL)
530 err = bytearray_setslice(self, lo, hi, values);
531 Py_DECREF(values);
534 if (values == NULL) {
540 if (PyObject_GetBuffer(values, &vbytes, PyBUF_SIMPLE) != 0) {
543 Py_TYPE(values)->tp_name);
593 bytearray_ass_subscript(PyByteArrayObject *self, PyObject *index, PyObject *values)
608 // GH-91153: We need to do this *before* the size check, in case values
610 if (values && !_getbytevalue(values, &ival)) {
623 if (values == NULL) {
650 if (values == NULL) {
654 else if (values == (PyObject *)self || !PyByteArray_Check(values)) {
656 if (PyNumber_Check(values) || PyUnicode_Check(values)) {
663 values = PyByteArray_FromObject(values);
664 if (values == NULL)
666 err = bytearray_ass_subscript(self, index, values);
667 Py_DECREF(values);
671 assert(PyByteArray_Check(values));
672 bytes = PyByteArray_AS_STRING(values);
673 needed = Py_SIZE(values);
1579 Reverse the order of the values in B in place.
1966 UnicodeDecodeError. Other possible values are 'ignore' and 'replace'
2065 How many bytes between separators. Positive values count from the
2066 right, negative values count from the left.