Lines Matching refs:dirctx
55 static BIO *process_include(char *include, OPENSSL_DIR_CTX **dirctx,
57 static BIO *get_next_file(const char *path, OPENSSL_DIR_CTX **dirctx);
227 OPENSSL_DIR_CTX *dirctx = NULL; in def_load_bio() local
286 if (dirctx != NULL) { in def_load_bio()
289 if ((next = get_next_file(dirpath, &dirctx)) != NULL) { in def_load_bio()
496 next = process_include(include_path, &dirctx, &dirpath); in def_load_bio()
586 if (dirctx != NULL) in def_load_bio()
587 OPENSSL_DIR_end(&dirctx); in def_load_bio()
806 static BIO *process_include(char *include, OPENSSL_DIR_CTX **dirctx, in process_include() argument
819 if (*dirctx != NULL) { in process_include()
825 if ((next = get_next_file(include, dirctx)) != NULL) in process_include()
838 static BIO *get_next_file(const char *path, OPENSSL_DIR_CTX **dirctx) in get_next_file() argument
844 while ((filename = OPENSSL_DIR_read(dirctx, path)) != NULL) { in get_next_file()
887 OPENSSL_DIR_end(dirctx); in get_next_file()
888 *dirctx = NULL; in get_next_file()