Lines Matching defs:have
35 "supports omitting the size argument, and does not have a default\n"
273 * Note that non-daemon threads have already exited here, so this
902 Py_ssize_t have, r;
918 have = Py_SAFE_DOWNCAST(READAHEAD(self), Py_off_t, Py_ssize_t);
919 if (have > 0) {
920 n = Py_MIN(have, n);
991 buffer if we already have some data to return */
1345 "readline() should have returned a bytes object, "
1356 /* Reached EOF or would have blocked */
1466 /* Non-blocking stream would have blocked. Special return code! */
1484 "(should have been between 0 and %zd)", n, len);
1515 /* First copy what we have in the current buffer. */
1720 Py_ssize_t have, r;
1722 have = Py_SAFE_DOWNCAST(READAHEAD(self), Py_off_t, Py_ssize_t);
1727 Therefore, we either return `have` bytes (if > 0), or a full buffer.
1729 if (have > 0) {
1730 return PyBytes_FromStringAndSize(self->buffer + self->pos, have);
1825 /* Non-blocking stream would have blocked. Special return code!
1837 "(should have been between 0 and %zd)", n, len);
1890 VALID_WRITE_BUFFER(self) to be false to have