/osnet-11/usr/src/lib/libcmd/common/ |
H A D | fds.c | 170 struct stat st; local 217 else if (fstat(unit, &st) || !(sp = sfnew(NiL, NiL, SF_UNBOUND, unit, SF_WRITE))) 221 if (fstat(i, &st)) 252 sfprintf(sp, "%02d %s%s %s %s\n", i, m, x, fmtmode(st.st_mode, 0), s); 272 if (!st.st_mode) 273 st.st_mode = S_IFSOCK|S_IRUSR|S_IWUSR; 346 sfprintf(sp, "%02d %s%s %s /dev/%s/%s/%d\n", i, m, x, fmtmode(st.st_mode, 0), s, a, port); 348 sfprintf(sp, "%02d %s%s %s /dev/%s/%s\n", i, m, x, fmtmode(st.st_mode, 0), s, a); 352 sfprintf(sp, "%02d %s%s %s /dev/inode/%u/%u\n", i, m, x, fmtmode(st.st_mode, 0), st [all...] |
H A D | mkdir.c | 77 struct stat st; local 174 if (stat(path, &st)) 179 if ((st.st_mode & (S_ISVTX|S_ISUID|S_ISGID)) != (mode & (S_ISVTX|S_ISUID|S_ISGID)) && chmod(path, mode)) 181 error(ERROR_system(0), "%s: cannot change mode from %s to %s", path, fmtperm(st.st_mode & (S_ISVTX|S_ISUID|S_ISGID)), fmtperm(mode));
|
/osnet-11/usr/src/lib/libtsol/common/ |
H A D | call_labeld.c | 92 struct stat st; local 158 if (fstat(doorfd, &st) < 0) { 164 (void) printf("\t\tuid = %d, gid = %d, mode = %o\n", st.st_uid, 165 st.st_gid, st.st_mode); 166 (void) printf("\t\toutstanding requests = %d\n", st.st_nlink-1); 209 if (fstat(doorfd, &st) < 0) { 216 (void) printf("\t\tuid = %d, gid = %d, mode = %o\n", st.st_uid, 217 st.st_gid, st [all...] |
/osnet-11/usr/src/lib/pam_modules/authtok_check/ |
H A D | dict.c | 57 struct stat st; local 61 if (stat(path, &st) == -1) { 123 struct stat st; local 136 if (stat(dict_hwm, &st) == -1 || 137 (stat(dict_pwd, &st) == -1 || st.st_size == 0) || 138 stat(dict_pwi, &st) == -1)
|
/osnet-11/usr/src/lib/libshell/common/bltins/ |
H A D | trap.c | 85 else if(*action=='+' && action[1]==0 && shp->st.self == &shp->global) 113 if(arg=shp->st.trap[sig]) 117 if(shp->st.trap[sig]) 118 free(shp->st.trap[sig]); 119 shp->st.trap[sig] = 0; 121 shp->st.trap[sig] = strdup(action); 124 if(shp->st.trap[sig]) 138 char **trapcom = (shp->st.otrapcom?shp->st.otrapcom:shp->st [all...] |
H A D | misc.c | 67 logdata.sh->st.ioset = 0; 213 struct sh_scoped savst, *prevscope = shp->st.self; 262 *prevscope = shp->st; 263 shp->st.lineno = np?((struct functnod*)nv_funtree(np))->functline:1; 264 shp->st.var_local = shp->st.save_tree = shp->var_tree; 267 shp->st.filename = filename; 268 shp->st.lineno = 1; 272 shp->st.prevst = prevscope; 273 shp->st [all...] |
H A D | getopts.c | 100 argv = shp->st.dolv; 101 argc = shp->st.dolc; 103 opt_info.index = shp->st.optindex; 104 opt_info.offset = shp->st.optchar; 113 shp->st.opterror = 1; 141 shp->st.opterror = 1; 149 if(shp->st.opterror) 173 shp->st.optindex = opt_info.index; 174 shp->st.optchar = opt_info.offset;
|
H A D | alarm.c | 136 tptop= (struct tevent*)shp->st.timetrap; 209 shp->st.timetrap = time_delete(tp,shp->st.timetrap); 211 shp->st.timetrap = time_add(tp,shp->st.timetrap); 216 shp->st.timetrap = time_delete(tp,shp->st.timetrap); 257 print_alarms(shp->st.timetrap);
|
/osnet-11/usr/src/lib/libshell/common/sh/ |
H A D | main.c | 127 shp->st.filename = path_fullname(shp,stakptr(PATH_OFFSET)); 265 shp->st.cmdname = error_info.id = command; 299 if (shp->st.repl_index > 0) 300 av[shp->st.repl_index] = shp->st.repl_arg; 307 shp->st.dolv[0] = av[0]; 308 fixargs(shp->st.dolv,1); 325 shp->st.filename = path_fullname(shp,name); 338 shp->st.filename = path_fullname(shp,sp); 352 if(shp->st [all...] |
H A D | fault.c | 87 trap = shp->st.trapcom[sig]; 253 shp->st.trapcom = (char**)calloc(n,sizeof(char*)); 280 sh.st.otrapcom = 0; 325 register int flag, sig=sh.st.trapmax; 328 if(trap=sh.st.trapcom[sig]) 335 sh.st.trapcom[sig] = 0; 349 if(trap=sh.st.trap[sig]) 353 sh.st.trap[sig] = 0; 357 sh.st.trapcom[0] = 0; 359 sh.st [all...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/File/ |
H A D | stat.pm | 49 my $st = populate(CORE::stat $arg); 50 return $st if $st; 72 $st = stat($file) or die "No $file: $!"; 73 if ( ($st->mode & 0111) && $st->nlink > 1) ) {
|
/osnet-11/usr/src/lib/libast/common/comp/ |
H A D | open.c | 53 struct stat st; 77 if (fstat(fd, &st) || (st.st_mode & S_IPERM))
|
H A D | fcntl.c | 56 struct stat st; 71 op = fstat(fd, &st);
|
H A D | nftw.c | 38 struct stat st; local 42 else if ((n & FTW_SL) && (!(nftw_flags & FTW_PHYSICAL) || stat(ftw->path, &st)))
|
/osnet-11/usr/src/lib/cfgadm_plugins/sbd/common/ |
H A D | ap_sbd.c | 229 sbd_stat_t *st; local 249 st = (sbd_stat_t *)a->stat; 254 if (a->ncm > st->s_nstat) { 256 DBG("ncm=%d nstat=%d (truncated)\n", a->ncm, st->s_nstat); 258 a->ncm = st->s_nstat; 279 for (dst = st->s_stat, i = 0; i < st->s_nstat; i++, dst++) { 400 sbd_stat_t *st; local 402 st = (sbd_stat_t *)a->stat; 405 a->bnum, st 799 sbd_stat_t *st; local 826 sbd_stat_t *st; local 992 sbd_stat_t *st; local 1016 sbd_stat_t *st; local 1060 sbd_stat_t *st; local [all...] |
/osnet-11/usr/src/lib/libunistat/common/ |
H A D | spcs_log.c | 56 struct stat st; local 67 if (stat(sessionlog, &st) == 0) { 68 if (st.st_size > MAX_SESSION_LOG) {
|
/osnet-11/usr/src/lib/brand/shared/brand/amd64/ |
H A D | crt.s | 65 movq 16(%rbp), %rdi / argc in %rax (1st param)
|
/osnet-11/usr/src/lib/libast/common/sfio/ |
H A D | sfsetbuf.c | 56 #define sysfstatf(fd,st) (-1) 110 sfstat_t st; local 214 st.st_mode = 0; 230 if(sysfstatf((int)f->file,&st) < 0) 235 f->blksz = (size_t)st.st_blksize; 238 if(S_ISDIR(st.st_mode) || (Sfoff_t)st.st_size < (Sfoff_t)SF_GRAIN) 240 if(S_ISREG(st.st_mode) || S_ISDIR(st.st_mode)) 257 { f->extent = (Sfoff_t)st [all...] |
/osnet-11/usr/src/lib/libc/sparc/fp/ |
H A D | fpgetrnd.s | 38 st %fsr, [%sp+ARGPUSH] ! get fsr value
|
H A D | fpsetmask.s | 49 st %fsr, [%sp+ARGPUSH] ! get fsr value 54 st %o1, [%sp+ARGPUSH] ! move new fsr value to memory
|
H A D | fpsetrnd.s | 40 st %fsr, [%sp+ARGPUSH] ! get fsr value 45 st %o1, [%sp+ARGPUSH] ! move new fsr value to memory
|
/osnet-11/usr/src/lib/libc/sparcv9/fp/ |
H A D | fpgetrnd.s | 38 st %fsr, [%sp+STACK_BIAS+ARGPUSH] ! get fsr value
|
/osnet-11/usr/src/grub/grub2/util/ |
H A D | getroot.c | 289 struct stat st, specialst; local 293 if (stat (dir, &st) != 0) 306 if (st.st_dev == specialst.st_rdev) { 381 struct stat st; local 393 if (stat (*pdevice, &st) == 0) 466 int st; local 476 st = 0; 477 while (st < 3) 486 switch (st) 494 st 578 struct stat st; local 828 struct stat st; local 908 struct stat st; local 1483 struct stat st; local 1518 struct stat st; local 1532 struct stat st; local 1612 struct stat st; local 1654 struct stat st; local [all...] |
/osnet-11/usr/src/lib/libpp/common/ |
H A D | ppfsm.h | 39 #define TERM(st) ((st)&((1<<(BITTERM+1))-1)) 40 #define NEXT(st) (((st)>>(BITTERM+1))&((1<<BITNONTERM)-1)) 41 #define QUAL(st) (((st)<<(BITTERM+1))|(S_QUAL)) 42 #define TYPE(st) (NEXT(st)+N_PP)
|
/osnet-11/usr/src/lib/libc/amd64/fp/ |
H A D | _xtoull.s | 46 fcomip %st(1),%st /* compare 2**63 to x */
|