/macosx-10.10/ksh-23/ksh/src/lib/libast/comp/ |
H A D | dirname.c | 33 extern char *dirname(register char *pathname) argument 37 for(last=pathname; *last; last++); 39 while(last>pathname && *--last=='/'); 41 for(;last>pathname && *last!='/';last--); 42 if(last==pathname) 54 for(;*last=='/' && last > pathname; last--); 56 if(last==pathname && *pathname=='/' && pathname[1]=='/') 60 return(pathname); [all...] |
H A D | basename.c | 33 extern char *basename(register char *pathname) argument 36 for(first=last=pathname; *last; last++); 49 for(first=last++;first>pathname && *first!='/';first--);
|
/macosx-10.10/ksh-23/ksh/src/lib/libcmd/ |
H A D | dirname.c | 28 * print the dirname of a pathname 66 static void l_dirname(register Sfio_t *outfile, register const char *pathname) argument 70 for(last=pathname; *last; last++); 72 while(last>pathname && *--last=='/'); 74 for(;last>pathname && *last!='/';last--); 75 if(last==pathname) 78 if(*pathname!='/') 79 last = pathname = "."; 84 for(;*last=='/' && last > pathname; last--); 87 if(last!=pathname [all...] |
/macosx-10.10/dtrace-147/DTTk/Bin/ |
H A D | diskhits | 13 # USAGE: diskhits pathname 50 USAGE: diskhits pathname 64 pathname=$1 65 if [[ ! -e $pathname ]]; then 66 echo "ERROR2: file $pathname not found" >&2 72 set -- `ls -l $pathname` 85 inline string PATHNAME = "'$pathname'";
|
H A D | rfileio.d | 51 self->pathname = cleanpath(args[0]->v_path); 52 @rio[self->pathname, "logical"] = count(); 61 @rbytes[self->pathname, "logical"] = 65 self->pathname = 0; 71 @rio[self->pathname, "physical"] = count(); 72 @rbytes[self->pathname, "physical"] = sum(args[0]->b_bcount);
|
/macosx-10.10/dtrace-147/DTTk/Disk/ |
H A D | diskhits | 13 # USAGE: diskhits pathname 50 USAGE: diskhits pathname 64 pathname=$1 65 if [[ ! -e $pathname ]]; then 66 echo "ERROR2: file $pathname not found" >&2 72 set -- `ls -l $pathname` 85 inline string PATHNAME = "'$pathname'";
|
/macosx-10.10/bash-94.1.2/bash-3.2/lib/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)
|
/macosx-10.10/cxxfilt-11/cxxfilt/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)
|
/macosx-10.10/libarchive-30/libarchive/libarchive_fe/ |
H A D | matching.h | 36 const char *pathname); 39 const char *pathname, int nullSeparator); 41 int lafe_excluded(struct lafe_matching *, const char *pathname);
|
H A D | matching.c | 60 static int match_exclusion(struct match *, const char *pathname); 61 static int match_inclusion(struct match *, const char *pathname); 86 lafe_exclude_from_file(struct lafe_matching **matching, const char *pathname) argument 92 lr = lafe_line_reader(pathname, 0); 114 lafe_include_from_file(struct lafe_matching **matching, const char *pathname, argument 121 lr = lafe_line_reader(pathname, nullSeparator); 151 lafe_excluded(struct lafe_matching *matching, const char *pathname) argument 161 if (match_exclusion(match, pathname)) 168 if (match_inclusion(match, pathname)) { 208 match_exclusion(struct match *match, const char *pathname) argument 220 match_inclusion(struct match *match, const char *pathname) argument [all...] |
H A D | line_reader.c | 52 char *pathname; member in struct:lafe_line_reader 59 lafe_line_reader(const char *pathname, int nullSeparator) argument 65 lafe_errc(1, ENOMEM, "Can't open %s", pathname); 68 lr->pathname = strdup(pathname); 70 if (strcmp(pathname, "-") == 0) 73 lr->f = fopen(pathname, "r"); 75 lafe_errc(1, errno, "Couldn't open %s", pathname); 79 lafe_errc(1, ENOMEM, "Can't read %s", pathname); 139 "Line too long in %s", lr->pathname); [all...] |
/macosx-10.10/libiconv-42/libiconv/lib/ |
H A D | relocatable.h | 43 Relocation simply replaces a pathname starting with the original prefix 44 by the corresponding pathname with the current prefix instead. Both 51 /* Returns the pathname, relocated according to the current installation 53 extern const char * relocate (const char *pathname); 56 a fresh pathname. If this is a problem because your program calls 62 file, and the current pathname of this file. Returns NULL upon failure. */ 70 #define relocate(pathname) (pathname)
|
/macosx-10.10/libiconv-42/libiconv/libcharset/lib/ |
H A D | relocatable.h | 43 Relocation simply replaces a pathname starting with the original prefix 44 by the corresponding pathname with the current prefix instead. Both 51 /* Returns the pathname, relocated according to the current installation 53 extern const char * relocate (const char *pathname); 56 a fresh pathname. If this is a problem because your program calls 62 file, and the current pathname of this file. Returns NULL upon failure. */ 70 #define relocate(pathname) (pathname)
|
/macosx-10.10/libiconv-42/libiconv/srclib/ |
H A D | relocatable.h | 43 Relocation simply replaces a pathname starting with the original prefix 44 by the corresponding pathname with the current prefix instead. Both 51 /* Returns the pathname, relocated according to the current installation 53 extern const char * relocate (const char *pathname); 56 a fresh pathname. If this is a problem because your program calls 62 file, and the current pathname of this file. Returns NULL upon failure. */ 70 #define relocate(pathname) (pathname)
|
/macosx-10.10/apache-793/httpd/build/ |
H A D | PrintPath | 23 # Do not print out full pathname. (silent) 36 pathname=$PATH 51 -p* ) pathname="`echo $args | sed 's/^..//'`" ;; 72 pathname=`echo -E $pathname | 81 pathname=`echo $pathname | 107 for path in $pathname
|
/macosx-10.10/apr-32/apr/apr/build/ |
H A D | PrintPath | 23 # Do not print out full pathname. (silent) 36 pathname=$PATH 51 -p* ) pathname="`echo $args | sed 's/^..//'`" ;; 72 pathname=`echo -E $pathname | 81 pathname=`echo $pathname | 107 for path in $pathname
|
/macosx-10.10/apr-32/apr-util/apr-util/xml/expat/conftools/ |
H A D | PrintPath | 23 # Do not print out full pathname. (silent) 36 pathname=$PATH 51 -p* ) pathname="`echo $args | sed 's/^..//'`" ;; 72 pathname=`echo -E $pathname | 81 pathname=`echo $pathname | 107 for path in $pathname
|
/macosx-10.10/expat-12/expat/conftools/ |
H A D | PrintPath | 6 # Do not print out full pathname. (silent) 22 pathname=$PATH 37 -p* ) pathname="`echo $args | sed 's/^..//'`" ;; 58 pathname=`echo -E $pathname | 67 pathname=`echo $pathname | 93 for path in $pathname
|
/macosx-10.10/libarchive-30/libarchive/contrib/ |
H A D | untar.c | 67 create_dir(char *pathname, int mode) argument 73 if (pathname[strlen(pathname) - 1] == '/') 74 pathname[strlen(pathname) - 1] = '\0'; 77 r = mkdir(pathname, mode); 81 p = strrchr(pathname, '/'); 84 create_dir(pathname, 0755); 86 r = mkdir(pathname, mode); 90 fprintf(stderr, "Could not create directory %s\n", pathname); 95 create_file(char *pathname, int mode) argument [all...] |
/macosx-10.10/libarchive-30/libarchive/libarchive/test/ |
H A D | test_read_format_isojoliet_long.c | 62 char pathname[104]; local 71 pathname[i] = '0' + ((i+1) % 10); 96 pathname[100] = 'd'; 97 pathname[101] = 'i'; 98 pathname[102] = 'r'; 99 pathname[103] = '\0'; 101 assertEqualString(pathname, archive_entry_pathname(ae)); 107 /* A regular file with two names (pathname gets returned 109 pathname[100] = '1'; 110 pathname[10 [all...] |
H A D | test.h | 164 #define assertFileAtime(pathname, sec, nsec) \ 165 assertion_file_atime(__FILE__, __LINE__, pathname, sec, nsec) 166 #define assertFileAtimeRecent(pathname) \ 167 assertion_file_atime_recent(__FILE__, __LINE__, pathname) 168 #define assertFileBirthtime(pathname, sec, nsec) \ 169 assertion_file_birthtime(__FILE__, __LINE__, pathname, sec, nsec) 170 #define assertFileBirthtimeRecent(pathname) \ 171 assertion_file_birthtime_recent(__FILE__, __LINE__, pathname) 181 #define assertFileMtime(pathname, sec, nsec) \ 182 assertion_file_mtime(__FILE__, __LINE__, pathname, se [all...] |
/macosx-10.10/dtrace-147/DTTk/FS/ |
H A D | rfileio.d | 51 self->pathname = cleanpath(args[0]->v_path); 52 @rio[self->pathname, "logical"] = count(); 61 @rbytes[self->pathname, "logical"] = 65 self->pathname = 0; 71 @rio[self->pathname, "physical"] = count(); 72 @rbytes[self->pathname, "physical"] = sum(args[0]->b_bcount);
|
/macosx-10.10/man-16/man/src/ |
H A D | different.c | 11 char *pathname; member in struct:filelist 23 command = my_xsprintf("%s %S %S\n", cmp, file, p->pathname); 26 gripe(IDENTICAL, file, p->pathname); 32 p->pathname = my_strdup(file);
|
/macosx-10.10/libarchive-30/libarchive/tar/test/ |
H A D | test.h | 161 #define assertFileAtime(pathname, sec, nsec) \ 162 assertion_file_atime(__FILE__, __LINE__, pathname, sec, nsec) 163 #define assertFileAtimeRecent(pathname) \ 164 assertion_file_atime_recent(__FILE__, __LINE__, pathname) 165 #define assertFileBirthtime(pathname, sec, nsec) \ 166 assertion_file_birthtime(__FILE__, __LINE__, pathname, sec, nsec) 167 #define assertFileBirthtimeRecent(pathname) \ 168 assertion_file_birthtime_recent(__FILE__, __LINE__, pathname) 178 #define assertFileMtime(pathname, sec, nsec) \ 179 assertion_file_mtime(__FILE__, __LINE__, pathname, se [all...] |
/macosx-10.10/libarchive-30/libarchive/cpio/test/ |
H A D | test.h | 161 #define assertFileAtime(pathname, sec, nsec) \ 162 assertion_file_atime(__FILE__, __LINE__, pathname, sec, nsec) 163 #define assertFileAtimeRecent(pathname) \ 164 assertion_file_atime_recent(__FILE__, __LINE__, pathname) 165 #define assertFileBirthtime(pathname, sec, nsec) \ 166 assertion_file_birthtime(__FILE__, __LINE__, pathname, sec, nsec) 167 #define assertFileBirthtimeRecent(pathname) \ 168 assertion_file_birthtime_recent(__FILE__, __LINE__, pathname) 178 #define assertFileMtime(pathname, sec, nsec) \ 179 assertion_file_mtime(__FILE__, __LINE__, pathname, se [all...] |