Lines Matching refs:ptr
96 bb = (BIO_BUF_MEM *)ret->ptr; in BIO_new_mem_buf()
128 bi->ptr = (char *)bb; in mem_init()
149 bb = (BIO_BUF_MEM *)a->ptr; in mem_free()
162 if (a->shutdown && a->init && a->ptr != NULL) { in mem_buf_free()
163 BIO_BUF_MEM *bb = (BIO_BUF_MEM *)a->ptr; in mem_buf_free()
179 if (b != NULL && b->init != 0 && b->ptr != NULL) { in mem_buf_sync()
180 BIO_BUF_MEM *bbm = (BIO_BUF_MEM *)b->ptr; in mem_buf_sync()
194 BIO_BUF_MEM *bbm = (BIO_BUF_MEM *)b->ptr; in mem_read()
218 BIO_BUF_MEM *bbm = (BIO_BUF_MEM *)b->ptr; in mem_write()
242 static long mem_ctrl(BIO *b, int cmd, long num, void *ptr) in mem_ctrl() argument
246 BIO_BUF_MEM *bbm = (BIO_BUF_MEM *)b->ptr; in mem_ctrl()
296 if (ptr != NULL) { in mem_ctrl()
297 pptr = (char **)ptr; in mem_ctrl()
304 bbm->buf = ptr; in mem_ctrl()
308 if (ptr != NULL) { in mem_ctrl()
312 pptr = (char **)ptr; in mem_ctrl()
346 BIO_BUF_MEM *bbm = (BIO_BUF_MEM *)bp->ptr; in mem_gets()