Searched refs:pathname (Results 1 - 25 of 124) sorted by relevance

12345

/freebsd-9.3-release/cddl/contrib/dtracetoolkit/Bin/
H A Ddiskhits12 # USAGE: diskhits pathname
50 USAGE: diskhits pathname
64 pathname=$1
65 if [[ ! -e $pathname ]]; then
66 print "ERROR2: file $pathname not found" >&2
72 set -- `ls -l $pathname`
85 inline string PATHNAME = "'$pathname'";
H A Drfileio.d52 self->pathname = cleanpath(args[0]->v_path);
53 @rio[self->pathname, "logical"] = count();
62 @rbytes[self->pathname, "logical"] =
66 self->pathname = 0;
72 @rio[self->pathname, "physical"] = count();
73 @rbytes[self->pathname, "physical"] = sum(args[0]->b_bcount);
H A Dopensnoop8 # USAGE: opensnoop [-a|-A|-ceghsvxZ] [-f pathname] [-n name] [-p PID]
21 # -f pathname # file pathname to snoop
37 # PATH pathname for file open
80 opt_zone=0; opt_cwd=0; opt_failonly=0; opt_err=0; filter=0; pathname=.
92 f) opt_file=1; pathname=$OPTARG ;;
100 USAGE: opensnoop [-a|-A|-ceghsvxZ] [-f pathname]
112 -f pathname # pathname name to snoop
153 inline string PATHNAME = "'$pathname'";
[all...]
H A Dstatsnoop8 # USAGE: statsnoop [-a|-A|-ceghlsvxZ] [-f pathname] [-t syscall]
23 # -f pathname # file pathname to snoop
42 # PATH pathname for file stat
78 opt_zone=0; opt_cwd=0; opt_failonly=0; opt_err=0; filter=0; pathname=.
90 f) opt_file=1; pathname=$OPTARG ;;
100 USAGE: statsnoop [-a|-A|-ceghlsvxZ] [-f pathname] [-t syscall]
113 -f pathname # pathname name to snoop
158 inline string PATHNAME = "'$pathname'";
[all...]
/freebsd-9.3-release/cddl/contrib/dtracetoolkit/Disk/
H A Ddiskhits12 # USAGE: diskhits pathname
50 USAGE: diskhits pathname
64 pathname=$1
65 if [[ ! -e $pathname ]]; then
66 print "ERROR2: file $pathname not found" >&2
72 set -- `ls -l $pathname`
85 inline string PATHNAME = "'$pathname'";
/freebsd-9.3-release/usr.bin/procstat/
H A Dprocstat_bin.c46 static char pathname[PATH_MAX]; local
51 if (procstat_getpathname(prstat, kipp, pathname, sizeof(pathname)) != 0)
53 if (strlen(pathname) == 0)
54 strcpy(pathname, "-");
61 printf("%s\n", pathname);
/freebsd-9.3-release/contrib/libarchive/libarchive_fe/
H A Dmatching.h36 const char *pathname);
39 const char *pathname, int nullSeparator);
41 int lafe_excluded(struct lafe_matching *, const char *pathname);
H A Dmatching.c60 static int match_exclusion(struct match *, const char *pathname);
61 static int match_inclusion(struct match *, const char *pathname);
86 lafe_exclude_from_file(struct lafe_matching **matching, const char *pathname) argument
92 lr = lafe_line_reader(pathname, 0);
114 lafe_include_from_file(struct lafe_matching **matching, const char *pathname, argument
121 lr = lafe_line_reader(pathname, nullSeparator);
151 lafe_excluded(struct lafe_matching *matching, const char *pathname) argument
161 if (match_exclusion(match, pathname))
168 if (match_inclusion(match, pathname)) {
208 match_exclusion(struct match *match, const char *pathname) argument
220 match_inclusion(struct match *match, const char *pathname) argument
[all...]
H A Dline_reader.c52 char *pathname; member in struct:lafe_line_reader
59 lafe_line_reader(const char *pathname, int nullSeparator) argument
65 lafe_errc(1, ENOMEM, "Can't open %s", pathname);
68 lr->pathname = strdup(pathname);
70 if (strcmp(pathname, "-") == 0)
73 lr->f = fopen(pathname, "r");
75 lafe_errc(1, errno, "Couldn't open %s", pathname);
79 lafe_errc(1, ENOMEM, "Can't read %s", pathname);
139 "Line too long in %s", lr->pathname);
[all...]
/freebsd-9.3-release/contrib/gcc/
H A Dgenmddeps.c30 const char *pathname; member in struct:filedep
36 add_filedep (const char *pathname) argument
39 n->pathname = pathname;
60 printf (" \\\n\t%s", d->pathname);
66 printf ("\n%s:\n", d->pathname);
/freebsd-9.3-release/cddl/contrib/dtracetoolkit/FS/
H A Drfileio.d52 self->pathname = cleanpath(args[0]->v_path);
53 @rio[self->pathname, "logical"] = count();
62 @rbytes[self->pathname, "logical"] =
66 self->pathname = 0;
72 @rio[self->pathname, "physical"] = count();
73 @rbytes[self->pathname, "physical"] = sum(args[0]->b_bcount);
/freebsd-9.3-release/contrib/libarchive/libarchive/test/
H A Dtest_read_format_isojoliet_long.c62 char pathname[104]; local
71 pathname[i] = '0' + ((i+1) % 10);
96 pathname[100] = 'd';
97 pathname[101] = 'i';
98 pathname[102] = 'r';
99 pathname[103] = '\0';
101 assertEqualString(pathname, archive_entry_pathname(ae));
107 /* A regular file with two names (pathname gets returned
109 pathname[100] = '1';
110 pathname[10
[all...]
H A Dtest.h164 #define assertFileAtime(pathname, sec, nsec) \
165 assertion_file_atime(__FILE__, __LINE__, pathname, sec, nsec)
166 #define assertFileAtimeRecent(pathname) \
167 assertion_file_atime_recent(__FILE__, __LINE__, pathname)
168 #define assertFileBirthtime(pathname, sec, nsec) \
169 assertion_file_birthtime(__FILE__, __LINE__, pathname, sec, nsec)
170 #define assertFileBirthtimeRecent(pathname) \
171 assertion_file_birthtime_recent(__FILE__, __LINE__, pathname)
181 #define assertFileMtime(pathname, sec, nsec) \
182 assertion_file_mtime(__FILE__, __LINE__, pathname, se
[all...]
/freebsd-9.3-release/contrib/libarchive/tar/test/
H A Dtest.h160 #define assertFileAtime(pathname, sec, nsec) \
161 assertion_file_atime(__FILE__, __LINE__, pathname, sec, nsec)
162 #define assertFileAtimeRecent(pathname) \
163 assertion_file_atime_recent(__FILE__, __LINE__, pathname)
164 #define assertFileBirthtime(pathname, sec, nsec) \
165 assertion_file_birthtime(__FILE__, __LINE__, pathname, sec, nsec)
166 #define assertFileBirthtimeRecent(pathname) \
167 assertion_file_birthtime_recent(__FILE__, __LINE__, pathname)
177 #define assertFileMtime(pathname, sec, nsec) \
178 assertion_file_mtime(__FILE__, __LINE__, pathname, se
[all...]
/freebsd-9.3-release/contrib/libarchive/cpio/test/
H A Dtest.h160 #define assertFileAtime(pathname, sec, nsec) \
161 assertion_file_atime(__FILE__, __LINE__, pathname, sec, nsec)
162 #define assertFileAtimeRecent(pathname) \
163 assertion_file_atime_recent(__FILE__, __LINE__, pathname)
164 #define assertFileBirthtime(pathname, sec, nsec) \
165 assertion_file_birthtime(__FILE__, __LINE__, pathname, sec, nsec)
166 #define assertFileBirthtimeRecent(pathname) \
167 assertion_file_birthtime_recent(__FILE__, __LINE__, pathname)
177 #define assertFileMtime(pathname, sec, nsec) \
178 assertion_file_mtime(__FILE__, __LINE__, pathname, se
[all...]
/freebsd-9.3-release/contrib/bmake/
H A Dtrace.c78 Trace_Init(const char *pathname) argument
81 if (pathname != NULL) {
85 trfile = fopen(pathname, "a");
/freebsd-9.3-release/contrib/texinfo/info/
H A Dfilesys.h37 /* Defines that are passed along with the pathname to info_add_path (). */
55 extern char *filesys_read_info_file (char *pathname, long int *filesize,
58 extern char *filesys_read_compressed (char *pathname, long int *filesize);
/freebsd-9.3-release/contrib/mtree/
H A Dexcludes.c62 int pathname; member in struct:exclude
96 e->pathname = 1;
98 e->pathname = 0;
114 if ((e->pathname && MATCH(e->glob, path))
/freebsd-9.3-release/usr.sbin/mtree/
H A Dexcludes.c53 int pathname; member in struct:exclude
89 e->pathname = 1;
91 e->pathname = 0;
106 if ((e->pathname && MATCH(e->glob, path))
/freebsd-9.3-release/cddl/contrib/dtracetoolkit/
H A Dopensnoop8 # USAGE: opensnoop [-a|-A|-ceghsvxZ] [-f pathname] [-n name] [-p PID]
21 # -f pathname # file pathname to snoop
37 # PATH pathname for file open
80 opt_zone=0; opt_cwd=0; opt_failonly=0; opt_err=0; filter=0; pathname=.
92 f) opt_file=1; pathname=$OPTARG ;;
100 USAGE: opensnoop [-a|-A|-ceghsvxZ] [-f pathname]
112 -f pathname # pathname name to snoop
153 inline string PATHNAME = "'$pathname'";
[all...]
H A Dstatsnoop8 # USAGE: statsnoop [-a|-A|-ceghlsvxZ] [-f pathname] [-t syscall]
23 # -f pathname # file pathname to snoop
42 # PATH pathname for file stat
78 opt_zone=0; opt_cwd=0; opt_failonly=0; opt_err=0; filter=0; pathname=.
90 f) opt_file=1; pathname=$OPTARG ;;
100 USAGE: statsnoop [-a|-A|-ceghlsvxZ] [-f pathname] [-t syscall]
113 -f pathname # pathname name to snoop
158 inline string PATHNAME = "'$pathname'";
[all...]
/freebsd-9.3-release/sys/cddl/compat/opensolaris/sys/
H A Dpathname.h37 typedef struct pathname { struct
39 char *pn_path; /* remaining pathname */
/freebsd-9.3-release/usr.bin/unzip/
H A Dunzip.c298 * Verify that a given pathname is in the include list and not in the
302 accept_pathname(const char *pathname) argument
305 if (!STAILQ_EMPTY(&include) && !match_pattern(&include, pathname))
307 if (!STAILQ_EMPTY(&exclude) && match_pattern(&exclude, pathname))
624 char *pathname, *realpathname; local
628 pathname = pathdup(archive_entry_pathname(e));
632 if (pathname[0] == '/' ||
633 strncmp(pathname, "../", 3) == 0 ||
634 strstr(pathname, "/../") != NULL) {
635 warningx("skipping insecure entry '%s'", pathname);
688 char *pathname; local
[all...]
/freebsd-9.3-release/contrib/less/
H A Dfilename.c220 * Return a pathname that points to a specified file in a specified directory.
228 char *pathname; local
236 * Construct the full pathname.
239 pathname = (char *) calloc(len, sizeof(char));
240 if (pathname == NULL)
242 SNPRINTF3(pathname, len, "%s%s%s", dirname, PATHNAME_SEP, filename);
246 qpathname = shell_unquote(pathname);
250 free(pathname);
251 pathname = NULL;
257 return (pathname);
267 register char *pathname; local
688 char *pathname; local
[all...]
/freebsd-9.3-release/contrib/sendmail/src/
H A Dmci.c1108 ** Recursively find all the mci host files in `pathname'. Default to
1110 ** Call (*action)(pathname, host) for each file found.
1120 ** pathname -- root of tree. If null, use main host status
1131 mci_traverse_persistent(action, pathname)
1133 char *pathname;
1139 if (pathname == NULL)
1140 pathname = HostStatDir;
1141 if (pathname == NULL)
1145 sm_dprintf("mci_traverse: pathname is %s\n", pathname);
[all...]

Completed in 138 milliseconds

12345