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

123456

/freebsd-10-stable/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-10-stable/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-10-stable/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-10-stable/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-10-stable/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-10-stable/contrib/libarchive/libarchive/test/
H A Dtest_read_format_isojoliet_long.c62 char pathname[104]; local
71 pathname[i] = '0' + ((i+1) % 10);
98 pathname[100] = 'd';
99 pathname[101] = 'i';
100 pathname[102] = 'r';
101 pathname[103] = '\0';
103 assertEqualString(pathname, archive_entry_pathname(ae));
111 /* A regular file with two names (pathname gets returned
113 pathname[100] = '1';
114 pathname[10
[all...]
/freebsd-10-stable/contrib/libarchive/tar/test/
H A Dtest_option_fflags.c33 clear_fflags(const char *pathname) argument
36 chflags(pathname, 0);
41 fd = open(pathname, O_RDONLY | O_NONBLOCK);
52 (void)pathname; /* UNUSED */
/freebsd-10-stable/contrib/libarchive/test_utils/
H A Dtest_common.h173 #define assertChmod(pathname, mode) \
174 assertion_chmod(__FILE__, __LINE__, pathname, mode)
199 #define assertEmptyFile(pathname) \
200 assertion_empty_file(__FILE__, __LINE__, (pathname))
202 #define assertNonEmptyFile(pathname) \
203 assertion_non_empty_file(__FILE__, __LINE__, (pathname))
204 #define assertFileAtime(pathname, sec, nsec) \
205 assertion_file_atime(__FILE__, __LINE__, pathname, sec, nsec)
206 #define assertFileAtimeRecent(pathname) \
207 assertion_file_atime_recent(__FILE__, __LINE__, pathname)
[all...]
/freebsd-10-stable/contrib/bmake/
H A Dtrace.c78 Trace_Init(const char *pathname) argument
81 if (pathname != NULL) {
85 trfile = fopen(pathname, "a");
/freebsd-10-stable/contrib/libarchive/libarchive_fe/
H A Dline_reader.c53 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);
130 "Line too long in %s", lr->pathname);
139 "Line too long in %s", lr->pathname);
[all...]
/freebsd-10-stable/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-10-stable/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-10-stable/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-10-stable/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-10-stable/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-10-stable/contrib/sendmail/src/
H A Dmci.c1109 ** Recursively find all the mci host files in `pathname'. Default to
1111 ** Call (*action)(pathname, host) for each file found.
1121 ** pathname -- root of tree. If null, use main host status
1132 mci_traverse_persistent(action, pathname)
1134 char *pathname;
1140 if (pathname == NULL)
1141 pathname = HostStatDir;
1142 if (pathname == NULL)
1146 sm_dprintf("mci_traverse: pathname is %s\n", pathname);
[all...]
/freebsd-10-stable/tests/sys/aio/
H A Daio_test.c337 char pathname[PATH_MAX]; local
344 strcpy(pathname, PATH_TEMPLATE);
345 fd = mkstemp(pathname);
349 arg.afa_pathname = pathname;
385 char pathname[PATH_MAX]; local
395 strcpy(pathname, PATH_TEMPLATE);
396 ATF_REQUIRE_MSG(mkstemp(pathname) != -1,
398 ATF_REQUIRE_MSG(unlink(pathname) == 0,
400 ATF_REQUIRE_MSG(mkfifo(pathname, 0600) != -1,
402 arg.afa_pathname = pathname;
604 char pathname[PATH_MAX]; local
[all...]
/freebsd-10-stable/contrib/less/
H A Dfilename.c216 * Return a pathname that points to a specified file in a specified directory.
224 char *pathname; local
231 * Construct the full pathname.
234 pathname = (char *) calloc(len, sizeof(char));
235 if (pathname == NULL)
237 SNPRINTF3(pathname, len, "%s%s%s", dirname, PATHNAME_SEP, filename);
241 f = open(pathname, OPEN_READ);
244 free(pathname);
245 pathname = NULL;
250 return (pathname);
260 char *pathname; local
[all...]
/freebsd-10-stable/contrib/apr-util/dbm/
H A Dapr_dbm.c194 const char *pathname,
203 rv = (vtable->open)(pdb, pathname, mode, perm, pool);
208 APU_DECLARE(apr_status_t) apr_dbm_open(apr_dbm_t **pdb, const char *pathname,
212 return apr_dbm_open_ex(pdb, DBM_NAME, pathname, mode, perm, pool);
274 const char *pathname,
282 (vtable->getusednames)(p, pathname, used1, used2);
289 const char *pathname,
293 apr_dbm_get_usednames_ex(p, DBM_NAME, pathname, used1, used2);
288 apr_dbm_get_usednames(apr_pool_t *p, const char *pathname, const char **used1, const char **used2) argument
/freebsd-10-stable/contrib/apr-util/include/
H A Dapr_dbm.h191 * @param pathname The path name to generate used-names from.
192 * @param used1 The first pathname used by the apr_dbm implementation.
193 * @param used2 The second pathname used by apr_dbm. If only one file is
201 const char *pathname,
210 * @param pathname The path name to generate used-names from.
211 * @param used1 The first pathname used by the apr_dbm implementation.
212 * @param used2 The second pathname used by apr_dbm. If only one file is
218 const char *pathname,
/freebsd-10-stable/contrib/apr-util/include/private/
H A Dapr_dbm_private.h52 apr_status_t (*open)(apr_dbm_t **pdb, const char *pathname,
81 /** Get the names that the DBM will use for a given pathname. */
83 const char *pathname,

Completed in 637 milliseconds

123456