/third_party/iowow/src/kv/ |
D | iwkv.h | 137 typedef struct _IWDB*IWDB; typedef 244 IW_EXPORT WUR iwrc iwkv_db(IWKV iwkv, uint32_t dbid, iwdb_flags_t flags, IWDB *dbp); 254 IW_EXPORT WUR iwrc iwkv_new_db(IWKV iwkv, iwdb_flags_t dbflg, uint32_t *dbidp, IWDB *dbp); 261 IW_EXPORT iwrc iwkv_db_destroy(IWDB *dbp); 298 IW_EXPORT iwrc iwkv_put(IWDB db, const IWKV_val *key, const IWKV_val *val, iwkv_opflags opflags); 317 IWDB db, const IWKV_val *key, const IWKV_val *val, 330 IW_EXPORT iwrc iwkv_get(IWDB db, const IWKV_val *key, IWKV_val *oval); 341 IW_EXPORT iwrc iwkv_get_copy(IWDB db, const IWKV_val *key, void *vbuf, size_t vbufsz, size_t *vsz); 351 IW_EXPORT iwrc iwkv_db_set_meta(IWDB db, void *buf, size_t sz); 360 IW_EXPORT iwrc iwkv_db_get_meta(IWDB db, void *buf, size_t sz, size_t *rsz); [all …]
|
D | iwkv_internal.h | 151 IWDB db; 169 IWDB db; /**< Database ref */ 193 IWDB db; /**< Database ref */ 214 IWDB first_db; /**< First database in chain */ 215 IWDB last_db; /**< Last database in chain */ 230 IWDB db; 316 IW_INLINE iwrc _api_db_rlock(IWDB db) { in _api_db_rlock() 332 IW_INLINE iwrc _api_db_wlock(IWDB db) { in _api_db_wlock() 398 void iwkvd_db(FILE *f, IWDB db, int flags, int plvl);
|
D | iwkv.c | 224 static WUR iwrc _db_worker_inc_nolk(IWDB db) { in _db_worker_inc_nolk() 263 static iwrc _db_worker_dec_nolk(IWDB db) { in _db_worker_dec_nolk() 312 static WUR iwrc _wnw_db(IWDB db, iwrc (*after)(IWDB db)) { in _wnw_db() 337 static WUR iwrc _db_at(IWKV iwkv, IWDB *dbp, off_t addr, uint8_t *mm) { in _db_at() 342 IWDB db = calloc(1, sizeof(struct _IWDB)); in _db_at() 398 static WUR iwrc _db_save(IWDB db, bool newdb, uint8_t *mm) { in _db_save() 434 IWDB db = 0, ndb; in _db_load_chain() 460 static void _db_release_lw(IWDB *dbp) { in _db_release_lw() 462 IWDB db = *dbp; in _db_release_lw() 471 IWDB db; [all …]
|
/third_party/iowow/src/kv/tests/ |
D | iwkv_test10.c | 35 IWDB db; in iwkv_test10_1_impl() 53 IWDB db; in iwkv_test10_1_impl() 70 IWDB db; in iwkv_test10_1_impl() 92 IWDB db; in iwkv_test10_1_impl()
|
D | iwkv_test4.c | 47 IWDB db1; in iwkv_test4_4() 85 IWDB db1; in iwkv_test4_3_impl() 182 IWDB db1; in iwkv_test2_impl() 243 IWDB db1, db2; in iwkv_test1_impl()
|
D | iwkv_test1.c | 14 static int logstage(FILE *f, const char *name, IWDB db) { in logstage() 21 static int logstage2(FILE *f, const char *name, IWDB db) { in logstage2() 73 IWDB db1; in iwkv_test3_impl() 142 IWDB db1; in iwkv_test2_impl() 271 IWDB db1, db2, db3; in iwkv_test1_impl() 700 IWDB db1; in iwkv_test8_impl() 792 IWDB db1; in iwkv_test7_impl() 851 IWDB db1; in iwkv_test6_impl()
|
D | iwkv_test8.c | 34 IWDB db; in iwkv_test8_1() 119 IWDB db, dbc; in t82() 210 IWDB db; in iwkv_test8_2()
|
D | iwkv_test6.c | 22 IWDB db; in iwkv_test6_1_impl() 86 IWDB db; in iwkv_test6_2_impl()
|
D | iwkv_test3.c | 23 IWDB db; 42 static int logstage(FILE *f, const char *name, IWDB db) { in logstage()
|
D | iwkv_test5.c | 29 IWDB db; in iwkv_test5_2() 113 IWDB db; in iwkv_test5_1()
|
D | iwkv_test9.c | 24 IWDB db = NULL; in iwkv_test9_1()
|
D | iwkv_test2.c | 27 IWDB db1; in iwkv_test2_1()
|
D | iwkv_test7.c | 29 IWDB db; in iwkv_test7_1_impl()
|
/third_party/ejdb/src/ |
D | ejdb2_internal.h | 95 IWDB cdb; /**< IWKV collection database */ 110 IWDB idb; /**< KV database for this index */ 124 IWDB metadb; 125 IWDB nrecdb;
|
D | ejdb2.c | 380 IWDB cdb = 0; in _jb_coll_acquire_keeplock2()
|
/third_party/iowow/src/kv/examples/ |
D | example1.c | 11 IWDB mydb; in main()
|
D | compoundkeys1.c | 53 IWDB db; in run()
|
D | cursors1.c | 44 IWDB db; in run()
|
/third_party/iowow/src/kv/benchmark/ |
D | iwkv_benchmark.c | 8 IWDB db;
|
/third_party/iowow/ |
D | README.md | 93 IWDB mydb; 197 IWDB db;
|
D | Changelog | 216 * Removed IW_EXPORT iwrc iwkv_db_last_access_time(IWDB db, uint64_t *ts) 474 * Added iwkv_new_db(IWKV iwkv, iwdb_flags_t dbflg, uint32_t *odbid, IWDB *dbp) (iwkv.h)
|
/third_party/iowow/src/kv/dbg/ |
D | iwkvdbg.c | 105 void iwkvd_db(FILE *f, IWDB db, int flags, int plvl) { in iwkvd_db()
|