/titanic_51/usr/src/cmd/backup/dump/ |
H A D | partial.c | 158 char dotdot[MAXPATHLEN + 16]; local 161 if (strlen(path) > sizeof (dotdot)) 164 (void) strcpy(dotdot, path); 166 if (stat64(dotdot, &st) < 0) 171 if (slash = strrchr(dotdot, '/')) 173 if (slash == dotdot) 180 (void) strcpy(dotdot, "."); 184 if (stat64(dotdot, &st) < 0 || 189 if (strlen(dotdot) > (sizeof (dotdot) [all...] |
/titanic_51/usr/src/uts/common/fs/tmpfs/ |
H A D | tmp_dir.c | 546 struct tdirent *dot, *dotdot; in tdirinit() local 553 dotdot = tmp_memalloc(sizeof (struct tdirent) + 3, TMP_MUSTHAVE); in tdirinit() 565 dotdot->td_tmpnode = parent; in tdirinit() 566 dotdot->td_offset = 1; in tdirinit() 567 dotdot->td_name = (char *)dotdot + sizeof (struct tdirent); in tdirinit() 568 dotdot->td_name[0] = '.'; in tdirinit() 569 dotdot->td_name[1] = '.'; in tdirinit() 570 dotdot->td_parent = dir; in tdirinit() 571 tmpfs_hash_in(dotdot); in tdirinit() 680 struct tmpnode *dir, *dotdot; tdircheckpath() local 868 struct tdirent *dotdot; tdirfixdotdot() local [all...] |
/titanic_51/usr/src/lib/libgen/common/ |
H A D | rmdirp.c | 51 static int dotdot(char *); 71 if (dotdot(d)) { in rmdirp() 92 if (dotdot(++slash)) { in rmdirp() 136 dotdot(char *dir) in dotdot() function
|
/titanic_51/usr/src/lib/storage/libg_fc/common/ |
H A D | genf.c | 234 char *dotdot; in cleanup_dotdot_path() local 238 dotdot = strstr(path, "/../"); in cleanup_dotdot_path() 239 if (dotdot == NULL) { in cleanup_dotdot_path() 251 if (dotdot == path) { in cleanup_dotdot_path() 261 * at the '/' just before "../" using the dotdot pointer. in cleanup_dotdot_path() 263 *dotdot = '\0'; in cleanup_dotdot_path() 277 strcat(path, dotdot+4); in cleanup_dotdot_path()
|
/titanic_51/usr/src/cmd/csh/ |
H A D | sh.dir.c | 503 bool slash, dotdot, hardpaths; in dcanon() local 584 dotdot = sp[0] == '.' && sp[1] == '.' && sp[2] == '\0'; in dcanon() 585 if (hardpaths || dotdot) { in dcanon() 696 if (dotdot) { in dcanon()
|
/titanic_51/usr/src/psm/promif/ieee1275/sun4/ |
H A D | prom_vercheck.c | 105 dot = dotdot = 0; in obp_timestamp() 111 dotdot = strtoi(c + 1, &c); in obp_timestamp() 160 * dotdot numbers are not checked, only the date/time stamp.
|
/titanic_51/usr/src/cmd/luxadm/ |
H A D | lux_util.c | 1121 char *dotdot; in cleanup_dotdot_path() local 1125 dotdot = strstr(path, "/../"); in cleanup_dotdot_path() 1126 if (dotdot == NULL) { in cleanup_dotdot_path() 1138 if (dotdot == path) { in cleanup_dotdot_path() 1148 * at the '/' just before "../" using the dotdot pointer. in cleanup_dotdot_path() 1150 *dotdot = '\0'; in cleanup_dotdot_path() 1164 (void) strcat(path, dotdot+4); in cleanup_dotdot_path()
|
H A D | hotplug.c | 1004 char *dotdot; in cleanup_dotdot_path() local 1008 dotdot = strstr(path, "/../"); in cleanup_dotdot_path() 1009 if (dotdot == NULL) { in cleanup_dotdot_path() 1021 if (dotdot == path) { in cleanup_dotdot_path() 1031 * at the '/' just before "../" using the dotdot pointer. in cleanup_dotdot_path() 1033 *dotdot = '\0'; in cleanup_dotdot_path() 1047 (void) strcat(path, dotdot+4); in cleanup_dotdot_path()
|
/titanic_51/usr/src/lib/libast/common/misc/ |
H A D | fts.c | 56 FTSENT* dotdot; \ 986 fts->dotdot = 0; in fts_read() 1060 fts->dotdot = f; in fts_read() 1118 || !fts->dotdot in fts_read() 1119 || !SAME(f->fts_statp, fts->dotdot->fts_statp) in fts_read() 1124 || !SAME(&sb, fts->dotdot->fts_statp) in fts_read()
|
/titanic_51/usr/src/contrib/ast/src/lib/libast/misc/ |
H A D | fts.c | 56 FTSENT* dotdot; \ 1003 fts->dotdot = 0; in fts_read() 1077 fts->dotdot = f; in fts_read() 1135 || !fts->dotdot in fts_read() 1136 || !SAME(f->fts_statp, fts->dotdot->fts_statp) in fts_read() 1141 || !SAME(&sb, fts->dotdot->fts_statp) in fts_read()
|
/titanic_51/usr/src/lib/libshell/common/sh/ |
H A D | macro.c | 77 int dotdot; /* set for .. in subscript */ member 778 mp->dotdot = stktell(stkp); in copyto() 958 mp->dotdot = 0; in subcopy() 1173 if(type && mp->dotdot) in varsub() 1258 if(mp->dotdot) in varsub() 1263 v = stkptr(stkp,mp->dotdot); in varsub() 1316 if(ap && !mp->dotdot && !(ap->nelem&ARRAY_UNDEF)) in varsub() 1740 if(mp->dotdot) in varsub()
|
/titanic_51/usr/src/uts/common/fs/dev/ |
H A D | sdev_subr.c | 1081 struct sdev_node *dotdot, *dir; in sdev_checkpath() local 1083 dotdot = tdv->sdev_dotdot; in sdev_checkpath() 1084 ASSERT(dotdot); in sdev_checkpath() 1087 if (dotdot == tdv) { in sdev_checkpath() 1098 if (dotdot == sdv) { in sdev_checkpath() 1103 dir = dotdot; in sdev_checkpath() 1104 dotdot = dir->sdev_dotdot; in sdev_checkpath() 1107 if (dir == dotdot) { in sdev_checkpath()
|
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | macro.c | 87 int dotdot; /* set for .. in subscript */ member 852 mp->dotdot = stktell(stkp); in copyto() 1016 mp->dotdot = 0; in subcopy() 1253 if(type && mp->dotdot) in varsub() 1351 if(mp->dotdot) in varsub() 1363 v = stkptr(stkp,mp->dotdot); in varsub() 1416 if(ap && !mp->dotdot && !(ap->nelem&ARRAY_UNDEF)) in varsub() 1872 if(mp->dotdot) in varsub()
|
/titanic_51/usr/src/cmd/make/bin/ |
H A D | read2.cc | 332 * dotdot The Name "..", compared against 337 static Name dotdot; in normalize_name() local 345 if (dotdot == NULL) { in normalize_name() 347 dotdot = GETNAME(wcs_buffer, FIND_LENGTH); in normalize_name() 416 if(name != dotdot) { in normalize_name()
|
/titanic_51/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_srv.c | 882 int dotdot, walk; in do_rfs4_op_secinfo() local 885 dotdot = (nm[0] == '.' && nm[1] == '.' && nm[2] == '\0'); in do_rfs4_op_secinfo() 891 if (dotdot) { in do_rfs4_op_secinfo() 896 * and do the dotdot lookup there. in do_rfs4_op_secinfo() 987 if (dotdot) in do_rfs4_op_secinfo() 2631 int attrdir, dotdot, walk; in do_rfs4_op_lookup() local 2642 dotdot = (nm[0] == '.' && nm[1] == '.' && nm[2] == '\0'); in do_rfs4_op_lookup() 2649 if (dotdot) { in do_rfs4_op_lookup() 2654 * and do the dotdot lookup there. in do_rfs4_op_lookup() 2755 if (dotdot) in do_rfs4_op_lookup() [all...] |