Lines Matching refs:uri
754 char *uri;
780 OPENSSL_free(ctx->_.dir.uri);
792 const char *uri,
809 path_data[path_data_n++].path = uri;
817 if (strncasecmp(uri, "file:", 5) == 0) {
818 const char *p = &uri[5];
820 if (strncmp(&uri[5], "//", 2) == 0) {
822 if (strncasecmp(&uri[7], "localhost/", 10) == 0) {
823 p = &uri[16];
824 } else if (uri[7] == '/') {
825 p = &uri[7];
888 ctx->_.dir.uri = OPENSSL_strdup(uri);
891 if (ctx->_.dir.uri == NULL)
1182 static int ends_with_dirsep(const char *uri)
1184 if (*uri != '\0')
1185 uri += strlen(uri) - 1;
1187 if (*uri == ']' || *uri == '>' || *uri == ':')
1190 if (*uri == '\\')
1193 return *uri == '/';
1202 const char *pathsep = ends_with_dirsep(ctx->_.dir.uri) ? "" : "/";
1203 long calculated_length = strlen(ctx->_.dir.uri) + strlen(pathsep)
1212 OPENSSL_strlcat(*data, ctx->_.dir.uri, calculated_length);
1320 ctx->_.dir.uri);