HomeSort by: relevance | last modified time | path
    Searched refs:pathname (Results 1 - 25 of 69) sorted by relevancy

1 2 3

  /src/libexec/ld.elf_so/
search.c 72 char pathname[MAXPATHLEN]; local in function:_rtld_search_library_path
78 if (pathnamelen >= sizeof(pathname))
90 memcpy(pathname, dir, dirlen);
91 pathname[dirlen] = '/';
92 memcpy(pathname + dirlen + 1, name, namelen);
93 pathname[pathnamelen] = '\0';
95 dbg((" Trying \"%s\"", pathname));
96 obj = _rtld_load_object(pathname, flags);
102 path->sp_path = xstrdup(pathname);
110 * Find the library with the given name, and return its full pathname
123 const char *pathname; local in function:_rtld_load_library
    [all...]
  /src/usr.bin/mail/
mime_detach.c 95 detach_get_fname(char *prompt, char *pathname)
100 fname = my_gets(&elm.filec, prompt, pathname);
107 pathname = savestr(fname); /* save this or it gets trashed */
110 (void)printf("%s%s\n", prompt, pathname);
112 return pathname;
179 char *pathname; local in function:detach_open_target
193 * Get the suggested target pathname.
196 (void)sasprintf(&pathname, "%s/%s", mip->mi_detachdir,
202 (void)sasprintf(&pathname, "%s/msg-%s.part-%s.%s",
219 if ((fname = detach_get_fname(prompt, pathname)) == NULL
254 char *pathname; local in function:mime_detach_parts
    [all...]
  /src/usr.sbin/mtree/
excludes.c 62 int pathname; member in struct:exclude
96 e->pathname = 1;
98 e->pathname = 0;
114 if ((e->pathname && MATCH(e->glob, path))
  /src/usr.bin/env/
env.c 198 char *pathname; local in function:path_find
214 if (asprintf(&pathname, "%.*s/%s", (int)lp, p, name) == -1) {
225 if (stat(pathname, &sb) == -1) {
226 free(pathname);
239 return (const char *)pathname;
250 firstfound = pathname;
252 free(pathname);
  /src/libexec/getNAME/
getNAME.c 121 getfrom(char *pathname)
127 if (freopen(pathname, "r", stdin) == 0) {
128 warn("Cannot open `%s'", pathname);
131 if ((name = strrchr(pathname, '/')) != NULL)
134 name = pathname;
138 (void)printf("%-60s\tUNKNOWN\n", pathname);
141 pathname);
150 oldman(pathname, name);
154 newman(pathname, name);
161 oldman(char *pathname, char *name
    [all...]
  /src/usr.bin/unzip/
unzip.c 310 * Verify that a given pathname is in the include list and not in the
314 accept_pathname(const char *pathname)
317 if (!STAILQ_EMPTY(&include) && !match_pattern(&include, pathname))
319 if (!STAILQ_EMPTY(&exclude) && match_pattern(&exclude, pathname))
511 extract2fd(struct archive *a, char *pathname, int fd)
536 error("write('%s')", pathname);
563 error("write('%s')", pathname);
573 " heuristic", pathname);
586 error("write('%s')", pathname);
702 char *pathname, *realpathname local in function:extract
766 char *pathname; local in function:extract_stdout
    [all...]
  /src/usr.bin/make/
trace.c 67 Trace_Init(const char *pathname)
69 if (pathname != NULL) {
79 trfile = fopen(pathname, "a");
util.c 235 getwd(char *pathname)
247 (void)sprintf(pathname,
258 (void)sprintf(pathname,
270 (void)strcpy(pathname, *pathptr != '/' ? "/" : pathptr);
271 return pathname;
276 (void)sprintf(pathname,
282 (void)sprintf(pathname,
304 (void)sprintf(pathname,
317 (void)sprintf(pathname,
str.h 201 Substring_Dirname(Substring pathname)
205 for (p = pathname.end; p != pathname.start; p--)
207 return Substring_Init(pathname.start, p - 1);
212 Substring_Basename(Substring pathname)
216 for (p = pathname.end; p != pathname.start; p--)
218 return Substring_Init(p, pathname.end);
219 return pathname;
dir.c 401 cached_stats(const char *pathname, struct cached_stat *out_cst,
409 if (pathname == NULL || pathname[0] == '\0')
412 cst = HashTable_FindValue(tbl, pathname);
416 Targ_FmtTime(cst->cst_mtime), pathname);
420 rc = (useLstat ? lstat : stat)(pathname, &sys_st);
429 HashTable_Set(tbl, pathname, cst);
437 Targ_FmtTime(sys_st.st_mtime), pathname);
443 cached_stat(const char *pathname, struct cached_stat *cst)
445 return cached_stats(pathname, cst, false, false)
    [all...]
  /src/lib/libresolv/
support.c 312 char pathname[PATH_MAX]; local in function:dst_s_fopen
314 if (strlen(filename) + strlen(dst_path) >= sizeof(pathname))
318 strcpy(pathname, dst_path);
319 strcat(pathname, filename);
321 strcpy(pathname, filename);
323 fp = fopen(pathname, mode);
325 chmod(pathname, (mode_t)perm);
  /src/common/dist/zlib/contrib/minizip/
zip.h 116 extern zipFile ZEXPORT zipOpen(const char *pathname, int append);
117 extern zipFile ZEXPORT zipOpen64(const void *pathname, int append);
120 pathname contain on Windows XP a filename like "c:\\zlib\\zlib113.zip" or on
122 if the file pathname exist and append==APPEND_STATUS_CREATEAFTER, the zip
125 if the file pathname exist and append==APPEND_STATUS_ADDINZIP, we will
137 extern zipFile ZEXPORT zipOpen2(const char *pathname,
142 extern zipFile ZEXPORT zipOpen2_64(const void *pathname,
147 extern zipFile ZEXPORT zipOpen3(const void *pathname,
  /src/usr.bin/getconf/
getconf.c 198 const char *varname, *pathname, *vn; local in function:main
228 pathname = argv[0]; /* may be NULL */
235 if ((cp->type == PATHCONF) == (pathname != NULL)) {
236 printvar(cp, pathname);
273 printvar(const struct conf_variable *cp, const char *pathname)
322 if ((val = pathconf(pathname, (int)cp->value)) == -1) {
329 pathname, cp->value);
346 "\t%s path_var pathname\n\t%s -a pathname\n", p, p, p, p);
  /src/sbin/sysctl/
pathconf.c 149 parse(pathname, string, flags)
150 char *pathname;
168 value = pathconf(pathname, indx);
226 "pathname [-n] variable ...",
227 "pathname [-n] -a", "pathname [-n] -A");
  /src/sbin/fsck_v7fs/
Makefile 7 SRCS= fsck_v7fs.c main.c pathname.c inode.c datablock.c freeblock.c \
  /src/distrib/sets/
syspkgdeps 101 while read pathname pkgname; do
102 # print parent pathname.
104 dirname "${pathname}"
  /src/usr.sbin/rpc.pcnfsd/
pcnfsd_print.c 92 char pathname[MAXPATHLEN]; variable in typeref:typename:char[]
149 * get pathname of current directory and return to client
162 *sp = &pathname[0];
163 pathname[0] = '\0';
180 (void) snprintf(pathname, sizeof(pathname), "%s/%s", sp_name, sys);
182 rc = mkdir(pathname, dir_mode); /* DON'T ignore this return code */
188 if (stat(pathname, &statbuf) || !S_ISDIR(statbuf.st_mode)) {
193 pathname);
195 pathname[0] = '\0'; /* null to tell client bad vibes *
    [all...]
  /src/bin/getfacl/
getfacl.c 273 char *p, pathname[PATH_MAX]; local in function:print_acl_from_stdin
276 while (fgets(pathname, (int)sizeof(pathname), stdin)) {
277 if ((p = strchr(pathname, '\n')) != NULL)
279 if (print_acl(pathname, type, hflag, iflag, nflag,
  /src/libexec/ftpd/
ftpcmd.y 167 %type <s> pathstring pathname password username
206 | CWD check_login SP pathname CRLF
408 | RETR check_login SP pathname CRLF
416 | STOR SP pathname CRLF
424 | STOU SP pathname CRLF
432 | APPE SP pathname CRLF
452 | RNTO SP pathname CRLF
474 | DELE SP pathname CRLF
482 | RMD SP pathname CRLF
490 | MKD SP pathname CRL
1104 pathname label
    [all...]
  /src/usr.bin/mkdep/
mkdep.c 100 char * volatile pathname; local in function:run_cc
109 if ((pathname = findcc(CC)) == NULL)
111 pathname = findcc(CC);
112 if (pathname == NULL)
143 (void)execv(pathname, args);
151 free(pathname);
  /src/sys/nfs/
nfs_bootparam.c 98 * get root and swap server:pathname info.
187 * Now fetch the server:pathname strings and server IP
220 /* have pathname */
250 * and use the "pathname" part of the reply as the mask.
397 * server pathname
403 char pathname[MNAMELEN]; local in function:bp_getfile
447 /* server pathname */
448 path_len = sizeof(pathname) - 1;
449 m = xdr_string_decode(m, pathname, &path_len);
455 * The strings become "server:pathname"
    [all...]
  /src/lib/libexecinfo/
backtrace.c 63 const char *pathname = SELF; local in function:open_self
73 pathname = path;
75 return open(pathname, flags);
  /src/usr.bin/calendar/
calendar.c 493 tryopen(const char *pathname, int flags)
512 fd = open(pathname, flags | O_NONBLOCK);
529 warn("%s: %s", pw->pw_name, pathname);
549 warn("%s: %s: FIONBIO", pw->pw_name, pathname);
556 return open(pathname, flags);
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_linux_libcdep.cc 819 const char *pathname = "/proc/self/exe"; local in function:__sanitizer::ReExec
833 pathname = path;
835 pathname = getexecname();
836 CHECK_NE(pathname, NULL);
840 pathname = reinterpret_cast<const char *>(getauxval(AT_EXECFN));
843 uptr rv = internal_execve(pathname, GetArgv(), GetEnviron());
  /src/usr.bin/rdist/
defs.h 129 char pathname[BUFSIZ]; member in struct:linkbuf

Completed in 25 milliseconds

1 2 3