/external/e2fsprogs/lib/ext2fs/ |
D | tdb.c | 139 #define TDB_HASHTABLE_SIZE(tdb) ((tdb->header.hash_size+1)*sizeof(tdb_off_t)) argument 149 #define TDB_LOG(x) tdb->log.log_fn x 161 #define BUCKET(hash) ((hash) % tdb->header.hash_size) 163 #define DOCONV() (tdb->flags & TDB_CONVERT) 256 static int tdb_munmap(struct tdb_context *tdb); 257 static void tdb_mmap(struct tdb_context *tdb); 258 static int tdb_lock(struct tdb_context *tdb, int list, int ltype); 259 static int tdb_unlock(struct tdb_context *tdb, int list, int ltype); 260 static int tdb_brlock(struct tdb_context *tdb, tdb_off_t offset, int rw_type, int lck_type, int pro… 261 static int tdb_transaction_lock(struct tdb_context *tdb, int ltype); [all …]
|
D | tdb.h | 51 #define TDB_ERRCODE(code, ret) ((tdb->ecode = (code)), ret) 152 void tdb_set_max_dead(struct tdb_context *tdb, int max_dead); 154 int tdb_reopen(struct tdb_context *tdb); 156 void tdb_set_logging_function(struct tdb_context *tdb, const struct tdb_logging_context *log_ctx); 157 enum TDB_ERROR tdb_error(struct tdb_context *tdb); 158 const char *tdb_errorstr(struct tdb_context *tdb); 159 TDB_DATA tdb_fetch(struct tdb_context *tdb, TDB_DATA key); 160 int tdb_parse_record(struct tdb_context *tdb, TDB_DATA key, 164 int tdb_delete(struct tdb_context *tdb, TDB_DATA key); 165 int tdb_store(struct tdb_context *tdb, TDB_DATA key, TDB_DATA dbuf, int flag); [all …]
|
D | tdbtool.c | 105 static TDB_CONTEXT *tdb; variable 190 if (tdb) tdb_close(tdb); in create_tdb() 191 tdb = tdb_open(tdbname, 0, TDB_CLEAR_IF_FIRST, in create_tdb() 193 if (!tdb) { in create_tdb() 200 if (tdb) tdb_close(tdb); in open_tdb() 201 tdb = tdb_open(tdbname, 0, 0, O_RDWR, 0600); in open_tdb() 202 if (!tdb) { in open_tdb() 221 if (tdb_store(tdb, key, dbuf, TDB_INSERT) == -1) { in insert_tdb() 246 print_rec(tdb, key, dbuf, NULL); in store_tdb() 248 if (tdb_store(tdb, key, dbuf, TDB_REPLACE) == -1) { in store_tdb() [all …]
|
D | icount.c | 62 TDB_CONTEXT *tdb; member 89 if (icount->tdb) in ext2fs_free_icount() 90 tdb_close(icount->tdb); in ext2fs_free_icount() 240 icount->tdb = tdb_open(fn, num_inodes, TDB_NOLOCK | TDB_NOSYNC, in ext2fs_create_icount_tdb() 243 if (icount->tdb == NULL) { in ext2fs_create_icount_tdb() 439 if (icount->tdb) { in set_inode_count() 445 if (tdb_store(icount->tdb, key, data, TDB_REPLACE)) in set_inode_count() 446 return tdb_error(icount->tdb) + in set_inode_count() 449 if (tdb_delete(icount->tdb, key)) in set_inode_count() 450 return tdb_error(icount->tdb) + in set_inode_count() [all …]
|
/external/e2fsprogs/lib/ext2fs/tdb/patches/ |
D | static-prototypes | 1 Index: tdbsa/tdb.c 3 --- tdbsa.orig/tdb.c 4 +++ tdbsa/tdb.c 9 -int tdb_munmap(struct tdb_context *tdb); 10 -void tdb_mmap(struct tdb_context *tdb); 11 -int tdb_lock(struct tdb_context *tdb, int list, int ltype); 12 -int tdb_unlock(struct tdb_context *tdb, int list, int ltype); 13 -int tdb_brlock(struct tdb_context *tdb, tdb_off_t offset, int rw_type, int lck_type, int probe, si… 14 -int tdb_transaction_lock(struct tdb_context *tdb, int ltype); 15 -int tdb_transaction_unlock(struct tdb_context *tdb); [all …]
|
D | static-functions | 1 Index: tdbsa/tdb.c 3 --- tdbsa.orig/tdb.c 4 +++ tdbsa/tdb.c 9 -int tdb_rec_free_read(struct tdb_context *tdb, tdb_off_t off, struct list_struct *rec) 10 +static int tdb_rec_free_read(struct tdb_context *tdb, tdb_off_t off, struct list_struct *rec) 12 if (tdb->methods->tdb_read(tdb, off, rec, sizeof(*rec),DOCONV()) == -1)
|
D | ext2tdb-rename | 1 Index: tdb/tdb.h 3 --- tdb.orig/tdb.h 4 +++ tdb/tdb.h 9 +/* ext2fs tdb renames */
|
D | replace-includes | 1 Index: tdb/tdb.c 3 --- tdb.orig/tdb.c 4 +++ tdb/tdb.c 90 #include "tdb.h"
|
D | copyright | 1 Index: tdbsa/tdb.c 3 --- tdbsa.orig/tdb.c 4 +++ tdbsa/tdb.c 19 ** NOTE! The following LGPL license applies to the tdb
|
D | tdbtool-includes | 28 #include "tdb.h"
|
/external/python/cpython2/Lib/bsddb/test/ |
D | test_dbtables.py | 48 self.tdb = dbtables.bsdTableDB( 52 self.tdb.close() 63 self.tdb.Drop(tabname) 66 self.tdb.CreateTable(tabname, [colname]) 69 self.tdb.Insert(tabname, {colname: pickle.dumps(3.14159, 1)}) 71 self.tdb.Insert(tabname, {colname: pickle.dumps(3.14159, 75 self.tdb._db_print() 77 values = self.tdb.Select( 113 self.tdb.Drop(tabname) 116 self.tdb.CreateTable(tabname, [col0, col1, col2]) [all …]
|
/external/llvm-project/clang/lib/Headers/ |
D | htmxlintrin.h | 245 struct __htm_tdb *tdb = (struct __htm_tdb*)__tdb_ptr; in __TM_nesting_depth() local 250 if (tdb->format != 1) in __TM_nesting_depth() 252 return tdb->nesting_depth; in __TM_nesting_depth() 260 struct __htm_tdb *tdb = (struct __htm_tdb*)__tdb_ptr; in __TM_is_user_abort() local 262 if (tdb->format != 1) in __TM_is_user_abort() 265 return !!(tdb->abort_code >= _HTM_FIRST_USER_ABORT_CODE); in __TM_is_user_abort() 271 struct __htm_tdb *tdb = (struct __htm_tdb*)__tdb_ptr; in __TM_is_named_user_abort() local 273 if (tdb->format != 1) in __TM_is_named_user_abort() 276 if (tdb->abort_code >= _HTM_FIRST_USER_ABORT_CODE) in __TM_is_named_user_abort() 278 *__code = tdb->abort_code - _HTM_FIRST_USER_ABORT_CODE; in __TM_is_named_user_abort() [all …]
|
D | htmintrin.h | 176 #define __builtin_tbegin_retry(tdb, retry) \ argument 177 (__builtin_constant_p(tdb == 0) && tdb == 0 ? \ 179 __builtin_tbegin_retry_tdb(tdb, retry)) 205 #define __builtin_tbegin_retry_nofloat(tdb, retry) \ argument 206 (__builtin_constant_p(tdb == 0) && tdb == 0 ? \ 208 __builtin_tbegin_retry_nofloat_tdb(tdb, retry))
|
/external/clang/lib/Headers/ |
D | htmxlintrin.h | 263 struct __htm_tdb *tdb = (struct __htm_tdb*)__tdb_ptr; in __TM_nesting_depth() local 268 if (tdb->format != 1) in __TM_nesting_depth() 270 return tdb->nesting_depth; in __TM_nesting_depth() 278 struct __htm_tdb *tdb = (struct __htm_tdb*)__tdb_ptr; in __TM_is_user_abort() local 280 if (tdb->format != 1) in __TM_is_user_abort() 283 return !!(tdb->abort_code >= _HTM_FIRST_USER_ABORT_CODE); in __TM_is_user_abort() 289 struct __htm_tdb *tdb = (struct __htm_tdb*)__tdb_ptr; in __TM_is_named_user_abort() local 291 if (tdb->format != 1) in __TM_is_named_user_abort() 294 if (tdb->abort_code >= _HTM_FIRST_USER_ABORT_CODE) in __TM_is_named_user_abort() 296 *__code = tdb->abort_code - _HTM_FIRST_USER_ABORT_CODE; in __TM_is_named_user_abort() [all …]
|
D | htmintrin.h | 190 #define __builtin_tbegin_retry(tdb, retry) \ argument 191 (__builtin_constant_p(tdb == 0) && tdb == 0 ? \ 193 __builtin_tbegin_retry_tdb(tdb, retry)) 219 #define __builtin_tbegin_retry_nofloat(tdb, retry) \ argument 220 (__builtin_constant_p(tdb == 0) && tdb == 0 ? \ 222 __builtin_tbegin_retry_nofloat_tdb(tdb, retry))
|
/external/clang/test/CodeGen/ |
D | builtins-systemz.c | 12 void test_htm1(struct __htm_tdb *tdb, int reg, int *mem, uint64_t *mem64) { in test_htm1() argument 19 __builtin_tbegin (tdb); in test_htm1() 28 __builtin_tbegin_nofloat (tdb); in test_htm1() 39 __builtin_tbegin_retry (tdb, 6); in test_htm1() 52 __builtin_tbegin_retry_nofloat (tdb, 6); in test_htm1() 115 void * const tdb = &tdb_struct; in test_htmxl1() local 121 result = __TM_begin (tdb); in test_htmxl1() 131 result = __TM_nesting_depth (tdb); in test_htmxl1() 134 result = __TM_is_user_abort (tdb); in test_htmxl1() 135 result = __TM_is_named_user_abort (tdb, &code); in test_htmxl1() [all …]
|
/external/llvm-project/clang/test/CodeGen/SystemZ/ |
D | builtins-systemz.c | 12 void test_htm1(struct __htm_tdb *tdb, int reg, int *mem, uint64_t *mem64) { in test_htm1() argument 19 __builtin_tbegin (tdb); in test_htm1() 28 __builtin_tbegin_nofloat (tdb); in test_htm1() 39 __builtin_tbegin_retry (tdb, 6); in test_htm1() 52 __builtin_tbegin_retry_nofloat (tdb, 6); in test_htm1() 115 void * const tdb = &tdb_struct; in test_htmxl1() local 121 result = __TM_begin (tdb); in test_htmxl1() 131 result = __TM_nesting_depth (tdb); in test_htmxl1() 134 result = __TM_is_user_abort (tdb); in test_htmxl1() 135 result = __TM_is_named_user_abort (tdb, &code); in test_htmxl1() [all …]
|
/external/e2fsprogs/lib/ext2fs/tdb/ |
D | build-tdb | 7 BASE_DIR=/usr/projects/samba/tdb 15 echo "/*" > tdb.c 16 grep ^URL .svninfo >> tdb.c 17 grep "^Last Changed Rev" .svninfo | sed -e 's/Last Changed //' >> tdb.c 18 grep "^Last Changed Date" .svninfo >> tdb.c 19 echo "*/" >> tdb.c 21 cat $BASE_DIR/common/tdb_private.h >> tdb.c 23 if [ `tail -n 1 tdb.c | wc -c` -gt 1 ]; then 24 printf "\n" >> tdb.c 26 echo "/* file: $i */" >> tdb.c [all …]
|
/external/e2fsprogs/e2fsck/ |
D | dirinfo.c | 26 TDB_CONTEXT *tdb; member 76 db->tdb = NULL; in setup_tdb() 83 db->tdb = tdb_open(db->tdb_fn, num_dirs, TDB_NOLOCK | TDB_NOSYNC, in setup_tdb() 110 if (db->tdb) { in setup_db() 163 if (ctx->dir_info->tdb) { in e2fsck_add_dir_info() 217 if (db->tdb) { in e2fsck_get_dir_info() 225 data = tdb_fetch(db->tdb, key); in e2fsck_get_dir_info() 227 if (tdb_error(db->tdb) != TDB_ERR_NOEXIST) in e2fsck_get_dir_info() 229 tdb_errorstr(db->tdb)); in e2fsck_get_dir_info() 302 if (!db->tdb) in e2fsck_put_dir_info() [all …]
|
/external/llvm/test/Object/ |
D | nm-trivial-object.test | 26 RUN: | FileCheck %s -check-prefix macho-tdb 119 macho-tdb: 0000000000000030 s EH_frame0 120 macho-tdb: 0000000000000070 b _b 121 macho-tdb: 000000000000000c D _d 122 macho-tdb: 0000000000000000 T _t 123 macho-tdb: 0000000000000048 S _t.eh
|
/external/ppp/pppd/ |
D | Makefile.linux | 172 PPPDSRCS += tdb.c spinlock.c 173 PPPDOBJS += tdb.o spinlock.o 174 HEADERS += tdb.h spinlock.h
|
D | README.google | 2 Removed multilink.c, spinlock.[ch], tdb.[ch] as they are unused.
|
/external/llvm-project/llvm/test/Object/ |
D | nm-trivial-object.test | 272 # RUN: | FileCheck %s -check-prefix macho-tdb 274 # macho-tdb: 0000000000000030 s EH_frame0 275 # macho-tdb: 0000000000000070 b _b 276 # macho-tdb: 000000000000000c D _d 277 # macho-tdb: 0000000000000000 T _t 278 # macho-tdb: 0000000000000048 S _t.eh
|
/external/selinux/restorecond/ |
D | restorecond.conf | 3 /etc/samba/secrets.tdb
|
/external/e2fsprogs/util/ |
D | subst.conf.in | 20 # Enable the documentation for the tdb profile in e2fsck.conf's man page
|