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

123

/haiku-fatelf/src/bin/bash/lib/intl/
H A Drelocatable.h38 Relocation simply replaces a pathname starting with the original prefix
39 by the corresponding pathname with the current prefix instead. Both
46 /* Returns the pathname, relocated according to the current installation
48 extern const char * relocate (const char *pathname);
51 a fresh pathname. If this is a problem because your program calls
57 file, and the current pathname of this file. Returns NULL upon failure. */
65 #define relocate(pathname) (pathname)
H A Drelocatable.c97 Relocation simply replaces a pathname starting with the original prefix
98 by the corresponding pathname with the current prefix instead. Both
135 Relocation simply replaces a pathname starting with the original prefix
136 by the corresponding pathname with the current prefix instead. Both
159 file, and the current pathname of this file. Returns NULL upon failure. */
243 /* The last pathname component was the same. opi and cpi now point
272 /* Full pathname of shared library, or NULL. */
277 /* Determine the full pathname of the shared library when it is loaded. */
355 /* Return the full pathname of the current shared library.
374 /* Returns the pathname, relocate
377 relocate(const char *pathname) argument
[all...]
/haiku-fatelf/src/bin/gawk/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...]
/haiku-fatelf/src/bin/findutils/find/
H A Dpred.c150 static boolean insert_lname PARAMS((char *pathname, struct stat *stat_buf, struct predicate *pred_ptr, boolean ignore_case));
259 PATHNAME is the full pathname of the file being checked.
297 pred_amin (char *pathname, struct stat *stat_buf, struct predicate *pred_ptr)
299 (void) &pathname;
304 pred_and (char *pathname, struct stat *stat_buf, struct predicate *pred_ptr)
307 || (*pred_ptr->pred_left->pred_func) (pathname, stat_buf,
311 if (get_info(pathname, state.rel_pathname, stat_buf, pred_ptr) != 0)
313 return ((*pred_ptr->pred_right->pred_func) (pathname, stat_buf,
321 pred_anewer (char *pathname, struct stat *stat_buf, struct predicate *pred_ptr)
323 (void) &pathname;
296 pred_amin(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
303 pred_and(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
320 pred_anewer(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
330 pred_atime(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
337 pred_closeparen(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
347 pred_cmin(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
354 pred_cnewer(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
365 pred_comma(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
379 pred_ctime(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
386 pred_delete(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
408 pred_empty(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
452 new_impl_pred_exec(const char *pathname, struct stat *stat_buf, struct predicate *pred_ptr, const char *prefix, size_t pfxlen) argument
501 pred_exec(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
507 pred_execdir(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
516 pred_false(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
527 pred_fls(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
535 pred_fprint(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
549 pred_fprint0(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
579 pred_fprintf(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
916 pred_fstype(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
927 pred_gid(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
950 pred_group(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
961 pred_ilname(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
971 pred_name_common(const char *pathname, const char *str, int flags) argument
995 pred_iname(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
1002 pred_inum(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
1025 pred_ipath(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
1035 pred_links(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
1058 pred_lname(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
1064 insert_lname(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr, boolean ignore_case) argument
1084 pred_ls(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
1094 pred_mmin(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
1101 pred_mtime(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
1108 pred_name(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
1115 pred_negate(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
1126 pred_newer(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
1136 pred_nogroup(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
1151 pred_nouser(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
1184 pred_ok(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
1193 pred_okdir(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
1204 pred_openparen(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
1213 pred_or(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
1229 pred_path(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
1238 pred_perm(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
1277 pred_print(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
1290 pred_print0(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
1300 pred_prune(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
1310 pred_quit(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
1328 pred_regex(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
1339 pred_size(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
1365 pred_samefile(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
1382 pred_true(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
1391 pred_type(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
1435 pred_uid(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
1457 pred_used(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
1467 pred_user(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
1477 pred_xtype(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) argument
[all...]
H A Ddefs.h87 int get_statinfo PARAMS((const char *pathname, const char *name, struct stat *p));
147 typedef boolean (*PRED_FUNC)(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr);
341 int get_info PARAMS((const char *pathname, const char *name, struct stat *p, struct predicate *pred_ptr));
430 boolean pred_amin PARAMS((char *pathname, struct stat *stat_buf, struct predicate *pred_ptr));
431 boolean pred_and PARAMS((char *pathname, struct stat *stat_buf, struct predicate *pred_ptr));
432 boolean pred_anewer PARAMS((char *pathname, struct stat *stat_buf, struct predicate *pred_ptr));
433 boolean pred_atime PARAMS((char *pathname, struct stat *stat_buf, struct predicate *pred_ptr));
434 boolean pred_closeparen PARAMS((char *pathname, struct stat *stat_buf, struct predicate *pred_ptr));
435 boolean pred_cmin PARAMS((char *pathname, struct stat *stat_buf, struct predicate *pred_ptr));
436 boolean pred_cnewer PARAMS((char *pathname, struc
[all...]
H A Dfind.c78 #define apply_predicate(pathname, stat_buf_ptr, node) \
79 (*(node)->pred_func)((pathname), (stat_buf_ptr), (node))
85 static void process_top_path PARAMS((char *pathname, mode_t mode));
86 static int process_path PARAMS((char *pathname, char *name, boolean leaf, char *parent, mode_t type));
87 static void process_dir PARAMS((char *pathname, char *name, int pathlen, struct stat *statp, char *parent));
324 get_statinfo (const char *pathname, const char *name, struct stat *p)
330 error (0, errno, "%s", pathname);
346 get_info (const char *pathname,
357 return get_statinfo(pathname, state.rel_pathname, p);
361 return get_statinfo(pathname, stat
315 get_statinfo(const char *pathname, const char *name, struct stat *p) argument
336 get_info(const char *pathname, const char *name, struct stat *p, struct predicate *pred_ptr) argument
1392 at_top(char *pathname, mode_t mode, struct stat *pstat, void (*action)(char *pathname, char *basename, int mode, struct stat *pstat)) argument
1464 do_process_top_dir(char *pathname, char *base, int mode, struct stat *pstat) argument
1473 do_process_predicate(char *pathname, char *base, int mode, struct stat *pstat) argument
1496 process_top_path(char *pathname, mode_t mode) argument
1527 issue_loop_warning(const char *name, const char *pathname, int level) argument
1563 digest_mode(mode_t mode, const char *pathname, const char *name, struct stat *pstat, boolean leaf) argument
1636 process_path(char *pathname, char *name, boolean leaf, char *parent, mode_t mode) argument
1827 process_dir(char *pathname, char *name, int pathlen, struct stat *statp, char *parent) argument
[all...]
/haiku-fatelf/src/system/libroot/posix/unistd/
H A Dttyname.c55 static char pathname[MAXPATHLEN]; local
57 int err = ttyname_r(fd, pathname, sizeof(pathname));
62 return pathname;
/haiku-fatelf/src/tools/fs_shell/
H A Dfcntl.cpp27 fssh_open(const char *pathname, int oflags, ...) argument
43 fd = open(pathname, to_platform_open_mode(oflags),
46 fd = _kern_open(-1, pathname, to_platform_open_mode(oflags),
/haiku-fatelf/src/bin/bash/
H A Dpathexp.c169 we change quoted null strings (pathname[0] == CTLNUL) into empty
170 strings (pathname[0] == 0). If this is called after quote removal
177 quote_string_for_globbing (pathname, qflags)
178 const char *pathname;
184 temp = (char *)xmalloc (strlen (pathname) + 1);
186 if ((qflags & QGLOB_CVTNULL) && QUOTED_NULL (pathname))
192 for (i = j = 0; pathname[i]; i++)
194 if (pathname[i] == CTLESC)
196 if ((qflags & QGLOB_FILENAME) && pathname[i+1] == '/')
198 if ((qflags & QGLOB_REGEXP) && ere_char (pathname[
[all...]
H A Dfindcmd.c69 encounters a `.' as the directory pathname while scanning the
186 which is the full pathname to the file, or NULL if the file
198 pathname to the file, or NULL if the file couldn't be found. This
281 search_for_command (pathname)
282 const char *pathname;
291 hash table to search for the full pathname. */
297 /* Don't waste time trying to find hashed data for a pathname
300 if (path == 0 && absolute_program (pathname) == 0)
301 hashed_file = phash_search (pathname);
312 phash_remove (pathname);
[all...]
/haiku-fatelf/src/bin/bash/lib/sh/
H A Dpathphys.c1 /* pathphys.c -- return pathname with all symlinks expanded. */
71 * This always gets an absolute pathname.
104 /* This always gets an absolute pathname. */
203 /* Form the new pathname by copying the link value to a temporary
206 absolute pathname, reset p, q, and qbase. If not, reset p
255 sh_realpath (pathname, resolved)
256 const char *pathname;
261 if (pathname == 0 || *pathname == '\0')
263 errno = (pathname
[all...]
/haiku-fatelf/src/kits/network/libbind/dst/
H A Dsupport.c307 char pathname[PATH_MAX]; local
309 if (strlen(filename) + strlen(dst_path) >= sizeof(pathname))
313 strcpy(pathname, dst_path);
314 strcat(pathname, filename);
316 strcpy(pathname, filename);
318 fp = fopen(pathname, mode);
320 chmod(pathname, perm);
/haiku-fatelf/src/bin/less/
H A Dfilename.c221 * Return a pathname that points to a specified file in a specified directory.
229 char *pathname; local
237 * Construct the full pathname.
240 pathname = (char *) calloc(len, sizeof(char));
241 if (pathname == NULL)
243 SNPRINTF3(pathname, len, "%s%s%s", dirname, PATHNAME_SEP, filename);
247 qpathname = shell_unquote(pathname);
251 free(pathname);
252 pathname = NULL;
258 return (pathname);
268 register char *pathname; local
685 char *pathname; local
[all...]
H A Dlesskey.c227 char *pathname; local
229 pathname = calloc(strlen(dirname) + strlen(filename) + 2, sizeof(char));
230 strcpy(pathname, dirname);
231 strcat(pathname, PATHNAME_SEP);
232 strcat(pathname, filename);
233 return (pathname);
244 char *pathname; local
247 pathname = mkpathname(p, filename);
250 pathname = mkpathname(p, filename);
255 pathname
[all...]
/haiku-fatelf/src/bin/bash/lib/glob/
H A Dglob.c234 udequote_pathname (pathname)
235 char *pathname;
239 for (i = j = 0; pathname && pathname[i]; )
241 if (pathname[i] == '\\')
244 pathname[j++] = pathname[i++];
246 if (pathname[i - 1] == 0)
249 pathname[j] = '\0';
255 wdequote_pathname (pathname)
[all...]
/haiku-fatelf/src/preferences/network_old/
H A DConfigData.h53 status_t LoadBackup(const char *pathname, ConfigData &data);
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dcache.h38 const char *pathname; member in struct:CACHED_INODE
48 const char *pathname; /* not used */ member in struct:CACHED_NIDATA
/haiku-fatelf/src/bin/gdb/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);
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...]
/haiku-fatelf/headers/private/fs_shell/
H A Dfssh_fcntl.h72 extern int fssh_open(const char *pathname, int oflags, ...);
/haiku-fatelf/src/bin/gdb/gdb/tui/
H A Dtui-io.c323 printable_part (char *pathname) argument
327 temp = rl_filename_completion_desired ? strrchr (pathname, '/') : (char *)NULL;
329 if (rl_filename_completion_desired && temp == 0 && isalpha (pathname[0]) && pathname[1] == ':')
330 temp = pathname + 1;
332 return (temp ? ++temp : pathname);
/haiku-fatelf/src/bin/network/ftpd/
H A Dftpcmd.y165 %type <s> pathstring pathname password username
563 | RETR check_login SP pathname CRLF
573 | STOR check_login_ro SP pathname CRLF
580 | APPE check_login_ro SP pathname CRLF
609 | STAT check_login SP pathname CRLF
622 | DELE check_login_ro SP pathname CRLF
629 | RNTO check_login_ro SP pathname CRLF
654 | CWD check_login SP pathname CRLF
685 | MKD check_login_ro SP pathname CRLF
692 | RMD check_login_ro SP pathname CRL
[all...]
/haiku-fatelf/src/kits/tracker/
H A DNavigator.cpp347 BString pathname = fLocation->Text(); local
349 if (pathname.Compare("") == 0)
350 pathname = "/";
355 if (entry.SetTo(pathname.String()) == B_OK

Completed in 184 milliseconds

123