Lines Matching defs:result
669 int result;
704 while (((result =
709 if (result <= 0)
713 result == 0 ? "timed out" : strerror (errno)));
806 struct addrinfo *result;
838 * we do a forward lookup on the received name to see if the result matches */
842 result = results;
844 while (result != NULL)
846 if(sa_is_equal( scanner_sa, (bjnp_sockaddr_t *)result-> ai_addr))
855 result = result-> ai_next;
1208 if ( response -> result[3] == 1 )
1212 if ( (response -> result[2] & 0x80) != 0)
1329 /* return result from write */
1376 /* return result from write */
1402 int result;
1421 while ( ( (result = select (fd + 1, &input, NULL, NULL, &timeout)) <= 0) &&
1424 if (result < 0)
1433 else if (result == 0)
1565 int result;
1600 while (((result = select (fd + 1, &input, NULL, NULL, &timeout)) <= 0) &&
1603 if (result < 0)
1613 else if (result == 0)
1745 int result;
1798 result = getaddrinfo (host, port, &hints, &res );
1799 if (result != 0 )
2305 int result;
2309 result = bjnp_allocate_device (devname, dn, NULL);
2310 if ( (result != BJNP_STATUS_GOOD) && (result != BJNP_STATUS_ALREADY_ALLOCATED ) ) {
2405 SANE_Status result;
2483 result = bjnp_recv_data (dn, buffer , recvd, &read_size);
2484 if (result != SANE_STATUS_GOOD)