Lines Matching refs:ptr
66 bi->ptr = (char *)ctx; in buffer_new()
77 b = (BIO_F_BUFFER_CTX *)a->ptr; in buffer_free()
80 OPENSSL_free(a->ptr); in buffer_free()
81 a->ptr = NULL; in buffer_free()
94 ctx = (BIO_F_BUFFER_CTX *)b->ptr; in buffer_read()
165 ctx = (BIO_F_BUFFER_CTX *)b->ptr; in buffer_write()
235 static long buffer_ctrl(BIO *b, int cmd, long num, void *ptr) in buffer_ctrl() argument
244 ctx = (BIO_F_BUFFER_CTX *)b->ptr; in buffer_ctrl()
254 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in buffer_ctrl()
259 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in buffer_ctrl()
277 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in buffer_ctrl()
285 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in buffer_ctrl()
300 memcpy(ctx->ibuf, ptr, (int)num); in buffer_ctrl()
304 if (ptr != NULL) { in buffer_ctrl()
305 ip = (int *)ptr; in buffer_ctrl()
354 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in buffer_ctrl()
362 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in buffer_ctrl()
383 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in buffer_ctrl()
387 dbio = (BIO *)ptr; in buffer_ctrl()
400 memcpy(ptr, &(ctx->ibuf[ctx->ibuf_off]), num); in buffer_ctrl()
406 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in buffer_ctrl()
425 ctx = (BIO_F_BUFFER_CTX *)b->ptr; in buffer_gets()