Searched defs:up (Results 1 - 18 of 18) sorted by relevance

/ast/src/lib/libcs/
H A Dcsnote.c55 long up; local
57 if (sp->up < 0)
59 idle = -sp->up;
60 up = 0;
65 up = sp->up;
72 a = (encode(up) << 16) | encode(idle);
77 return touch(name, (encode(up) << 16) | encode(idle), (((sp->load >> 3) & 0377) << 24) | ((sp->pctsys & 0377) << 16) | ((sp->pctusr & 0377) << 8) | (sp->users & 0377), -1);
H A Dcs.h168 long up; /* up (down<0) time in secs */ member in struct:__anon335
/ast/src/lib/libast/comp/
H A Dgetoptl.c37 static Sfio_t* up; variable
49 if (!up || optstring != lastoptstring || longopts != lastlongopts)
51 if (!up && !(up = sfstropen()) || !(t = strdup(optstring)))
53 sfprintf(up, "[-1p%d]", flags);
57 sfprintf(up, "\n[%d:%s]", UCHAR_MAX + 1 + (o - longopts), o->name);
60 sfprintf(up, "\n[%c:%s]", o->val, o->name);
74 sfputc(up, ':');
76 sfputc(up, '?');
77 sfprintf(up, "[strin
[all...]
/ast/src/cmd/std/
H A Dtouch.c91 "times that can be set. These limitations may not show up until a "
123 Tv_t* up; local
131 up = 0;
156 up = &uv;
157 tmx2tv(t, up);
192 up = &uv;
196 tvgetatime(up, &st);
199 tvgetctime(up, &st);
202 tvgetmtime(up, &st);
207 else if (!use && !up)
[all...]
/ast/src/cmd/tests/sfio/
H A Dtdisc.c144 char buf[1024], low[64], up[64]; local
154 u = up;
192 if(strcmp(s,up) != 0)
/ast/src/cmd/3d/
H A Dpathreal.c416 const char* up; local
418 if ((mp = getmount(sp, &up)) && (mp->fs->flags & FS_NAME) && (sp = fsreal(mp, MSG_open, (char*)up)) && !LSTAT(sp, st))
H A Dfs.c99 * return real fd for up under mount mp to be accessed by call
104 fsreal(register Mount_t* mp, long call, const char* up) argument
118 n = sfsprintf(s, sizeof(dev) - 1, "%s %-*s %s%s%-*s pwd=%s%s%s", msgname(call), lz, mp->logical, up, pz ? " physical=" : "", pz, mp->physical ? mp->physical : "", state.pwd, mp->fs->attr, mp->attr);
155 const char* up; local
177 up = 0;
208 if (sp) mp = getmount(sp, &up);
307 fd = strtol(up, (char**)&ep, 0);
328 else if ((sp = (const char*)fsreal(mp, MSG_open, up)) && (fd = fsfd(mp->fs)) > 0)
337 up = sp;
340 sp = up;
[all...]
/ast/src/lib/libpp/
H A Dppsearch.c114 register struct ppdirs* up; local
334 for (up = dp->info.subdir; up; up = up->next)
335 if (up->name == prefix)
337 if (!up)
339 up = newof(0, struct ppdirs, 1, 0);
340 up->name = prefix;
341 up
[all...]
/ast/src/cmd/builtin/
H A Dwho.c167 static void outline(Sfio_t *out,register struct utmpx *up,register State_t* sp) argument
170 time_t t = up->ut_time;
172 char line[sizeof(up->ut_line)+6];
176 sfsprintf(line,sizeof(line),"/dev/%s\0",up->ut_line);
184 sfprintf(out,"%-*.*s %c %-*.*s %.12s ",sp->siz_user,sp->siz_user,up->ut_user,state,sp->siz_line,sp->siz_line,up->ut_line,date+4);
187 sfprintf(out,"%-*.*s %-*.*s %.12s ",sp->siz_user,sp->siz_user,up->ut_user,sp->siz_line,sp->siz_line,up->ut_line,date+4);
191 sfsprintf(line,sizeof(line),"/dev/%s\0",up->ut_line);
194 t = (t-(up
[all...]
/ast/src/cmd/ksh93/bltins/
H A Dread.c296 /* set up state table based on IFS */
345 char buf[256],*var=buf,*cur,*end,*up,*v; local
355 up = cur = var;
408 ssize_t cx = cur - var, ux = up - var;
419 up = var + ux;
435 while (up < cur && (z = mbsize(up)) > 0)
437 up += z;
440 if((size -= x) > 0 && (up >= cur || z < 0) && ((flags & NN_FLAG) || z < 0 || m > c))
446 if(!binary && mbwide() && (up
[all...]
/ast/src/cmd/mailx/
H A Dlocal.c174 register struct name* up; local
177 up = dictsearch(&state.userid, name, INSERT);
178 if (!up->value)
179 up->flags = (pw = getpwnam(name)) ? pw->pw_uid : -1;
180 return up->flags;
/ast/src/lib/libdss/
H A Ddssopen.c228 Sfio_t* up; local
234 if (!(up = sfstropen()))
240 sfprintf(up, "%s", usage);
242 if (tagusage(dss_tags, up, &tagdisc))
244 sfclose(up);
247 sfputc(up, '}');
248 sfputc(up, '\n');
249 if (!(us = sfstruse(up)))
251 sfclose(up);
272 sfclose(up);
[all...]
/ast/src/cmd/ksh93/include/
H A Dname.h52 union Value *up; /* for indirect node */ member in union:Value
/ast/src/cmd/ksh93/sh/
H A Darray.c198 register union Value *up; local
212 up = &mp->nvalue;
222 up = &np->nvalue;
224 up->cp = *(((char**)fp->data)+fp->curi);
226 up->cp = fp->data+fp->size*fp->curi;
233 up = &(ap->val[ap->cur]);
243 return(up);
249 union Value *up; local
254 up = &(ap->val[ap->cur]);
255 if(up
275 register union Value *up; local
607 register union Value *up; local
936 union Value *up; local
1029 union Value *up; local
[all...]
H A Dnvdisc.c254 union Value *up = np->nvalue.up; local
304 np->nvalue.up = up;
376 union Value *up = np->nvalue.up; local
410 np->nvalue.up = up;
H A Dname.c1599 register union Value *up; local
1639 up= &np->nvalue;
1642 if(!np->nvalue.up || !nv_isarray(np))
1644 up = &u;
1645 up->up = &np->nvalue;
1649 else if(np->nvalue.up && nv_isarray(np) && (ap=nv_arrayptr(np)) && !ap->fixed)
1651 else if(np->nvalue.up && nv_isarray(np) && nv_arrayptr(np))
1653 up = np->nvalue.up;
2486 register union Value *up; local
2771 register union Value *up= &np->nvalue; local
2903 register union Value *up; local
[all...]
/ast/src/cmd/dsslib/bgp/
H A Dbgp-mrt.c809 unsigned char* up; local
1100 BGPALLOC(rp, state->size, unsigned char, up, k, &rp->extended, "extended community list", disc);
1101 AE(up, state->buf, k);
/ast/src/cmd/html/
H A Dtroff2html.c427 convert(long n, int up, int scale) argument
435 if (up)
441 if (up)
447 if (up)
453 if (up)
459 if (up)
466 if (up)
472 if (up)
482 if (up)

Completed in 69 milliseconds