/openbsd-current/lib/libc/arch/mips64/sys/ |
H A D | sigpending.S | 40 PTR_SUBU sp, FRAMESZ 50 PTR_ADDU sp, FRAMESZ 55 PTR_ADDU sp, FRAMESZ
|
/openbsd-current/sys/dev/sbus/ |
H A D | spif.c | 294 struct stty_port *sp = &ssc->sc_port[port]; local 304 sp->sp_tty = tp; 305 sp->sp_sc = sc; 306 sp->sp_channel = port; 308 sp->sp_rbuf = malloc(STTY_RBUF_SIZE, M_DEVBUF, M_NOWAIT); 309 if(sp->sp_rbuf == NULL) 312 sp->sp_rend = sp->sp_rbuf + STTY_RBUF_SIZE; 325 struct stty_port *sp; local 342 sp 412 struct stty_port *sp = &sc->sc_port[SPIF_PORT(dev)]; local 437 struct stty_port *sp = &stc->sc_port[SPIF_PORT(dev)]; local 502 stty_modem_control(struct stty_port *sp, int bits, int how) argument 559 struct stty_port *sp = &st->sc_port[SPIF_PORT(tp->t_dev)]; local 655 struct stty_port *sp = &sc->sc_port[SPIF_PORT(dev)]; local 665 struct stty_port *sp = &sc->sc_port[SPIF_PORT(dev)]; local 675 struct stty_port *sp = &sc->sc_port[SPIF_PORT(dev)]; local 684 struct stty_port *sp = &sc->sc_port[SPIF_PORT(tp->t_dev)]; local 701 struct stty_port *sp = &stc->sc_port[SPIF_PORT(tp->t_dev)]; local 725 struct stty_port *sp; local 750 struct stty_port *sp; local 783 struct stty_port *sp; local 834 struct stty_port *sp; local 888 struct stty_port *sp; local [all...] |
/openbsd-current/usr.bin/yacc/ |
H A D | verbose.c | 189 short *sp; local 196 sp1 = sp = ritem + statep->items[i]; 198 while (*sp >= 0) 199 ++sp; 200 rule = -(*sp); 203 for (sp = ritem + rrhs[rule]; sp < sp1; sp++) 204 fprintf(verbose_file, "%s ", symbol_name[*sp]); 208 while (*sp > 258 shifts *sp; local 338 shifts *sp; local [all...] |
/openbsd-current/usr.bin/vi/common/ |
H A D | seq.c | 36 seq_set(SCR *sp, CHAR_T *name, size_t nlen, CHAR_T *input, size_t ilen, argument 51 seq_find(sp, &lastqp, NULL, input, ilen, stype, NULL)) != NULL) { 57 } else if ((p = v_strdup(sp, output, olen)) == NULL) { 68 CALLOC(sp, qp, 1, sizeof(SEQ)); 77 else if ((qp->name = v_strdup(sp, name, nlen)) == NULL) { 84 if ((qp->input = v_strdup(sp, input, ilen)) == NULL) { 94 } else if ((qp->output = v_strdup(sp, output, olen)) == NULL) { 100 msgq(sp, M_SYSERR, NULL); 111 LIST_INSERT_HEAD(&sp->gp->seqq, qp, q); 118 bit_set(sp 130 seq_delete(SCR *sp, CHAR_T *input, size_t ilen, seq_t stype) argument 165 seq_find(SCR *sp, SEQ **lastqp, EVENT *e_input, CHAR_T *c_input, size_t ilen, seq_t stype, int *ispartialp) argument 264 seq_dump(SCR *sp, seq_t stype, int isname) argument 309 seq_save(SCR *sp, FILE *fp, char *prefix, seq_t stype) argument [all...] |
H A D | cut.c | 65 cut(SCR *sp, CHAR_T *namep, MARK *fm, MARK *tm, int flags) argument 100 cb_rotate(sp); 107 namecb: CBNAME(sp, cbp, name); 111 cb_rotate(sp); 114 cbp = &sp->gp->dcb_store; 122 CALLOC_RET(sp, cbp, 1, sizeof(CB)); 125 LIST_INSERT_HEAD(&sp->gp->cutq, cbp, q); 137 if (cut_line(sp, lno, 0, CUT_LINE_TO_EOL, cbp)) 144 if (cut_line(sp, fm->lno, fm->cno, fm->lno != tm->lno ? 150 if (cut_line(sp, ln 186 cb_rotate(SCR *sp) argument 235 cut_line(SCR *sp, recno_t lno, size_t fcno, size_t clen, CB *cbp) argument 299 text_init(SCR *sp, const char *p, size_t len, size_t total_len) argument [all...] |
/openbsd-current/lib/libcrypto/bn/asm/ |
H A D | ppc64-mont.pl | 100 $sp="r1"; 159 # sp----------->+-------------------------------+ 160 # | saved sp | 214 subf $tp,$tp,$sp ; $sp-$tp 216 subf $tp,$sp,$tp ; $tp-$sp 217 mr $i,$sp 218 $STUX $sp,$sp, [all...] |
/openbsd-current/usr.bin/mandoc/ |
H A D | tbl.c | 110 struct tbl_span *sp; local 124 while ((sp = tbl->first_span) != NULL) { 125 tbl->first_span = sp->next; 126 while (sp->first != NULL) { 127 dp = sp->first; 128 sp->first = dp->next; 132 free(sp); 166 struct tbl_span *sp; local 173 sp = tbl->first_span; 174 while (sp ! [all...] |
/openbsd-current/games/gomoku/ |
H A D | pickmove.c | 61 struct spotstr *sp, *sp1, *sp2; local 70 for (sp = &board[PT(T,20)]; --sp >= &board[PT(A,1)]; ) { 71 sp->s_combo[BLACK].s = MAXCOMBO + 1; 72 sp->s_combo[WHITE].s = MAXCOMBO + 1; 73 sp->s_level[BLACK] = 255; 74 sp->s_level[WHITE] = 255; 75 sp->s_nforce[BLACK] = 0; 76 sp->s_nforce[WHITE] = 0; 77 sp 161 better(struct spotstr *sp, struct spotstr *sp1, int us) argument 218 struct spotstr *sp; local 535 struct spotstr *sp, *fsp; local 635 struct spotstr *sp; local 785 struct spotstr *sp; local 941 struct spotstr *sp; local 1329 struct spotstr *sp; local 1441 struct spotstr *sp; local [all...] |
/openbsd-current/lib/libcurses/ |
H A D | new_pair.h | 113 #define ValidPair(sp,pair) \ 114 ((sp != 0) && (pair >= 0) && (pair < sp->_pair_limit) && sp->_coloron) 122 #define _nc_free_ordered_pairs(sp) /* nothing */ 123 #define _nc_reset_color_pair(sp, pair, data) /* nothing */ 124 #define _nc_set_color_pair(sp, pair, mode) /* nothing */
|
/openbsd-current/usr.bin/vi/vi/ |
H A D | getc.c | 44 cs_init(SCR *sp, VCS *csp) argument 48 if (db_eget(sp, csp->cs_lno, (char **) &csp->cs_bp, &csp->cs_len, 51 msgq(sp, M_BERR, "Empty file"); 71 cs_next(SCR *sp, VCS *csp) argument 78 if (db_get(sp, ++csp->cs_lno, 0, &p, &csp->cs_len)) { 121 cs_fspace(SCR *sp, VCS *csp) argument 126 if (cs_next(sp, csp)) 141 cs_fblank(SCR *sp, VCS *csp) argument 144 if (cs_next(sp, csp)) 161 cs_prev(SCR *sp, VC argument 211 cs_bblank(SCR *sp, VCS *csp) argument [all...] |
/openbsd-current/usr.bin/ctags/ |
H A D | ctags.c | 168 unsigned char *sp; local 173 for (sp = CWHITE; *sp; sp++) /* white space chars */ 174 _wht[*sp] = YES; 176 for (sp = CINTOK; *sp; sp++) /* valid in-token chars */ 177 _itk[*sp] = YES; 179 for (sp [all...] |
/openbsd-current/lib/libcrypto/sha/asm/ |
H A D | sha1-mips.pl | 27 ($gp,$tp,$sp,$fp,$ra)=map("\$$_",(3,28..31)); 35 # - on O32 populate $a4-$a7 with 'lw $aN,4*N($sp)' if necessary; 43 # ($gp,$sp,$fp,$ra)=map("\$$_",(28..31)); 248 .frame $sp,$FRAMESIZE*$SZREG,$ra 251 $PTR_SUB $sp,$FRAMESIZE*$SZREG 252 $REG_S $ra,($FRAMESIZE-1)*$SZREG($sp) 253 $REG_S $fp,($FRAMESIZE-2)*$SZREG($sp) 254 $REG_S $s11,($FRAMESIZE-3)*$SZREG($sp) 255 $REG_S $s10,($FRAMESIZE-4)*$SZREG($sp) 256 $REG_S $s9,($FRAMESIZE-5)*$SZREG($sp) [all...] |
/openbsd-current/sys/arch/riscv64/include/ |
H A D | asm.h | 64 addi sp, sp, -16; \ 65 sd ra, 8(sp); \ 66 sd fp, 0(sp); \ 67 mv fp, sp; \ 69 ld ra, 8(sp); \ 70 ld fp, 0(sp); \ 71 add sp, sp, 16;
|
/openbsd-current/gnu/usr.bin/binutils/gdb/ |
H A D | remote-vxsparc.c | 65 CORE_ADDR sp; local 94 CORE_ADDR sp; local 115 ULONGEST sp; local 117 regcache_cooked_read_unsigned (regcache, SPARC_SP_REGNUM, &sp); 118 sparc_collect_rwindow (regcache, sp, regnum);
|
H A D | amd64fbsd-tdep.c | 42 CORE_ADDR sp; local 47 sp = frame_unwind_register_unsigned (next_frame, AMD64_RSP_REGNUM); 48 return sp + 16;
|
/openbsd-current/gnu/usr.bin/gcc/gcc/config/m68k/ |
H A D | amix.h | 103 register size_t sp = 0, limit = (LEN); \ 106 int ch = (PTR)[sp]; \ 115 if (++sp < limit) \ 117 if ((sp % 10) == 0) \ 126 } while (sp < limit); \
|
H A D | atari.h | 63 register size_t sp = 0, limit = (LEN); \ 66 int ch = (PTR)[sp]; \ 75 if (++sp < limit) \ 77 if ((sp % 10) == 0) \ 86 } while (sp < limit); \
|
/openbsd-current/gnu/llvm/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_rtl_aarch64.S | 43 stp x29, x30, [sp, -32]! 49 add x29, sp, 0 53 str x0, [sp, 16] 56 // Obtain SP, first argument to `void __tsan_setjmp(uptr sp)` 63 ldr x0, [sp, 16] 67 ldp x29, x30, [sp], 32 94 stp x29, x30, [sp, -32]! 100 add x29, sp, 0 104 str x0, [sp, 16] 107 // Obtain SP, first argument to `void __tsan_setjmp(uptr sp)` [all...] |
/openbsd-current/lib/libcurses/base/ |
H A D | lib_erase.c | 59 NCURSES_CH_T *sp; local 87 for (sp = start; sp <= end; sp++) 88 *sp = blank;
|
H A D | lib_color.c | 146 * vidattr - so we have to assume that sp may be null. 160 #define default_fg(sp) COLOR_WHITE 161 #define default_bg(sp) COLOR_BLACK 491 _nc_change_pair(SCREEN *sp, int pair) argument 495 if (CurScreen(sp)->_clear) 502 for (y = 0; y <= CurScreen(sp)->_maxy; y++) { 503 struct ldat *ptr = &(CurScreen(sp)->_line[y]); 505 for (x = 0; x <= CurScreen(sp)->_maxx; x++) { 520 _nc_reserve_pairs(SCREEN *sp, int want) argument 522 int have = sp 561 _nc_init_pair(SCREEN *sp, int pair, int f, int b) argument 708 _nc_init_color(SCREEN *sp, int color, int r, int g, int b) argument 831 _nc_color_content(SCREEN *sp, int color, int *r, int *g, int *b) argument 926 _nc_pair_content(SCREEN *sp, int pair, int *f, int *b) argument [all...] |
/openbsd-current/libexec/getty/ |
H A D | subr.c | 54 struct gettystrs *sp; local 65 for (sp = gettystrs; sp->field; sp++) 66 cgetstr(buf, sp->field, &sp->value); 85 for (sp = gettystrs; sp->field; sp++) 86 printf("cgetstr: %s=%s\n", sp 99 struct gettystrs *sp; local 119 struct gettystrs *sp; local [all...] |
/openbsd-current/usr.bin/tail/ |
H A D | read.c | 68 char *sp; local 73 if ((sp = p = malloc(off)) == NULL) 80 p = sp; 85 free(sp); 90 for (t = p - 1, len = 0; t >= sp; --t, ++len) 104 WR(sp, tlen); 111 WR(sp, tlen); 116 if ((len = p - sp)) 117 WR(sp, len); 120 free(sp); 149 char *sp = NULL, *newp = NULL; local [all...] |
/openbsd-current/regress/sys/kern/sysvshm/ |
H A D | shmtest.c | 252 print_shmid_ds(sp, mode) 253 struct shmid_ds *sp; 260 sp->shm_perm.uid, sp->shm_perm.gid, 261 sp->shm_perm.cuid, sp->shm_perm.cgid, 262 sp->shm_perm.mode & 0777); 265 (u_long)sp->shm_segsz, sp->shm_lpid, sp [all...] |
/openbsd-current/games/hunt/huntd/ |
H A D | makemaze.c | 52 char *sp; local 58 sp = &Maze[0][0]; 59 while (sp < &Maze[HEIGHT - 1][WIDTH]) 60 *sp++ = DOOR; 189 char *sp; local 194 sp = &Maze[y][x]; 195 if (*sp == SPACE) 211 *sp = WALL1; /* - */ 216 *sp = WALL2; /* | */ 220 *sp [all...] |
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/ |
H A D | 960312-1.c | 3 int *sp, fc, *sc, a[2]; member in struct:S 20 x->sp = t; 31 if (s.sp[2] != 2)
|