Lines Matching refs:b

321 	struct evbuffer *b = bufferevent_get_input(bev);  in respond_to_number()  local
328 line = evbuffer_readln(b, NULL, EVBUFFER_EOL_LF); in respond_to_number()
355 struct evbuffer *b = bufferevent_get_output(bev); in done_writing_cb() local
356 if (evbuffer_get_length(b)) in done_writing_cb()
622 bio_rwcount_new(BIO *b) in bio_rwcount_new() argument
624 BIO_set_init(b, 0); in bio_rwcount_new()
625 BIO_set_data(b, NULL); in bio_rwcount_new()
629 bio_rwcount_free(BIO *b) in bio_rwcount_free() argument
631 TT_BLATHER(("bio_rwcount_free: %p", b)); in bio_rwcount_free()
632 if (!b) in bio_rwcount_free()
634 if (BIO_get_shutdown(b)) { in bio_rwcount_free()
635 BIO_set_init(b, 0); in bio_rwcount_free()
636 BIO_set_data(b, NULL); in bio_rwcount_free()
641 bio_rwcount_read(BIO *b, char *out, int outlen) in bio_rwcount_read() argument
643 struct rwcount *rw = BIO_get_data(b); in bio_rwcount_read()
647 BIO_set_retry_read(b); in bio_rwcount_read()
652 bio_rwcount_write(BIO *b, const char *in, int inlen) in bio_rwcount_write() argument
654 struct rwcount *rw = BIO_get_data(b); in bio_rwcount_write()
658 BIO_set_retry_write(b); in bio_rwcount_write()
663 bio_rwcount_ctrl(BIO *b, int cmd, long num, void *ptr) in bio_rwcount_ctrl() argument
665 struct rwcount *rw = BIO_get_data(b); in bio_rwcount_ctrl()
672 ret = BIO_get_shutdown(b); in bio_rwcount_ctrl()
675 BIO_set_shutdown(b, (int)num); in bio_rwcount_ctrl()
691 bio_rwcount_puts(BIO *b, const char *s) in bio_rwcount_puts() argument
693 return bio_rwcount_write(b, s, strlen(s)); in bio_rwcount_puts()