/osnet-11/usr/src/lib/libast/common/comp/ |
H A D | dirname.c | 24 * dirname(3) implementation 33 extern char *dirname(register char *pathname) function
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | dirname.c | 35 * Works similar to /bin/dirname 38 #pragma weak _dirname = dirname 45 dirname(char *s) function
|
H A D | scandir.c | 44 * Scan the directory dirname calling select to make a list of selected 71 scandir64(const char *dirname, struct dirent64 *(*namelist[]), argument 82 if ((dirp = opendir(dirname)) == NULL) 156 scandir(const char *dirname, struct dirent *(*namelist[]), argument 167 if ((dirp = opendir(dirname)) == NULL)
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/File/ |
H A D | Basename.pm | 9 dirname - extract just the directory from a path 18 $dirname = dirname($fullname); 23 $dirname = dirname("lib/File/Basename.pm"); 39 fileparse(), basename(), and dirname(). If it contains none of 108 =item C<dirname> 110 The dirname() routine returns the directory portion of the input file 116 value conforms to the behavior of the Unix shell command dirname(1). This 119 considers the directory name to be F<lib/>, while dirname() consider 248 sub dirname { subroutine [all...] |
/osnet-11/usr/src/lib/libshell/common/data/ |
H A D | solaris_cmdlist.h | 67 #undef dirname macro 76 ASTCMDLIST(dirname)
|
H A D | builtins.c | 47 #undef dirname macro 129 CMDLIST(dirname)
|
/osnet-11/usr/src/lib/libxcurses/src/libc/gen/ |
H A D | base.c | 62 * - deal with degenerate dirname 111 * Finds the dirname of the given file. Spec1170 conformant. 114 dirname(char *arg) function 141 dirname(argv[cnt-argc]), 155 printf("%s\t%s\n", dirname(arg), basename(tmp));
|
/osnet-11/usr/src/grub/grub2/grub-core/commands/ |
H A D | ls.c | 88 grub_ls_list_files (char *dirname, int longlist, int all, int human); 90 grub_ls_list_files (char *dirname, int longlist, int all, int human) argument 121 if (dirname[grub_strlen (dirname) - 1] == '/') 122 pathname = grub_xasprintf ("%s%s", dirname, filename); 124 pathname = grub_xasprintf ("%s/%s", dirname, filename); 198 device_name = grub_file_get_device_name (dirname); 204 path = grub_strchr (dirname, ')'); 206 path = dirname; 240 file = grub_file_open (dirname); [all...] |
/osnet-11/usr/src/grub/grub-0.97/stage2/ |
H A D | fsys_ffs.c | 183 ffs_dir (char *dirname) argument 202 if (!*dirname || isspace (*dirname)) 219 while (*dirname == '/') 220 dirname++; 228 for (rest = dirname; (ch = *rest) && !isspace (ch) && ch != '/'; rest++); 271 && (!*dirname || substring (dirname, dp->d_name) <= 0)) 280 while (!dp->d_ino || (substring (dirname, dp->d_name) != 0 286 *(dirname [all...] |
H A D | fsys_iso9660.c | 143 iso9660_dir (char *dirname) argument 160 while (*dirname == '/') /* skip leading slashes */ 161 dirname++; 162 /* pathlen = strcspn(dirname, "/\n\t "); */ 164 dirname[pathlen] 165 && !isspace(dirname[pathlen]) && dirname[pathlen] != '/' ; 354 && !memcmp(name, dirname, pathlen)) 356 if (dirname[pathlen] == '/' || !print_possibilities) 364 if (dirname[pathle [all...] |
H A D | fsys_ufs2.c | 207 ufs2_dir (char *dirname) argument 227 if (!*dirname || isspace (*dirname)) 244 while (*dirname == '/') 245 dirname++; 253 for (rest = dirname; (ch = *rest) && !isspace (ch) && ch != '/'; rest++); 292 && (!*dirname || substring (dirname, dp->d_name) <= 0)) 301 while (!dp->d_ino || (substring (dirname, dp->d_name) != 0 307 *(dirname [all...] |
H A D | fsys_vstafs.c | 118 vstafs_dir (char *dirname) argument 138 while (*dirname == '/') dirname++; 139 fn = dirname; 150 && (! *dirname || strcmp (dirname, d->name) <= 0)) 158 if (! grub_strcmp (dirname, d->name)) 168 *(dirname = fn) = ch; 181 while (*dirname && ! isspace (ch));
|
H A D | fsys_fat.c | 293 fat_dir (char *dirname) argument 320 if (!*dirname || isspace (*dirname)) 333 while (*dirname == '/') 334 dirname++; 344 for (rest = dirname; (ch = *rest) && !isspace (ch) && ch != '/'; rest++); 436 if (substring (dirname, filename) == 0) 463 if (substring (dirname, filename) <= 0) 473 if (substring (dirname, filename) == 0) 477 *(dirname [all...] |
H A D | fsys_ufs.c | 66 ufs_dir(char *dirname) argument 74 while (*dirname == '/') 75 dirname++; 77 while (inode && *dirname && !isspace(*dirname)) { 82 fname = dirname; 83 while (*dirname && !isspace(*dirname) && *dirname != '/') 84 dirname [all...] |
H A D | fsys_jfs.c | 273 jfs_dir (char *dirname) argument 309 while (n < (JFS_PATH_MAX - 1) && (linkbuf[n++] = *dirname++)); 311 dirname = linkbuf; 315 if (!*dirname || isspace (*dirname)) { 330 for (; *dirname == '/'; dirname++); 332 for (rest = dirname; (ch = *rest) && !isspace (ch) && ch != '/'; rest++); 358 cmp = (!*dirname) ? -1 : substring (dirname, namebu [all...] |
H A D | fsys_minix.c | 297 minix_dir (char *dirname) argument 324 dirname = pointer to filename component we are cur looking up within 334 printf ("inode %d, dirname %s\n", current_ino, dirname); 362 printf ("S_ISLNK (%s)\n", dirname); 367 while (dirname[len] && !isspace (dirname[len])) 382 memmove (linkbuf + filemax, dirname, len); 396 dirname = linkbuf; 397 if (*dirname [all...] |
H A D | fsys_xfs.c | 537 xfs_dir (char *dirname) argument 568 while (n < (xfs.bsize - 1) && (linkbuf[n++] = *dirname++)); 570 dirname = linkbuf; 574 if (!*dirname || isspace (*dirname)) { 589 for (; *dirname == '/'; dirname++); 591 for (rest = dirname; (ch = *rest) && !isspace (ch) && ch != '/'; rest++); 596 cmp = (!*dirname) ? -1 : substring (dirname, nam [all...] |
H A D | disk_io.c | 1829 dir (char *dirname) argument 1835 if (!(dirname = setup_part (dirname))) 1838 if (*dirname != '/') 1850 return (*(fsys_table[fsys_type].dir_func)) (dirname);
|
/osnet-11/usr/src/grub/grub-0.97/netboot/ |
H A D | fsys_tftp.c | 41 static int tftp_dir_undi(char *dirname); 596 tftp_dir (char *dirname) argument 601 grub_printf ("tftp_dir (%s)\n", dirname); 605 return (tftp_dir_undi(dirname)); 618 ch = nul_terminate (dirname); 622 dirname, 0, 0, 0, TFTP_MAX_PACKET, 0, 0) 625 dirname[grub_strlen (dirname)] = ch; 818 tftp_dir_undi(char *dirname) argument 828 ch = nul_terminate(dirname); [all...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/SDBM_File/sdbm/ |
H A D | sdbm.c | 80 register char *dirname; local 91 if ((dirname = (char *) malloc((unsigned) n)) == NULL) 96 dirname = strcat(strcpy(dirname, file), DIRFEXT); 97 pagname = strcpy(dirname + strlen(dirname) + 1, file); 100 db = sdbm_prep(dirname, pagname, flags, mode); 101 free((char *) dirname); 106 sdbm_prep(char *dirname, char *pagname, int flags, int mode) argument 136 if ((db->dirf = open(dirname, flag [all...] |
/osnet-11/usr/src/lib/libast/common/misc/ |
H A D | glob.c | 297 char* dirname; local 328 prefix = dirname = ap->gl_path + gp->gl_extra; 408 dirname = 0; 411 dirname = "."; 416 dirname = "/"; 478 if (!(dirname = (*gp->gl_nextdir)(gp, dirname))) 480 prefix = streq(dirname, ".") ? (char*)0 : dirname; 482 if ((!starstar && !gp->gl_starstar || (*gp->gl_type)(gp, dirname, GLOB_STARSTA [all...] |
/osnet-11/usr/src/lib/libnwam/common/ |
H A D | libnwam_loc.c | 515 char dirname[MAXPATHLEN], filename[MAXPATHLEN]; local 521 (void) snprintf(dirname, sizeof (dirname), "%sloc/%s", NWAM_CONF_DIR, 523 if ((dirp = opendir(dirname)) == NULL) 526 (void) snprintf(filename, sizeof (filename), "%s/%s", dirname, 533 (void) rmdir(dirname);
|
/osnet-11/usr/src/grub/grub2/grub-core/fs/ |
H A D | fat.c | 825 char *dirname, *dirp; local 846 if (*dirname == '\0' && call_hook) 849 if (grub_strcasecmp (dirname, filename) == 0) 890 dirname = grub_malloc (len + 1); 891 if (! dirname) 894 grub_memcpy (dirname, path, len); 895 dirname[len] = '\0'; 899 dirname = grub_strdup (path); 908 grub_free (dirname); 922 char *dirname local [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/loader/ |
H A D | xnu.c | 1033 grub_xnu_scan_dir_for_kexts (char *dirname, const char *osbundlerequired, argument 1056 = grub_malloc (grub_strlen (dirname) + grub_strlen (filename) + 2); 1061 grub_strcpy (newdirname, dirname); 1077 device_name = grub_file_get_device_name (dirname); 1082 path = grub_strchr (dirname, ')'); 1084 path = dirname; 1099 grub_xnu_load_kext_from_dir (char *dirname, const char *osbundlerequired, argument 1120 grub_strcpy (newdirname + grub_strlen (dirname) + 1, filename); 1145 newdirname = grub_malloc (grub_strlen (dirname) + 20); 1148 grub_strcpy (newdirname, dirname); [all...] |
/osnet-11/usr/src/lib/auditd_plugins/binfile/ |
H A D | binfile.c | 228 char *dirname; local 239 while ((dirname = strtok_r(dirlist, ",", &remainder)) != NULL) { 242 DPRINT((ctrl->dbfp, "binfile: p_dir = %s\n", dirname)); 254 node->dl_dirname = malloc((unsigned)strlen(dirname) + 1); 260 bs = dirname; 352 "binfile: new dirname = %s\n" 353 "binfile: old dirname = %s\n",
|