Lines Matching refs:Py_SIZE
1275 return Py_SIZE(op); in PyBytes_Size()
1335 Py_ssize_t i, length = Py_SIZE(op); in PyBytes_Repr()
1426 return Py_SIZE(a); in bytes_length()
1489 if (n > 0 && Py_SIZE(a) > PY_SSIZE_T_MAX / n) { in bytes_repeat()
1494 size = Py_SIZE(a) * n; in bytes_repeat()
1495 if (size == Py_SIZE(a) && PyBytes_CheckExact(a)) { in bytes_repeat()
1511 if (Py_SIZE(a) == 1 && n > 0) { in bytes_repeat()
1517 memcpy(op->ob_sval, a->ob_sval, Py_SIZE(a)); in bytes_repeat()
1518 i = Py_SIZE(a); in bytes_repeat()
1537 if (i < 0 || i >= Py_SIZE(a)) { in bytes_item()
1550 len = Py_SIZE(a); in bytes_compare_eq()
1551 if (Py_SIZE(b) != len) in bytes_compare_eq()
1624 len_a = Py_SIZE(a); in bytes_richcompare()
1625 len_b = Py_SIZE(b); in bytes_richcompare()
1645 a->ob_shash = _Py_HashBytes(a->ob_sval, Py_SIZE(a)); in bytes_hash()
1719 return PyBuffer_FillInfo(view, (PyObject*)self, (void *)self->ob_sval, Py_SIZE(self), in bytes_buffer_getbuffer()
2451 return Py_BuildValue("(y#)", v->ob_sval, Py_SIZE(v)); in bytes_getnewargs()
3003 if (Py_SIZE(v) == newsize) { in _PyBytes_Resize()
3007 if (Py_SIZE(v) == 0) { in _PyBytes_Resize()
3035 Py_SIZE(sv) = newsize; in _PyBytes_Resize()