/external/e2fsprogs/lib/ext2fs/tdb/ |
build-tdb | 3 # This file creates a stand-alone TDB based on a set of sources from 6 #BASE_DIR=/usr/projects/samba/samba-4.0.0tp4/source/lib/tdb 7 BASE_DIR=/usr/projects/samba/tdb 12 freelistcheck.c traverse.c dump.c tdb.c open.c" 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. [all...] |
/external/e2fsprogs/lib/ext2fs/tdb/patches/ |
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, size_t len); 14 -int tdb_transaction_lock(struct tdb_context *tdb, int ltype); 15 -int tdb_transaction_unlock(struct tdb_context *tdb); [all...] |
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)
|
ext2tdb-rename | 1 Index: tdb/tdb.h 3 --- tdb.orig/tdb.h 4 +++ tdb/tdb.h 9 +/* ext2fs tdb renames */
|
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
|
replace-includes | 1 Index: tdb/tdb.c 3 --- tdb.orig/tdb.c 4 +++ tdb/tdb.c 90 #include "tdb.h"
|
tdbtool-includes | 28 #include "tdb.h"
|
/external/e2fsprogs/lib/ext2fs/ |
tdb.c | 2 URL: svn://svnanon.samba.org/samba/branches/SAMBA_4_0/source/lib/tdb/common 13 ** NOTE! The following LGPL license applies to the tdb 108 #include "tdb.h" 125 #define TDB_MAGIC_FOOD "TDB file\n" 140 #define TDB_HASHTABLE_SIZE(tdb) ((tdb->header.hash_size+1)*sizeof(tdb_off_t)) 147 /* NB assumes there is a local variable called "tdb" that is the 150 #define TDB_LOG(x) tdb->log.log_fn x 162 #define BUCKET(hash) ((hash) % tdb->header.hash_size) 164 #define DOCONV() (tdb->flags & TDB_CONVERT 3815 struct tdb_context *tdb; local 4119 struct tdb_context *tdb; local [all...] |
tdb.h | 11 ** NOTE! The following LGPL license applies to the tdb 51 #define TDB_ERRCODE(code, ret) ((tdb->ecode = (code)), ret) 79 /* ext2fs tdb renames */ 151 void tdb_set_max_dead(struct tdb_context *tdb, int max_dead); 153 int tdb_reopen(struct tdb_context *tdb); 155 void tdb_set_logging_function(struct tdb_context *tdb, const struct tdb_logging_context *log_ctx); 156 enum TDB_ERROR tdb_error(struct tdb_context *tdb); 157 const char *tdb_errorstr(struct tdb_context *tdb); 158 TDB_DATA tdb_fetch(struct tdb_context *tdb, TDB_DATA key); 159 int tdb_parse_record(struct tdb_context *tdb, TDB_DATA key [all...] |
tdbtool.c | 39 #include "tdb.h" 102 /* a tdb tool for manipulating a tdb database */ 104 static TDB_CONTEXT *tdb; variable 168 " move key file : move a record to a destination tdb\n" 189 if (tdb) tdb_close(tdb); 190 tdb = tdb_open(tdbname, 0, TDB_CLEAR_IF_FIRST, 192 if (!tdb) { 199 if (tdb) tdb_close(tdb) [all...] |
undo_io.c | 3 * copies the old data being overwritten into a tdb database 40 #include "tdb.h" 60 TDB_CONTEXT *tdb; member in struct:undo_private_data 129 TDB_CONTEXT *tdb) 147 /* Write to tdb file in the file system byte order */ 153 retval = tdb_store(tdb, tdb_key, tdb_data, TDB_INSERT); 155 retval = EXT2_ET_TDB_SUCCESS + tdb_error(tdb); 164 retval = tdb_store(tdb, tdb_key, tdb_data, TDB_INSERT); 166 retval = EXT2_ET_TDB_SUCCESS + tdb_error(tdb); 174 static errcode_t write_block_size(TDB_CONTEXT *tdb, int block_size [all...] |
ext2_err.c | 105 "TDB: Success", 106 "TDB: Corrupt database", 107 "TDB: IO Error", 108 "TDB: Locking error", 109 "TDB: Out of memory", 110 "TDB: Record exists", 111 "TDB: Lock exists on other keys", 112 "TDB: Invalid parameter", 113 "TDB: Record does not exist", 114 "TDB: Write not permitted" [all...] |
ext2_err.et.in | 300 "TDB: Success" 303 "TDB: Corrupt database" 306 "TDB: IO Error" 309 "TDB: Locking error" 312 "TDB: Out of memory" 315 "TDB: Record exists" 318 "TDB: Lock exists on other keys" 321 "TDB: Invalid parameter" 324 "TDB: Record does not exist" 327 "TDB: Write not permitted [all...] |
icount.c | 23 #include "tdb.h" 60 TDB_CONTEXT *tdb; member in struct:ext2_icount 84 if (icount->tdb) 85 tdb_close(icount->tdb); 196 icount->tdb = tdb_open(fn, 0, TDB_CLEAR_IF_FIRST, 198 if (icount->tdb) { 415 if (icount->tdb) { 421 if (tdb_store(icount->tdb, key, data, TDB_REPLACE)) 422 return tdb_error(icount->tdb) + 425 if (tdb_delete(icount->tdb, key) [all...] |
Android.mk | 56 tdb.c \
|
Makefile.in | 73 tdb.o \ 137 $(srcdir)/tdb.c \ 152 tdb.h 256 $(Q) $(CC) -o ext2_tdbtool tdbtool.o tdb.o 567 $(srcdir)/ext2_ext_attr.h $(srcdir)/bitops.h $(srcdir)/tdb.h 678 tdb.o: $(srcdir)/tdb.c $(srcdir)/tdb.h 709 undo_io.o: $(srcdir)/undo_io.c $(srcdir)/tdb.h $(srcdir)/ext2_fs.h \
|
/external/ppp/pppd/ |
README.google | 2 Removed multilink.c, spinlock.[ch], tdb.[ch] as they are unused.
|
pathnames.h | 48 #define _PATH_PPPDB _ROOT_PATH _PATH_VARRUN "pppd2.tdb" 51 #define _PATH_PPPDB "/var/run/pppd2.tdb" 53 #define _PATH_PPPDB "/etc/ppp/pppd2.tdb"
|
Makefile.linux | 58 # Uncomment the next line to enable the TDB database (enabled by default.) 59 # If you enable multilink, then TDB is automatically enabled also. 60 # Linux distributions: Please leave TDB ENABLED in your builds. 145 # Multilink implies the use of TDB 153 # TDB 156 PPPDSRCS += tdb.c spinlock.c 157 PPPDOBJS += tdb.o spinlock.o 158 HEADERS += tdb.h spinlock.h
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_dbtables.py | 50 self.tdb = dbtables.bsdTableDB( 54 self.tdb.close() 65 self.tdb.Drop(tabname) 68 self.tdb.CreateTable(tabname, [colname]) 71 self.tdb.Insert(tabname, {colname: pickle.dumps(3.14159, 1)}) 73 self.tdb.Insert(tabname, {colname: pickle.dumps(3.14159, 77 self.tdb._db_print() 79 values = self.tdb.Select( 115 self.tdb.Drop(tabname) 118 self.tdb.CreateTable(tabname, [col0, col1, col2] [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_dbtables.py | 50 self.tdb = dbtables.bsdTableDB( 54 self.tdb.close() 65 self.tdb.Drop(tabname) 68 self.tdb.CreateTable(tabname, [colname]) 71 self.tdb.Insert(tabname, {colname: pickle.dumps(3.14159, 1)}) 73 self.tdb.Insert(tabname, {colname: pickle.dumps(3.14159, 77 self.tdb._db_print() 79 values = self.tdb.Select( 115 self.tdb.Drop(tabname) 118 self.tdb.CreateTable(tabname, [col0, col1, col2] [all...] |
/external/e2fsprogs/misc/ |
e2undo.c | 22 #include "ext2fs/tdb.h" 40 static int check_filesystem(TDB_CONTEXT *tdb, io_channel channel) 58 tdb_data = tdb_fetch(tdb, tdb_key); 60 retval = EXT2_ET_TDB_SUCCESS + tdb_error(tdb); 62 _("Failed tdb_fetch %s\n"), tdb_errorstr(tdb)); 79 tdb_data = tdb_fetch(tdb, tdb_key); 81 retval = EXT2_ET_TDB_SUCCESS + tdb_error(tdb); 83 _("Failed tdb_fetch %s\n"), tdb_errorstr(tdb)); 96 static int set_blk_size(TDB_CONTEXT *tdb, io_channel channel) 104 tdb_data = tdb_fetch(tdb, tdb_key) 124 TDB_CONTEXT *tdb; local [all...] |
/external/e2fsprogs/e2fsck/ |
dirinfo.c | 15 #include <ext2fs/tdb.h> 23 TDB_CONTEXT *tdb; member in struct:dir_info_db 65 db->tdb = tdb_open(db->tdb_fn, 0, TDB_CLEAR_IF_FIRST, 90 if (db->tdb) { 92 printf("Note: using tdb!\n"); 140 if (db->tdb) { 189 if (db->tdb) { 195 data = tdb_fetch(db->tdb, key); 197 if (tdb_error(db->tdb) != TDB_ERR_NOEXIST) 199 tdb_errorstr(db->tdb)); [all...] |
/external/qemu/ |
qdict.c | 56 * tdb_hash(): based on the hash agorithm from gdbm, via tdb
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
bdb.py | 614 class Tdb(Bdb): 642 t = Tdb()
|