/openbsd/usr.bin/vi/common/ |
H A D | log.c | 181 key.size = sizeof(recno_t); in log_cursor1() 256 key.size = sizeof(recno_t); in log_line() 352 recno_t lno; in log_backward() 402 sizeof(recno_t))) in log_backward() 413 sizeof(recno_t))) in log_backward() 456 recno_t lno; in log_setline() 507 sizeof(recno_t))) in log_setline() 542 recno_t lno; in log_forward() 586 sizeof(recno_t))) in log_forward() 604 sizeof(recno_t))) in log_forward() [all …]
|
H A D | line.c | 27 static int scr_update(SCR *, recno_t, lnop_t, int); 38 recno_t l1; in db_eget() 80 recno_t l1, l2; in db_get() 180 db_delete(SCR *sp, recno_t lno) in db_delete() 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() 450 recno_t lno; in db_last() 505 db_err(SCR *sp, recno_t lno) in db_err() [all …]
|
H A D | exf.h | 25 recno_t c_lno; /* Cached line number. */ 26 recno_t c_nlines; /* Cached lines in the file. */ 31 recno_t l_high; /* Log last + 1 record number. */ 32 recno_t l_cur; /* Log current record number. */
|
H A D | screen.h | 63 recno_t lno; /* 1-N: file line. */ 75 recno_t rptlchange; /* Ex/vi: last L_CHANGED lno. */ 76 recno_t rptlines[L_YANKED + 1];/* Ex/vi: lines changed by last op. */ 82 recno_t defscroll; /* Vi: ^D, ^U scroll information. */
|
H A D | mark.h | 28 recno_t lno; /* Line number. */ 34 recno_t lno; /* Line number. */
|
/openbsd/usr.bin/vi/include/ |
H A D | com_extern.h | 4 int cut_line(SCR *, recno_t, size_t, size_t, CB *); 31 int db_delete(SCR *, recno_t); 33 int db_insert(SCR *, recno_t, char *, size_t); 34 int db_set(SCR *, recno_t, char *, size_t); 35 int db_exist(SCR *, recno_t); 36 int db_last(SCR *, recno_t *); 37 void db_err(SCR *, recno_t); 41 int log_line(SCR *, recno_t, u_int); 52 int mark_insdel(SCR *, lnop_t, recno_t); 56 void msgq_status(SCR *, recno_t, u_int); [all …]
|
H A D | vi_extern.h | 88 const char *, size_t, CHAR_T, recno_t, u_long, u_int32_t); 89 int v_txt_auto(SCR *, recno_t, TEXT *, size_t, TEXT *); 125 size_t vs_screens(SCR *, recno_t, size_t *); 126 size_t vs_columns(SCR *, char *, recno_t, size_t *, size_t *); 127 size_t vs_rcm(SCR *, recno_t, int); 128 size_t vs_colpos(SCR *, recno_t, size_t); 129 int vs_change(SCR *, recno_t, lnop_t); 130 int vs_sm_fill(SCR *, recno_t, pos_t); 131 int vs_sm_scroll(SCR *, MARK *, recno_t, scroll_t); 138 recno_t vs_sm_nlines(SCR *, SMAP *, recno_t, size_t);
|
H A D | ex_extern.h | 37 int ex_g_insdel(SCR *, lnop_t, recno_t); 65 int ex_readfp(SCR *, char *, FILE *, MARK *, recno_t *, int); 71 int sscr_exec(SCR *, recno_t); 109 void ex_cinit(EXCMD *, int, int, recno_t, recno_t, int, ARGS **);
|
/openbsd/lib/libc/db/recno/ |
H A D | extern.h | 41 int __rec_fmap(BTREE *, recno_t); 43 int __rec_fpipe(BTREE *, recno_t); 45 int __rec_iput(BTREE *, recno_t, const DBT *, u_int); 47 int __rec_ret(BTREE *, EPG *, recno_t, DBT *, DBT *); 48 EPG *__rec_search(BTREE *, recno_t, enum SRCHOP); 51 int __rec_vmap(BTREE *, recno_t); 53 int __rec_vpipe(BTREE *, recno_t);
|
H A D | rec_utils.c | 53 __rec_ret(BTREE *t, EPG *e, recno_t nrec, DBT *key, DBT *data) in __rec_ret() 62 if (sizeof(recno_t) > t->bt_rkey.size) { in __rec_ret() 63 p = realloc(t->bt_rkey.data, sizeof(recno_t)); in __rec_ret() 67 t->bt_rkey.size = sizeof(recno_t); in __rec_ret() 69 memmove(t->bt_rkey.data, &nrec, sizeof(recno_t)); in __rec_ret() 70 key->size = sizeof(recno_t); in __rec_ret()
|
H A D | rec_get.c | 61 recno_t nrec; in __rec_get() 73 if (flags || (nrec = *(recno_t *)key->data) == 0) { in __rec_get() 112 __rec_fpipe(BTREE *t, recno_t top) in __rec_fpipe() 115 recno_t nrec; in __rec_fpipe() 166 __rec_vpipe(BTREE *t, recno_t top) in __rec_vpipe() 169 recno_t nrec; in __rec_vpipe() 221 __rec_fmap(BTREE *t, recno_t top) in __rec_fmap() 224 recno_t nrec; in __rec_fmap() 269 __rec_vmap(BTREE *t, recno_t top) in __rec_vmap() 273 recno_t nrec; in __rec_vmap()
|
H A D | rec_put.c | 60 recno_t nrec; in __rec_put() 105 if ((nrec = *(recno_t *)key->data) == 0) in __rec_put() 109 if ((nrec = *(recno_t *)key->data) == 0) { in __rec_put() 116 if ((nrec = *(recno_t *)key->data) == 0) in __rec_put() 120 if ((nrec = *(recno_t *)key->data) == 0) in __rec_put() 180 __rec_iput(BTREE *t, recno_t nrec, const DBT *data, u_int flags) in __rec_iput()
|
H A D | rec_delete.c | 44 static int rec_rdelete(BTREE *, recno_t); 61 recno_t nrec; in __rec_delete() 74 if ((nrec = *(recno_t *)key->data) == 0) in __rec_delete() 111 rec_rdelete(BTREE *t, recno_t nrec) in rec_rdelete()
|
H A D | rec_search.c | 58 __rec_search(BTREE *t, recno_t recno, enum SRCHOP op) in __rec_search() 66 recno_t total; in __rec_search()
|
H A D | rec_seq.c | 59 recno_t nrec; in __rec_seq() 72 if ((nrec = *(recno_t *)key->data) == 0) in __rec_seq()
|
/openbsd/lib/libc/db/btree/ |
H A D | btree.h | 150 recno_t nrecs; /* number of records */ 160 LALIGN(sizeof(recno_t) + sizeof(pgno_t)) 164 *(recno_t *)p = nrecs; \ 165 p += sizeof(recno_t); \ 276 recno_t rcursor; /* R: recno cursor (1-based) */ 340 int (*bt_irec)(struct _btree *, recno_t); 350 recno_t bt_nrecs; /* R: number of records */
|
/openbsd/usr.bin/vi/vi/ |
H A D | vs_smap.c | 29 static int vs_sm_delete(SCR *, recno_t); 32 static int vs_sm_insert(SCR *, recno_t); 33 static int vs_sm_reset(SCR *, recno_t); 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() 1112 recno_t last; in vs_sm_position() 1188 recno_t [all …]
|
H A D | v_ulcase.c | 29 static int ulcase(SCR *, recno_t, CHAR_T *, size_t, size_t, size_t); 50 recno_t lno; in v_ulcase() 110 recno_t lno; in v_mulcase() 142 ulcase(SCR *sp, recno_t lno, CHAR_T *lp, size_t len, size_t scno, size_t ecno) in ulcase()
|
H A D | vi.h | 154 recno_t cs_lno; /* Line. */ 202 recno_t lno; /* 1-N: Physical file line number. */ 274 recno_t sv_tm_lno; /* tcmd: saved TMAP lno field. */ 294 recno_t ss_lno; /* 1-N: vi_opt_screens cached line number. */ 299 recno_t olno; /* 1-N: old cursor file line. */
|
H A D | v_scroll.c | 71 recno_t nlines; in v_lgoto() 209 recno_t lno; in v_up() 252 recno_t lno; in v_down() 325 recno_t offset; in v_pagedown() 371 recno_t offset; in v_pageup()
|
H A D | vs_relative.c | 54 vs_screens(SCR *sp, recno_t lno, size_t *cnop) in vs_screens() 97 vs_columns(SCR *sp, char *lp, recno_t lno, size_t *cnop, size_t *diffp) in vs_columns() 199 vs_rcm(SCR *sp, recno_t lno, int islast) in vs_rcm() 225 vs_colpos(SCR *sp, recno_t lno, size_t cno) in vs_colpos()
|
/openbsd/usr.bin/vi/ex/ |
H A D | ex.h | 70 recno_t start, stop; /* Start/stop of the range. */ 78 recno_t if_lno; /* Associated line number. */ 95 recno_t range_lno; /* @/global range: set line number. */ 114 recno_t lineno; /* Command: line number. */
|
H A D | tag.h | 59 recno_t lno; /* Saved line number. */ 64 recno_t slno; /* Search line number. */
|
H A D | ex_read.c | 51 recno_t nlines; in ex_read() 294 ex_readfp(SCR *sp, char *name, FILE *fp, MARK *fm, recno_t *nlinesp, in ex_readfp() 299 recno_t lcnt, lno; in ex_readfp()
|
/openbsd/usr.bin/vi/docs/interp/ |
H A D | interp | 40 int inter_gline(SCR *, recno_t lno, char **lp, size_t *lenp); 46 int inter_dline(SCR *, recno_t lno); 50 int inter_aline(SCR *, recno_t lno, char *lp, size_t len); 55 int inter_iline(SCR *, recno_t lno, char *lp, size_t len); 60 int inter_sline(SCR *, recno_t lno, char *lp, size_t len); 64 int inter_lline(SCR *, recno_t *lnop);
|