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

12345

/openbsd-current/gnu/usr.bin/cvs/vms/
H A Dgetwd.c20 char pathname[256]; local
22 return xstrdup (getcwd (pathname, sizeof (pathname) - 2, 0));
/openbsd-current/gnu/gcc/intl/
H A Drelocatable.h36 Relocation simply replaces a pathname starting with the original prefix
37 by the corresponding pathname with the current prefix instead. Both
44 /* Returns the pathname, relocated according to the current installation
46 extern const char * relocate (const char *pathname);
49 a fresh pathname. If this is a problem because your program calls
55 file, and the current pathname of this file. Returns NULL upon failure. */
63 #define relocate(pathname) (pathname)
H A Drelocatable.c96 Relocation simply replaces a pathname starting with the original prefix
97 by the corresponding pathname with the current prefix instead. Both
134 Relocation simply replaces a pathname starting with the original prefix
135 by the corresponding pathname with the current prefix instead. Both
158 file, and the current pathname of this file. Returns NULL upon failure. */
242 /* The last pathname component was the same. opi and cpi now point
271 /* Full pathname of shared library, or NULL. */
276 /* Determine the full pathname of the shared library when it is loaded. */
354 /* Return the full pathname of the current shared library.
373 /* Returns the pathname, relocate
376 relocate(const char *pathname) argument
[all...]
/openbsd-current/gnu/usr.bin/texinfo/intl/
H A Drelocatable.h41 Relocation simply replaces a pathname starting with the original prefix
42 by the corresponding pathname with the current prefix instead. Both
49 /* Returns the pathname, relocated according to the current installation
51 extern const char * relocate (const char *pathname);
54 a fresh pathname. If this is a problem because your program calls
60 file, and the current pathname of this file. Returns NULL upon failure. */
68 #define relocate(pathname) (pathname)
H A Drelocatable.c101 Relocation simply replaces a pathname starting with the original prefix
102 by the corresponding pathname with the current prefix instead. Both
139 Relocation simply replaces a pathname starting with the original prefix
140 by the corresponding pathname with the current prefix instead. Both
165 file, and the current pathname of this file. Returns NULL upon failure. */
249 /* The last pathname component was the same. opi and cpi now point
280 /* Full pathname of shared library, or NULL. */
285 /* Determine the full pathname of the shared library when it is loaded. */
364 /* Return the full pathname of the current shared library.
383 /* Returns the pathname, relocate
386 relocate(const char *pathname) argument
[all...]
/openbsd-current/gnu/usr.bin/perl/t/porting/
H A Dfilenames.t48 PATHNAME: for my $pathname (@files) {
49 my @path_components = split('/',$pathname);
53 fail("$pathname has directory components containing '.'");
57 fail("$pathname has a name over 32 characters (VOS requirement)");
64 fail("$pathname starts with -");
70 fail("$pathname has more than 39 characters before the dot");
72 fail("$pathname has more than 39 characters after the dot");
74 fail("$pathname has a reserved name");
76 fail("$pathname has a reserved character");
78 pass("$pathname o
[all...]
/openbsd-current/gnu/gcc/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);
/openbsd-current/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_nolibc.cpp28 bool CreateDir(const char *pathname) { return false; } argument
/openbsd-current/gnu/usr.bin/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);
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);
H A Dinfo-utils.h105 extern char *filename_non_directory (char *pathname);
/openbsd-current/gnu/llvm/lldb/scripts/
H A Duse_lldb_suite.py20 fp, pathname, desc = imp.find_module("use_lldb_suite_root", [lldb_root])
22 imp.load_module("use_lldb_suite_root", fp, pathname, desc)
/openbsd-current/usr.bin/rdistd/
H A Dfilesys.c49 * Given a pathname, find the fullest component that exists.
53 find_file(char *pathname, struct stat *statbuf, int *isvalid) argument
66 * If this is the same pathname as the last time, and
71 if (strcmp(pathname, last_pathname) == 0 && file[0]) {
74 if (strcmp(pathname, file) == 0)
79 if (strlen(pathname) > sizeof(file) + 3) {
80 error("%s: Name to large for buffer.", pathname);
87 (void) strlcpy(last_pathname, pathname, sizeof(last_pathname));
89 if (*pathname == '/')
90 (void) strlcpy(file, pathname, sizeo
284 getmntpt(char *pathname, struct stat *statbuf, int *isvalid) argument
[all...]
/openbsd-current/gnu/usr.bin/perl/lib/File/
H A Dstat.t120 my ($what, $pathname) = @$_;
121 test_X_ops($pathname, "for $what $pathname");
123 my $orig_mode = (CORE::stat $pathname)[2];
129 chmod $mode, $pathname or die "Can't chmod $mode_oct $pathname: $!";
130 test_X_ops($pathname, "for $what with mode=$mode_oct");
132 chmod $orig_mode, $pathname
133 or die "Can't restore permissions on $pathname to ", sprintf("%#o", $orig_mode);
/openbsd-current/usr.bin/sendbug/
H A Dsendbug.c249 * Execute an editor on the specified pathname, which is interpreted
255 editit(const char *pathname) argument
267 if (asprintf(&p, "%s %s", ed, pathname) == -1)
319 sendmail(const char *pathname) argument
325 warn("pipe: unsent report in %s", pathname);
331 pathname);
337 pathname);
344 pathname);
349 if (send_file(pathname, filedes[1]) == -1) {
351 pathname);
517 checkfile(const char *pathname) argument
[all...]
/openbsd-current/usr.sbin/smtpd/
H A Dssl.c185 ssl_load_certificate(struct pki *p, const char *pathname) argument
187 p->pki_cert = ssl_load_file(pathname, &p->pki_cert_len, 0755);
194 ssl_load_keyfile(struct pki *p, const char *pathname, const char *pkiname) argument
198 p->pki_key = ssl_load_key(pathname, &p->pki_key_len, pass, 0740, pkiname);
205 ssl_load_cafile(struct ca *c, const char *pathname) argument
207 c->ca_cert = ssl_load_file(pathname, &c->ca_cert_len, 0755);
H A Dtable_db.c70 char pathname[PATH_MAX]; member in struct:dbhandle
125 if (strlcpy(handle->pathname, table->t_config, sizeof handle->pathname)
126 >= sizeof handle->pathname)
129 if (stat(handle->pathname, &sb) == -1)
166 if (stat(handle->pathname, &sb) == -1)
H A Dmail.maildir.c92 char pathname[PATH_MAX]; local
102 ret = snprintf(pathname, sizeof pathname, "%s/%s", dirname,
104 if (ret < 0 || (size_t)ret >= sizeof pathname)
106 if (mkdir(pathname, 0700) == -1 && errno != EEXIST)
H A Dqueue_fs.c243 char pathname[PATH_MAX]; local
247 fsqueue_envelope_path(evpid, pathname, sizeof(pathname));
249 fp = fopen(pathname, "r");
283 char pathname[PATH_MAX]; local
287 fsqueue_envelope_path(evpid, pathname, sizeof(pathname));
288 if (unlink(pathname) == -1)
/openbsd-current/usr.bin/less/
H A Dfilename.c189 * Return a pathname that points to a specified file in a specified directory.
195 char *pathname; local
202 * Construct the full pathname.
204 pathname = easprintf("%s/%s", dirname, filename);
208 qpathname = shell_unquote(pathname);
211 free(pathname);
212 pathname = NULL;
217 return (pathname);
221 * Return the full pathname of the given file in the "home directory".
504 * Return last component of a pathname
[all...]
H A Dlesskey.c228 char *pathname; local
232 pathname = calloc(1, len);
233 if (pathname == NULL) {
237 (void) snprintf(pathname, len, "%s/%s", dirname, filename);
238 return (pathname);
248 char *pathname; local
251 pathname = mkpathname(p, filename);
255 pathname = mkpathname(".", filename);
257 return (pathname);
/openbsd-current/gnu/usr.bin/binutils/gdb/
H A Dsolib-aix5.c64 char *pathname; /* full pathname to object */ member in struct:lm_info
228 char *mapname, *pathname, *membername; local
249 pathname = "";
254 pathname = mapbuf + prmap->pr_pathoff;
255 membername = pathname + strlen (pathname) + 1;
259 if (strcmp (pathname, sop->lm_info->pathname) == 0
271 /* FIXME: Eliminate the pathname fiel
[all...]
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);
/openbsd-current/gnu/usr.bin/perl/cygwin/
H A Dcygwin.c295 Perl_croak(aTHX_ "Usage: Cygwin::%s(pathname, [absolute])", name);
432 char *pathname; local
439 pathname = SvPV_nolen(ST(0));
441 if (strEQ(pathname, "/cygdrive")) {
464 if (strEQ(pathname, mnt->mnt_dir)) {
489 if (strNE(user,pathname)) {
494 if (strNE(user,pathname)) {
512 char *pathname; local
515 Perl_croak(aTHX_ "Usage: Cygwin::is_binmount(pathname)");
517 pathname
[all...]
/openbsd-current/libexec/ftpd/
H A Dftpcmd.y132 %type <s> pathstring pathname password username
342 | RETR check_login SP pathname CRLF
349 | STOR check_login SP pathname CRLF
356 | APPE check_login SP pathname CRLF
379 | LIST check_login SP pathname CRLF
386 | STAT check_login SP pathname CRLF
398 | DELE check_login SP pathname CRLF
405 | RNTO check_login SP pathname CRLF
430 | CWD check_login SP pathname CRLF
461 | MKD check_login SP pathname CRL
[all...]

Completed in 394 milliseconds

12345