Lines Matching refs:result
438 struct addrinfo *result, *rp;
450 s = getaddrinfo(node, port, &hints, &result);
458 for (rp = result; rp != NULL; rp = rp->ai_next) {
489 freeaddrinfo(result);
701 int result;
719 result = select(nfds, &readfds, NULL, NULL, &tv);
720 if (result == -1) {
727 if (result > 0) {
729 result = coap_io_process(ctx, COAP_IO_NO_WAIT);
732 if (result >= 0) {
735 result = (int)(end - begin);
741 * result is time spent in coap_io_process()
743 result = coap_io_process(ctx, wait_ms);
745 if (result < 0) {
747 } else if (result && (unsigned)result < wait_ms) {
748 /* decrement if there is a result wait time returned */
749 wait_ms -= result;
752 * result == 0, or result >= wait_ms
755 * result == 0)