/openbsd-current/gnu/usr.bin/cvs/vms/ |
H A D | getwd.c | 20 char pathname[256]; local 22 return xstrdup (getcwd (pathname, sizeof (pathname) - 2, 0));
|
/openbsd-current/gnu/gcc/intl/ |
H A D | relocatable.h | 36 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 D | relocatable.c | 96 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 D | relocatable.h | 41 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 D | relocatable.c | 101 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 D | filenames.t | 48 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 D | genmddeps.c | 30 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 D | sanitizer_common_nolibc.cpp | 28 bool CreateDir(const char *pathname) { return false; } argument
|
/openbsd-current/gnu/usr.bin/texinfo/info/ |
H A D | filesys.h | 37 /* 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 D | filesys.c | 454 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 D | info-utils.h | 105 extern char *filename_non_directory (char *pathname);
|
/openbsd-current/gnu/llvm/lldb/scripts/ |
H A D | use_lldb_suite.py | 20 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 D | filesys.c | 49 * 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 D | stat.t | 120 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 D | sendbug.c | 249 * 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 D | ssl.c | 185 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 D | table_db.c | 70 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 D | mail.maildir.c | 92 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 D | queue_fs.c | 243 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 D | filename.c | 189 * 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 D | lesskey.c | 228 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 D | solib-aix5.c | 64 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 D | auxv.c | 53 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 D | cygwin.c | 295 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 D | ftpcmd.y | 132 %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...] |