Lines Matching refs:state
20 int state; member
107 c->state = BIO_CONN_S_CONNECT_ERROR; in conn_create_dgram_bio()
120 switch (c->state) { in conn_state()
129 c->state = BIO_CONN_S_GET_ADDR; in conn_state()
170 c->state = BIO_CONN_S_CREATE_SOCKET; in conn_state()
185 c->state = BIO_CONN_S_CONNECT; in conn_state()
201 c->state = BIO_CONN_S_BLOCKED_CONNECT; in conn_state()
210 c->state = BIO_CONN_S_CREATE_SOCKET; in conn_state()
218 c->state = BIO_CONN_S_CONNECT_ERROR; in conn_state()
226 c->state = BIO_CONN_S_OK; in conn_state()
242 c->state = BIO_CONN_S_CREATE_SOCKET; in conn_state()
254 c->state = BIO_CONN_S_OK; in conn_state()
281 if ((ret = cb((BIO *)b, c->state, ret)) == 0) in conn_state()
289 ret = cb((BIO *)b, c->state, ret); in conn_state()
300 ret->state = BIO_CONN_S_BEFORE; in BIO_CONNECT_new()
339 if (c->state == BIO_CONN_S_OK) in conn_close_socket()
372 if (data->state != BIO_CONN_S_OK) { in conn_read()
410 if (data->state != BIO_CONN_S_OK) { in conn_write()
468 data->state = BIO_CONN_S_BEFORE; in conn_ctrl()
476 if (data->state != BIO_CONN_S_OK) in conn_ctrl()
565 || data->state >= BIO_CONN_S_GET_ADDR) { in conn_ctrl()
586 if (data->state != BIO_CONN_S_OK) in conn_ctrl()
589 if (data->state >= BIO_CONN_S_CREATE_SOCKET in conn_ctrl()
609 if (data->state != BIO_CONN_S_OK) in conn_ctrl()
612 if (data->state >= BIO_CONN_S_CREATE_SOCKET) { in conn_ctrl()
782 if (data->state != BIO_CONN_S_OK) { in conn_gets()
829 if (data->state != BIO_CONN_S_OK) { in conn_sendmmsg()
860 if (data->state != BIO_CONN_S_OK) { in conn_recvmmsg()