/third_party/python/Lib/sqlite3/test/ |
D | dbapi.py | 26 import sqlite3 as sqlite namespace 35 self.assertEqual(sqlite.apilevel, "2.0", 36 "apilevel is %s, should be 2.0" % sqlite.apilevel) 39 self.assertEqual(sqlite.threadsafety, 1, 40 "threadsafety is %d, should be 1" % sqlite.threadsafety) 43 self.assertEqual(sqlite.paramstyle, "qmark", 45 sqlite.paramstyle) 48 self.assertTrue(issubclass(sqlite.Warning, Exception), 52 self.assertTrue(issubclass(sqlite.Error, Exception), 56 self.assertTrue(issubclass(sqlite.InterfaceError, sqlite.Error), [all …]
|
D | regression.py | 25 import sqlite3 as sqlite namespace 32 self.con = sqlite.connect(":memory:") 44 con = sqlite.connect(":memory:", detect_types=sqlite.PARSE_COLNAMES) 56 con = sqlite.connect(":memory:", cached_statements=5) 80 con = sqlite.connect(":memory:") 90 con = sqlite.connect(":memory:") 95 except sqlite.DatabaseError: 100 except sqlite.OperationalError: 125 con = sqlite.connect(":memory:",detect_types=sqlite.PARSE_DECLTYPES) 141 con = sqlite.connect(":memory:",detect_types=sqlite.PARSE_DECLTYPES) [all …]
|
D | types.py | 25 import sqlite3 as sqlite namespace 34 self.con = sqlite.connect(":memory:") 96 if protocol is sqlite.PrepareProtocol: 111 self.con = sqlite.connect(":memory:", detect_types=sqlite.PARSE_DECLTYPES) 129 sqlite.converters["FLOAT"] = lambda x: 47.2 132 sqlite.converters["BOOL"] = lambda x: bool(int(x)) 133 sqlite.converters["FOO"] = DeclTypesTests.Foo 134 sqlite.converters["BAD"] = DeclTypesTests.BadConform 135 sqlite.converters["WRONG"] = lambda x: "WRONG" 136 sqlite.converters["NUMBER"] = float [all …]
|
D | backup.py | 1 import sqlite3 as sqlite namespace 7 cx = self.cx = sqlite.connect(":memory:") 35 bck = sqlite.connect(':memory:') 37 with self.assertRaises(sqlite.ProgrammingError): 41 bck = sqlite.connect(':memory:') 42 source = sqlite.connect(":memory:") 44 with self.assertRaises(sqlite.ProgrammingError): 48 bck = sqlite.connect(':memory:') 51 with self.assertRaises(sqlite.OperationalError) as cm: 53 if sqlite.sqlite_version_info < (3, 8, 8): [all …]
|
D | hooks.py | 24 import sqlite3 as sqlite namespace 31 con = sqlite.connect(":memory:") 36 con = sqlite.connect(":memory:") 42 con = sqlite.connect(":memory:") 43 with self.assertRaises(sqlite.ProgrammingError): 50 con = sqlite.connect(":memory:") 68 con = sqlite.connect(":memory:") 84 with self.assertRaises(sqlite.OperationalError) as cm: 92 con = sqlite.connect(":memory:") 112 con = sqlite.connect(":memory:") [all …]
|
D | factory.py | 24 import sqlite3 as sqlite namespace 27 class MyConnection(sqlite.Connection): 29 sqlite.Connection.__init__(self, *args, **kwargs) 37 class MyCursor(sqlite.Cursor): 39 sqlite.Cursor.__init__(self, *args, **kwargs) 44 self.con = sqlite.connect(":memory:", factory=MyConnection) 54 self.con = sqlite.connect(":memory:") 61 self.assertIsInstance(cur, sqlite.Cursor) 77 self.con = sqlite.connect(":memory:") 91 self.con = sqlite.connect(":memory:") [all …]
|
D | userfunctions.py | 27 import sqlite3 as sqlite namespace 154 self.con = sqlite.connect(":memory:") 179 with self.assertRaises(sqlite.OperationalError): 251 with self.assertRaises(sqlite.OperationalError) as cm: 311 @unittest.skipIf(sqlite.sqlite_version_info < (3, 8, 3), "Requires SQLite 3.8.3 or higher") 315 if sqlite.sqlite_version_info < (3, 15, 0): 319 with self.assertRaises(sqlite.OperationalError): 322 @unittest.skipIf(sqlite.sqlite_version_info < (3, 8, 3), "Requires SQLite 3.8.3 or higher") 326 if sqlite.sqlite_version_info < (3, 15, 0): 332 except sqlite.OperationalError: [all …]
|
D | transactions.py | 24 import sqlite3 as sqlite namespace 36 self.con1 = sqlite.connect(get_db_path(), timeout=0.1) 39 self.con2 = sqlite.connect(get_db_path(), timeout=0.1) 116 with self.assertRaises(sqlite.OperationalError): 126 with self.assertRaises(sqlite.OperationalError): 136 con = sqlite.connect(":memory:") 143 with self.assertRaises(sqlite.InterfaceError): 148 self.con = sqlite.connect(":memory:") 167 self.con = sqlite.connect(":memory:") 183 with self.assertRaises(sqlite.OperationalError): [all …]
|
D | dump.py | 4 import sqlite3 as sqlite namespace 8 self.cx = sqlite.connect(":memory:")
|
/third_party/sqlite/ |
D | README.OpenSource | 3 "Name": "sqlite", 8 "Upstream URL": "https://www.sqlite.org/2022/sqlite-amalgamation-3400100.zip",
|
D | BUILD.gn | 26 # This is the configuration used to build sqlite itself. 34 public_deps = [ ":sqlite" ] 37 ohos_shared_library("sqlite") { 96 part_name = "sqlite" 200 part_name = "sqlite" 265 part_name = "sqlite"
|
D | README.md | 1 Name: sqlite 2 URL: "https://www.sqlite.org/"
|
/third_party/libwebsockets/minimal-examples/api-tests/api-test-lws_struct_sqlite/ |
D | CMakeLists.txt | 1 project(lws-api-test-lws_struct-sqlite C) 8 set(SAMP lws-api-test-lws_struct-sqlite) 17 add_test(NAME api-test-lws_struct_sqlite COMMAND lws-api-test-lws_struct-sqlite)
|
D | README.md | 19 $ ./lws-api-test-lws_struct-sqlite
|
/third_party/libsnd/Scripts/ |
D | linux-to-win-cross-configure.sh | 22 --program-prefix='' --disable-sqlite --disable-static $@
|
/third_party/elfutils/config/ |
D | debuginfod.service | 11 ExecStart=/usr/bin/debuginfod -d /var/cache/debuginfod/debuginfod.sqlite -p $DEBUGINFOD_PORT $DEBUG…
|
D | debuginfod.sysconfig | 14 # prefer sqlite database durability over performance
|
/third_party/elfutils/tests/ |
D | run-debuginfod-duplicate-urls.sh | 29 DB=${PWD}/.debuginfod_tmp.sqlite
|
D | run-debuginfod-percent-escape.sh | 27 DB=${PWD}/.debuginfod_tmp.sqlite
|
D | run-debuginfod-extraction-passive.sh | 30 DB=${PWD}/.debuginfod.sqlite
|
D | run-debuginfod-negative-cache.sh | 24 DB=${PWD}/.debuginfod_tmp.sqlite
|
D | run-debuginfod-dlopen.sh | 31 DB=${PWD}/.debuginfod_tmp.sqlite
|
D | run-debuginfod-writable.sh | 31 DB=${PWD}/.debuginfod_tmp.sqlite
|
D | run-debuginfod-regex.sh | 27 DB=${PWD}/.debuginfod_tmp.sqlite
|
D | run-debuginfod-sizetime.sh | 28 DB=${PWD}/.debuginfod_tmp.sqlite
|