Home
last modified time | relevance | path

Searched refs:db2 (Results 1 – 25 of 36) sorted by relevance

12

/external/python/cpython2/Lib/bsddb/test/
Dtest_fileid.py25 self.db2 = db.DB()
26 self.db2.open(self.db_path_2, dbtype=db.DB_HASH)
27 self.db2.put('spam', 'spam')
28 self.db2.close()
40 self.db2 = db.DB(self.db_env)
41 self.db2.open(self.db_path_2, dbtype=db.DB_HASH, flags=db.DB_RDONLY)
42 self.assertEqual(self.db2.get('spam'), 'spam')
45 self.db2.close()
Dtest_associate.py121 db2 = db.DB(self.env)
122 db2.open('bad.db', "b.db", db.DB_BTREE, db.DB_CREATE)
124 db1.associate(db2, lambda a, b: [0])
131 db2.close()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DSQLiteOpenHelperTest.java58 SQLiteDatabase db2 = helper.getReadableDatabase(); in testSameDBInstanceSubsequentGetReadableDatabase() local
60 assertThat(db1).isSameInstanceAs(db2); in testSameDBInstanceSubsequentGetReadableDatabase()
80 SQLiteDatabase db2 = helper.getWritableDatabase(); in testSameDBInstanceSubsequentGetWritableDatabase() local
82 assertThat(db1).isSameInstanceAs(db2); in testSameDBInstanceSubsequentGetWritableDatabase()
169 SQLiteDatabase db2 = helper2.getWritableDatabase(); in testMultipleDbsPreserveData() local
170 setupTable(db2, TABLE_NAME2); in testMultipleDbsPreserveData()
171 insertData(db2, TABLE_NAME2, new int[]{4, 5, 6}); in testMultipleDbsPreserveData()
173 verifyData(db2, TABLE_NAME2, 3); in testMultipleDbsPreserveData()
182 SQLiteDatabase db2 = helper2.getWritableDatabase(); in testCloseOneDbKeepsDataForOther() local
184 setupTable(db2, TABLE_NAME2); in testCloseOneDbKeepsDataForOther()
[all …]
DSQLiteDatabaseTest.java649 SQLiteDatabase db2 = openOrCreateDatabase("db2"); in testTwoConcurrentDbConnections() local
652 db2.execSQL("CREATE TABLE bar(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT);"); in testTwoConcurrentDbConnections()
661 db2.insert("bar", null, d2); in testTwoConcurrentDbConnections()
669 c = db2.rawQuery("select * from bar", null); in testTwoConcurrentDbConnections()
732 SQLiteDatabase db2 = openOrCreateDatabase("db1"); in testDataInMemoryDatabaseIsPersistentAfterClose() local
733 Cursor c = db2.rawQuery("select * from foo", null); in testDataInMemoryDatabaseIsPersistentAfterClose()
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DSQLiteOpenHelperTest.java60 SQLiteDatabase db2 = helper.getReadableDatabase(); in testSameDBInstanceSubsequentGetReadableDatabase() local
62 assertThat(db1).isSameInstanceAs(db2); in testSameDBInstanceSubsequentGetReadableDatabase()
82 SQLiteDatabase db2 = helper.getWritableDatabase(); in testSameDBInstanceSubsequentGetWritableDatabase() local
84 assertThat(db1).isSameInstanceAs(db2); in testSameDBInstanceSubsequentGetWritableDatabase()
175 SQLiteDatabase db2 = helper2.getWritableDatabase(); in testMultipleDbsPreserveData() local
176 setupTable(db2, TABLE_NAME2); in testMultipleDbsPreserveData()
177 insertData(db2, TABLE_NAME2, new int[]{4, 5, 6}); in testMultipleDbsPreserveData()
179 verifyData(db2, TABLE_NAME2, 3); in testMultipleDbsPreserveData()
189 SQLiteDatabase db2 = helper2.getWritableDatabase(); in testCloseOneDbKeepsDataForOther() local
191 setupTable(db2, TABLE_NAME2); in testCloseOneDbKeepsDataForOther()
[all …]
DSQLiteDatabaseTest.java747 SQLiteDatabase db2 = openOrCreateDatabase("db2"); in testTwoConcurrentDbConnections() local
750 db2.execSQL("CREATE TABLE bar(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT);"); in testTwoConcurrentDbConnections()
759 db2.insert("bar", null, d2); in testTwoConcurrentDbConnections()
768 c = db2.rawQuery("select * from bar", null); in testTwoConcurrentDbConnections()
832 SQLiteDatabase db2 = openOrCreateDatabase("db1"); in testDataInMemoryDatabaseIsPersistentAfterClose() local
833 Cursor c = db2.rawQuery("select * from foo", null); in testDataInMemoryDatabaseIsPersistentAfterClose()
/external/rust/crates/rusqlite/src/
Dbusy.rs102 let db2 = Connection::open(&path)?; in test_default_busy() localVariable
103 let r: Result<()> = db2.query_row("PRAGMA schema_version", [], |_| unreachable!()); in test_default_busy()
117 let db2 = Connection::open(&path).unwrap(); in test_busy_timeout() localVariable
118 db2.busy_timeout(Duration::from_secs(1)).unwrap(); in test_busy_timeout()
132 let _ = db2 in test_busy_timeout()
152 let db2 = Connection::open(&path).unwrap(); in test_busy_handler() localVariable
153 db2.busy_handler(Some(busy_handler)).unwrap(); in test_busy_handler()
167 let _ = db2 in test_busy_handler()
Dunlock_notify.rs103 let mut db2 = Connection::open_with_flags(url, flags).unwrap(); in test_unlock_notify() localVariable
104 let tx2 = Transaction::new(&mut db2, TransactionBehavior::Immediate).unwrap(); in test_unlock_notify()
Dlib.rs1236 let mut db2 = Connection::open_with_flags(&path, OpenFlags::SQLITE_OPEN_READ_ONLY)?; in test_concurrent_transactions_busy_commit() localVariable
1239 db2.busy_timeout(Duration::from_millis(0))?; in test_concurrent_transactions_busy_commit()
1243 let tx2 = db2.transaction()?; in test_concurrent_transactions_busy_commit()
1259 let _ = db2 in test_concurrent_transactions_busy_commit()
/external/ComputeLibrary/src/cpu/kernels/meanstddevnorm/generic/neon/
Dqasymm8.cpp124 … float32x4_t db2 = vcvtq_f32_u32(vmovl_u16(vget_high_u16(vmovl_u8(vget_low_u8(data))))); in neon_qasymm8_meanstddevnorm() local
128db2 = clamp_v4f32(vaddq_f32(vmulq_f32(db2, v_scale), v_offset), quant_min_vec, q… in neon_qasymm8_meanstddevnorm()
131 … const uint8x16_t out = fuse_shorts_u16(fuse_words_f32(db1, db2), fuse_words_f32(db3, db4)); in neon_qasymm8_meanstddevnorm()
/external/python/cpython3/Lib/test/
Dtest_bdb.py958 db2 = Bdb()
959 db2.set_break(__file__, 2)
960 db2.set_break(__file__, 3)
961 db2.set_break(__file__, 4)
963 self.assertEqual(db2.get_all_breaks(), {fname: [1, 2, 3, 4]})
964 db2.clear_break(__file__, 1)
966 self.assertEqual(db2.get_all_breaks(), {fname: [2, 3, 4]})
970 self.assertEqual(db2.get_all_breaks(), {fname: [2, 3, 4]})
972 db2.clear_break(__file__, 2)
974 self.assertEqual(db2.get_all_breaks(), {fname: [3, 4]})
[all …]
/external/python/cpython3/Doc/tools/
Dsusp-ignored.csv382 using/configure,84,:db2,=db1:db2:...
/external/leveldb/db/
Ddb_test.cc1736 DB* db2 = nullptr; in TEST_F() local
1737 Status s = DB::Open(CurrentOptions(), dbname_, &db2); in TEST_F()
/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/python/cpython3/Doc/using/
Dconfigure.rst79 .. cmdoption:: --with-dbmliborder=db1:db2:...
/external/google-breakpad/src/processor/testdata/symbols/libgcc_s.so.1/18B180F90887D8F8B5C35D185444AF4C0/
Dlibgcc_s.so.1.sym838 STACK CFI 11db2 .cfa: $rsp 112 +
/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.ac3206 …AS_HELP_STRING([--with-dbmliborder=db1:db2:...], [override order to check db backends for dbm; a v…
3210 AC_MSG_ERROR([proper usage is --with-dbmliborder=db1:db2:...])
3215 AC_MSG_ERROR([proper usage is --with-dbmliborder=db1:db2:...])
/external/google-breakpad/src/processor/testdata/symbols/microdump/breakpad_unittests/DA7778FB66018A4E9B4110ED06E730D00/
Dbreakpad_unittests.sym1036 14db2 4 484 85
3619 17db2 a 87 63
9915 23db2 a 357 25
11454 26db2 6 85 79
12409 28db2 16 173 30
17816 32db2 2 666 144
18842 34db2 4 287 59
26554 40db2 4 305 89
27611 42db2 8 400 136
28285 43db2 2 212 121
[all …]
/external/google-breakpad/src/tools/windows/dump_syms/testdata/
Domap_reorder_funcs.sym1085 4db2 b 214 3954
Ddump_syms_regtest.sym2329 4db2 9 220 3447
Ddump_syms_regtest64.sym3175 7db2 15 155 7081
/external/mesa3d/src/mesa/x86/
Dassyntax.h193 #define DR2 %db2

12