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

123456

/freebsd-10.0-release/contrib/apr-util/dbm/
H A Dapr_dbm.c192 const char *pathname,
201 rv = (vtable->open)(pdb, pathname, mode, perm, pool);
206 APU_DECLARE(apr_status_t) apr_dbm_open(apr_dbm_t **pdb, const char *pathname,
210 return apr_dbm_open_ex(pdb, DBM_NAME, pathname, mode, perm, pool);
272 const char *pathname,
280 (vtable->getusednames)(p, pathname, used1, used2);
287 const char *pathname,
291 apr_dbm_get_usednames_ex(p, DBM_NAME, pathname, used1, used2);
286 apr_dbm_get_usednames(apr_pool_t *p, const char *pathname, const char **used1, const char **used2) argument
H A Dapr_dbm_sdbm.c54 static apr_status_t vt_sdbm_open(apr_dbm_t **pdb, const char *pathname, argument
83 rv = apr_sdbm_open(&file, pathname, dbmode, perm, pool);
202 static void vt_sdbm_usednames(apr_pool_t *pool, const char *pathname, argument
205 *used1 = apr_pstrcat(pool, pathname, APR_SDBM_DIRFEXT, NULL);
206 *used2 = apr_pstrcat(pool, pathname, APR_SDBM_PAGFEXT, NULL);
H A Dapr_dbm_ndbm.c73 static apr_status_t vt_ndbm_open(apr_dbm_t **pdb, const char *pathname, argument
100 file = dbm_open(pathname, dbmode, apr_posix_perms2mode(perm));
217 static void vt_ndbm_usednames(apr_pool_t *pool, const char *pathname, argument
220 *used1 = apr_pstrdup(pool, pathname);
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);
/freebsd-10.0-release/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.0-release/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,
/freebsd-10.0-release/contrib/apr/strings/
H A Dapr_cpystrn.c186 /* Filepath_name_get returns the final element of the pathname.
196 APR_DECLARE(const char *) apr_filepath_name_get(const char *pathname) argument
199 const char *s = strrchr(pathname, path_separator);
204 const char *s2 = strrchr(pathname, path_separator_win);
208 if (!s) s = strrchr(pathname, drive_separator_win);
211 return s ? ++s : pathname;
/freebsd-10.0-release/tools/regression/aio/kqueue/
H A Daio_kqueue.c66 char *file, pathname[sizeof(PATH_TEMPLATE)+1]; local
74 strcpy(pathname, PATH_TEMPLATE);
75 fd = mkstemp(pathname);
76 file = pathname;
199 unlink(pathname);
/freebsd-10.0-release/usr.sbin/pmcstat/
H A Dpmcpl_gprof.c88 pmcstat_interned_string pgf_name; /* pathname of gmon.out file */
119 const char *pathname; local
122 pathname = pmcstat_string_unintern(pgf->pgf_name);
123 if ((fd = open(pathname, O_RDWR|O_NOFOLLOW|O_CREAT,
125 err(EX_OSERR, "ERROR: Cannot open \"%s\"", pathname);
158 err(EX_OSERR, "ERROR: Cannot write \"%s\"", pathname);
162 * Determine the full pathname of a gmon.out file for a given
193 const char *pathname; local
195 pathname = pmcstat_string_unintern(pgf->pgf_name);
198 if ((fd = open(pathname, O_RDW
228 const char *pathname; local
[all...]
/freebsd-10.0-release/contrib/libarchive/cpio/test/
H A Dmain.c440 assertion_chdir(const char *file, int line, const char *pathname) argument
443 if (chdir(pathname) == 0)
445 failure_start(file, line, "chdir(\"%s\")", pathname);
1010 const char *pathname, const char *lines[])
1022 buff = slurpfile(&buff_size, "%s", pathname);
1024 failure_start(pathname, line, "Can't read file: %s", pathname);
1037 failure_start(pathname, line, "Can't allocate memory");
1058 failure_start(pathname, line, "Can't allocate memory");
1102 failure_start(file, line, "File doesn't match: %s", pathname);
1009 assertion_file_contains_lines_any_order(const char *file, int line, const char *pathname, const char *lines[]) argument
1194 assertion_file_time(const char *file, int line, const char *pathname, long t, long nsec, char type, int recent) argument
1295 assertion_file_atime(const char *file, int line, const char *pathname, long t, long nsec) argument
1303 assertion_file_atime_recent(const char *file, int line, const char *pathname) argument
1310 assertion_file_birthtime(const char *file, int line, const char *pathname, long t, long nsec) argument
1318 assertion_file_birthtime_recent(const char *file, int line, const char *pathname) argument
1326 assertion_file_mtime(const char *file, int line, const char *pathname, long t, long nsec) argument
1334 assertion_file_mtime_recent(const char *file, int line, const char *pathname) argument
1341 assertion_file_nlinks(const char *file, int line, const char *pathname, int nlinks) argument
1373 assertion_file_size(const char *file, int line, const char *pathname, long size) argument
1402 assertion_is_dir(const char *file, int line, const char *pathname, int mode) argument
1440 assertion_is_reg(const char *file, int line, const char *pathname, int mode) argument
1473 is_symlink(const char *file, int line, const char *pathname, const char *contents) argument
1671 assertion_utimes(const char *file, int line, const char *pathname, long at, long at_nsec, long mt, long mt_nsec) argument
1775 assertion_nodump(const char *file, int line, const char *pathname) argument
[all...]
/freebsd-10.0-release/contrib/libarchive/libarchive/test/
H A Dmain.c438 assertion_chdir(const char *file, int line, const char *pathname) argument
441 if (chdir(pathname) == 0)
443 failure_start(file, line, "chdir(\"%s\")", pathname);
1008 const char *pathname, const char *lines[])
1020 buff = slurpfile(&buff_size, "%s", pathname);
1022 failure_start(pathname, line, "Can't read file: %s", pathname);
1035 failure_start(pathname, line, "Can't allocate memory");
1056 failure_start(pathname, line, "Can't allocate memory");
1101 failure_start(file, line, "File doesn't match: %s", pathname);
1007 assertion_file_contains_lines_any_order(const char *file, int line, const char *pathname, const char *lines[]) argument
1193 assertion_file_time(const char *file, int line, const char *pathname, long t, long nsec, char type, int recent) argument
1294 assertion_file_atime(const char *file, int line, const char *pathname, long t, long nsec) argument
1302 assertion_file_atime_recent(const char *file, int line, const char *pathname) argument
1309 assertion_file_birthtime(const char *file, int line, const char *pathname, long t, long nsec) argument
1317 assertion_file_birthtime_recent(const char *file, int line, const char *pathname) argument
1325 assertion_file_mtime(const char *file, int line, const char *pathname, long t, long nsec) argument
1333 assertion_file_mtime_recent(const char *file, int line, const char *pathname) argument
1340 assertion_file_nlinks(const char *file, int line, const char *pathname, int nlinks) argument
1372 assertion_file_size(const char *file, int line, const char *pathname, long size) argument
1401 assertion_is_dir(const char *file, int line, const char *pathname, int mode) argument
1439 assertion_is_reg(const char *file, int line, const char *pathname, int mode) argument
1472 is_symlink(const char *file, int line, const char *pathname, const char *contents) argument
1670 assertion_utimes(const char *file, int line, const char *pathname, long at, long at_nsec, long mt, long mt_nsec) argument
1774 assertion_nodump(const char *file, int line, const char *pathname) argument
[all...]
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-10.0-release/contrib/libarchive/tar/test/
H A Dmain.c440 assertion_chdir(const char *file, int line, const char *pathname) argument
443 if (chdir(pathname) == 0)
445 failure_start(file, line, "chdir(\"%s\")", pathname);
1010 const char *pathname, const char *lines[])
1022 buff = slurpfile(&buff_size, "%s", pathname);
1024 failure_start(pathname, line, "Can't read file: %s", pathname);
1037 failure_start(pathname, line, "Can't allocate memory");
1059 failure_start(pathname, line, "Can't allocate memory");
1103 failure_start(file, line, "File doesn't match: %s", pathname);
1009 assertion_file_contains_lines_any_order(const char *file, int line, const char *pathname, const char *lines[]) argument
1195 assertion_file_time(const char *file, int line, const char *pathname, long t, long nsec, char type, int recent) argument
1296 assertion_file_atime(const char *file, int line, const char *pathname, long t, long nsec) argument
1304 assertion_file_atime_recent(const char *file, int line, const char *pathname) argument
1311 assertion_file_birthtime(const char *file, int line, const char *pathname, long t, long nsec) argument
1319 assertion_file_birthtime_recent(const char *file, int line, const char *pathname) argument
1327 assertion_file_mtime(const char *file, int line, const char *pathname, long t, long nsec) argument
1335 assertion_file_mtime_recent(const char *file, int line, const char *pathname) argument
1342 assertion_file_nlinks(const char *file, int line, const char *pathname, int nlinks) argument
1374 assertion_file_size(const char *file, int line, const char *pathname, long size) argument
1403 assertion_is_dir(const char *file, int line, const char *pathname, int mode) argument
1441 assertion_is_reg(const char *file, int line, const char *pathname, int mode) argument
1474 is_symlink(const char *file, int line, const char *pathname, const char *contents) argument
1672 assertion_utimes(const char *file, int line, const char *pathname, long at, long at_nsec, long mt, long mt_nsec) argument
1776 assertion_nodump(const char *file, int line, const char *pathname) argument
[all...]
/freebsd-10.0-release/contrib/less/
H A Dlesskey.c229 char *pathname; local
231 pathname = calloc(strlen(dirname) + strlen(filename) + 2, sizeof(char));
232 strcpy(pathname, dirname);
233 strcat(pathname, PATHNAME_SEP);
234 strcat(pathname, filename);
235 return (pathname);
246 char *pathname; local
249 pathname = mkpathname(p, filename);
252 pathname = mkpathname(p, filename);
257 pathname
[all...]
/freebsd-10.0-release/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, "__.SYMDEF") == 0) {
196 if (strcmp(pathname, "//") == 0) {
214 if ((filename = ar_basename(pathname)) == NULL) {
H A Darchive_match.c65 struct archive_mstring pathname; member in struct:match_file
348 const char *pathname, int nullSeparator)
356 return add_pattern_from_file(a, &(a->exclusions), 1, pathname,
362 const wchar_t *pathname, int nullSeparator)
370 return add_pattern_from_file(a, &(a->exclusions), 0, pathname,
414 const char *pathname, int nullSeparator)
422 return add_pattern_from_file(a, &(a->inclusions), 1, pathname,
428 const wchar_t *pathname, int nullSeparator)
436 return add_pattern_from_file(a, &(a->inclusions), 0, pathname,
441 * Test functions for pathname pattern
347 archive_match_exclude_pattern_from_file(struct archive *_a, const char *pathname, int nullSeparator) argument
361 archive_match_exclude_pattern_from_file_w(struct archive *_a, const wchar_t *pathname, int nullSeparator) argument
413 archive_match_include_pattern_from_file(struct archive *_a, const char *pathname, int nullSeparator) argument
427 archive_match_include_pattern_from_file_w(struct archive *_a, const wchar_t *pathname, int nullSeparator) argument
566 add_pattern_from_file(struct archive_match *a, struct match_list *mlist, int mbs, const void *pathname, int nullSeparator) argument
680 path_excluded(struct archive_match *a, int mbs, const void *pathname) argument
922 archive_match_include_file_time(struct archive *_a, int flag, const char *pathname) argument
935 archive_match_include_file_time_w(struct archive *_a, int flag, const wchar_t *pathname) argument
1362 const void *pathname; local
1433 const void *pathname; local
[all...]
/freebsd-10.0-release/contrib/llvm/lib/Support/Unix/
H A DPath.inc139 char pathname[] = "/tmp/llvm_XXXXXX";
140 if (0 == mkdtemp(pathname)) {
142 std::string(pathname) + ": can't create temporary directory");
145 return Path(pathname);
152 char pathname[] = "/tmp/llvm_XXXXXX";
154 if (-1 == (fd = mkstemp(pathname))) {
156 std::string(pathname) + ": can't create temporary directory");
160 ::unlink(pathname); // start race condition, ignore errors
161 if (-1 == ::mkdir(pathname, S_IRWXU)) { // end race condition
163 std::string(pathname)
[all...]
/freebsd-10.0-release/usr.bin/xlint/xlint/
H A Dxlint.c587 char **args, *ofn, *p, *pathname; local
645 pathname = xmalloc(strlen(PATH_USRBIN) + sizeof ("/cc"));
646 (void)sprintf(pathname, "%s/cc", PATH_USRBIN);
647 appcstrg(&args, pathname);
649 pathname = strdup(getenv("CC"));
650 for (p = strtok(pathname, " \t"); p; p = strtok(NULL, " \t"))
668 runchild(pathname, args, cppout, cppoutfd);
669 free(pathname);
675 pathname = xmalloc(strlen(PATH_LIBEXEC) + sizeof ("/lint1") +
677 (void)sprintf(pathname, "
[all...]
/freebsd-10.0-release/contrib/bmake/
H A Dutil.c266 getwd(char *pathname) argument
278 (void)sprintf(pathname,
289 (void)sprintf(pathname,
301 (void)strcpy(pathname, *pathptr != '/' ? "/" : pathptr);
302 return (pathname);
307 (void)sprintf(pathname,
313 (void)sprintf(pathname,
336 (void)sprintf(pathname,
349 (void)sprintf(pathname,
/freebsd-10.0-release/contrib/llvm/lib/Archive/
H A DArchiveReader.cpp115 std::string pathname; local
122 pathname.assign(At, nulp != 0 ? (uintptr_t)(nulp - At) : len);
138 // the member's data. The pathname already has the #1/ stripped.
139 pathname.assign(ARFILE_LLVM_SYMTAB_NAME);
146 pathname.assign(ARFILE_STRTAB_NAME);
155 pathname.assign(ARFILE_SVR4_SYMTAB_NAME);
171 pathname.assign(namep, last_p - namep);
193 pathname.assign(ARFILE_BSD4_SYMTAB_NAME);
203 pathname.assign(Hdr->name, slash - Hdr->name);
222 member->path.set(pathname);
[all...]
/freebsd-10.0-release/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-10.0-release/tools/regression/aio/kqueue/lio/
H A Dlio_kqueue.c66 char *file, pathname[sizeof(PATH_TEMPLATE)-1]; local
75 strcpy(pathname, PATH_TEMPLATE);
76 fd = mkstemp(pathname);
77 file = pathname;
232 unlink(pathname);
/freebsd-10.0-release/contrib/tcsh/
H A Dtc.os.c1204 * Return the pathname of the current directory, or return
1205 * an error message in pathname.
1220 xgetcwd(char *pathname, size_t pathlen) argument
1222 char pathbuf[MAXPATHLEN]; /* temporary pathname buffer */
1223 char *pnptr = &pathbuf[(sizeof pathbuf)-1]; /* pathname pointer */
1239 (void) xsnprintf(pathname, pathlen, CGETS(23, 24,
1246 (void) xsnprintf(pathname, pathlen, CGETS(23, 19,
1251 (void) xsnprintf(pathname, pathlen, CGETS(23, 20,
1257 (void) xsnprintf(pathname, pathlen,
1263 (void) xsnprintf(pathname, pathle
1302 xgetcwd(char *pathname, size_t pathlen) argument
[all...]
/freebsd-10.0-release/contrib/texinfo/info/
H A Dfilesys.c454 filesys_read_info_file (char *pathname, long int *filesize, argument
461 if (compressed_filename_p (pathname))
464 return (filesys_read_compressed (pathname, filesize));
472 descriptor = open (pathname, O_RDONLY | O_BINARY, 0666);
516 filesys_read_compressed (char *pathname, long int *filesize) argument
524 decompressor = filesys_decompressor_for_file (pathname);
529 command = (char *)xmalloc (15 + strlen (pathname) + strlen (decompressor));
533 decompressor, STRIP_DOT_EXE ? ".exe" : "", pathname);
/freebsd-10.0-release/contrib/byacc/test/
H A Dftp.y144 pathname
268 | RETR check_login SP pathname CRLF
275 | STOR check_login SP pathname CRLF
282 | APPE check_login SP pathname CRLF
306 | LIST check_login SP pathname CRLF
313 | STAT check_login SP pathname CRLF
324 | DELE check_login SP pathname CRLF
331 | RNTO SP pathname CRLF
351 | CWD check_login SP pathname CRLF
381 | MKD check_login SP pathname CRL
674 pathname: pathstring label
[all...]

Completed in 316 milliseconds

123456