Home
last modified time | relevance | path

Searched refs:scp (Results 1 – 22 of 22) sorted by relevance

/original-bsd/games/robots/
H A Dscore.c53 for (scp = Top; scp < &Top[MAXSCORES]; scp++) in score()
61 for (scp = Top; scp < &Top[MAXSCORES]; scp++) in score()
68 set_name(scp); in score()
90 for (scp = Top; scp < &Top[MAXSCORES]; scp++) { in score()
94 if (!done_show && scp->s_uid == uid && scp->s_score == Score) in score()
96 printw(" %d\t%d\t%-8.8s ", (scp - Top) + 1, scp->s_score, scp->s_name); in score()
97 if (!done_show && scp->s_uid == uid && scp->s_score == Score) { in score()
113 set_name(scp) in set_name() argument
148 for (scp = Top; scp < &Top[MAXSCORES]; scp++) in show_score()
155 for (scp = Top; scp < &Top[MAXSCORES]; scp++) in show_score()
[all …]
/original-bsd/games/atc/
H A Dgraphics.c97 setup_screen(scp) in setup_screen() argument
98 C_SCREEN *scp; in setup_screen()
107 radar = newwin(scp->height, scp->width * 2, 0, 0);
111 cleanradar = newwin(scp->height, scp->width * 2, 0, 0);
137 draw_line(radar, scp->line[i].p1.x, scp->line[i].p1.y,
138 scp->line[i].p2.x, scp->line[i].p2.y, str);
144 for (i = 0; i < scp->width - 1; i++)
150 wmove(radar, scp->height - 1, 0);
165 wmove(radar, scp->beacon[i].y, scp->beacon[i].x * 2);
170 wmove(radar, scp->exit[i].y, scp->exit[i].x * 2);
[all …]
/original-bsd/sys/vax/vax/
H A Dmachdep.c393 fp->sf_scp = scp;
399 fp->sf_scpcopy = scp;
404 scp->sc_mask = mask;
405 scp->sc_sp = regs[SP];
406 scp->sc_fp = regs[FP];
407 scp->sc_ap = regs[AP];
408 scp->sc_pc = regs[PC];
409 scp->sc_ps = regs[PS];
438 scp = uap->sigcntxp;
439 if (useracc((caddr_t)scp, sizeof (*scp), B_WRITE) == 0)
[all …]
/original-bsd/sys/tahoe/tahoe/
H A Dmachdep.c360 fp->sf_scp = scp;
365 fp->sf_scpcopy = scp;
370 scp->sc_mask = mask;
371 scp->sc_sp = regs[SP];
372 scp->sc_fp = regs[FP];
373 scp->sc_pc = regs[PC];
374 scp->sc_ps = regs[PS];
401 scp = uap->sigcntxp;
402 if (useracc((caddr_t)scp, sizeof (*scp), 0) == 0)
409 regs[FP] = scp->sc_fp;
[all …]
/original-bsd/old/games.vax/compat/
H A Ddosig.c23 sigcatch(signum, faultcode, scp) in sigcatch() argument
25 struct sigcontext *scp;
40 pcptr = (unsigned short *) &scp->sc_pc;
43 psl = 0x83c00000 | (scp->sc_ps & 017);
49 sigsetmask(scp->sc_mask);
H A Druncompat.c173 illtrap(signum, faultcode, scp) in illtrap() argument
175 struct sigcontext *scp;
187 pcptr = (unsigned short *) &scp->sc_pc;
197 psl = 0x83c00000 | (scp->sc_ps & 017);
198 sigsetmask(scp->sc_mask);
/original-bsd/sys/sparc/sparc/
H A Dmachdep.c461 struct sigcontext *scp; member
468 register struct sigcontext *scp; local
480 scp = uap->scp;
481 if ((int)scp & 3 || useracc((caddr_t)scp, sizeof *scp, B_WRITE) == 0)
489 if (((scp->sc_pc | scp->sc_npc) & 3) != 0)
493 tf->tf_pc = scp->sc_pc;
494 tf->tf_npc = scp->sc_npc;
495 tf->tf_global[1] = scp->sc_g1;
496 tf->tf_out[0] = scp->sc_o0;
497 tf->tf_out[6] = scp->sc_sp;
[all …]
H A Dlocore.s2467 call %g1 ! (*sa->sa_handler)(sig,code,scp,arg3)
2468 add %fp, 64 + 16, %o2 ! scp
2505 add %sp, 64 + 16, %o0 ! compute scp
2506 t ST_SYSCALL ! sigreturn(scp)
/original-bsd/sys/luna68k/luna68k/
H A Dmachdep.c539 register struct sigcontext *scp; variable
546 scp = uap->sigcntxp;
551 if ((int)scp & 1)
557 if (useracc((caddr_t)scp, sizeof (*scp), B_WRITE) == 0 ||
560 scp = &tsigc;
566 if (scp->sc_onstack & 01)
572 frame->f_regs[SP] = scp->sc_sp;
573 frame->f_regs[A6] = scp->sc_fp;
574 frame->f_pc = scp->sc_pc;
575 frame->f_sr = scp->sc_ps;
[all …]
/original-bsd/sys/news3400/news3400/
H A Dmachdep.c563 register struct sigcontext *scp; variable
568 scp = uap->sigcntxp;
571 printf("sigreturn: pid %d, scp %x\n", p->p_pid, scp);
591 scp = &ksc;
595 if (scp->sc_onstack & 01)
599 p->p_sigmask = scp->sc_mask &~ sigcantmask;
600 regs[PC] = scp->sc_pc;
601 bcopy((caddr_t)&scp->sc_regs[1], (caddr_t)&regs[1],
602 sizeof(scp->sc_regs) - sizeof(int));
603 if (scp->sc_fpused)
[all …]
H A Dlocore.s162 li v0, SYS_sigreturn # sigreturn(scp)
/original-bsd/sys/hp300/hp300/
H A Dmachdep.c882 scp = uap->sigcntxp;
887 if ((int)scp & 1)
909 useracc((caddr_t)scp, sizeof (*scp), B_WRITE) == 0 ||
937 if (useracc((caddr_t)scp, sizeof (*scp), B_WRITE) == 0 ||
940 scp = &tsigc;
946 if (scp->sc_onstack & 01)
952 frame->f_regs[SP] = scp->sc_sp;
953 frame->f_regs[A6] = scp->sc_fp;
954 frame->f_pc = scp->sc_pc;
955 frame->f_sr = scp->sc_ps;
[all …]
/original-bsd/sys/i386/i386/
H A Dmachdep.c411 register struct sigcontext *scp; variable
426 scp = fp->sf_scp;
427 if (useracc((caddr_t)scp, sizeof (*scp), 0) == 0)
430 if ((scp->sc_ps & PSL_MBZ) != 0 || (scp->sc_ps & PSL_MBO) != PSL_MBO) {
434 if (scp->sc_onstack & 01)
438 p->p_sigmask = scp->sc_mask &~
440 regs[sEBP] = scp->sc_fp;
441 regs[sESP] = scp->sc_sp;
442 regs[sEIP] = scp->sc_pc;
443 regs[sEFLAGS] = scp->sc_ps;
/original-bsd/sys/pmax/pmax/
H A Dmachdep.c1083 register struct sigcontext *scp; variable
1088 scp = SCARG(uap, sigcntxp);
1091 printf("sigreturn: pid %d, scp %x\n", p->p_pid, scp);
1111 scp = &ksc;
1115 if (scp->sc_onstack & 01)
1119 p->p_sigmask = scp->sc_mask &~ sigcantmask;
1120 regs[PC] = scp->sc_pc;
1121 bcopy((caddr_t)&scp->sc_regs[1], (caddr_t)&regs[1],
1122 sizeof(scp->sc_regs) - sizeof(int));
1123 if (scp->sc_fpused)
[all …]
H A Dlocore.s147 li v0, SYS_sigreturn # sigreturn(scp)
/original-bsd/local/kerberosIV/kdb_edit/
H A Dkdb_edit.c449 sig_exit(sig, code, scp) in sig_exit() argument
451 struct sigcontext *scp;
456 sig, code, scp->sc_pc);
/original-bsd/usr.bin/unifdef/
H A Dunifdef.c321 char *scp; local
353 scp = cp = skipcomment (++cp);
361 if ((symind = findsym (scp)) >= 0)
/original-bsd/old/dbx/
H A Druntime.iris.c175 Address scp; local
177 dread(&scp, prev_frame + 16, sizeof(scp));
179 &(((struct sigcontext *)scp)->sc_pc), sizeof(Word)
H A Druntime.sun.c175 Address scp; local
177 dread(&scp, prev_frame + 16, sizeof(scp));
179 &(((struct sigcontext *)scp)->sc_pc), sizeof(Word)
/original-bsd/share/doc/psd/05.sysman/
H A Dspell.ok270 scp
/original-bsd/old/pcc/lint/llibs/
H A Dllib-lc144 int sigreturn(scp) struct sigcontext *scp; { return -1; }
/original-bsd/usr.sbin/amd/doc/
H A Damdref.texinfo561 Celerity FPX 4.1/2. Contributed by Stephen Pope @t{<scp@@grizzly.acl.lanl.gov>}