/openbsd-current/usr.bin/vi/vi/ |
H A D | v_replace.c | 44 v_replace(SCR *sp, VICMD *vp) argument 54 vip = VIP(sp); 67 if (db_get(sp, vp->m_start.lno, DBG_FATAL, &p, &len)) 70 msgq(sp, M_BERR, "No characters to replace"); 88 v_eol(sp, &vp->m_start); 98 sp->showmode = SM_REPLACE; 99 if (vs_refresh(sp, 0)) 101 next: if (v_event_get(sp, &ev, 0, 0)) 123 F_SET(sp, SC_EXIT_FORCE); 130 v_emsg(sp, NUL [all...] |
H A D | v_status.c | 33 v_status(SCR *sp, VICMD *vp) argument 35 (void)msgq_status(sp, vp->m_start.lno, MSTAT_SHOWLAST);
|
H A D | v_mark.c | 33 v_mark(SCR *sp, VICMD *vp) argument 35 return (mark_set(sp, vp->character, &vp->m_start, 1)); 58 v_bmark(SCR *sp, VICMD *vp) argument 60 return (mark(sp, vp, BQMARK)); 72 v_fmark(SCR *sp, VICMD *vp) argument 74 return (mark(sp, vp, FQMARK)); 82 mark(SCR *sp, VICMD *vp, enum which cmd) argument 87 if (mark_get(sp, vp->character, &vp->m_stop, M_BERR)) 99 if (db_get(sp, vp->m_stop.lno, DBG_FATAL, NULL, &len)) 111 if (nonblank(sp, v [all...] |
/openbsd-current/usr.bin/vi/common/ |
H A D | key.c | 102 v_key_init(SCR *sp) argument 109 gp = sp->gp; 117 v_key_ilookup(sp); 119 v_keyval(sp, K_CNTRLD, KEY_VEOF); 120 v_keyval(sp, K_VERASE, KEY_VERASE); 121 v_keyval(sp, K_VKILL, KEY_VKILL); 122 v_keyval(sp, K_VWERASE, KEY_VWERASE); 142 msgq(sp, M_ERR, "No non-printable character found"); 157 v_keyval(SCR *sp, int val, scr_keyval_t name) argument 164 if (sp 191 v_key_ilookup(SCR *sp) argument 211 v_key_len(SCR *sp, CHAR_T ch) argument 225 v_key_name(SCR *sp, CHAR_T ch) argument 302 v_key_val(SCR *sp, CHAR_T ch) argument 324 v_event_push(SCR *sp, EVENT *p_evp, CHAR_T *p_s, size_t nitems, u_int flags) argument 373 v_event_append(SCR *sp, EVENT *argp) argument 498 v_event_get(SCR *sp, EVENT *argp, int timeout, u_int32_t flags) argument 715 v_sync(SCR *sp, int flags) argument 733 v_event_err(SCR *sp, EVENT *evp) argument 786 v_event_flush(SCR *sp, u_int flags) argument 802 v_event_grow(SCR *sp, int add) argument [all...] |
H A D | recover.c | 124 rcv_tmp(SCR *sp, EXF *ep, char *name) argument 133 * ep MAY NOT BE THE SAME AS sp->ep, DON'T USE THE LATTER. 135 if (opts_empty(sp, O_RECDIR, 0)) 137 dp = O_STR(sp, O_RECDIR); 141 msgq(sp, M_SYSERR, "%s", dp); 150 msgq(sp, M_ERR, 156 if ((fd = rcv_mktemp(sp, path, dp, S_IRWXU)) == -1) 161 msgq(sp, M_SYSERR, NULL); 163 err: msgq(sp, M_ERR, 180 rcv_init(SCR *sp) argument 242 rcv_sync(SCR *sp, u_int flags) argument 317 rcv_mailfile(SCR *sp, int issync, char *cp_path) argument 463 rcv_openat(SCR *sp, int dfd, const char *name, int *locked) argument 520 rcv_list(SCR *sp) argument 601 rcv_read(SCR *sp, FREF *frp) argument 750 rcv_copy(SCR *sp, int wfd, char *fname) argument 792 rcv_mktemp(SCR *sp, char *path, char *dname, int perms) argument 821 rcv_email(SCR *sp, int fd) argument [all...] |
/openbsd-current/lib/libc/time/ |
H A D | localtime.c | 138 static void gmtload(struct state * sp); 164 const struct state * sp, struct tm * tmp); 169 static int typesequiv(const struct state * sp, int a, int b); 170 static int tzload(const char * name, struct state * sp, 172 static int tzparse(const char * name, struct state * sp, 245 struct state * const sp = lclptr; local 252 if (sp == NULL) { 259 for (i = 0; i < sp->timecnt; ++i) { 260 const struct ttinfo *ttisp = &sp->ttis[sp 350 tzload(const char *name, struct state *sp, int doextend) argument 558 typesequiv(const struct state *sp, int a, int b) argument 871 tzparse(const char *name, struct state *sp, int lastditch) argument 1106 gmtload(struct state *sp) argument 1214 struct state * sp; local 1409 timesub(const time_t *timep, long offset, const struct state *sp, struct tm *tmp) argument 1638 const struct state * sp; local 1824 const struct state * sp; local 1951 struct state * sp; local [all...] |
/openbsd-current/lib/libcurses/tty/ |
H A D | hashmap.c | 91 # define screen_lines(sp) MAXLINES 92 # define TEXTWIDTH(sp) 1 94 static NCURSES_CH_T oldtext[MAXLINES][TEXTWIDTH(sp)]; 95 static NCURSES_CH_T newtext[MAXLINES][TEXTWIDTH(sp)]; 96 # define OLDNUM(sp,n) oldnums[n] 97 # define OLDTEXT(sp,n) oldtext[n] 98 # define NEWTEXT(sp,m) newtext[m] 99 # define PENDING(sp,n) 1 103 # define OLDNUM(sp,n) (sp) 125 hash(SCREEN *sp, NCURSES_CH_T *text) argument 141 update_cost(SCREEN *sp, NCURSES_CH_T *from, NCURSES_CH_T *to) argument 155 update_cost_from_blank(SCREEN *sp, NCURSES_CH_T *to) argument 177 cost_effective(SCREEN *sp, const int from, const int to, const int blank) argument 202 grow_hunks(SCREEN *sp) argument [all...] |
/openbsd-current/gnu/usr.bin/binutils/gdb/testsuite/gdb.asm/ |
H A D | pa.inc | 3 stw %rp, -20(%sp) 5 copy %sp, %r3 6 stwm %r1, 64(%sp) 13 ldwm -64(%sp), %r3
|
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/ |
H A D | ppc-stackalign-1.c | 10 register unsigned long sp __asm__ ("r1"); 14 if (sp & 0xf)
|
/openbsd-current/lib/libc/arch/hppa/sys/ |
H A D | sigsuspend.S | 33 stw arg0, HPPA_FRAME_ARG(0)(sp)
|
/openbsd-current/usr.bin/vi/ex/ |
H A D | ex_version.c | 31 ex_version(SCR *sp, EXCMD *cmdp) argument 33 msgq(sp, M_INFO, VI_VERSION);
|
H A D | ex_mkexrc.c | 38 ex_mkexrc(SCR *sp, EXCMD *cmdp) argument 51 set_alt_name(sp, fname); 58 msgq_str(sp, M_ERR, fname, 66 msgq_str(sp, M_SYSERR, fname, "%s"); 76 if (seq_save(sp, fp, "abbreviate ", SEQ_ABBREV) || ferror(fp)) 78 if (seq_save(sp, fp, "map ", SEQ_COMMAND) || ferror(fp)) 80 if (seq_save(sp, fp, "map! ", SEQ_INPUT) || ferror(fp)) 82 if (opts_save(sp, fp) || ferror(fp)) 89 msgq_str(sp, M_INFO, fname, "New exrc file: %s"); 95 msgq_str(sp, M_SYSER [all...] |
H A D | ex_z.c | 32 ex_z(SCR *sp, EXCMD *cmdp) argument 38 NEEDFILE(sp, cmdp); 54 cnt = O_VAL(sp, O_WINDOW) - 1; 91 mark_abs.lno = sp->lno; 92 mark_abs.cno = sp->cno; 93 (void)mark_set(sp, ABSMARK1, &mark_abs, 1); 108 if (ex_pr(sp, cmdp)) 110 (void)ex_puts(sp, "----------------------------------------\n"); 112 if (ex_pr(sp, cmdp)) 114 (void)ex_puts(sp, " [all...] |
/openbsd-current/gnu/llvm/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_suppressions.h | 32 uptr IsSuppressed(ReportType typ, const ReportStack *stack, Suppression **sp); 33 uptr IsSuppressed(ReportType typ, const ReportLocation *loc, Suppression **sp);
|
/openbsd-current/usr.bin/dc/ |
H A D | stack.c | 38 stack->sp = -1; 45 bool empty = stack->sp == -1; 94 return stack->sp + 1; 116 if (stack->sp < 1) { 120 copy = stack->stack[stack->sp]; 121 stack->stack[stack->sp] = stack->stack[stack->sp-1]; 122 stack->stack[stack->sp-1] = copy; 130 if (++stack->sp == stack->size) { 142 stack->stack[stack->sp] [all...] |
/openbsd-current/games/quiz/ |
H A D | rxp.c | 90 static const char *sp; local 103 sp = s; 111 for (; *sp; ++sp) { 117 if (*sp == ':' && !esc) 121 *rp++ = *sp; 124 else switch (*sp) { 133 sp++; 144 if (*sp != ']') { 149 if (*sp ! 203 static const char *sp; local [all...] |
/openbsd-current/games/hack/ |
H A D | makedefs.c | 79 void capitalize(char *sp); 90 char *sp; local 110 for(sp = string; *sp; sp++) 111 if(*sp == ' ' || *sp == '\t' || *sp == '-') 112 *sp = '_'; 118 for(sp 282 char *sp = string + prefix; local 300 capitalize(char *sp) argument [all...] |
/openbsd-current/sys/arch/alpha/stand/ |
H A D | start.S | 52 lda sp,start 54 lda sp,0x30000-ENTRY_FRAME(sp) 56 lda sp,-ENTRY_FRAME(sp) /* start stack below text */
|
/openbsd-current/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common_interceptors_vfork_aarch64.inc.S | 14 stp xzr, x30, [sp, #-16]! 16 ldp xzr, x30, [sp], 16 25 stp x0, xzr, [sp, #-16]! 30 add x0, sp, #16 37 ldp x0, xzr, [sp], 16
|
/openbsd-current/sys/arch/powerpc/ddb/ |
H A D | db_trace.c | 136 vaddr_t lr, sp, lastsp, *db_fp_args; local 149 sp = ddb_regs.fixreg[1]; 160 sp = addr; 161 db_read_bytes(sp + 4, sizeof(vaddr_t), (char *)&lr); 164 while (count && sp != 0) { 182 db_fp_args = (vaddr_t *)(sp + 8); 196 lastsp = sp; 203 struct trapframe *tf = (struct trapframe *)(sp + 8); 216 db_read_bytes(sp, sizeof(vaddr_t), (char *)&sp); 245 vaddr_t lr, sp, lastsp; local [all...] |
/openbsd-current/usr.bin/mandoc/ |
H A D | tbl_term.c | 160 term_tbl(struct termp *tp, const struct tbl_span *sp) argument 189 tblcalc(&tp->tbl, sp, tp->tcol->offset, tp->tcol->rmargin); 194 if (sp->opts->opts & TBL_OPT_CENTRE) { 195 tsz = sp->opts->opts & (TBL_OPT_BOX | TBL_OPT_DBOX) 196 ? 2 : !!sp->opts->lvert + !!sp->opts->rvert; 197 for (ic = 0; ic + 1 < sp->opts->cols; ic++) 200 if (sp->opts->cols) 201 tsz += tp->tbl.cols[sp->opts->cols - 1].width; 212 sp 565 tbl_hrule(struct termp *tp, const struct tbl_span *spp, const struct tbl_span *sp, const struct tbl_span *spn, int flags) argument [all...] |
/openbsd-current/gnu/llvm/compiler-rt/lib/xray/ |
H A D | xray_trampoline_hexagon.S | 19 memw(sp+#0)=r0 20 memw(sp+#4)=r1 21 memw(sp+#8)=r2 22 memw(sp+#12)=r3 23 memw(sp+#16)=r4 26 r0=memw(sp+#0) 27 r1=memw(sp+#4) 28 r2=memw(sp+#8) 29 r3=memw(sp+#12) 30 r4=memw(sp [all...] |
/openbsd-current/gnu/usr.bin/gcc/gcc/config/m68k/ |
H A D | mot3300-crt0.S | 46 subq.w &8,%sp 47 mov.l 8(%sp),(%sp) 48 lea 12(%sp),%a0 49 mov.l %a0,4(%sp) 62 mov.l %a0,8(%sp) 66 subq.w &8,%sp 69 mov.l %d0,-(%sp) 71 addq.w &4,%sp 74 clr.l -(%sp) /* setbu [all...] |
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.bugs/ |
H A D | 900210_01.C | 33 struct { int member; } * sp; variable in typeref:struct:__anon6643 42 i = sp; /* ERROR - */ 48 l = sp; /* ERROR - */ 54 s = sp; /* ERROR - */ 60 c = sp; /* ERROR - */ 66 si = sp; /* ERROR - */ 72 sl = sp; /* ERROR - */ 78 ss = sp; /* ERROR - */ 84 sc = sp; /* ERROR - */ 90 ui = sp; /* ERRO [all...] |
H A D | 900210_02.C | 33 struct { int member; } * sp; variable in typeref:struct:__anon6646 86 sp = i; /* ERROR - */ 87 sp = l; /* ERROR - */ 88 sp = s; /* ERROR - */ 89 sp = c; /* ERROR - */ 90 sp = si; /* ERROR - */ 91 sp = sl; /* ERROR - */ 92 sp = ss; /* ERROR - */ 93 sp = sc; /* ERROR - */ 94 sp [all...] |