Lines Matching defs:result
2968 int result;
2986 result = select(nfds, &readfds, NULL, NULL, &tv);
2987 if (result == -1) {
2993 if (result > 0) {
2995 result = coap_io_process(ctx, COAP_IO_NO_WAIT);
2998 if (result >= 0) {
3001 result = (int)(end - begin);
3007 * result is time spent in coap_io_process()
3009 result = coap_io_process(ctx, wait_ms);
3011 if (result < 0) {
3013 } else if (result && (unsigned)result < wait_ms) {
3014 /* decrement if there is a result wait time returned */
3015 wait_ms -= result;
3018 * result == 0, or result >= wait_ms
3021 * result == 0)