Searched refs:pr (Results 1 - 18 of 18) sorted by relevance

/ast/src/cmd/std/
H A Dpss-pstat.c48 struct pst_status* pr;
94 state->pr = state->pp++;
95 pss->pid = state->pr->pst_pid;
103 register struct pst_status* pr = state->pr;
105 pe->pid = pr->pst_pid;
106 pe->pgrp = pr->pst_pgrp;
107 pe->tty = pr->pst_term.psd_major == -1 && pr->pst_term.psd_minor == -1 ? PSS_NODEV : makedev(pr
[all...]
H A Dpss-procfs.c105 struct prpsinfo pr;
167 register struct prpsinfo* pr = &state->pr;
189 memset(pr, sizeof(*pr), 0);
190 n = sfsscanf(pss->buf, _PS_scan_format, _PS_scan_args(pr));
203 n = sfsscanf(pss->buf, _PS_scan_format, _PS_scan_args(pr));
208 _PS_scan_fix(pr, pe);
214 pr->pr_uid = st.st_uid;
215 pr
[all...]
H A Dpss-getprocs.c60 struct procsinfo* pr;
112 state->pr = state->entry + state->index++;
120 register struct procsinfo* pr;
122 pr = state->pr;
123 pe->pid = state->pr->pi_pid;
124 pe->pgrp = pr->pi_pgrp;
125 pe->sid = pr->pi_sid;
126 pe->tty = pr->pi_ttyp ? pr
[all...]
H A Dpss-cygwin.c108 register struct external_pinfo* pr;
110 if (!(pr = (struct external_pinfo*)cygwin_internal(CW_GETPINFO, pss->pid)) || !pr->pid)
112 pss->data = (void*)pr;
113 pe->gid = pr->gid;
114 pe->pgrp = pr->pgid;
115 pe->sid = pr->sid;
116 pe->tty = pr->ctty == PRNODEV ? PSS_NODEV : pr->ctty;
117 pe->uid = pr
[all...]
H A Dpss-info.c43 struct pentry* pr;
113 state->pr = state->pp++;
114 pss->pid = state->pr->pid;
122 register struct pentry* pr = state->pr;
124 pe->pid = pr->pid;
125 pe->pgrp = pr->pgroup;
126 pe->tty = pr->cdevnum == -1 ? PSS_NODEV : pr->cdevnum;
127 pe->uid = pr
[all...]
H A Dpss-kvm.c115 struct extern_proc* pr;
171 state->pr = &state->kp->kp_proc;
182 pe->pid = state->pr->p_pid;
189 switch (state->pr->p_stat)
213 s = state->pr->p_comm;
223 s = state->pr->p_comm;
233 pe->addr = state->pr->p_addr;
236 pe->wchan = state->pr->p_wchan;
238 pe->flags = state->pr->p_flag;
239 pe->nice = state->pr
[all...]
H A Dps.c829 register Pssent_t* pr; local
843 pr = pp->ps;
849 if (pr->state == PSS_ZOMBIE)
851 n = (long)pr->addr;
854 if (pr->state == PSS_ZOMBIE)
856 s = pr->sched;
859 s = pr->args;
862 s = pr->command;
876 if (pr->state == PSS_ZOMBIE)
878 n = pr
[all...]
H A Dls.c326 char* dirnam; /* pr() dirnam */
327 int dirlen; /* pr() dirlen */
802 pr(register List_t* lp, Ftw_t* ftw, register int fill) function
834 * pr() ftw directory child list in column order
901 pr(lp, p, 0);
911 pr(lp, p, 0);
983 pr(lp, x[w], l < (k - 1) && w < (i - 1) ? siz[l] : 0);
1031 pr(lp, x[w], l < (k - 1) && w < (i - n) ? siz[l] : 0);
1305 pr(&list, ftw, 0);
/ast/src/lib/libvcodex/
H A Dvclzparse.c35 #define NEXTPAIR(pr) ((pr)->size < MAXPAIR-1 ? ((pr)->mtch + (pr)->size++) : NIL(Vclzmatch_t*))
125 static ssize_t extend(Vclzparse_t* vcpa, Pair_t* pr, int type) argument
127 static ssize_t extend(vcpa, pr, type)
129 Pair_t* pr;
135 Vclzmatch_t *mt = pr->mtch + pr->size - 1;
180 else if(!(mt = NEXTPAIR(pr)) )
[all...]
/ast/src/cmd/ksh93/tests/
H A Dalias.sh97 ( alias :pr=print) 2> /dev/null || err_exit 'alias beginning with : fails'
/ast/src/lib/libcmd/
H A Dcksum.c178 pr(State_t* state, Sfio_t* op, Sfio_t* ip, char* file, int perm, struct stat* st, Sfio_t* check) function
308 pr(state, rp, sp, file, -1, NiL, NiL);
414 pr(state, sfstdout, sp, file, state->permissions, NiL, state->check);
591 pr(&state, sfstdout, sfstdin, "/dev/stdin", state.permissions, NiL, state.check);
606 pr(&state, sfstdout, sp, ent->fts_path, state.permissions, ent->fts_statp, state.check);
/ast/src/lib/libexpr/
H A Dexgram.h75 register Print_t* pr; local
121 while (pr = pn)
123 for (i = 0; i < elementsof(pr->param) && pr->param[i]; i++)
124 exfreenode(p, pr->param[i]);
125 if (pr->arg)
126 exfreenode(p, pr->arg);
127 pn = pr->next;
128 vmfree(p->vm, pr);
/ast/src/cmd/builtin/
H A DMakefile82 nl LICENSE=since=2003,author=dgk asa od pr \
/ast/src/cmd/dsslib/stats/
H A Dstats.c619 Print_t pr; local
629 record.data = &pr;
630 pr.field = field;
631 pr.group = state->group;
632 pr.label = label;
633 pr.total = total;
634 pr.key = key;
/ast/src/cmd/sortlib/sync/
H A Dss.c1104 int pr; local
1128 pr = 4;
1133 pr = 3;
1138 pr = 8;
1143 pr = 8;
1148 pr = 8;
1153 pr = 8;
1158 pr = 8;
1163 pr = 8;
1172 if (precedence >= pr)
[all...]
/ast/lib/package/
H A Dpackage.mk911 pr -6 -t -s' ' |
/ast/src/cmd/INIT/
H A Dpackage.mk911 pr -6 -t -s' ' |
/ast/src/cmd/nmake/
H A DMakerules.mk377 CPRFLAGS = -pr
465 PR = pr
5194 print -um setv PR pr

Completed in 56 milliseconds