Home
last modified time | relevance | path

Searched refs:sqlite (Results 1 – 25 of 72) sorted by relevance

123

/third_party/python/Lib/sqlite3/test/
Ddbapi.py26 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 …]
Dregression.py25 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 …]
Dtypes.py25 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 …]
Dbackup.py1 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 …]
Dhooks.py24 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 …]
Dfactory.py24 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 …]
Duserfunctions.py27 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 …]
Dtransactions.py24 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 …]
Ddump.py4 import sqlite3 as sqlite namespace
8 self.cx = sqlite.connect(":memory:")
/third_party/sqlite/
DREADME.OpenSource3 "Name": "sqlite",
8 "Upstream URL": "https://www.sqlite.org/2022/sqlite-amalgamation-3400100.zip",
DBUILD.gn26 # 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"
DREADME.md1 Name: sqlite
2 URL: "https://www.sqlite.org/"
/third_party/libwebsockets/minimal-examples/api-tests/api-test-lws_struct_sqlite/
DCMakeLists.txt1 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)
DREADME.md19 $ ./lws-api-test-lws_struct-sqlite
/third_party/libsnd/Scripts/
Dlinux-to-win-cross-configure.sh22 --program-prefix='' --disable-sqlite --disable-static $@
/third_party/elfutils/config/
Ddebuginfod.service11 ExecStart=/usr/bin/debuginfod -d /var/cache/debuginfod/debuginfod.sqlite -p $DEBUGINFOD_PORT $DEBUG…
Ddebuginfod.sysconfig14 # prefer sqlite database durability over performance
/third_party/elfutils/tests/
Drun-debuginfod-duplicate-urls.sh29 DB=${PWD}/.debuginfod_tmp.sqlite
Drun-debuginfod-percent-escape.sh27 DB=${PWD}/.debuginfod_tmp.sqlite
Drun-debuginfod-extraction-passive.sh30 DB=${PWD}/.debuginfod.sqlite
Drun-debuginfod-negative-cache.sh24 DB=${PWD}/.debuginfod_tmp.sqlite
Drun-debuginfod-dlopen.sh31 DB=${PWD}/.debuginfod_tmp.sqlite
Drun-debuginfod-writable.sh31 DB=${PWD}/.debuginfod_tmp.sqlite
Drun-debuginfod-regex.sh27 DB=${PWD}/.debuginfod_tmp.sqlite
Drun-debuginfod-sizetime.sh28 DB=${PWD}/.debuginfod_tmp.sqlite

123