/freebsd-current/lib/libc/db/recno/ |
H A D | extern.h | 38 int __rec_fmap(BTREE *, recno_t); 40 int __rec_fpipe(BTREE *, recno_t); 42 int __rec_iput(BTREE *, recno_t, const DBT *, u_int); 44 int __rec_ret(BTREE *, EPG *, recno_t, DBT *, DBT *); 45 EPG *__rec_search(BTREE *, recno_t, enum SRCHOP); 48 int __rec_vmap(BTREE *, recno_t); 50 int __rec_vpipe(BTREE *, recno_t);
|
H A D | rec_utils.c | 56 __rec_ret(BTREE *t, EPG *e, recno_t nrec, DBT *key, DBT *data) 65 if (sizeof(recno_t) > t->bt_rkey.size) { 66 p = realloc(t->bt_rkey.data, sizeof(recno_t)); 70 t->bt_rkey.size = sizeof(recno_t); 72 memmove(t->bt_rkey.data, &nrec, sizeof(recno_t)); 73 key->size = sizeof(recno_t);
|
H A D | rec_get.c | 61 recno_t nrec; 73 if (flags || (nrec = *(recno_t *)key->data) == 0) { 112 __rec_fpipe(BTREE *t, recno_t top) 115 recno_t nrec; 164 __rec_vpipe(BTREE *t, recno_t top) 167 recno_t nrec; 217 __rec_fmap(BTREE *t, recno_t top) 220 recno_t nrec; 263 __rec_vmap(BTREE *t, recno_t top) 267 recno_t nre [all...] |
H A D | rec_delete.c | 44 static int rec_rdelete(BTREE *, recno_t); 61 recno_t nrec; 74 if ((nrec = *(recno_t *)key->data) == 0) 111 rec_rdelete(BTREE *t, recno_t nrec)
|
H A D | rec_seq.c | 59 recno_t nrec; 72 if ((nrec = *(recno_t *)key->data) == 0)
|
H A D | rec_search.c | 58 __rec_search(BTREE *t, recno_t recno, enum SRCHOP op) 66 recno_t total;
|
H A D | rec_put.c | 60 recno_t nrec; 104 if ((nrec = *(recno_t *)key->data) == 0) 108 if ((nrec = *(recno_t *)key->data) == 0) { 115 if ((nrec = *(recno_t *)key->data) == 0) 119 if ((nrec = *(recno_t *)key->data) == 0) 184 __rec_iput(BTREE *t, recno_t nrec, const DBT *data, u_int flags)
|
/freebsd-current/contrib/nvi/common/ |
H A D | mark.h | 18 * any legal line number. The line number is of type recno_t, as that's 24 recno_t lno; /* Line number. */ 30 recno_t lno; /* Line number. */
|
H A D | exf.h | 22 recno_t c_lno; /* Cached line number. */ 23 recno_t c_nlines; /* Cached lines in the file. */ 28 recno_t l_high; /* Log last + 1 record number. */ 29 recno_t l_cur; /* Log current record number. */
|
H A D | log.c | 34 * LOG_LINE_APPEND recno_t char * 35 * LOG_LINE_DELETE recno_t char * 36 * LOG_LINE_INSERT recno_t char * 37 * LOG_LINE_RESET_F recno_t char * 38 * LOG_LINE_RESET_B recno_t char * 66 static void log_trace(SCR *, char *, recno_t, u_char *); 68 static int apply_with(int (*)(SCR *, recno_t, CHAR_T *, size_t), 69 SCR *, recno_t, u_char *, size_t); 81 char data[sizeof(u_char) /* type */ + sizeof(recno_t)]; 192 key.size = sizeof(recno_t); [all...] |
H A D | screen.h | 60 recno_t lno; /* 1-N: file line. */ 72 recno_t rptlchange; /* Ex/vi: last L_CHANGED lno. */ 73 recno_t rptlines[L_YANKED + 1];/* Ex/vi: lines changed by last op. */ 79 recno_t defscroll; /* Vi: ^D, ^U scroll information. */
|
H A D | line.c | 25 static int scr_update(SCR *, recno_t, lnop_t, int); 31 * PUBLIC: int db_eget(SCR *, recno_t, CHAR_T **, size_t *, int *); 35 recno_t lno, /* Line number. */ 40 recno_t l1; 74 * PUBLIC: int db_get(SCR *, recno_t, u_int32_t, CHAR_T **, size_t *); 78 recno_t lno, /* Line number. */ 86 recno_t l1, l2; 196 * PUBLIC: int db_delete(SCR *, recno_t); 199 db_delete(SCR *sp, recno_t lno) 250 * PUBLIC: int db_append(SCR *, int, recno_t, CHAR_ [all...] |
/freebsd-current/contrib/nvi/ex/ |
H A D | tag.h | 79 recno_t lno; /* Saved line number. */ 84 recno_t slno; /* Search line number. */
|
H A D | ex_equal.c | 30 recno_t lno;
|
H A D | ex_delete.c | 32 recno_t lno;
|
H A D | ex.h | 69 recno_t start, stop; /* Start/stop of the range. */ 77 recno_t if_lno; /* Associated line number. */ 94 recno_t range_lno; /* @/global range: set line number. */ 113 recno_t lineno; /* Command: line number. */
|
H A D | ex_preserve.c | 33 recno_t lno;
|
/freebsd-current/usr.bin/vi/ |
H A D | extern.h | 78 int ex_g_insdel(SCR *, lnop_t, recno_t); 106 int ex_readfp(SCR *, char *, FILE *, MARK *, recno_t *, int); 112 int sscr_exec(SCR *, recno_t); 150 void ex_cinit(SCR *, EXCMD *, int, int, recno_t, recno_t, int); 254 const CHAR_T *, size_t, ARG_CHAR_T, recno_t, u_long, u_int32_t); 255 int v_txt_auto(SCR *, recno_t, TEXT *, size_t, TEXT *); 292 size_t vs_screens(SCR *, recno_t, size_t *); 293 size_t vs_columns(SCR *, CHAR_T *, recno_t, size_t *, size_t *); 294 size_t vs_rcm(SCR *, recno_t, in [all...] |
/freebsd-current/lib/libc/db/btree/ |
H A D | btree.h | 148 recno_t nrecs; /* number of records */ 158 LALIGN(sizeof(recno_t) + sizeof(pgno_t)) 162 *(recno_t *)p = nrecs; \ 163 p += sizeof(recno_t); \ 274 recno_t rcursor; /* R: recno cursor (1-based) */ 338 int (*bt_irec)(struct _btree *, recno_t); 348 recno_t bt_nrecs; /* R: number of records */
|
/freebsd-current/contrib/nvi/vi/ |
H A D | vs_relative.c | 49 * PUBLIC: size_t vs_screens(SCR *, recno_t, size_t *); 52 vs_screens(SCR *sp, recno_t lno, size_t *cnop) 92 * PUBLIC: size_t vs_columns(SCR *, CHAR_T *, recno_t, size_t *, size_t *); 95 vs_columns(SCR *sp, CHAR_T *lp, recno_t lno, size_t *cnop, size_t *diffp) 192 * PUBLIC: size_t vs_rcm(SCR *, recno_t, int); 195 vs_rcm(SCR *sp, recno_t lno, int islast) 218 * PUBLIC: size_t vs_colpos(SCR *, recno_t, size_t); 221 vs_colpos(SCR *sp, recno_t lno, size_t cno)
|
H A D | v_ulcase.c | 27 static int ulcase(SCR *, recno_t, CHAR_T *, size_t, size_t, size_t); 48 recno_t lno; 108 recno_t lno; 140 ulcase(SCR *sp, recno_t lno, CHAR_T *lp, size_t len, size_t scno, size_t ecno)
|
H A D | vi.h | 150 recno_t cs_lno; /* Line. */ 198 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 | 68 recno_t nlines; 206 recno_t lno; 249 recno_t lno; 322 recno_t offset; 368 recno_t offset;
|
H A D | vs_smap.c | 27 static int vs_sm_delete(SCR *, recno_t); 28 static int vs_sm_down(SCR *, MARK *, recno_t, scroll_t, SMAP *); 30 static int vs_sm_insert(SCR *, recno_t); 31 static int vs_sm_reset(SCR *, recno_t); 32 static int vs_sm_up(SCR *, MARK *, recno_t, scroll_t, SMAP *); 38 * PUBLIC: int vs_change(SCR *, recno_t, lnop_t); 41 vs_change(SCR *sp, recno_t lno, lnop_t op) 170 * PUBLIC: int vs_sm_fill(SCR *, recno_t, pos_t); 173 vs_sm_fill(SCR *sp, recno_t lno, pos_t pos) 307 vs_sm_delete(SCR *sp, recno_t ln [all...] |
/freebsd-current/lib/libc/db/test/btree.tests/ |
H A D | main.c | 230 static recno_t nlong; 280 key.size = sizeof(recno_t); 306 key.size = sizeof(recno_t); 346 key.size = sizeof(recno_t); 404 key.size = sizeof(recno_t); 450 key.size = sizeof(recno_t); 480 key.size = sizeof(recno_t); 506 key.size = sizeof(recno_t); 535 key.size = sizeof(recno_t); 608 recno_t cn [all...] |