Lines Matching refs:ret
93 BIO_ACCEPT *ret; in BIO_ACCEPT_new() local
95 if ((ret = OPENSSL_zalloc(sizeof(*ret))) == NULL) in BIO_ACCEPT_new()
97 ret->accept_family = BIO_FAMILY_IPANY; in BIO_ACCEPT_new()
98 ret->accept_sock = (int)INVALID_SOCKET; in BIO_ACCEPT_new()
99 return ret; in BIO_ACCEPT_new()
151 int s = -1, ret = -1; in acpt_state() local
272 ret = 1; in acpt_state()
304 ret = s; in acpt_state()
337 ret = 1; in acpt_state()
345 ret = 1; in acpt_state()
349 ret = 0; in acpt_state()
360 return ret; in acpt_state()
365 int ret = 0; in acpt_read() local
372 ret = acpt_state(b, data); in acpt_read()
373 if (ret <= 0) in acpt_read()
374 return ret; in acpt_read()
377 ret = BIO_read(b->next_bio, out, outl); in acpt_read()
379 return ret; in acpt_read()
384 int ret; in acpt_write() local
391 ret = acpt_state(b, data); in acpt_write()
392 if (ret <= 0) in acpt_write()
393 return ret; in acpt_write()
396 ret = BIO_write(b->next_bio, in, inl); in acpt_write()
398 return ret; in acpt_write()
404 long ret = 1; in acpt_ctrl() local
412 ret = 0; in acpt_ctrl()
421 ret = (long)acpt_state(b, data); in acpt_ctrl()
433 ret = BIO_parse_hostserv(ptr, in acpt_ctrl()
443 ret = 0; in acpt_ctrl()
482 ret = data->accept_sock; in acpt_ctrl()
484 ret = -1; in acpt_ctrl()
504 ret = BIO_FAMILY_IPV6; in acpt_ctrl()
508 ret = BIO_FAMILY_IPV4; in acpt_ctrl()
511 ret = data->accept_family; in acpt_ctrl()
514 ret = -1; in acpt_ctrl()
518 ret = -1; in acpt_ctrl()
520 ret = -1; in acpt_ctrl()
523 ret = b->shutdown; in acpt_ctrl()
530 ret = 0; in acpt_ctrl()
538 ret = (long)data->bind_mode; in acpt_ctrl()
544 ret = 0; in acpt_ctrl()
546 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in acpt_ctrl()
549 ret = 0; in acpt_ctrl()
552 return ret; in acpt_ctrl()
557 int n, ret; in acpt_puts() local
560 ret = acpt_write(bp, str, n); in acpt_puts()
561 return ret; in acpt_puts()
566 BIO *ret; in BIO_new_accept() local
568 ret = BIO_new(BIO_s_accept()); in BIO_new_accept()
569 if (ret == NULL) in BIO_new_accept()
571 if (BIO_set_accept_name(ret, str) > 0) in BIO_new_accept()
572 return ret; in BIO_new_accept()
573 BIO_free(ret); in BIO_new_accept()