Lines Matching refs:file
872 BIO *file; member
880 } file; member
917 if (ctx->_.file.last_handler != NULL) { in OSSL_STORE_LOADER_CTX_free()
918 ctx->_.file.last_handler->destroy_ctx(&ctx->_.file.last_handler_ctx); in OSSL_STORE_LOADER_CTX_free()
919 ctx->_.file.last_handler_ctx = NULL; in OSSL_STORE_LOADER_CTX_free()
920 ctx->_.file.last_handler = NULL; in OSSL_STORE_LOADER_CTX_free()
934 ctx->_.file.file = BIO_push(buff, ctx->_.file.file); in file_find_type()
935 if (BIO_buffer_peek(ctx->_.file.file, peekbuf, sizeof(peekbuf) - 1) > 0) { in file_find_type()
1042 } else if ((ctx->_.file.file = BIO_new_file(path, "rb")) == NULL in file_open_ex()
1044 BIO_free_all(ctx->_.file.file); in file_open_ex()
1081 ctx->_.file.file = bp; in file_attach()
1084 ctx->_.file.file = NULL; in file_attach()
1232 ctx->_.file.last_handler = matching_handlers[0]; in file_load_try_decode()
1233 ctx->_.file.last_handler_ctx = handler_ctx; in file_load_try_decode()
1270 if (ctx->_.file.last_handler != NULL) { in file_load_try_repeat()
1272 ctx->_.file.last_handler->try_decode(NULL, NULL, NULL, 0, in file_load_try_repeat()
1273 &ctx->_.file.last_handler_ctx, in file_load_try_repeat()
1279 ctx->_.file.last_handler->destroy_ctx(&ctx->_.file.last_handler_ctx); in file_load_try_repeat()
1280 ctx->_.file.last_handler_ctx = NULL; in file_load_try_repeat()
1281 ctx->_.file.last_handler = NULL; in file_load_try_repeat()
1560 if (!file_read_pem(ctx->_.file.file, &pem_name, &pem_header, in file_load()
1567 if ((result = file_try_read_msblob(ctx->_.file.file, in file_load()
1569 || (result = file_try_read_PVK(ctx->_.file.file, in file_load()
1574 if (!file_read_asn1(ctx->_.file.file, &data, &len)) { in file_load()
1644 if (ctx->_.file.last_handler != NULL in file_eof()
1645 && !ctx->_.file.last_handler->eof(ctx->_.file.last_handler_ctx)) in file_eof()
1647 return BIO_eof(ctx->_.file.file); in file_eof()
1656 BIO_free_all(ctx->_.file.file); in file_close()
1662 BIO *buff = ctx->_.file.file; in file_close()
1665 (void)BIO_pop(ctx->_.file.file); in file_close()
1667 ctx->_.file.file = NULL; in file_close()