Lines Matching refs:Py_SIZE
1231 return Py_SIZE(op); in PyBytes_Size()
1295 Py_ssize_t i, length = Py_SIZE(op); in PyBytes_Repr()
1387 return Py_SIZE(a); in bytes_length()
1450 if (n > 0 && Py_SIZE(a) > PY_SSIZE_T_MAX / n) { in bytes_repeat()
1455 size = Py_SIZE(a) * n; in bytes_repeat()
1456 if (size == Py_SIZE(a) && PyBytes_CheckExact(a)) { in bytes_repeat()
1473 if (Py_SIZE(a) == 1 && n > 0) { in bytes_repeat()
1479 memcpy(op->ob_sval, a->ob_sval, Py_SIZE(a)); in bytes_repeat()
1480 i = Py_SIZE(a); in bytes_repeat()
1499 if (i < 0 || i >= Py_SIZE(a)) { in bytes_item()
1512 len = Py_SIZE(a); in bytes_compare_eq()
1513 if (Py_SIZE(b) != len) in bytes_compare_eq()
1568 len_a = Py_SIZE(a); in bytes_richcompare()
1569 len_b = Py_SIZE(b); in bytes_richcompare()
1589 a->ob_shash = _Py_HashBytes(a->ob_sval, Py_SIZE(a)); in bytes_hash()
1663 return PyBuffer_FillInfo(view, (PyObject*)self, (void *)self->ob_sval, Py_SIZE(self), in bytes_buffer_getbuffer()
2470 return Py_BuildValue("(y#)", v->ob_sval, Py_SIZE(v)); in bytes_getnewargs()
3018 if (Py_SIZE(v) == newsize) { in _PyBytes_Resize()
3022 if (Py_SIZE(v) == 0) { in _PyBytes_Resize()