Home
last modified time | relevance | path

Searched refs:pn (Results 1 – 25 of 32) sorted by relevance

12

/original-bsd/usr.bin/finger/
H A Dutil.c72 enter_lastlog(pn) in enter_lastlog() argument
124 PERSON *pn;
128 w = walloc(pn);
143 PERSON *pn; local
154 memmove(&pn, data.data, sizeof pn);
155 return (pn);
162 pn = palloc();
170 return (pn);
210 walloc(pn) in walloc() argument
218 pn->whead = pn->wtail = w;
[all …]
H A Dlprint.c48 register PERSON *pn; in lflag_print() local
60 pn = tmp; in lflag_print()
63 lprint(pn); in lflag_print()
75 lprint(pn) in lprint() argument
76 register PERSON *pn; in lprint()
95 pn->name, pn->realname, pn->dir);
96 (void)printf("\tShell: %-s\n", *pn->shell ? pn->shell : _PATH_BSHELL);
105 if (pn->office && pn->officephone &&
106 strlen(pn->office) + strlen(pn->officephone) +
109 OFFICE_TAG, pn->office, prphone(pn->officephone));
[all …]
H A Dsprint.c35 register PERSON *pn; in sflag_print() local
66 pn = tmp; in sflag_print()
68 for (w = pn->whead; w != NULL; w = w->next) { in sflag_print()
70 pn->name, MAXREALNAME, MAXREALNAME, in sflag_print()
71 pn->realname ? pn->realname : ""); in sflag_print()
95 office: if (pn->office) in sflag_print()
96 (void)printf(" %-10.10s", pn->office); in sflag_print()
97 else if (pn->officephone) in sflag_print()
99 if (pn->officephone) in sflag_print()
101 prphone(pn->officephone)); in sflag_print()
H A Dfinger.c122 register PERSON *pn; in loginlist() local
135 if ((pn = find_person(user.ut_name)) == NULL) { in loginlist()
139 pn = enter_person(pw); in loginlist()
141 enter_where(&user, pn); in loginlist()
162 register PERSON *pn; local
226 if ((pn = find_person(user.ut_name)) == NULL)
228 enter_where(&user, pn);
/original-bsd/lib/libc/stdlib/
H A Dqsort.c74 char *pa, *pb, *pc, *pd, *pl, *pm, *pn; local
89 pn = a + (n - 1) * es;
94 pn = med3(pn - 2 * d, pn - d, pn, cmp);
96 pm = med3(pl, pm, pn, cmp);
134 pn = a + n * es;
137 r = min(pd - pc, pn - pd - es);
138 vecswap(pb, pn - r, r);
143 a = pn - r;
/original-bsd/sys/news3400/bm/
H A Dvt100esc.c498 erase_disp(sp, pn) in erase_disp() argument
500 register int pn;
504 switch (pn) {
536 register int pn;
540 switch(pn) {
566 register int pn;
571 pn = max(pn, 1);
591 register int pn;
597 pn = max(pn, 1);
617 register int pn;
[all …]
/original-bsd/games/rogue/
H A Dinit.c53 char *pn; local
56 pn = md_gln();
57 if ((!pn) || (strlen(pn) >= MAX_OPT_LEN)) {
60 (void) strcpy(login_name, pn);
/original-bsd/games/monop/
H A Dtrade.c70 reg int sn, pn; local
78 sn = struct_no, pn = play_no;
79 pp = &play[pn];
81 tp->trader = pn;
82 printf("player %s (%d):\n", pp->name, pn+1);
97 add_list(pn, &(tp->prop_list), sqnum(op->sqr));
/original-bsd/old/adb/scripts.vax/
H A Dstacktrace2 rpb+8,(intstack-rpb)%4/aX^pn
H A Dframe1 ./"handler"16t"psr"16t"mask"nXx8txn"ap"16t"fp"16t"pc"n3X^pn
/original-bsd/old/pcc/c2.tahoe/
H A Dc21.c216 register struct node *pn; in bmove() local
234 if ((pn = pf->forw)->op != CBR) goto std; in bmove()
235 if (pn->subop != JEQ && pn->subop != JNE) goto std; in bmove()
237 pn->subop = (pn->subop == JEQ) ? JBC : JBS; in bmove()
240 pn->code = p->code; pn->pop = NULL; in bmove()
243 p = pn; in bmove()
351 if ((pn = pf->forw)->op != CBR) goto std; in bmove()
352 if (pn->subop != JEQ && pn->subop != JNE) goto std; in bmove()
354 pn->subop = (pn->subop == JEQ) ? JBC : JBS; in bmove()
357 pn->code = p->code; pn->pop = NULL; in bmove()
[all …]
/original-bsd/old/roff/common_source/
H A Dv.h10 struct v {int pn,nl,yr,hp,ct,dn,mo,dy,dw,ln,dl,st,sb,cd; member
H A Dn7.c439 opn = v.pn;
440 v.pn++;
442 v.pn = npn;
446 if(v.pn == pfrom){
448 }else if(opn == pto || v.pn > pto){
H A Dn5.c338 i = max(inumb(&v.pn),0); in casepn()
352 if((i = inumb(&v.pn)) < 0)i = 0; in casebp()
485 if(!(v.pn & 01))true++;
488 if(v.pn & 01)true++;
/original-bsd/local/ditroff/ditroff.okeeffe/troff/
H A Dv.h1 struct v {int pn,nl,yr,hp,ct,dn,mo,dy,dw,ln,dl,st,sb,cd,pid; member
H A Dn10.c215 char *getint(s, pn) /* find integer at s */ in getint() argument
217 int *pn;
221 *pn = 0;
223 *pn = 10 * *pn + *s++ - '0';
/original-bsd/local/ditroff/ditroff.okeeffe/
H A Dv.h1 struct v {int pn,nl,yr,hp,ct,dn,mo,dy,dw,ln,dl,st,sb,cd,pid; member
H A Dn10.c215 char *getint(s, pn) /* find integer at s */ in getint() argument
217 int *pn;
221 *pn = 0;
223 *pn = 10 * *pn + *s++ - '0';
/original-bsd/usr.bin/pascal/eyacc/
H A Dey1.c149 int i, s, *pn; in summary() local
170 pn = (int *)pstate[nstate+1]; in summary()
172 fprintf( cout , "memory: states,etc. %d/%d, parser %d/%d\n", pn-mem0, memsiz, in summary()
/original-bsd/bin/csh/
H A Dparse.c416 register struct wordent *p, *pn; local
437 pn = p->next;
438 if (pn != p2 && pn->word[0] == '&') {
444 if (pn != p2 && pn->word[0] == '&')
445 p = pn;
/original-bsd/sys/vax/vax/
H A Dkdb_machdep.c280 register int pn, *pte, opte = 0; local
289 pn = btop((int)addr &~ 0x80000000);
290 pte = (int *)&Sysmap[pn];
/original-bsd/old/make/
H A Dfiles.c655 struct nameblock *pn; local
668 if (((pn = srchname(name)) != 0) && (pn->alias))
669 q = pn->alias;
/original-bsd/sys/tahoe/tahoe/
H A Dkdb_machdep.c296 register int pn, *pte, opte = 0; local
308 pn = btop((int)addr &~ 0xc0000000);
309 pte = (int *)&Sysmap[pn];
/original-bsd/usr.bin/vgrind/
H A Dtmac.vgrind36 'pn 1
/original-bsd/etc/
H A Dremote9 # pn phone numbers (@ =>'s search phones file; possibly taken from

12