Home
last modified time | relevance | path

Searched refs:db1 (Results 1 – 25 of 33) sorted by relevance

12

/external/python/cpython2/Lib/bsddb/test/
Dtest_misc.py62 db1 = db.DB()
63 db1.open(self.filename, None, db.DB_BTREE,
66 curs = db1.cursor()
70 db1.close()
75 db1 = db.DB()
76 db1.open(self.filename, None, db.DB_HASH, db.DB_CREATE)
77 db1['a'] = 'eh?'
78 db1['a\x00'] = 'eh zed.'
79 db1['a\x00a'] = 'eh zed eh?'
80 db1['aaa'] = 'eh eh eh!'
[all …]
Dtest_fileid.py18 self.db1 = db.DB()
19 self.db1.open(self.db_path_1, dbtype=db.DB_HASH, flags=(db.DB_CREATE|db.DB_EXCL))
20 self.db1.put('spam', 'eggs')
21 self.db1.close()
36 self.db1 = db.DB(self.db_env)
37 self.db1.open(self.db_path_1, dbtype=db.DB_HASH, flags=db.DB_RDONLY)
38 self.assertEqual(self.db1.get('spam'), 'eggs')
44 self.db1.close()
Dtest_associate.py119 db1 = db.DB(self.env)
120 db1.open('bad.db', "a.db", db.DB_BTREE, db.DB_CREATE)
124 db1.associate(db2, lambda a, b: [0])
129 db1.put("0", "1")
130 db1.close()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DSQLiteOpenHelperTest.java57 SQLiteDatabase db1 = helper.getReadableDatabase(); in testSameDBInstanceSubsequentGetReadableDatabase() local
60 assertThat(db1).isSameInstanceAs(db2); in testSameDBInstanceSubsequentGetReadableDatabase()
79 SQLiteDatabase db1 = helper.getWritableDatabase(); in testSameDBInstanceSubsequentGetWritableDatabase() local
82 assertThat(db1).isSameInstanceAs(db2); in testSameDBInstanceSubsequentGetWritableDatabase()
164 SQLiteDatabase db1 = helper.getWritableDatabase(); in testMultipleDbsPreserveData() local
165 setupTable(db1, TABLE_NAME1); in testMultipleDbsPreserveData()
166 insertData(db1, TABLE_NAME1, new int[]{1, 2}); in testMultipleDbsPreserveData()
172 verifyData(db1, TABLE_NAME1, 2); in testMultipleDbsPreserveData()
181 SQLiteDatabase db1 = helper.getWritableDatabase(); in testCloseOneDbKeepsDataForOther() local
183 setupTable(db1, TABLE_NAME1); in testCloseOneDbKeepsDataForOther()
[all …]
DSQLiteDatabaseTest.java648 SQLiteDatabase db1 = openOrCreateDatabase("db1"); in testTwoConcurrentDbConnections() local
651 db1.execSQL("CREATE TABLE foo(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT);"); in testTwoConcurrentDbConnections()
660 db1.insert("foo", null, d1); in testTwoConcurrentDbConnections()
663 Cursor c = db1.rawQuery("select * from foo", null); in testTwoConcurrentDbConnections()
678 SQLiteDatabase db1 = openOrCreateDatabase("db1"); in testQueryThrowsSQLiteException() local
679 db1.query("FOO", null, null, null, null, null, null); in testQueryThrowsSQLiteException()
725 SQLiteDatabase db1 = openOrCreateDatabase("db1"); in testDataInMemoryDatabaseIsPersistentAfterClose() local
726 db1.execSQL("CREATE TABLE foo(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT);"); in testDataInMemoryDatabaseIsPersistentAfterClose()
729 db1.insert("foo", null, d1); in testDataInMemoryDatabaseIsPersistentAfterClose()
730 db1.close(); in testDataInMemoryDatabaseIsPersistentAfterClose()
/external/rust/crates/rusqlite/src/
Dbusy.rs92 let mut db1 = Connection::open(&path).unwrap(); in test_default_busy() localVariable
93 let tx1 = db1 in test_default_busy()
118 let mut db1 = Connection::open(&path).unwrap(); in test_busy_timeout() localVariable
119 let tx1 = db1 in test_busy_timeout()
157 let mut db1 = Connection::open(&path).unwrap(); in test_busy_handler() localVariable
158 let tx1 = db1 in test_busy_handler()
Dunlock_notify.rs112 let db1 = Connection::open_with_flags(url, flags).unwrap(); in test_unlock_notify() localVariable
113 db1.execute_batch("CREATE TABLE foo (x)").unwrap(); in test_unlock_notify()
125 let the_answer: Result<i64> = db1.query_row("SELECT x FROM foo", NO_PARAMS, |r| r.get(0)); in test_unlock_notify()
Dlib.rs969 let mut db1 = in test_concurrent_transactions_busy_commit() localVariable
973 db1.busy_timeout(Duration::from_millis(0)).unwrap(); in test_concurrent_transactions_busy_commit()
977 let tx1 = db1.transaction().unwrap(); in test_concurrent_transactions_busy_commit()
993 let _ = db1 in test_concurrent_transactions_busy_commit()
/external/llvm-project/llvm/test/CodeGen/X86/
Dpr48215.ll74 %db1 = zext i8 %db0 to i32
76 %res = add i32 %db1, %rb1
/external/openssh/contrib/redhat/
Dopenssh.spec472 - require db1-devel only when building for 6.x (#55105), which probably won't
495 - remove dependency on db1-devel, which has just been swallowed up whole
540 - add db1-devel as a BuildPrerequisite (noted by Hans Ecke)
/external/llvm-project/clang/test/SemaCXX/
Dcxx2a-explicit-bool.cpp623 bool db1(b); in testBool() local
/external/elfutils/tests/
Dtestfile44.expect.bz21testfile44.o: elf32-elf_i386 2 3Disassembly of section .text: 4 5 0 ...
Dtestfile45.expect.bz21testfile45.o: elf64-elf_x86_64 2 3Disassembly of section .text: 4 5 0 ...
/external/google-breakpad/src/tools/windows/dump_syms/testdata/
Domap_stretched_filled.sym689 1db1 4 262 3891
995 2db1 21 114 1455
Domap_stretched.sym702 1db1 4 262 3891
1029 2db1 21 114 1455
Ddump_syms_regtest.sym1666 3db1 7 734 3326
Ddump_syms_regtest64.sym1079 2db1 7 190 8649
/external/llvm-project/llvm/test/MC/X86/AlignedBundling/
Dautogen-inst-offset-align-to-end.s2700 # CHECK: 1db1: incl
/external/llvm/test/MC/X86/AlignedBundling/
Dautogen-inst-offset-align-to-end.s2700 # CHECK: 1db1: incl
/external/python/cpython2/
Dconfigure.ac2539 …AS_HELP_STRING([--with-dbmliborder=db1:db2:...], [order to check db backends for dbm. Valid value …
2543 AC_MSG_ERROR([proper usage is --with-dbmliborder=db1:db2:...])
2548 AC_MSG_ERROR([proper usage is --with-dbmliborder=db1:db2:...])
DREADME1108 --with-dbmliborder=db1:db2:...: Specify the order that backends for the
/external/python/cpython3/
Dconfigure.ac3172 …AS_HELP_STRING([--with-dbmliborder=db1:db2:...], [override order to check db backends for dbm; a v…
3176 AC_MSG_ERROR([proper usage is --with-dbmliborder=db1:db2:...])
3181 AC_MSG_ERROR([proper usage is --with-dbmliborder=db1:db2:...])
/external/mesa3d/src/mesa/x86/
Dassyntax.h192 #define DR1 %db1
/external/python/cpython2/Misc/NEWS.d/
D2.7a1.rst5004 Add configure option --with-dbmliborder=db1:db2:... to specify the order
/external/google-breakpad/src/processor/testdata/symbols/kernel32.pdb/BCE8785C57B44245A669896B6A19B9542/
Dkernel32.sym872 PUBLIC 68db1 c FindFirstVolumeMountPointW
1304 PUBLIC 78db1 10 FoldCZone
3508 STACK WIN 4 68db1 10d 9 0 c 0 18 0 1 $T0 $ebp = $eip $T0 4 + ^ = $ebp $T0 ^ = $esp $T0 8 + = $L $T0…
4472 STACK WIN 4 78db1 7c 5 0 10 0 0 0 1 $T0 $ebp = $eip $T0 4 + ^ = $ebp $T0 ^ = $esp $T0 8 + = $L $T0 …

12