Home
last modified time | relevance | path

Searched refs:DBT (Results 1 – 25 of 91) sorted by relevance

1234

/freebsd-14.2/lib/libc/db/btree/
H A Dextern.h35 int __bt_cmp(BTREE *, const DBT *, EPG *);
37 int __bt_defcmp(const DBT *, const DBT *);
38 size_t __bt_defpfx(const DBT *, const DBT *);
39 int __bt_delete(const DB *, const DBT *, u_int);
43 int __bt_get(const DB *, const DBT *, DBT *, u_int);
48 int __bt_put(const DB *dbp, DBT *, const DBT *, u_int);
49 int __bt_ret(BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int);
50 EPG *__bt_search(BTREE *, const DBT *, int *);
51 int __bt_seq(const DB *, DBT *, DBT *, u_int);
54 const DBT *, const DBT *, int, size_t, u_int32_t);
[all …]
H A Dbt_utils.c64 __bt_ret(BTREE *t, EPG *e, DBT *key, DBT *rkey, DBT *data, DBT *rdata, int copy) in __bt_ret()
143 __bt_cmp(BTREE *t, const DBT *k1, EPG *e) in __bt_cmp()
147 DBT k2; in __bt_cmp()
203 __bt_defcmp(const DBT *a, const DBT *b) in __bt_defcmp()
232 __bt_defpfx(const DBT *a, const DBT *b) in __bt_defpfx()
H A Dbt_search.c45 static int __bt_snext(BTREE *, PAGE *, const DBT *, int *);
46 static int __bt_sprev(BTREE *, PAGE *, const DBT *, int *);
63 __bt_search(BTREE *t, const DBT *key, int *exactp) in __bt_search()
145 __bt_snext(BTREE *t, PAGE *h, const DBT *key, int *exactp) in __bt_snext()
180 __bt_sprev(BTREE *t, PAGE *h, const DBT *key, int *exactp) in __bt_sprev()
H A Dbtree.h275 DBT key; /* B: Saved key, or key.data == NULL. */
322 DBT bt_rkey; /* returned key */
323 DBT bt_rdata; /* returned data */
336 int (*bt_cmp)(const DBT *, const DBT *);
338 size_t (*bt_pfx)(const DBT *, const DBT *);
H A Dbt_put.c48 static EPG *bt_fast(BTREE *, const DBT *, const DBT *, int *);
64 __bt_put(const DB *dbp, DBT *key, const DBT *data, u_int flags) in __bt_put()
67 DBT tkey, tdata; in __bt_put()
263 bt_fast(BTREE *t, const DBT *key, const DBT *data, int *exactp) in bt_fast()
/freebsd-14.2/contrib/ncurses/include/
H A Dhashed_db.h62 extern NCURSES_EXPORT(bool) _nc_db_have_data(DBT * /* key */, DBT * /* data */, char ** /* buffer *…
63 extern NCURSES_EXPORT(bool) _nc_db_have_index(DBT * /* key */, DBT * /* data */, char ** /* buffer …
65 extern NCURSES_EXPORT(int) _nc_db_first(DB * /* db */, DBT * /* key */, DBT * /* data */);
66 extern NCURSES_EXPORT(int) _nc_db_next(DB * /* db */, DBT * /* key */, DBT * /* data */);
67 extern NCURSES_EXPORT(int) _nc_db_get(DB * /* db */, DBT * /* key */, DBT * /* data */);
68 extern NCURSES_EXPORT(int) _nc_db_put(DB * /* db */, DBT * /* key */, DBT * /* data */);
/freebsd-14.2/lib/libc/db/recno/
H A Dextern.h37 int __rec_delete(const DB *, const DBT *, u_int);
43 int __rec_get(const DB *, const DBT *, DBT *, u_int);
44 int __rec_iput(BTREE *, recno_t, const DBT *, u_int);
45 int __rec_put(const DB *dbp, DBT *, const DBT *, u_int);
46 int __rec_ret(BTREE *, EPG *, recno_t, DBT *, DBT *);
48 int __rec_seq(const DB *, DBT *, DBT *, u_int);
/freebsd-14.2/usr.sbin/sa/
H A Dmain.c62 static int cmp_usrsys(const DBT *, const DBT *);
64 static int cmp_dkio(const DBT *, const DBT *);
66 static int cmp_cpumem(const DBT *, const DBT *);
68 static int cmp_calls(const DBT *, const DBT *);
395 cmp_usrsys(const DBT *d1, const DBT *d2) in cmp_usrsys()
416 cmp_avgusrsys(const DBT *d1, const DBT *d2) in cmp_avgusrsys()
440 cmp_dkio(const DBT *d1, const DBT *d2) in cmp_dkio()
457 cmp_avgdkio(const DBT *d1, const DBT *d2) in cmp_avgdkio()
478 cmp_cpumem(const DBT *d1, const DBT *d2) in cmp_cpumem()
495 cmp_avgcpumem(const DBT *d1, const DBT *d2) in cmp_avgcpumem()
[all …]
H A Dusrdb.c48 static int uid_compare(const DBT *, const DBT *);
67 v1_to_v2(DBT *key, DBT *data) in v1_to_v2()
120 DBT key, data; in usracct_add()
183 DBT key, data; in usracct_print()
226 uid_compare(const DBT *k1, const DBT *k2) in uid_compare()
H A Dextern.h65 typedef int (*cmpf_t)(const DBT *, const DBT *);
69 BTREEINFO *bti, int (*v1_to_v2)(DBT *key, DBT *data));
/freebsd-14.2/include/
H A Ddb.h57 } DBT; typedef
101 int (*del)(const struct __db *, const DBT *, unsigned int);
102 int (*get)(const struct __db *, const DBT *, DBT *, unsigned int);
103 int (*put)(const struct __db *, DBT *, const DBT *, unsigned int);
104 int (*seq)(const struct __db *, DBT *, DBT *, unsigned int);
122 (const DBT *, const DBT *);
124 (const DBT *, const DBT *);
/freebsd-14.2/usr.sbin/ypserv/
H A Dyp_extern.h76 extern int yp_get_record(DB *, const DBT *, DBT *, int);
78 extern int yp_get_record(const char *, const char *, const DBT *, DBT *, int);
80 extern int yp_first_record(const DB *, DBT *, DBT *, int);
81 extern int yp_next_record(const DB *, DBT *, DBT *, int, int);
H A Dyp_dblookup.c204 DBT key = { NULL, 0 }, data = { NULL, 0 }; in yp_setflags()
452 yp_get_record(DB *dbp, const DBT *key, DBT *data, int allow) in yp_get_record()
456 const DBT *key, DBT *data, int allow) in yp_get_record()
517 yp_first_record(const DB *dbp, DBT *key, DBT *data, int allow) in yp_first_record()
569 yp_next_record(const DB *dbp, DBT *key, DBT *data, int all, int allow) in yp_next_record()
571 static DBT lkey = { NULL, 0 }; in yp_next_record()
572 static DBT ldata = { NULL, 0 }; in yp_next_record()
678 DBT db_key = { NULL, 0 }, db_val = { NULL, 0 }; in yp_getbykey()
698 DBT db_key = { NULL, 0 }, db_val = { NULL, 0 }; in yp_firstbykey()
716 DBT db_key = { NULL, 0 }, db_val = { NULL, 0 }; in yp_nextbykey()
/freebsd-14.2/lib/libc/db/hash/
H A Dextern.h35 int __addel(HTAB *, BUFHEAD *, const DBT *, const DBT *);
37 int __big_insert(HTAB *, BUFHEAD *, const DBT *, const DBT *);
38 int __big_keydata(HTAB *, BUFHEAD *, DBT *, DBT *, int);
39 int __big_return(HTAB *, BUFHEAD *, int, DBT *, int);
H A Dhash.c60 static int hash_access(HTAB *, ACTION, DBT *, DBT *);
64 static int hash_get(const DB *, const DBT *, DBT *, u_int32_t);
65 static int hash_put(const DB *, DBT *, const DBT *, u_int32_t);
67 static int hash_seq(const DB *, DBT *, DBT *, u_int32_t);
520 hash_get(const DB *dbp, const DBT *key, DBT *data, u_int32_t flag) in hash_get()
529 return (hash_access(hashp, HASH_GET, (DBT *)key, data)); in hash_get()
533 hash_put(const DB *dbp, DBT *key, const DBT *data, u_int32_t flag) in hash_put()
547 HASH_PUTNEW : HASH_PUT, (DBT *)key, (DBT *)data)); in hash_put()
551 hash_delete(const DB *dbp, const DBT *key, in hash_delete()
572 hash_access(HTAB *hashp, ACTION action, DBT *key, DBT *val) in hash_access()
[all …]
H A Dndbm.c95 DBT dbtkey, dbtretdata; in dbm_fetch()
119 DBT dbtretkey, dbtretdata; in dbm_firstkey()
139 DBT dbtretkey, dbtretdata; in dbm_nextkey()
158 DBT dbtkey; in dbm_delete()
178 DBT dbtkey, dbtdata; in dbm_store()
/freebsd-14.2/lib/libc/db/db/
H A Ddb.c97 dbp->del = (int (*)(const struct __db *, const DBT*, u_int))__dberr; in __dbpanic()
99 dbp->get = (int (*)(const struct __db *, const DBT*, DBT *, u_int))__dberr; in __dbpanic()
100 dbp->put = (int (*)(const struct __db *, DBT *, const DBT *, u_int))__dberr; in __dbpanic()
101 dbp->seq = (int (*)(const struct __db *, DBT *, DBT *, u_int))__dberr; in __dbpanic()
/freebsd-14.2/contrib/ncurses/ncurses/tinfo/
H A Dhashed_db.c205 _nc_db_put(DB * db, DBT * key, DBT * data) in _nc_db_put()
224 _nc_db_get(DB * db, DBT * key, DBT * data) in _nc_db_get()
243 _nc_db_first(DB * db, DBT * key, DBT * data) in _nc_db_first()
265 _nc_db_next(DB * db, DBT * key, DBT * data) in _nc_db_next()
287 _nc_db_have_index(DBT * key, DBT * data, char **buffer, int *size) in _nc_db_have_index()
310 _nc_db_have_data(DBT * key, DBT * data, char **buffer, int *size) in _nc_db_have_data()
/freebsd-14.2/crypto/heimdal/lib/roken/
H A Dndbm_wrap.c57 #define DBT2DATUM(DBT, DATUM) do { (DATUM)->dptr = (DBT)->data; (DATUM)->dsize = (DBT)->size; } whi… argument
58 #define DATUM2DBT(DATUM, DBT) do { (DBT)->data = (DATUM)->dptr; (DBT)->size = (DATUM)->dsize; } whi… argument
81 DBT key; in dbm_delete()
94 DBT key, value; in dbm_fetch()
113 DBT key, value; in dbm_get()
198 DBT key, value;
/freebsd-14.2/contrib/netbsd-tests/lib/libc/db/
H A Dh_db.c64 static void compare(DBT *, DBT *);
68 static void getdata(DB *, DBT *, DBT *);
69 static void put(DB *, DBT *, DBT *);
357 compare(DBT *db1, DBT *db2) in compare()
376 get(DB *dbp, DBT *kp) in get()
378 DBT data; in get()
404 getdata(DB *dbp, DBT *kp, DBT *dp) in getdata()
419 put(DB *dbp, DBT *kp, DBT *dp) in put()
434 rem(DB *dbp, DBT *kp) in rem()
473 DBT data; in seq()
[all …]
/freebsd-14.2/libexec/ypxfr/
H A Dypxfr_extern.h55 extern int yp_put_record(DB *, DBT *, DBT *, int);
56 extern int yp_get_record(const char *, const char *, const DBT *, DBT *, int);
/freebsd-14.2/lib/libc/db/test/
H A Ddbtest.c57 void compare(DBT *, DBT *);
62 void getdata(DB *, DBT *, DBT *);
63 void put(DB *, DBT *, DBT *);
359 DBT *kp;
361 DBT data;
387 DBT *kp, *dp;
404 DBT *kp, *dp;
421 DBT *kp;
460 DBT *kp;
462 DBT data;
[all …]
/freebsd-14.2/lib/libc/db/test/btree.tests/
H A Dmain.c72 void keydata(DBT *, DBT *);
274 DBT key, data;
304 DBT data, key;
344 DBT key;
379 DBT data, key;
402 DBT data, key;
444 DBT key, data;
474 DBT key, data;
505 DBT data, key;
534 DBT data, key;
[all …]
/freebsd-14.2/crypto/heimdal/lib/hdb/
H A Ddb3.c98 DBT key, value; in DB_seq()
103 memset(&key, 0, sizeof(DBT)); in DB_seq()
104 memset(&value, 0, sizeof(DBT)); in DB_seq()
176 DBT k, v; in DB__get()
179 memset(&k, 0, sizeof(DBT)); in DB__get()
180 memset(&v, 0, sizeof(DBT)); in DB__get()
202 DBT k, v; in DB__put()
205 memset(&k, 0, sizeof(DBT)); in DB__put()
206 memset(&v, 0, sizeof(DBT)); in DB__put()
228 DBT k; in DB__del()
[all …]
/freebsd-14.2/contrib/blocklist/bin/
H A Dstate.c93 state_sizecheck(const DBT *t) in state_sizecheck()
117 DBT k; in state_del()
143 DBT k, v; in state_get()
171 DBT k, v; in state_put()
201 DBT k, v; in state_iterate()

1234