| /openbsd/src/sys/net/ |
| D | if_spppsubr.c | 421 struct sppp *sp = (struct sppp *)ifp; in sppp_proto_up() local 449 struct sppp *sp = (struct sppp *)ifp; in sppp_input() local 580 struct sppp *sp = (struct sppp*) ifp; in sppp_output() local 721 struct sppp *sp = (struct sppp*) ifp; in sppp_attach() local 763 struct sppp **q, *p, *sp = (struct sppp*) ifp; in sppp_detach() local 803 struct sppp *sp = (struct sppp*) ifp; in sppp_flush() local 815 struct sppp *sp = (struct sppp*) ifp; in sppp_isempty() local 830 struct sppp *sp = (struct sppp*) ifp; in sppp_dequeue() local 854 struct sppp *sp = (struct sppp*) ifp; in sppp_ioctl() local 930 sppp_cp_send(struct sppp *sp, u_short proto, u_char type, in sppp_cp_send() [all …]
|
| /openbsd/src/usr.bin/vi/vi/ |
| D | v_scroll.c | 69 v_lgoto(SCR *sp, VICMD *vp) in v_lgoto() 106 v_home(SCR *sp, VICMD *vp) in v_home() 123 v_middle(SCR *sp, VICMD *vp) in v_middle() 144 v_bottom(SCR *sp, VICMD *vp) in v_bottom() 207 v_up(SCR *sp, VICMD *vp) in v_up() 229 v_cr(SCR *sp, VICMD *vp) in v_cr() 250 v_down(SCR *sp, VICMD *vp) in v_down() 271 v_hpageup(SCR *sp, VICMD *vp) in v_hpageup() 295 v_hpagedown(SCR *sp, VICMD *vp) in v_hpagedown() 323 v_pagedown(SCR *sp, VICMD *vp) in v_pagedown() [all …]
|
| D | v_ex.c | 41 v_again(SCR *sp, VICMD *vp) in v_again() 59 v_exmode(SCR *sp, VICMD *vp) in v_exmode() 95 v_join(SCR *sp, VICMD *vp) in v_join() 124 v_shiftl(SCR *sp, VICMD *vp) in v_shiftl() 141 v_shiftr(SCR *sp, VICMD *vp) in v_shiftr() 158 v_suspend(SCR *sp, VICMD *vp) in v_suspend() 175 v_switch(SCR *sp, VICMD *vp) in v_switch() 212 v_tagpush(SCR *sp, VICMD *vp) in v_tagpush() 229 v_tagpop(SCR *sp, VICMD *vp) in v_tagpop() 244 v_filter(SCR *sp, VICMD *vp) in v_filter() [all …]
|
| D | vs_smap.c | 43 vs_change(SCR *sp, recno_t lno, lnop_t op) in vs_change() 170 vs_sm_fill(SCR *sp, recno_t lno, pos_t pos) in vs_sm_fill() 294 vs_sm_delete(SCR *sp, recno_t lno) in vs_sm_delete() 342 vs_sm_insert(SCR *sp, recno_t lno) in vs_sm_insert() 396 vs_sm_reset(SCR *sp, recno_t lno) in vs_sm_reset() 501 vs_sm_scroll(SCR *sp, MARK *rp, recno_t count, scroll_t scmd) in vs_sm_scroll() 558 vs_sm_up(SCR *sp, MARK *rp, recno_t count, scroll_t scmd, SMAP *smp) in vs_sm_up() 734 vs_sm_1up(SCR *sp) in vs_sm_1up() 763 vs_deleteln(SCR *sp, int cnt) in vs_deleteln() 788 vs_sm_down(SCR *sp, MARK *rp, recno_t count, scroll_t scmd, SMAP *smp) in vs_sm_down() [all …]
|
| D | v_itxt.c | 67 v_iA(SCR *sp, VICMD *vp) in v_iA() 87 v_ia(SCR *sp, VICMD *vp) in v_ia() 124 v_iI(SCR *sp, VICMD *vp) in v_iI() 143 v_ii(SCR *sp, VICMD *vp) in v_ii() 176 v_iO(SCR *sp, VICMD *vp) in v_iO() 188 v_io(SCR *sp, VICMD *vp) in v_io() 194 io(SCR *sp, VICMD *vp, enum which cmd) in io() 244 v_change(SCR *sp, VICMD *vp) in v_change() 383 v_Replace(SCR *sp, VICMD *vp) in v_Replace() 417 v_subst(SCR *sp, VICMD *vp) in v_subst() [all …]
|
| D | v_ch.c | 36 v_chrepeat(SCR *sp, VICMD *vp) in v_chrepeat() 65 v_chrrepeat(SCR *sp, VICMD *vp) in v_chrrepeat() 104 v_cht(SCR *sp, VICMD *vp) in v_cht() 135 v_chf(SCR *sp, VICMD *vp) in v_chf() 191 v_chT(SCR *sp, VICMD *vp) in v_chT() 216 v_chF(SCR *sp, VICMD *vp) in v_chF() 269 noprev(SCR *sp) in noprev() 275 notfound(SCR *sp, CHAR_T ch) in notfound()
|
| D | v_word.c | 78 v_wordW(SCR *sp, VICMD *vp) in v_wordW() 90 v_wordw(SCR *sp, VICMD *vp) in v_wordw() 100 fword(SCR *sp, VICMD *vp, enum which type) in fword() 238 v_wordE(SCR *sp, VICMD *vp) in v_wordE() 250 v_worde(SCR *sp, VICMD *vp) in v_worde() 260 eword(SCR *sp, VICMD *vp, enum which type) in eword() 384 v_wordB(SCR *sp, VICMD *vp) in v_wordB() 396 v_wordb(SCR *sp, VICMD *vp) in v_wordb() 406 bword(SCR *sp, VICMD *vp, enum which type) in bword()
|
| D | getc.c | 44 cs_init(SCR *sp, VCS *csp) in cs_init() 71 cs_next(SCR *sp, VCS *csp) in cs_next() 121 cs_fspace(SCR *sp, VCS *csp) in cs_fspace() 141 cs_fblank(SCR *sp, VCS *csp) in cs_fblank() 161 cs_prev(SCR *sp, VCS *csp) in cs_prev() 211 cs_bblank(SCR *sp, VCS *csp) in cs_bblank()
|
| D | v_txt.c | 65 v_tcmd(SCR *sp, VICMD *vp, CHAR_T prompt, u_int flags) in v_tcmd() 116 txt_map_init(SCR *sp) in txt_map_init() 168 txt_map_end(SCR *sp) in txt_map_end() 228 #define UPDATE_POSITION(sp, tp) { \ argument 241 v_txt(SCR *sp, VICMD *vp, MARK *tm, const char *lp, size_t len, in v_txt() 1442 txt_abbrev(SCR *sp, TEXT *tp, CHAR_T *pushcp, int isinfoline, int *didsubp, in txt_abbrev() 1607 txt_unmap(SCR *sp, TEXT *tp, u_int32_t *ec_flagsp) in txt_unmap() 1647 txt_ai_resolve(SCR *sp, TEXT *tp, int *changedp) in txt_ai_resolve() 1740 v_txt_auto(SCR *sp, recno_t lno, TEXT *aitp, size_t len, TEXT *tp) in v_txt_auto() 1790 txt_backup(SCR *sp, TEXTH *tiqh, TEXT *tp, u_int32_t *flagsp) in txt_backup() [all …]
|
| D | v_util.c | 36 v_eof(SCR *sp, MARK *mp) in v_eof() 59 v_eol(SCR *sp, MARK *mp) in v_eol() 82 v_nomove(SCR *sp) in v_nomove() 94 v_sof(SCR *sp, MARK *mp) in v_sof() 109 v_sol(SCR *sp) in v_sol() 136 v_emsg(SCR *sp, char *p, vim_t which) in v_emsg()
|
| /openbsd/src/usr.bin/vi/cl/ |
| D | cl_funcs.c | 40 cl_addstr(SCR *sp, const char *str, size_t len) in cl_addstr() 72 cl_attr(SCR *sp, scr_attr_t attribute, int on) in cl_attr() 157 cl_baud(SCR *sp, u_long *ratep) in cl_baud() 198 cl_bell(SCR *sp) in cl_bell() 229 cl_clrtoeol(SCR *sp) in cl_clrtoeol() 241 cl_cursor(SCR *sp, size_t *yp, size_t *xp) in cl_cursor() 262 cl_deleteln(SCR *sp) in cl_deleteln() 305 cl_ex_adjust(SCR *sp, exadj_t action) in cl_ex_adjust() 360 cl_insertln(SCR *sp) in cl_insertln() 376 cl_keyval(SCR *sp, scr_keyval_t val, CHAR_T *chp, int *dnep) in cl_keyval() [all …]
|
| /openbsd/src/usr.bin/vi/common/ |
| D | mem.h | 17 #define BINC_GOTO(sp, lp, llen, nlen) { \ argument 30 #define BINC_RET(sp, lp, llen, nlen) { \ argument 49 #define GET_SPACE_GOTO(sp, bp, blen, nlen) { \ argument 62 #define GET_SPACE_RET(sp, bp, blen, nlen) { \ argument 80 #define ADD_SPACE_GOTO(sp, bp, blen, nlen) { \ argument 91 #define ADD_SPACE_RET(sp, bp, blen, nlen) { \ argument 104 #define FREE_SPACE(sp, bp, blen) { \ argument 115 #define CALLOC(sp, p, nmemb, size) { \ argument 119 #define CALLOC_GOTO(sp, p, nmemb, size) { \ argument 123 #define CALLOC_RET(sp, p, nmemb, size) { \ argument [all …]
|
| D | options_f.c | 33 f_altwerase(SCR *sp, OPTION *op, char *str, u_long *valp) in f_altwerase() 44 f_columns(SCR *sp, OPTION *op, char *str, u_long *valp) in f_columns() 74 f_lines(SCR *sp, OPTION *op, char *str, u_long *valp) in f_lines() 127 f_paragraph(SCR *sp, OPTION *op, char *str, u_long *valp) in f_paragraph() 141 f_print(SCR *sp, OPTION *op, char *str, u_long *valp) in f_print() 155 f_readonly(SCR *sp, OPTION *op, char *str, u_long *valp) in f_readonly() 172 f_recompile(SCR *sp, OPTION *op, char *str, u_long *valp) in f_recompile() 189 f_reformat(SCR *sp, OPTION *op, char *str, u_long *valp) in f_reformat() 199 f_section(SCR *sp, OPTION *op, char *str, u_long *valp) in f_section() 213 f_secure(SCR *sp, OPTION *op, char *str, u_long *valp) in f_secure() [all …]
|
| D | log.c | 83 log_init(SCR *sp, EXF *ep) in log_init() 117 log_end(SCR *sp, EXF *ep) in log_end() 143 log_cursor(SCR *sp) in log_cursor() 170 log_cursor1(SCR *sp, int type) in log_cursor1() 205 log_line(SCR *sp, recno_t lno, u_int action) in log_line() 302 log_mark(SCR *sp, LMARK *lmp) in log_mark() 346 log_backward(SCR *sp, MARK *rp) in log_backward() 450 log_setline(SCR *sp) in log_setline() 536 log_forward(SCR *sp, MARK *rp) in log_forward() 633 log_err(SCR *sp, char *file, int line) in log_err() [all …]
|
| D | key.c | 102 v_key_init(SCR *sp) in v_key_init() 157 v_keyval(SCR *sp, int val, scr_keyval_t name) in v_keyval() 191 v_key_ilookup(SCR *sp) in v_key_ilookup() 211 v_key_len(SCR *sp, CHAR_T ch) in v_key_len() 225 v_key_name(SCR *sp, CHAR_T ch) in v_key_name() 302 v_key_val(SCR *sp, CHAR_T ch) in v_key_val() 324 v_event_push(SCR *sp, EVENT *p_evp, CHAR_T *p_s, size_t nitems, u_int flags) in v_event_push() 373 v_event_append(SCR *sp, EVENT *argp) in v_event_append() 498 v_event_get(SCR *sp, EVENT *argp, int timeout, u_int32_t flags) in v_event_get() 715 v_sync(SCR *sp, int flags) in v_sync() [all …]
|
| D | line.c | 36 db_eget(SCR *sp, recno_t lno, char **pp, size_t *lenp, int *isemptyp) in db_eget() 75 db_get(SCR *sp, recno_t lno, u_int32_t flags, char **pp, size_t *lenp) in db_get() 180 db_delete(SCR *sp, recno_t lno) in db_delete() 234 db_append(SCR *sp, int update, recno_t lno, char *p, size_t len) in db_append() 301 db_insert(SCR *sp, recno_t lno, char *p, size_t len) in db_insert() 360 db_set(SCR *sp, recno_t lno, char *p, size_t len) in db_set() 413 db_exist(SCR *sp, recno_t lno) in db_exist() 446 db_last(SCR *sp, recno_t *lnop) in db_last() 505 db_err(SCR *sp, recno_t lno) in db_err() 517 scr_update(SCR *sp, recno_t lno, lnop_t op, int current) in scr_update()
|
| /openbsd/src/lib/libcurses/tinfo/ |
| D | tinfo_driver.c | 161 SCREEN *sp; in drv_CanHandle() local 259 SCREEN *sp; in drv_dobeepflash() local 306 SCREEN *sp; in drv_print() local 320 SCREEN *sp; in drv_defaultcolors() local 355 SCREEN *sp; in drv_setcolor() local 389 SCREEN *sp; in drv_rescol() local 405 SCREEN *sp; in drv_rescolors() local 420 SCREEN *sp; in drv_size() local 566 SCREEN *sp = TCB->csp; in drv_sgmode() local 600 SCREEN *sp; in drv_mode() local [all …]
|
| /openbsd/src/lib/libcurses/tty/ |
| D | hashmap.c | 91 # define screen_lines(sp) MAXLINES argument 92 # define TEXTWIDTH(sp) 1 argument 96 # define OLDNUM(sp,n) oldnums[n] argument 97 # define OLDTEXT(sp,n) oldtext[n] argument 98 # define NEWTEXT(sp,m) newtext[m] argument 99 # define PENDING(sp,n) 1 argument 111 #define oldhash(sp) ((sp)->oldhash) argument 112 #define newhash(sp) ((sp)->newhash) argument 113 #define hashtab(sp) ((sp)->hashtab) argument 114 #define lines_alloc(sp) ((sp)->hashtab_len) argument [all …]
|
| /openbsd/src/sys/dev/ic/ |
| D | sili.c | 277 struct sili_port *sp = &sc->sc_ports[i]; in sili_resume() local 286 sili_pmp_port_start_error_recovery(struct sili_port *sp, int err_port) in sili_pmp_port_start_error_recovery() 321 sili_port_clear_commands(struct sili_port *sp) in sili_port_clear_commands() 340 sili_pmp_port_do_error_recovery(struct sili_port *sp, int slot, in sili_pmp_port_do_error_recovery() 369 struct sili_port *sp = ccb->ccb_port; in sili_simulate_error() local 403 sili_port_intr(struct sili_port *sp, int timeout_slot) in sili_port_intr() 743 struct sili_port *sp; in sili_ports_alloc() local 778 struct sili_port *sp; in sili_ports_free() local 794 sili_ccb_alloc(struct sili_port *sp) in sili_ccb_alloc() 849 sili_ccb_free(struct sili_port *sp) in sili_ccb_free() [all …]
|
| /openbsd/src/usr.bin/vi/ex/ |
| D | ex_tag.c | 57 ex_tag_first(SCR *sp, char *tagarg) in ex_tag_first() 91 ex_tag_push(SCR *sp, EXCMD *cmdp) in ex_tag_push() 223 ex_tag_next(SCR *sp, EXCMD *cmdp) in ex_tag_next() 254 ex_tag_prev(SCR *sp, EXCMD *cmdp) in ex_tag_prev() 285 ex_tag_nswitch(SCR *sp, TAG *tp, int force) in ex_tag_nswitch() 319 ex_tag_Nswitch(SCR *sp, TAG *tp, int force) in ex_tag_Nswitch() 373 ex_tag_pop(SCR *sp, EXCMD *cmdp) in ex_tag_pop() 453 ex_tag_top(SCR *sp, EXCMD *cmdp) in ex_tag_top() 476 tag_pop(SCR *sp, TAGQ *dtqp, int force) in tag_pop() 529 ex_tag_display(SCR *sp) in ex_tag_display() [all …]
|
| D | ex_print.c | 36 ex_list(SCR *sp, EXCMD *cmdp) in ex_list() 54 ex_number(SCR *sp, EXCMD *cmdp) in ex_number() 72 ex_pr(SCR *sp, EXCMD *cmdp) in ex_pr() 88 ex_print(SCR *sp, EXCMD *cmdp, MARK *fp, MARK *tp, u_int32_t flags) in ex_print() 140 ex_ldisplay(SCR *sp, const char *p, size_t len, size_t col, u_int flags) in ex_ldisplay() 161 ex_scprint(SCR *sp, MARK *fp, MARK *tp) in ex_scprint() 196 ex_prchars(SCR *sp, const char *p, size_t *colp, size_t len, u_int flags, in ex_prchars() 243 ex_printf(SCR *sp, const char *fmt, ...) in ex_printf() 273 ex_puts(SCR *sp, const char *str) in ex_puts() 299 ex_fflush(SCR *sp) in ex_fflush()
|
| D | ex_script.c | 56 ex_script(SCR *sp, EXCMD *cmdp) in ex_script() 81 sscr_init(SCR *sp) in sscr_init() 186 sscr_getprompt(SCR *sp) in sscr_getprompt() 276 sscr_exec(SCR *sp, recno_t lno) in sscr_exec() 347 sscr_check_input(SCR *sp) in sscr_check_input() 417 sscr_input(SCR *sp) in sscr_input() 482 sscr_insert(SCR *sp) in sscr_insert() 567 sscr_setprompt(SCR *sp, char *buf, size_t len) in sscr_setprompt() 590 sscr_matchprompt(SCR *sp, char *lp, size_t line_len, size_t *lenp) in sscr_matchprompt() 628 sscr_end(SCR *sp) in sscr_end() [all …]
|
| /openbsd/src/gnu/lib/libiberty/src/ |
| D | splay-tree.c | 52 splay_tree_delete_helper (splay_tree sp, splay_tree_node node) in splay_tree_delete_helper() 138 splay_tree_splay (splay_tree sp, splay_tree_key key) in splay_tree_splay() 206 splay_tree_foreach_helper (splay_tree sp, splay_tree_node node, in splay_tree_foreach_helper() 268 splay_tree sp = (splay_tree) (*allocate_fn) (sizeof (struct splay_tree_s), in splay_tree_new_with_allocator() local 284 splay_tree_delete (splay_tree sp) in splay_tree_delete() 295 splay_tree_insert (splay_tree sp, splay_tree_key key, splay_tree_value value) in splay_tree_insert() 347 splay_tree_remove (splay_tree sp, splay_tree_key key) in splay_tree_remove() 387 splay_tree_lookup (splay_tree sp, splay_tree_key key) in splay_tree_lookup() 400 splay_tree_max (splay_tree sp) in splay_tree_max() 416 splay_tree_min (splay_tree sp) in splay_tree_min() [all …]
|
| /openbsd/src/lib/libcurses/base/ |
| D | lib_mouse.c | 194 #define FirstEV(sp) ((sp)->_mouse_events) argument 195 #define LastEV(sp) ((sp)->_mouse_events + EV_MAX - 1) argument 207 #define IndexEV(sp, ep) (ep - FirstEV(sp)) argument 209 #define RunParams(sp, eventp, runp) \ argument 215 _trace_slot(SCREEN *sp, const char *tag) in _trace_slot() 233 # define M_FD(sp) sp->_mouse_fd argument 236 write_event(SCREEN *sp, int down, int button, int x, int y) in write_event() 255 SCREEN *sp = (SCREEN *) param; in mouse_server() local 322 sysmouse_server(SCREEN *sp) in sysmouse_server() 389 init_xterm_mouse(SCREEN *sp) in init_xterm_mouse() [all …]
|
| D | lib_getch.c | 54 #define GetEscdelay(sp) *_nc_ptr_Escdelay(sp) argument 62 _nc_ptr_Escdelay(SCREEN *sp) in _nc_ptr_Escdelay() 135 SCREEN *sp = _nc_screen_of(win); in _nc_use_meta() local 154 check_mouse_activity(SCREEN *sp, int delay EVENTLIST_2nd(_nc_eventlist * evl)) in check_mouse_activity() 210 fifo_peek(SCREEN *sp) in fifo_peek() 220 fifo_pull(SCREEN *sp) in fifo_pull() 371 fifo_clear(SCREEN *sp) in fifo_clear() 384 SCREEN *sp = _nc_screen_of(win); in recur_wrefresh() local 416 SCREEN *sp = _nc_screen_of(win); in recur_wgetnstr() local 450 SCREEN *sp; in _nc_wgetch() local [all …]
|