Lines Matching refs:result
251 str *result) { in parse_param() argument
253 if (result) in parse_param()
254 memset(result, 0, sizeof(str)); in parse_param()
272 if (data_len > 1 && result) { in parse_param()
275 result->s = ++data; in parse_param()
277 ++data; result->length++; in parse_param()
577 struct addrinfo *result, *rp; in get_context() local
584 s = getaddrinfo(node, port, &hints, &result); in get_context()
591 for (rp = result; rp != NULL; rp = rp->ai_next) { in get_context()
610 freeaddrinfo(result); in get_context()
618 int result = -1; in join() local
625 result = getaddrinfo("::", NULL, &hints, &reslocal); in join()
626 if ( result < 0 ) { in join()
645 result = getaddrinfo(group_name, NULL, &hints, &resmulti); in join()
647 if ( result < 0 ) { in join()
660 result = setsockopt(ctx->sockfd, in join()
663 if ( result < 0 ) in join()
670 return result; in join()
678 int result; in main() local
745 result = select( FD_SETSIZE, &readfds, 0, 0, timeout ); in main()
747 if ( result < 0 ) { /* error */ in main()
750 } else if ( result > 0 ) { /* read from socket */ in main()