Lines Matching refs:ret
82 BIO *ret; in BIO_new_fd() local
83 ret = BIO_new(BIO_s_fd()); in BIO_new_fd()
84 if (ret == NULL) in BIO_new_fd()
86 BIO_set_fd(ret, fd, close_flag); in BIO_new_fd()
87 return ret; in BIO_new_fd()
115 int ret = 0; in fd_read() local
119 ret = UP_read(b->num, out, outl); in fd_read()
121 if (ret <= 0) { in fd_read()
122 if (BIO_fd_should_retry(ret)) in fd_read()
124 else if (ret == 0) in fd_read()
128 return ret; in fd_read()
133 int ret; in fd_write() local
135 ret = UP_write(b->num, in, inl); in fd_write()
137 if (ret <= 0) { in fd_write()
138 if (BIO_fd_should_retry(ret)) in fd_write()
141 return ret; in fd_write()
146 long ret = 1; in fd_ctrl() local
154 ret = (long)UP_lseek(b->num, num, 0); in fd_ctrl()
158 ret = (long)UP_lseek(b->num, 0, 1); in fd_ctrl()
171 ret = b->num; in fd_ctrl()
173 ret = -1; in fd_ctrl()
176 ret = b->shutdown; in fd_ctrl()
183 ret = 0; in fd_ctrl()
187 ret = 1; in fd_ctrl()
190 ret = (b->flags & BIO_FLAGS_IN_EOF) != 0; in fd_ctrl()
193 ret = 0; in fd_ctrl()
196 return ret; in fd_ctrl()
201 int n, ret; in fd_puts() local
204 ret = fd_write(bp, str, n); in fd_puts()
205 return ret; in fd_puts()
210 int ret = 0; in fd_gets() local
222 ret = strlen(buf); in fd_gets()
223 return ret; in fd_gets()