Home
last modified time | relevance | path

Searched refs:newdb (Results 1 – 2 of 2) sorted by relevance

/third_party/e2fsprogs/lib/ext2fs/
Dtdb.c3748 struct tdb_header *newdb; in tdb_new_database() local
3753 if (!(newdb = (struct tdb_header *)calloc(size, 1))) in tdb_new_database()
3757 newdb->version = TDB_VERSION; in tdb_new_database()
3758 newdb->hash_size = hash_size; in tdb_new_database()
3761 tdb->map_ptr = (char *)newdb; in tdb_new_database()
3762 memcpy(&tdb->header, newdb, sizeof(tdb->header)); in tdb_new_database()
3764 CONVERT(*newdb); in tdb_new_database()
3774 CONVERT(*newdb); in tdb_new_database()
3775 memcpy(&tdb->header, newdb, sizeof(tdb->header)); in tdb_new_database()
3777 memcpy(newdb->magic_food, TDB_MAGIC_FOOD, strlen(TDB_MAGIC_FOOD)+1); in tdb_new_database()
[all …]
/third_party/iowow/src/kv/
Diwkv.c403 static WUR iwrc _db_save(IWDB db, bool newdb, uint8_t *mm) { in _db_save() argument
420 if (newdb) { in _db_save()