Lines Matching refs:result
52 * any return message. Batched calls that produce many result messages can
1621 int result;
1636 result = writev(ct->ct_fd, iov, 2);
1638 result = t_snd(ct->ct_fd, ct->ct_bufferReadPtr,
1641 if (result < 0) {
1644 consumeFromBuffer(ct, result);
1654 result = writev(ct->ct_fd, iov, 2);
1656 result = t_snd(ct->ct_fd, ct->ct_bufferReadPtr,
1659 if (result < 0) {
1666 if (result > 0)
1667 consumeFromBuffer(ct, result);
1680 int result;
1707 result = t_snd(ct->ct_fd, buff, nBytes, 0);
1708 if (result == -1) {
1710 result = 0;
1720 if (result != nBytes) {
1721 if (addInBuffer(ct, (char *)buff + result,
1722 nBytes - result) == -1) {
1737 result = writev(ct->ct_fd, iov, i+1);
1738 if (result == -1) {
1741 result = 0;
1751 if (result <= ct->ct_bufferPendingSize) {
1753 consumeFromBuffer(ct, result);
1763 int len = result - ct->ct_bufferPendingSize;