Lines Matching defs:dir
902 } dir;
1042 ctx->_.dir.last_entry = OPENSSL_DIR_read(&ctx->_.dir.ctx, path);
1043 ctx->_.dir.last_errno = errno;
1044 if (ctx->_.dir.last_entry == NULL) {
1045 if (ctx->_.dir.last_errno != 0) {
1046 ERR_raise(ERR_LIB_SYS, ctx->_.dir.last_errno);
1049 ctx->_.dir.end_reached = 1;
1162 BIO_snprintf(ctx->_.dir.search_name, sizeof(ctx->_.dir.search_name),
1452 size_t len = strlen(ctx->_.dir.search_name);
1455 if (ctx->_.dir.search_name[0] == '\0')
1467 if (OPENSSL_strncasecmp(name, ctx->_.dir.search_name, len) != 0
1525 if (ctx->_.dir.last_entry == NULL) {
1526 if (!ctx->_.dir.end_reached) {
1527 assert(ctx->_.dir.last_errno != 0);
1528 ERR_raise(ERR_LIB_SYS, ctx->_.dir.last_errno);
1534 if (ctx->_.dir.last_entry[0] != '.'
1535 && file_name_check(ctx, ctx->_.dir.last_entry)
1536 && !file_name_to_uri(ctx, ctx->_.dir.last_entry, &newname))
1545 ctx->_.dir.last_entry = OPENSSL_DIR_read(&ctx->_.dir.ctx, ctx->uri);
1546 ctx->_.dir.last_errno = errno;
1547 if (ctx->_.dir.last_entry == NULL && ctx->_.dir.last_errno == 0)
1548 ctx->_.dir.end_reached = 1;
1658 return ctx->_.dir.end_reached;
1670 OPENSSL_DIR_end(&ctx->_.dir.ctx);