Searched refs:pathname (Results 26 - 50 of 141) sorted by relevance

123456

/freebsd-11-stable/contrib/libarchive/test_utils/
H A Dtest_main.c589 assertion_chdir(const char *file, int line, const char *pathname) argument
592 if (chdir(pathname) == 0)
594 failure_start(file, line, "chdir(\"%s\")", pathname);
602 assertion_chmod(const char *file, int line, const char *pathname, int mode) argument
605 if (chmod(pathname, mode) == 0)
607 failure_start(file, line, "chmod(\"%s\", %4.o)", pathname, mode);
1200 const char *pathname, const char *lines[])
1212 buff = slurpfile(&buff_size, "%s", pathname);
1214 failure_start(pathname, line, "Can't read file: %s", pathname);
1199 assertion_file_contains_lines_any_order(const char *file, int line, const char *pathname, const char *lines[]) argument
1316 assertion_file_contains_no_invalid_strings(const char *file, int line, const char *pathname, const char *strings[]) argument
1417 assertion_file_time(const char *file, int line, const char *pathname, long t, long nsec, char type, int recent) argument
1523 assertion_file_atime(const char *file, int line, const char *pathname, long t, long nsec) argument
1531 assertion_file_atime_recent(const char *file, int line, const char *pathname) argument
1538 assertion_file_birthtime(const char *file, int line, const char *pathname, long t, long nsec) argument
1546 assertion_file_birthtime_recent(const char *file, int line, const char *pathname) argument
1554 assertion_file_mode(const char *file, int line, const char *pathname, int expected_mode) argument
1583 assertion_file_mtime(const char *file, int line, const char *pathname, long t, long nsec) argument
1591 assertion_file_mtime_recent(const char *file, int line, const char *pathname) argument
1598 assertion_file_nlinks(const char *file, int line, const char *pathname, int nlinks) argument
1630 assertion_file_size(const char *file, int line, const char *pathname, long size) argument
1659 assertion_is_dir(const char *file, int line, const char *pathname, int mode) argument
1697 assertion_is_reg(const char *file, int line, const char *pathname, int mode) argument
1736 is_symlink(const char *file, int line, const char *pathname, const char *contents, int isdir) argument
2066 assertion_utimes(const char *file, int line, const char *pathname, long at, long at_nsec, long mt, long mt_nsec) argument
2264 assertion_set_nodump(const char *file, int line, const char *pathname) argument
[all...]
/freebsd-11-stable/contrib/bmake/
H A Dutil.c269 getwd(char *pathname) argument
281 (void)sprintf(pathname,
292 (void)sprintf(pathname,
304 (void)strcpy(pathname, *pathptr != '/' ? "/" : pathptr);
305 return (pathname);
310 (void)sprintf(pathname,
316 (void)sprintf(pathname,
339 (void)sprintf(pathname,
352 (void)sprintf(pathname,
/freebsd-11-stable/contrib/libarchive/libarchive/test/
H A Dtest_write_format_iso9660_filename.c100 const char *pathname = archive_entry_pathname(ae); local
109 failure("Found duplicate for %s", pathname);
110 assert(strcmp(fns->names[i], pathname) != 0);
111 assert((length = strlen(pathname)) <= fns->maxlen);
114 p = strrchr(pathname, '.');
117 assert((size_t)(p - pathname) <= fns->maxflen);
122 assert(strchr(pathname, '.') == p);
125 for (p = pathname; *p; p++) {
134 assert(*pathname != '.');
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_write_set_format_ar.c153 const char *pathname; local
167 pathname = archive_entry_pathname(entry);
168 if (pathname == NULL || *pathname == '\0') {
186 if (strcmp(pathname, "/") == 0 ) {
191 if (strcmp(pathname, "/SYM64/") == 0) {
196 if (strcmp(pathname, "__.SYMDEF") == 0) {
201 if (strcmp(pathname, "//") == 0) {
219 if ((filename = ar_basename(pathname)) == NULL) {
/freebsd-11-stable/bin/getfacl/
H A Dgetfacl.c266 char *p, pathname[PATH_MAX]; local
269 while (fgets(pathname, (int)sizeof(pathname), stdin)) {
270 if ((p = strchr(pathname, '\n')) != NULL)
272 if (print_acl(pathname, type, hflag, iflag, nflag,
/freebsd-11-stable/sys/kern/
H A Dkern_ctf.c115 NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, lf->pathname, td);
160 __func__, __LINE__, lf->pathname, hdr->e_shstrndx,
183 __func__, __LINE__, lf->pathname);
197 __func__, __LINE__, lf->pathname);
206 __func__, __LINE__, lf->pathname, ctf_hdr[2]);
H A Dkern_linker.c80 const int kld_off_pathname = offsetof(struct linker_file, pathname);
600 linker_make_file(const char *pathname, linker_class_t lc) argument
607 filename = linker_basename(pathname);
609 KLD_DPF(FILE, ("linker_make_file: new file, filename='%s' for pathname='%s'\n", filename, pathname));
619 lf->pathname = strdup(pathname, M_LINKER);
746 if (file->pathname) {
747 free(file->pathname, M_LINKER);
748 file->pathname
1086 char *pathname = NULL; local
1161 char *pathname; local
2015 char *pathname; local
[all...]
/freebsd-11-stable/tests/sys/aio/
H A Dlio_kqueue_test.c70 char *file, pathname[sizeof(PATH_TEMPLATE)]; local
88 strcpy(pathname, PATH_TEMPLATE);
89 fd = mkstemp(pathname);
90 file = pathname;
236 unlink(pathname);
/freebsd-11-stable/contrib/apr-util/dbm/
H A Dapr_dbm_berkeleydb.c137 static apr_status_t vt_db_open(apr_dbm_t **pdb, const char *pathname, argument
172 pathname, NULL,
181 dberr = db_open(pathname, DB_HASH, dbmode, apr_posix_perms2mode(perm),
185 file.bdb = dbopen(pathname, dbmode, apr_posix_perms2mode(perm),
381 static void vt_db_usednames(apr_pool_t *pool, const char *pathname, argument
384 *used1 = apr_pstrdup(pool, pathname);
H A Dapr_dbm_gdbm.c79 static apr_status_t vt_gdbm_open(apr_dbm_t **pdb, const char *pathname, argument
105 /* Note: stupid cast to get rid of "const" on the pathname */
106 file = gdbm_open((char *) pathname, 0, dbmode, apr_posix_perms2mode(perm),
234 static void vt_gdbm_usednames(apr_pool_t *pool, const char *pathname, argument
237 *used1 = apr_pstrdup(pool, pathname);
/freebsd-11-stable/contrib/tcsh/
H A Dtc.os.c1200 * Return the pathname of the current directory, or return
1201 * an error message in pathname.
1216 xgetcwd(char *pathname, size_t pathlen) argument
1218 char pathbuf[MAXPATHLEN]; /* temporary pathname buffer */
1219 char *pnptr = &pathbuf[(sizeof pathbuf)-1]; /* pathname pointer */
1235 (void) xsnprintf(pathname, pathlen, CGETS(23, 24,
1242 (void) xsnprintf(pathname, pathlen, CGETS(23, 19,
1247 (void) xsnprintf(pathname, pathlen, CGETS(23, 20,
1253 (void) xsnprintf(pathname, pathlen,
1259 (void) xsnprintf(pathname, pathle
1298 xgetcwd(char *pathname, size_t pathlen) argument
[all...]
/freebsd-11-stable/crypto/heimdal/appl/ftp/ftpd/
H A Dftpcmd.y123 %type <s> pathstring pathname password username
274 | RETR SP pathname CRLF check_login
283 | STOR SP pathname CRLF check_login
292 | APPE SP pathname CRLF check_login
320 | LIST SP pathname CRLF check_login
326 | sTAT SP pathname CRLF check_login
338 | DELE SP pathname CRLF check_login_no_guest
345 | RNTO SP pathname CRLF check_login_no_guest
373 | CWD SP pathname CRLF check_login
407 | MKD SP pathname CRL
[all...]
/freebsd-11-stable/contrib/ntp/lib/isc/include/isc/
H A Dfile.h120 * is found. If the template does not include pathname information,
175 isc_file_exists(const char *pathname);
/freebsd-11-stable/contrib/gdb/gdb/
H A Dauxv.c53 char *pathname; local
60 pathname = xstrprintf ("/proc/%d/auxv", PIDGET (inferior_ptid));
61 fd = open (pathname, writebuf != NULL ? O_WRONLY : O_RDONLY);
62 xfree (pathname);
H A Dremote-fileio.c567 char *pathname; local
570 /* 1. Parameter: Ptr to pathname / length incl. trailing zero */
591 /* Request pathname using 'm' packet */
592 pathname = alloca (length);
593 retlength = remote_read_bytes (ptrval, pathname, length);
600 /* Check if pathname exists and is not a regular file or directory. If so,
603 if (!stat (pathname, &st))
619 fd = open (pathname, flags, mode);
997 char *pathname; local
1001 /* Parameter: Ptr to pathname / lengt
1038 char *pathname; local
[all...]
/freebsd-11-stable/contrib/apr/include/
H A Dapr_lib.h72 * return the final element of the pathname
73 * @param pathname The path to get the final element of
84 APR_DECLARE(const char *) apr_filepath_name_get(const char *pathname);
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dzfs_dir.h29 #include <sys/pathname.h>
/freebsd-11-stable/contrib/opie/
H A Dftpcmd.y303 | RETR check_login SP pathname CRLF
310 | STOR check_login SP pathname CRLF
317 | APPE check_login SP pathname CRLF
341 | LIST check_login SP pathname CRLF
353 | STAT check_login SP pathname CRLF
364 | DELE check_login SP pathname CRLF
371 | RNTO SP pathname CRLF
391 | CWD check_login SP pathname CRLF
421 | MKD check_login SP pathname CRLF
428 | RMD check_login SP pathname CRL
736 pathname: pathstring label
[all...]
/freebsd-11-stable/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris_lookup.c33 #include <sys/pathname.h>
/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/freebsd/
H A DHost.cpp72 // Get pathname for pid. If that fails fall back to argv[0].
73 char pathname[MAXPATHLEN]; local
74 size_t pathname_len = sizeof(pathname);
76 if (::sysctl(mib, 4, pathname, &pathname_len, NULL, 0) == 0)
77 process_info.GetExecutableFile().SetFile(pathname, FileSpec::Style::native);
/freebsd-11-stable/contrib/sendmail/libsm/
H A Dstdio.c48 ** info -- pathname of the file to be opened
386 ** SM_STDFDOPEN -- open file by primitive 'fd' rather than pathname
460 ** pathname -- path of file to open
472 sm_io_fopen(char *pathname, int flags, ...) argument
474 sm_io_fopen(pathname, flags, va_alist)
475 char *pathname;
511 fp->f_file = open(pathname, flags, mode);
/freebsd-11-stable/tools/test/ptrace/
H A Dscescx.c154 char pathname[PATH_MAX]; local
163 len = sizeof(pathname);
164 error = sysctl(name, 4, pathname, &len, NULL, 0);
167 fprintf(stderr, "sysctl kern.proc.pathname.%d: %s\n",
174 if (len == 0 || strlen(pathname) == 0) {
175 fprintf(stderr, "No cached pathname for process %d\n", pid);
178 printf(TRACE "pid %d path %s\n", pid, pathname);
/freebsd-11-stable/contrib/gdb/gdb/tui/
H A Dtui-io.c319 printable_part (char *pathname) argument
323 temp = rl_filename_completion_desired ? strrchr (pathname, '/') : (char *)NULL;
325 if (rl_filename_completion_desired && temp == 0 && isalpha (pathname[0]) && pathname[1] == ':')
326 temp = pathname + 1;
328 return (temp ? ++temp : pathname);
/freebsd-11-stable/libexec/ftpd/
H A Dftpcmd.y122 %type <s> pathstring pathname password username
425 | RETR check_login SP pathname CRLF
435 | STOR check_login_ro SP pathname CRLF
442 | APPE check_login_ro SP pathname CRLF
471 | STAT check_login SP pathname CRLF
484 | DELE check_login_ro SP pathname CRLF
491 | RNTO check_login_ro SP pathname CRLF
516 | CWD check_login SP pathname CRLF
547 | MKD check_login_ro SP pathname CRLF
554 | RMD check_login_ro SP pathname CRL
[all...]
/freebsd-11-stable/usr.bin/sdiff/
H A Dedit.c36 * Execute an editor on the specified pathname, which is interpreted
42 editit(const char *pathname) argument
62 execlp(ed, ed, pathname, (char *)NULL);

Completed in 290 milliseconds

123456