Lines Matching refs:result
70 ssize_t result = 0; in read_from_file() local
80 result = -1; in read_from_file()
85 result += bytes_read; in read_from_file()
90 return result; in read_from_file()
109 unsigned char *result, size_t result_length) { in get_psk_info() argument
122 memcpy(result, psk_id, psk_id_length); in get_psk_info()
133 memcpy(result, psk_key, psk_key_length); in get_psk_info()
147 const dtls_ecdsa_key_t **result) { in get_ecdsa_key() argument
155 *result = &ecdsa_key; in get_ecdsa_key()
347 int fd, result; local
366 ssize_t result = read_from_file(optarg, psk_id, PSK_ID_MAXLEN); local
367 if (result < 0) {
370 psk_id_length = result;
375 ssize_t result = read_from_file(optarg, psk_key, PSK_MAXLEN); local
376 if (result < 0) {
379 psk_key_length = result;
483 result = select(fd+1, &rfds, &wfds, 0, &timeout);
485 if (result < 0) { /* error */
488 } else if (result == 0) { /* timeout */