Lines Matching refs:dir

899         } dir;  member
1033 ctx->_.dir.last_entry = OPENSSL_DIR_read(&ctx->_.dir.ctx, path); in file_open_ex()
1034 ctx->_.dir.last_errno = errno; in file_open_ex()
1035 if (ctx->_.dir.last_entry == NULL) { in file_open_ex()
1036 if (ctx->_.dir.last_errno != 0) { in file_open_ex()
1037 ERR_raise(ERR_LIB_SYS, ctx->_.dir.last_errno); in file_open_ex()
1040 ctx->_.dir.end_reached = 1; in file_open_ex()
1150 BIO_snprintf(ctx->_.dir.search_name, sizeof(ctx->_.dir.search_name), in file_find()
1436 size_t len = strlen(ctx->_.dir.search_name); in file_name_check()
1439 if (ctx->_.dir.search_name[0] == '\0') in file_name_check()
1451 if (OPENSSL_strncasecmp(name, ctx->_.dir.search_name, len) != 0 in file_name_check()
1509 if (ctx->_.dir.last_entry == NULL) { in file_load()
1510 if (!ctx->_.dir.end_reached) { in file_load()
1511 assert(ctx->_.dir.last_errno != 0); in file_load()
1512 ERR_raise(ERR_LIB_SYS, ctx->_.dir.last_errno); in file_load()
1518 if (ctx->_.dir.last_entry[0] != '.' in file_load()
1519 && file_name_check(ctx, ctx->_.dir.last_entry) in file_load()
1520 && !file_name_to_uri(ctx, ctx->_.dir.last_entry, &newname)) in file_load()
1529 ctx->_.dir.last_entry = OPENSSL_DIR_read(&ctx->_.dir.ctx, ctx->uri); in file_load()
1530 ctx->_.dir.last_errno = errno; in file_load()
1531 if (ctx->_.dir.last_entry == NULL && ctx->_.dir.last_errno == 0) in file_load()
1532 ctx->_.dir.end_reached = 1; in file_load()
1642 return ctx->_.dir.end_reached; in file_eof()
1654 OPENSSL_DIR_end(&ctx->_.dir.ctx); in file_close()