Lines Matching defs:filename
365 r->filename = apr_pstrcat(p, "proxy:ftp://", (user != NULL) ? user : "",
600 char *filename;
659 if (ctx->buffer[0] == 'l' && (filename = strstr(ctx->buffer, " -> ")) != NULL) {
660 char *link_ptr = filename;
663 filename--;
664 } while (filename[0] != ' ' && filename > ctx->buffer);
665 if (filename > ctx->buffer)
666 *(filename++) = '\0';
670 ap_escape_uri(p, filename),
671 ap_escape_html(p, filename),
689 filename = strrchr(ctx->buffer, ' ');
690 if (filename == NULL) {
699 *(filename++) = '\0';
702 if (!strcmp(filename, ".") || !strcmp(filename, "..") || firstfile) {
704 searchidx = filename - ctx->buffer;
707 *(--filename) = ' ';
709 filename = &ctx->buffer[searchidx];
713 if (!strcmp(filename, ".") || !strcmp(filename, "..") || ctx->buffer[0] == 'd') {
716 ap_escape_uri(p, filename),
717 ap_escape_html(p, filename));
722 ap_escape_uri(p, filename),
723 ap_escape_html(p, filename));
732 filename = apr_pstrndup(p, &ctx->buffer[re_result[2].rm_so], re_result[2].rm_eo - re_result[2].rm_so);
735 "<a href=\"", ap_escape_uri(p, filename), "\">",
736 ap_escape_html(p, filename), "</a>\n", NULL);