Home | History | Annotate | Download | only in pcre

Lines Matching full:pathname

1525   pathname          the path to investigate
1537 grep_or_recurse(char *pathname, BOOL dir_recurse, BOOL only_one_at_top)
1556 if (strcmp(pathname, "-") == 0)
1568 if ((sep = isdirectory(pathname)) != 0)
1575 directory_type *dir = opendirectory(pathname);
1580 fprintf(stderr, "pcregrep: Failed to open directory %s: %s\n", pathname,
1588 sprintf(buffer, "%.512s%c%.128s", pathname, sep, nextfile);
1625 else if (!isregfile(pathname) && DEE_action == DEE_SKIP) return 1;
1633 pathlen = (int)(strlen(pathname));
1638 if (pathlen > 3 && strcmp(pathname + pathlen - 3, ".gz") == 0)
1640 ingz = gzopen(pathname, "rb");
1644 fprintf(stderr, "pcregrep: Failed to open %s: %s\n", pathname,
1657 if (pathlen > 4 && strcmp(pathname + pathlen - 4, ".bz2") == 0)
1659 inbz2 = BZ2_bzopen(pathname, "rb");
1673 in = fopen(pathname, "rb");
1683 fprintf(stderr, "pcregrep: Failed to open %s: %s\n", pathname,
1691 (filenames == FN_DEFAULT && !only_one_at_top))? pathname : NULL);
1719 pathname, err);