Home
last modified time | relevance | path

Searched refs:sp (Results 1 – 25 of 1545) sorted by relevance

12345678910>>...62

/openbsd/usr.bin/vi/vi/
H A Dvs_refresh.c69 gp = sp->gp; in vs_refresh()
254 for (; lcnt && sp->t_rows != sp->t_maxrows; in vs_paint()
265 for (; lcnt && sp->t_rows != sp->t_maxrows; in vs_paint()
276 for (; sp->t_rows > sp->t_minrows; in vs_paint()
326 lcnt = vs_sm_nlines(sp, HMAP, LNO, HALFTEXT(sp)); in vs_paint()
746 (void)vs_column(sp, &sp->rcm); in vs_paint()
810 (void)gp->scr_move(sp, LASTLINE(sp), 0); in vs_modeline()
835 KEY_NAME(sp, '.'), KEY_LEN(sp, '.')); in vs_modeline()
837 KEY_NAME(sp, ' '), KEY_LEN(sp, ' ')); in vs_modeline()
841 KEY_NAME(sp, *p), KEY_LEN(sp, *p)); in vs_modeline()
[all …]
H A Dvs_msg.c93 (void)gp->scr_move(sp, LASTLINE(sp), 0); in vs_busy()
109 (void)gp->scr_move(sp, LASTLINE(sp), 0); in vs_busy()
152 (void)sp->gp->scr_move(sp, LASTLINE(sp), 0); in vs_home()
153 (void)sp->gp->scr_refresh(sp, 0); in vs_home()
191 (void)gp->scr_move(sp, LASTLINE(sp), 0); in vs_update()
279 if (sp->gp->scr_screen(sp, SC_EX)) in vs_msg()
296 (void)sp->gp->scr_screen(sp, SC_VI); in vs_msg()
447 (void)gp->scr_move(sp, LASTLINE(sp), 0); in vs_output()
557 if (sp->gp->scr_screen(sp, SC_VI)) in vs_ex_resolve()
676 msgq_status(sp, sp->lno, MSTAT_TRUNCATE); in vs_resolve()
[all …]
H A Dvs_split.c113 sp->t_maxrows = IS_ONELINE(sp) ? 1 : sp->rows - 1; in vs_split()
130 sp->t_rows = sp->t_maxrows; in vs_split()
141 sp->t_minrows = sp->t_rows = IS_ONELINE(sp) ? 1 : sp->rows - 1; in vs_split()
156 _TMAP(sp) = IS_ONELINE(sp) ? in vs_split()
157 _HMAP(sp) : _HMAP(sp) + (sp->t_rows - 1); in vs_split()
209 sp->frp->lno = sp->lno; in vs_discard()
210 sp->frp->cno = sp->cno; in vs_discard()
248 sp->t_rows = sp->t_minrows = sp->rows - 1; in vs_discard()
249 sp->t_maxrows = sp->rows - 1; in vs_discard()
388 sp->frp->lno = sp->lno; in vs_swap()
[all …]
H A Dv_ex.c63 gp = sp->gp; in v_exmode()
74 sp->frp->lno = sp->lno; in v_exmode()
75 sp->frp->cno = sp->cno; in v_exmode()
218 ex_cadd(&cmd, &a, VIP(sp)->keyw, strlen(VIP(sp)->keyw)); in v_tagpush()
499 if (db_eget(sp, sp->lno, NULL, &len, NULL)) { in v_ex_done()
554 sp->ccl_parent = sp; in v_ecl()
577 if (db_get(sp, sp->lno, 0, &p, &len) && sp->lno == 1) { in v_ecl_exec()
591 sp->nextdisp = sp->ccl_parent; in v_ecl_exec()
608 if (sp->gp->ccl_sp == NULL && v_ecl_init(sp)) in v_ecl_log()
615 if (sp->ep == sp->gp->ccl_sp->ep) in v_ecl_log()
[all …]
H A Dvs_smap.c130 (void)sp->gp->scr_cursor(sp, &oldy, &oldx); in vs_change()
151 (void)sp->gp->scr_move(sp, oldy, oldx); in vs_change()
313 (void)sp->gp->scr_move(sp, p - HMAP, 0); in vs_sm_delete()
368 (void)sp->gp->scr_move(sp, p - HMAP, 0); in vs_sm_insert()
619 sp->t_rows != sp->t_maxrows; --count, ++sp->t_rows) { in vs_sm_up()
689 sp->rcm % sp->cols); in vs_sm_up()
740 (void)sp->gp->scr_move(sp, 0, 0); in vs_sm_1up()
832 sp->t_rows != sp->t_maxrows; --count, ++sp->t_rows) { in vs_sm_down()
917 sp->rcm % sp->cols); in vs_sm_down()
946 for (; sp->t_rows > sp->t_minrows; --sp->t_rows, --TMAP) { in vs_sm_erase()
[all …]
H A Dvi.c88 (void)sp->gp->scr_rename(sp, sp->frp->name, 1); in vi()
110 (void)vs_column(sp, &sp->rcm); in vi()
265 (void)sp->gp->scr_rename(sp, sp->frp->name, 1); in vi()
383 sp = sp->nextdisp; in vi()
385 (void)sp->gp->scr_rename(sp, sp->frp->name, 1); in vi()
400 (void)sp->gp->scr_rename(sp, sp->frp->name, 1); in vi()
578 v_emsg(sp, KEY_NAME(sp, key), in v_cmd()
707 (void)sp->gp->scr_bell(sp); in v_cmd()
957 sp->t_rows = sp->t_minrows = O_VAL(sp, O_WINDOW); in v_init()
960 sp->t_minrows = sp->t_rows = sp->rows - 1; in v_init()
[all …]
/openbsd/games/sail/
H A Ddr_3.c63 ma = maxmove(sp, sp->file->dir, 0); in moveall()
68 closeon(sp, closest, sp->file->movebuf, in moveall()
110 step(sp->file->movebuf[k], sp, &moved[n]); in moveall()
118 if (sp->file->dir == 0 || is_isolated(sp)) in moveall()
132 if (!range(sp, sq) && !fouled2(sp, sq)) { in moveall()
169 Write(W_ROW, sp, sp->file->row, 0, 0, 0); in moveall()
171 Write(W_COL, sp, sp->file->col, 0, 0, 0); in moveall()
173 Write(W_DIR, sp, sp->file->dir, 0, 0, 0); in moveall()
198 if (ship != sp && range(ship, sp) <= 10) in is_isolated()
238 sp->file->row -= dr[sp->file->dir] * dist; in step()
[all …]
/openbsd/gnu/llvm/compiler-rt/lib/orc/
H A Delfnix_tls.aarch64.S24 sub sp, sp, #REGISTER_SAVE_SPACE_SIZE
25 stp x29, x30, [sp, #16 * 1]
26 stp x27, x28, [sp, #16 * 2]
27 stp x25, x26, [sp, #16 * 3]
28 stp x23, x24, [sp, #16 * 4]
29 stp x21, x22, [sp, #16 * 5]
30 stp x19, x20, [sp, #16 * 6]
31 stp x17, x18, [sp, #16 * 7]
32 stp x15, x16, [sp, #16 * 8]
33 stp x13, x14, [sp, #16 * 9]
[all …]
H A Dmacho_tlv.arm64.S23 sub sp, sp, #REGISTER_SAVE_SPACE_SIZE
24 stp x29, x30, [sp, #16 * 1]
25 stp x27, x28, [sp, #16 * 2]
26 stp x25, x26, [sp, #16 * 3]
27 stp x23, x24, [sp, #16 * 4]
28 stp x21, x22, [sp, #16 * 5]
29 stp x19, x20, [sp, #16 * 6]
30 stp x17, x18, [sp, #16 * 7]
31 stp x15, x16, [sp, #16 * 8]
32 stp x13, x14, [sp, #16 * 9]
[all …]
/openbsd/sys/arch/riscv64/riscv64/
H A Dexception.S42 addi sp, sp, -(TRAPFRAME_SIZEOF)
92 add t0, sp, t1
183 addi sp, sp, (TRAPFRAME_SIZEOF)
203 mv a0, sp
216 csrrw sp, sscratch, sp
217 beqz sp, 1f
222 csrrw sp, sscratch, sp
228 mv a0, sp
236 mv a0, sp
240 csrrw sp, sscratch, sp
[all …]
/openbsd/usr.bin/vi/ex/
H A Dex_args.c60 cmdp, sp->cargv[1], strlen(sp->cargv[1]))) in ex_next()
75 if (!F_ISSET(sp, SC_ARGNOFREE) && sp->argv != NULL) { in ex_next()
94 sp->cargv = sp->argv; in ex_next()
95 if ((frp = file_add(sp, *sp->cargv)) == NULL) in ex_next()
102 if ((frp = file_add(sp, sp->cargv[1])) == NULL) in ex_next()
130 if (screen_init(sp->gp, sp, &new)) in ex_N_next()
170 if (sp->cargv == sp->argv) { in ex_prev()
176 if (argv_exp0(sp, cmdp, sp->cargv[-1], strlen(sp->cargv[-1]))) in ex_prev()
185 if ((frp = file_add(sp, sp->cargv[-1])) == NULL) in ex_prev()
229 sp->cargv = sp->argv; in ex_rew()
[all …]
H A Dex_subst.c86 sp->c_suffix = sp->g_suffix = 0; in ex_s()
140 sp->re, sp->re_len, NULL, NULL, &sp->re_c, RE_C_SEARCH)) in ex_s()
152 &sp->re, &sp->re_len, &sp->re_c, RE_C_SEARCH)) in ex_s()
155 &sp->subre, &sp->subre_len, &sp->subre_c, RE_C_SUBST)) in ex_s()
258 sp->subre, sp->subre_len, NULL, NULL, &sp->subre_c, RE_C_SUBST)) in ex_subagain()
280 sp->re, sp->re_len, NULL, NULL, &sp->re_c, RE_C_SEARCH)) in ex_subtilde()
366 sp->c_suffix = sp->g_suffix = 0; in s()
429 sp->c_suffix = !sp->c_suffix; in s()
438 sp->g_suffix = !sp->g_suffix; in s()
836 if (!sp->c_suffix && (sp->lno != slno || sp->cno != scno)) { in s()
[all …]
/openbsd/usr.bin/vi/common/
H A Dscreen.c38 SCR *sp; in screen_init() local
43 *spp = sp; in screen_init()
47 sp->refcnt = 1; in screen_init()
92 MALLOC(sp, sp->newl, len); in screen_init()
113 *spp = sp; in screen_init()
145 TAILQ_REMOVE(&sp->gp->dq, sp, q); in screen_end()
151 TAILQ_REMOVE(&sp->gp->hq, sp, q); in screen_end()
167 if (!F_ISSET(sp, SC_ARGNOFREE) && sp->argv != NULL) { in screen_end()
182 free(sp->re); in screen_end()
195 free(sp); in screen_end()
[all …]
H A Doptions_f.c36 O_CLR(sp, O_TTYWERASE); in f_altwerase()
104 sp->defscroll = 1; in f_lines()
106 if (O_VAL(sp, O_WINDOW) == O_D_VAL(sp, O_WINDOW) || in f_lines()
114 if (O_VAL(sp, O_WINDOW) == O_D_VAL(sp, O_WINDOW) || in f_lines()
130 msgq(sp, M_ERR, in f_paragraph()
144 v_key_ilookup(sp); in f_print()
175 regfree(&sp->re_c); in f_recompile()
202 msgq(sp, M_ERR, in f_section()
242 if (sp->gp->scr_baud(sp, &v)) in f_w300()
259 if (sp->gp->scr_baud(sp, &v)) in f_w1200()
[all …]
/openbsd/sys/net/
H A Dif_spppsubr.c1637 sp->lcp.mru = sp->pp_if.if_mtu; in sppp_lcp_init()
1664 sp->lcp.mru = sp->pp_if.if_mtu; in sppp_lcp_up()
2160 sp->pp_chg(sp, (int)sp->pp_phase); in sppp_lcp_tlu()
2199 (sp->pp_tls)(sp); in sppp_lcp_tls()
2210 (sp->pp_tlf)(sp); in sppp_lcp_tlf()
2248 sp->confid[IDX_LCP] = ++sp->pp_seq; in sppp_lcp_scr()
2765 sp->confid[IDX_IPCP] = ++sp->pp_seq; in sppp_ipcp_scr()
4021 sp->confid[IDX_PAP] = ++sp->pp_seq; in sppp_pap_scr()
4125 for (sp=spppq; sp; sp=sp->pp_next) { in sppp_keepalive()
4161 sp->pp_tlf(sp); in sppp_keepalive()
[all …]
/openbsd/lib/libcurses/base/
H A Dlib_set_term.c228 free(sp); in delscreen()
328 SCREEN *sp; in NCURSES_SP_NAME() local
340 sp = *spp; in NCURSES_SP_NAME()
342 if (!sp) { in NCURSES_SP_NAME()
345 *spp = sp; in NCURSES_SP_NAME()
389 TCBOf(sp)->csp = sp; in NCURSES_SP_NAME()
390 _nc_get_screensize(sp, sp->_term, &slines, &scolumns); in NCURSES_SP_NAME()
447 if ((sp->out_buffer = malloc(sp->out_limit)) == 0) in NCURSES_SP_NAME()
519 sp->_default_fg, sp->_default_bg)); in NCURSES_SP_NAME()
577 sp->_xmc_triggers = sp->_ok_attributes & XMC_CONFLICT; in NCURSES_SP_NAME()
[all …]
H A Dlib_getch.c54 #define GetEscdelay(sp) *_nc_ptr_Escdelay(sp) argument
136 return (sp ? sp->_use_meta : 0); in _nc_use_meta()
276 sp->_mouse_event(sp); in fifo_push()
284 sp->_mouse_event(sp); in fifo_push()
289 sp->_mouse_event(sp); in fifo_push()
297 sp->_mouse_event(sp); in fifo_push()
313 if (NC_ISATTY(sp->_ifd) && IsTermInfoOnConsole(sp) && IsCbreak(sp)) { in fifo_push()
321 if (NC_ISATTY(sp->_ifd) && IsTermInfoOnConsole(sp) && IsCbreak(sp)) in fifo_push()
373 memset(sp->_fifo, 0, sizeof(sp->_fifo)); in fifo_clear()
568 if (sp->_mouse_inline(sp)) in _nc_wgetch()
[all …]
H A Dlib_mouse.c194 #define FirstEV(sp) ((sp)->_mouse_events) argument
207 #define IndexEV(sp, ep) (ep - FirstEV(sp)) argument
221 for (ep = FirstEV(sp); ep <= LastEV(sp); ep++) in _trace_slot()
233 # define M_FD(sp) sp->_mouse_fd argument
333 if (sp->_sysmouse_head > sp->_sysmouse_tail) { in sysmouse_server()
337 work = &(sp->_sysmouse_fifo[sp->_sysmouse_tail]); in sysmouse_server()
791 sp->_mouse_eventp = FirstEV(sp); in _nc_mouse_init()
889 if (sp->_sysmouse_head < sp->_sysmouse_tail) { in _nc_mouse_event()
1114 (M_FD(sp) >= 0) ? M_FD(sp) : sp->_ifd, in decode_xterm_X10()
1162 (M_FD(sp) >= 0) ? M_FD(sp) : sp->_ifd, in decode_xterm_1005()
[all …]
/openbsd/gnu/llvm/compiler-rt/lib/xray/
H A Dxray_trampoline_mips64.S24 daddiu $sp, $sp, -144
31 sd $a4, 96($sp)
32 sd $a3, 88($sp)
33 sd $a2, 80($sp)
34 sd $a1, 72($sp)
35 sd $a0, 64($sp)
42 sdc1 $f13, 8($sp)
43 sdc1 $f12, 0($sp)
80 daddiu $sp, $sp, 144
94 daddiu $sp, $sp, -64
[all …]
/openbsd/gnu/gcc/gcc/config/v850/
H A Dlib1funcs.asm273 addi -44,sp,sp
288 addi -44,sp,sp
324 addi 44,sp,sp
338 addi 44,sp,sp
354 addi -40,sp,sp
402 addi 40,sp,sp
415 addi 40,sp,sp
476 addi 36,sp,sp
488 addi 36,sp,sp
546 addi 32,sp,sp
[all …]
/openbsd/games/atc/
H A Dgrammar.y173 sp->beacon[sp->num_beacons].x = $2;
174 sp->beacon[sp->num_beacons].y = $3;
193 sp->exit = reallocarray(sp->exit,
200 sp->exit[sp->num_exits].x = $2;
201 sp->exit[sp->num_exits].y = $3;
202 sp->exit[sp->num_exits].dir = dir;
249 sp->line = reallocarray(sp->line,
255 sp->line[sp->num_lines].p1.x = $3;
256 sp->line[sp->num_lines].p1.y = $4;
257 sp->line[sp->num_lines].p2.x = $7;
[all …]
/openbsd/sys/arch/alpha/include/
H A Dprofile.h68 lda sp, -FRAME_SIZE(sp)
71 stq v0, OFFSET_V0(sp)
72 stq t0, OFFSET_T0(sp)
73 stq t1, OFFSET_T1(sp)
74 stq t2, OFFSET_T2(sp)
75 stq t3, OFFSET_T3(sp)
76 stq t4, OFFSET_T4(sp)
77 stq t5, OFFSET_T5(sp)
78 stq t6, OFFSET_T6(sp)
79 stq t7, OFFSET_T7(sp)
[all …]
/openbsd/sys/arch/alpha/alpha/
H A Ddebug.s75 lda sp, -32(sp) /* set up stack frame */
80 mov sp, s0
105 mov s0, sp
119 lda sp, 32(sp) /* pop stack frame */
126 lda sp, -(8 * FRAME_SIZE)(sp) /* set up stack frame */
128 stq v0,(FRAME_V0*8)(sp)
129 stq t0,(FRAME_T0*8)(sp)
130 stq t1,(FRAME_T1*8)(sp)
131 stq t2,(FRAME_T2*8)(sp)
164 mov sp, a1
[all …]
/openbsd/gnu/lib/libiberty/src/
H A Dsplay-tree.c102 (*sp->deallocate) ((char*) temp, sp->allocate_data); in splay_tree_delete_helper()
286 splay_tree_delete_helper (sp, sp->root); in splay_tree_delete()
287 (*sp->deallocate) ((char*) sp, sp->allocate_data); in splay_tree_delete()
302 comparison = (*sp->comp)(sp->root->key, key); in splay_tree_insert()
309 (*sp->delete_value)(sp->root->value); in splay_tree_insert()
351 if (sp->root && (*sp->comp) (sp->root->key, key) == 0) in splay_tree_remove()
360 (*sp->delete_value) (sp->root->value); in splay_tree_remove()
361 (*sp->deallocate) (sp->root, sp->allocate_data); in splay_tree_remove()
391 if (sp->root && (*sp->comp)(sp->root->key, key) == 0) in splay_tree_lookup()
445 comparison = (*sp->comp)(sp->root->key, key); in splay_tree_predecessor()
[all …]
/openbsd/gnu/llvm/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_mips64.S11 daddiu $sp,$sp,-40
12 sd $s0,32($sp)
13 sd $ra,24($sp)
15 sd $gp,8($sp)
47 daddiu $sp,$sp,40
63 daddiu $sp,$sp,-40
99 daddiu $sp,$sp,40
115 daddiu $sp,$sp,-48
153 daddiu $sp,$sp,48
169 daddiu $sp,$sp,-48
[all …]

12345678910>>...62