Lines Matching refs:uri
67 char *uri; /* The URI we currently try to load */ member
114 OPENSSL_free(ctx->uri); in free_file_ctx()
123 static struct file_ctx_st *new_file_ctx(int type, const char *uri, in new_file_ctx() argument
129 && (uri == NULL || (ctx->uri = OPENSSL_strdup(uri)) != NULL)) { in new_file_ctx()
151 static struct file_ctx_st *file_open_stream(BIO *source, const char *uri, in file_open_stream() argument
156 if ((ctx = new_file_ctx(IS_FILE, uri, provctx)) == NULL) { in file_open_stream()
169 static void *file_open_dir(const char *path, const char *uri, void *provctx) in file_open_dir() argument
173 if ((ctx = new_file_ctx(IS_DIR, uri, provctx)) == NULL) { in file_open_dir()
194 static void *file_open(void *provctx, const char *uri) in file_open() argument
203 const char *path, *p = uri, *q; in file_open()
212 path_data[path_data_n++].path = uri; in file_open()
280 ctx = file_open_dir(path, uri, provctx); in file_open()
282 || (ctx = file_open_stream(bio, uri, provctx)) == NULL) in file_open()
555 const char *pathsep = ossl_ends_with_dirsep(ctx->uri) ? "" : "/"; in file_name_to_uri()
556 long calculated_length = strlen(ctx->uri) + strlen(pathsep) in file_name_to_uri()
563 OPENSSL_strlcat(data, ctx->uri, calculated_length); in file_name_to_uri()
673 ctx->_.dir.last_entry = OPENSSL_DIR_read(&ctx->_.dir.ctx, ctx->uri); in file_load_dir_entry()