Searched refs:sp (Results 126 - 150 of 1151) sorted by relevance

1234567891011>>

/openbsd-current/usr.bin/vi/vi/
H A Dv_redraw.c32 v_redraw(SCR *sp, VICMD *vp) argument
34 return (sp->gp->scr_refresh(sp, 1));
H A Dv_scroll.c69 v_lgoto(SCR *sp, VICMD *vp) argument
74 if (!db_exist(sp, vp->count)) {
80 if (db_last(sp, &nlines))
85 v_eof(sp, &vp->m_start);
90 if (db_last(sp, &nlines))
106 v_home(SCR *sp, VICMD *vp) argument
108 if (vs_sm_position(sp, &vp->m_stop,
123 v_middle(SCR *sp, VICMD *vp) argument
130 if (vs_sm_position(sp, &vp->m_stop, 0, P_MIDDLE))
144 v_bottom(SCR *sp, VICM argument
207 v_up(SCR *sp, VICMD *vp) argument
229 v_cr(SCR *sp, VICMD *vp) argument
250 v_down(SCR *sp, VICMD *vp) argument
271 v_hpageup(SCR *sp, VICMD *vp) argument
295 v_hpagedown(SCR *sp, VICMD *vp) argument
323 v_pagedown(SCR *sp, VICMD *vp) argument
369 v_pageup(SCR *sp, VICMD *vp) argument
415 v_lineup(SCR *sp, VICMD *vp) argument
435 v_linedown(SCR *sp, VICMD *vp) argument
[all...]
H A Dvi.c53 #define DOT (&VIP(sp)->sdot)
54 #define DOTMOTION (&VIP(sp)->sdotmotion)
67 SCR *next, *sp; local
73 sp = *spp;
74 gp = sp->gp;
84 if (v_init(sp))
88 (void)sp->gp->scr_rename(sp, sp->frp->name, 1);
90 for (vip = VIP(sp), rva
458 v_cmd(SCR *sp, VICMD *dp, VICMD *vp, VICMD *ismotion, int *comcountp, int *mappedp) argument
719 v_motion(SCR *sp, VICMD *dm, VICMD *vp, int *mappedp) argument
929 v_init(SCR *sp) argument
1000 v_dtoh(SCR *sp) argument
1037 v_keyword(SCR *sp) argument
1090 v_alias(SCR *sp, VICMD *vp, VIKEYS const *kp) argument
1123 v_count(SCR *sp, CHAR_T fkey, u_long *countp) argument
1160 v_key(SCR *sp, int command_events, EVENT *evp, u_int32_t ec_flags) argument
1223 v_comlog(SCR *sp, VICMD *vp) argument
[all...]
/openbsd-current/gnu/llvm/compiler-rt/lib/builtins/arm/
H A Dsync_synchronize.S23 stmfd sp!, {r7, lr}
24 add r7, sp, #0
26 ldmfd sp!, {r7, pc}
/openbsd-current/usr.bin/vi/ex/
H A Dex_edit.c47 ex_edit(SCR *sp, EXCMD *cmdp) argument
61 frp = sp->frp;
62 if (sp->ep == NULL || F_ISSET(frp, FR_TMPFILE)) {
63 if ((frp = file_add(sp, NULL)) == NULL)
71 if ((frp = file_add(sp, cmdp->argv[0]->bp)) == NULL)
75 set_alt_name(sp, cmdp->argv[0]->bp);
82 return (ex_N_edit(sp, cmdp, frp, attach));
90 if (file_m2(sp, FL_ISSET(cmdp->iflags, E_C_FORCE)))
94 if (file_init(sp, frp, NULL, (setalt ? FS_SETALT : 0) |
98 F_SET(sp, SC_FSWITC
107 ex_N_edit(SCR *sp, EXCMD *cmdp, FREF *frp, int attach) argument
[all...]
H A Dex_usage.c35 ex_help(SCR *sp, EXCMD *cmdp) argument
37 (void)ex_puts(sp,
39 (void)ex_puts(sp,
41 (void)ex_puts(sp,
43 (void)ex_puts(sp,
45 (void)ex_puts(sp, "To exit, enter \":q!\"\n");
56 ex_usage(SCR *sp, EXCMD *cmdp) argument
76 (void)ex_printf(sp, "The %.*s command is unknown\n",
79 (void)ex_printf(sp,
93 (void)ex_printf(sp,
117 ex_viusage(SCR *sp, EXCMD *cmdp) argument
[all...]
H A Dex_move.c32 ex_copy(SCR *sp, EXCMD *cmdp) argument
41 NEEDFILE(sp, cmdp);
53 if (cut_line(sp, cnt, 0, CUT_LINE_TO_EOL, &cb)) {
62 if (put(sp, &cb, NULL, &tm, &m, 1))
71 sp->lno = m.lno + (cnt - 1);
72 sp->cno = 0;
85 ex_move(SCR *sp, EXCMD *cmdp) argument
94 NEEDFILE(sp, cmdp);
103 msgq(sp, M_ERR, "Destination line is inside move range");
123 LIST_FOREACH(lmp, &sp
[all...]
H A Dex_map.c43 ex_map(SCR *sp, EXCMD *cmdp) argument
52 if (seq_dump(sp, stype, 1) == 0)
53 msgq(sp, M_INFO, stype == SEQ_INPUT ?
75 if (seq_set(sp, NULL, 0, input, cmdp->argv[0]->len,
79 return (sp->gp->scr_fmap == NULL ? 0 :
80 sp->gp->scr_fmap(sp, stype, input, cmdp->argv[0]->len,
86 switch (KEY_VAL(sp, input[0])) {
90 msgq(sp, M_ERR,
92 KEY_NAME(sp, inpu
106 ex_unmap(SCR *sp, EXCMD *cmdp) argument
[all...]
/openbsd-current/games/tetris/
H A Dscores.c137 struct highscore *sp; local
154 for (i = 0, sp = &scores[0]; i < nscores; i++, sp++) {
155 if (sp->hs_level != level || strcmp(sp->hs_name, me) != 0)
157 if (score > sp->hs_score) {
160 sp->hs_score * sp->hs_level);
161 sp->hs_score = score; /* new score */
162 sp
258 struct highscore *sp; local
329 struct highscore *sp; local
384 struct highscore *sp; local
[all...]
/openbsd-current/usr.bin/vi/common/
H A Dput.c33 put(SCR *sp, CB *cbp, CHAR_T *namep, MARK *cp, MARK *rp, int append) argument
44 cbp = sp->gp->dcbp;
46 msgq(sp, M_ERR,
52 CBNAME(sp, cbp, name);
54 msgq(sp, M_ERR, "Buffer %s is empty",
55 KEY_NAME(sp, name));
78 if (db_last(sp, &lno))
81 for (; tp; ++lno, ++sp->rptlines[L_ADDED],
83 if (db_append(sp, 1, lno, tp->lb, tp->len))
96 ++lno, ++sp
[all...]
H A Dline.c36 db_eget(SCR *sp, recno_t lno, char **pp, size_t *lenp, int *isemptyp) argument
44 if (!db_get(sp, lno, 0, pp, lenp))
52 if ((lno == 0 || lno == 1) && db_last(sp, &l1))
57 db_err(sp, lno);
75 db_get(SCR *sp, recno_t lno, u_int32_t flags, char **pp, size_t *lenp) argument
91 if ((ep = sp->ep) == NULL) {
92 ex_emsg(sp, NULL, EXM_NOFILEYET);
103 if (F_ISSET(sp, SC_TINPUT)) {
104 l1 = TAILQ_FIRST(&sp->tiq)->lno;
105 l2 = TAILQ_LAST(&sp
180 db_delete(SCR *sp, recno_t lno) argument
234 db_append(SCR *sp, int update, recno_t lno, char *p, size_t len) argument
301 db_insert(SCR *sp, recno_t lno, char *p, size_t len) argument
360 db_set(SCR *sp, recno_t lno, char *p, size_t len) argument
413 db_exist(SCR *sp, recno_t lno) argument
446 db_last(SCR *sp, recno_t *lnop) argument
505 db_err(SCR *sp, recno_t lno) argument
517 scr_update(SCR *sp, recno_t lno, lnop_t op, int current) argument
[all...]
H A Dexf.c60 file_add(SCR *sp, CHAR_T *name) argument
74 gp = sp->gp;
88 CALLOC(sp, frp, 1, sizeof(FREF));
100 msgq(sp, M_SYSERR, NULL);
119 file_init(SCR *sp, FREF *frp, char *rcv_name, int flags) argument
139 if (rcv_read(sp, frp) == 0)
155 CALLOC_RET(sp, ep, 1, sizeof(EXF));
164 if (file_spath(sp, frp, &sb, &exists)) {
195 msgq(sp, M_SYSERR,
211 msgq(sp, M_SYSER
449 file_spath(SCR *sp, FREF *frp, struct stat *sbp, int *existsp) argument
514 file_cinit(SCR *sp) argument
622 file_end(SCR *sp, EXF *ep, int force) argument
731 file_write(SCR *sp, MARK *fm, MARK *tm, char *name, int flags) argument
976 file_backup(SCR *sp, char *name, char *bname) argument
1160 file_comment(SCR *sp) argument
1207 file_m1(SCR *sp, int force, int flags) argument
1246 file_m2(SCR *sp, int force) argument
1276 file_m3(SCR *sp, int force) argument
1310 file_aw(SCR *sp, int flags) argument
1369 set_alt_name(SCR *sp, char *name) argument
1385 file_lock(SCR *sp, char *name, int *fdp, int fd, int iswrite) argument
[all...]
H A Dmem.h17 #define BINC_GOTO(sp, lp, llen, nlen) { \
20 if ((L__bincp = binc((sp), (lp), &(llen), (nlen))) \
30 #define BINC_RET(sp, lp, llen, nlen) { \
33 if ((L__bincp = binc((sp), (lp), &(llen), (nlen))) \
49 #define GET_SPACE_GOTO(sp, bp, blen, nlen) { \
50 GS *L__gp = (sp) == NULL ? NULL : (sp)->gp; \
54 BINC_GOTO((sp), (bp), (blen), (nlen)); \
56 BINC_GOTO((sp), L__gp->tmp_bp, L__gp->tmp_blen, (nlen));\
62 #define GET_SPACE_RET(sp, b
[all...]
H A Ddelete.c33 del(SCR *sp, MARK *fm, MARK *tm, int lmode) argument
45 if (db_delete(sp, lno))
47 ++sp->rptlines[L_DELETED];
48 if (lno % INTERRUPT_CHECK == 0 && INTERRUPTED(sp))
58 if (db_last(sp, &lno))
62 if (db_get(sp, lno, DBG_FATAL, &p, &len))
69 if (db_delete(sp, lno))
71 ++sp->rptlines[L_DELETED];
73 INTERRUPT_CHECK == 0 && INTERRUPTED(sp))
76 if (db_get(sp, f
[all...]
/openbsd-current/lib/libc/arch/sparc64/gen/
H A Dfixunsdfsi.S61 sub %sp, 16, %sp
62 std %f2, [%sp + 64 + BIAS + 8]
83 std %f0, [%sp + 64 + BIAS] ! move into return reg
84 ldx [%sp + 64 + BIAS], %o0
88 ldd [%sp + 64 + BIAS + 8], %f2
90 add %sp, 16, %sp
93 std %f0, [%sp + 64 + BIAS] ! return result
94 ldx [%sp
[all...]
/openbsd-current/gnu/usr.bin/binutils/gdb/testsuite/gdb.asm/
H A Dd10v.inc3 st r11,@-sp
4 st r13,@-sp
5 mv r11,sp
10 add3 sp,r11,0
11 ld r13,@sp+
12 ld r11,@sp+
45 ldi sp, _stack
48 ldi sp, _stack - 0x200
51 st r11, @-sp
52 st r13, @-sp
[all...]
H A Dfrv.inc3 addi sp,#-16,sp
4 sti fp, @(sp,0)
5 mov sp, fp
14 addi sp,#16,sp
43 sethi #gprelhi(_stack), sp
44 setlo #gprello(_stack), sp
46 add sp, gr16, sp
[all...]
/openbsd-current/sys/dev/ic/
H A Dsili.c168 u_int32_t sili_port_softreset(struct sili_port *sp);
178 void sili_port_clear_commands(struct sili_port *sp);
277 struct sili_port *sp = &sc->sc_ports[i]; local
278 for (j = 0; j < sp->sp_pmp_ports; j++) {
286 sili_pmp_port_start_error_recovery(struct sili_port *sp, int err_port) argument
290 sp->sp_pmp_error_recovery |= (1 << err_port);
293 sp->sp_err_active = 0;
294 TAILQ_FOREACH(ccb, &sp->sp_active_ccbs, ccb_entry) {
296 if ((sp->sp_pmp_error_recovery & bit) == 0) {
298 "%d\n", PORTNAME(sp), cc
321 sili_port_clear_commands(struct sili_port *sp) argument
340 sili_pmp_port_do_error_recovery(struct sili_port *sp, int slot, u_int32_t *need_restart) argument
369 struct sili_port *sp = ccb->ccb_port; local
403 sili_port_intr(struct sili_port *sp, int timeout_slot) argument
743 struct sili_port *sp; local
778 struct sili_port *sp; local
794 sili_ccb_alloc(struct sili_port *sp) argument
849 sili_ccb_free(struct sili_port *sp) argument
862 sili_get_ccb(struct sili_port *sp) argument
889 struct sili_port *sp = ccb->ccb_port; local
977 sili_pread(struct sili_port *sp, bus_size_t r) argument
989 sili_pwrite(struct sili_port *sp, bus_size_t r, u_int32_t v) argument
997 sili_pwait_eq(struct sili_port *sp, bus_size_t r, u_int32_t mask, u_int32_t value, int timeout) argument
1012 sili_pwait_ne(struct sili_port *sp, bus_size_t r, u_int32_t mask, u_int32_t value, int timeout) argument
1027 sili_post_direct(struct sili_port *sp, u_int slot, void *buf, size_t buflen) argument
1045 sili_pread_fis(struct sili_port *sp, u_int slot, struct ata_fis_d2h *fis) argument
1056 sili_post_indirect(struct sili_port *sp, struct sili_ccb *ccb) argument
1065 sili_signature(struct sili_port *sp, u_int slot) argument
1085 struct sili_port *sp; local
1167 struct sili_port *sp = ccb->ccb_port; local
1195 struct sili_port *sp; local
1261 sili_port_softreset(struct sili_port *sp) argument
1300 struct sili_port *sp = &sc->sc_ports[port]; local
1402 struct sili_port *sp = &sc->sc_ports[port]; local
1416 struct sili_port *sp = ccb->ccb_port; local
1476 struct sili_port *sp = ccb->ccb_port; local
1519 struct sili_port *sp = ccb->ccb_port; local
1530 struct sili_port *sp = ccb->ccb_port; local
1591 struct sili_port *sp = ccb->ccb_port; local
1614 struct sili_port *sp = ccb->ccb_port; local
1638 sili_start(struct sili_port *sp, struct sili_ccb *ccb) argument
1654 sili_read_ncq_error(struct sili_port *sp, int *err_slotp, int pmp_port) argument
1733 struct sili_port *sp = &sc->sc_ports[port]; local
1757 sili_pmp_read(struct sili_port *sp, int target, int which, u_int32_t *datap) argument
1799 sili_pmp_write(struct sili_port *sp, int target, int which, u_int32_t data) argument
1836 sili_pmp_phy_status(struct sili_port *sp, int target, u_int32_t *datap) argument
1850 sili_pmp_identify(struct sili_port *sp, int *ret_nports) argument
[all...]
/openbsd-current/gnu/gcc/gcc/config/v850/
H A Dlib1funcs.asm165 add -8,sp
166 st.w r31,4[sp]
167 st.w r22,0[sp]
184 ld.w 0[sp],r22
185 ld.w 4[sp],r31
186 add 8,sp
207 add -12,sp
208 st.w r31,8[sp]
209 st.w r7,4[sp]
210 st.w r6,0[sp]
[all...]
/openbsd-current/usr.sbin/nsd/
H A Dzparser.y98 | sp NL
140 sp: SP label
141 | sp SP
147 | sp NL
150 ttl_directive: DOLLAR_TTL sp str trail
160 origin_directive: DOLLAR_ORIGIN sp abs_dname trail
171 | DOLLAR_ORIGIN sp rel_dname trail
184 owner: dname sp
200 | T_RRCLASS sp /* no ttl */
205 | T_TTL sp /* n
[all...]
/openbsd-current/games/sail/
H A Ddr_1.c44 struct ship *sp; local
49 foreachship(sp) {
50 if (sp->file->captain[0])
52 nat = capship(sp)->nationality;
55 !is_toughmelee(sp, to, 0, 0))
57 for (i = fouled2(sp, to); --i >= 0;)
59 cleanfoul(sp, to, 0);
68 struct ship *sp, *sq; local
70 foreachship(sp) {
71 if (*sp
236 struct ship *sp, *sq; local
267 struct ship *sp; local
[all...]
/openbsd-current/usr.bin/yacc/
H A Dlalr.c107 core *sp; local
110 for (sp = first_state; sp; sp = sp->next)
111 state_table[sp->number] = sp;
118 core *sp; local
121 for (sp = first_state; sp; s
129 shifts *sp; local
206 shifts *sp; local
291 shifts *sp; local
354 shifts *sp; local
429 shorts *sp; local
453 short **new_R, **temp_R, *nedges, *sp; local
506 shorts *sp, *next; local
[all...]
/openbsd-current/sys/arch/arm64/arm64/
H A Dexception.S37 mov x18, sp
38 sub sp, sp, #128
40 sub sp, sp, #(TF_SIZE + 16)
41 stp x28, x29, [sp, #(TF_X + 28 * 8)]
42 stp x26, x27, [sp, #(TF_X + 26 * 8)]
43 stp x24, x25, [sp, #(TF_X + 24 * 8)]
44 stp x22, x23, [sp, #(TF_X + 22 * 8)]
45 stp x20, x21, [sp, #(TF_
[all...]
/openbsd-current/usr.bin/ctags/
H A DC.c56 char *sp; /* buffer pointer */ local
60 sp = tok; token = t_def = NO; t_level = -1; level = 0; lineno = 1;
92 endtok: if (sp > tok) {
93 *sp = EOS;
95 sp = tok;
129 if (sp == tok) {
151 if (sp != tok)
152 *sp = EOS;
189 if (sp != tok)
190 *sp
368 char *sp; /* buffer pointer */ local
436 char *sp; /* buffer pointer */ local
[all...]
/openbsd-current/usr.bin/cvs/
H A Droot.c63 char *cp, *sp, *pp; local
75 sp = root->cr_buf;
77 if (*sp == ':') {
78 sp++;
79 if ((cp = strchr(sp, ':')) == NULL)
85 if (strcmp(sp, cvs_methods[i]) == 0) {
91 fatal("cvsroot_parse: unknown method `%s'", sp);
95 if ((sp = strchr(cp, '/')) == NULL)
98 root->cr_dir = sp;
100 if (sp
[all...]

Completed in 151 milliseconds

1234567891011>>