HomeSort by relevance Sort by last modified time
    Searched defs:sqlite (Results 51 - 75 of 95) sorted by null

1 23 4

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/sqlite3/test/
factory.py 25 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)
56 self.con = sqlite.connect(":memory:")
69 self.con = sqlite.connect(":memory:")
85 self.con = sqlite.connect(":memory:")
95 self.con.row_factory = sqlite.Ro
    [all...]
regression.py 26 import sqlite3 as sqlite namespace
30 self.con = sqlite.connect(":memory:")
42 con = sqlite.connect(":memory:", detect_types=sqlite.PARSE_COLNAMES)
54 con = sqlite.connect(":memory:", cached_statements=5)
78 con = sqlite.connect(":memory:")
88 if sqlite.sqlite_version_info < (3, 2, 2):
90 con = sqlite.connect(":memory:")
95 except sqlite.DatabaseError:
100 except sqlite.OperationalError
    [all...]
types.py 26 import sqlite3 as sqlite namespace
35 self.con = sqlite.connect(":memory:")
85 except sqlite.ProgrammingError:
100 self.con.text_factory = sqlite.OptimizedUnicode
103 except sqlite.ProgrammingError:
122 if protocol is sqlite.PrepareProtocol:
131 self.con = sqlite.connect(":memory:", detect_types=sqlite.PARSE_DECLTYPES)
136 sqlite.converters["FLOAT"] = lambda x: 47.2
139 sqlite.converters["BOOL"] = lambda x: bool(int(x)
    [all...]
userfunctions.py 26 import sqlite3 as sqlite namespace
125 self.con = sqlite.connect(":memory:")
150 except sqlite.OperationalError:
220 except sqlite.OperationalError, e:
261 self.con = sqlite.connect(":memory:")
292 except sqlite.OperationalError:
309 except sqlite.OperationalError, e:
318 except sqlite.OperationalError, e:
327 except sqlite.OperationalError, e:
336 except sqlite.OperationalError, e
    [all...]
dbapi.py 26 import sqlite3 as sqlite namespace
34 self.assertEqual(sqlite.apilevel, "2.0",
35 "apilevel is %s, should be 2.0" % sqlite.apilevel)
38 self.assertEqual(sqlite.threadsafety, 1,
39 "threadsafety is %d, should be 1" % sqlite.threadsafety)
42 self.assertEqual(sqlite.paramstyle, "qmark",
44 sqlite.paramstyle)
47 self.assertTrue(issubclass(sqlite.Warning, StandardError),
51 self.assertTrue(issubclass(sqlite.Error, StandardError),
55 self.assertTrue(issubclass(sqlite.InterfaceError, sqlite.Error)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/sqlite3/test/
factory.py 25 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)
56 self.con = sqlite.connect(":memory:")
69 self.con = sqlite.connect(":memory:")
85 self.con = sqlite.connect(":memory:")
95 self.con.row_factory = sqlite.Ro
    [all...]
regression.py 26 import sqlite3 as sqlite namespace
30 self.con = sqlite.connect(":memory:")
42 con = sqlite.connect(":memory:", detect_types=sqlite.PARSE_COLNAMES)
54 con = sqlite.connect(":memory:", cached_statements=5)
78 con = sqlite.connect(":memory:")
88 if sqlite.sqlite_version_info < (3, 2, 2):
90 con = sqlite.connect(":memory:")
95 except sqlite.DatabaseError:
100 except sqlite.OperationalError
    [all...]
types.py 26 import sqlite3 as sqlite namespace
35 self.con = sqlite.connect(":memory:")
85 except sqlite.ProgrammingError:
100 self.con.text_factory = sqlite.OptimizedUnicode
103 except sqlite.ProgrammingError:
122 if protocol is sqlite.PrepareProtocol:
131 self.con = sqlite.connect(":memory:", detect_types=sqlite.PARSE_DECLTYPES)
136 sqlite.converters["FLOAT"] = lambda x: 47.2
139 sqlite.converters["BOOL"] = lambda x: bool(int(x)
    [all...]
userfunctions.py 26 import sqlite3 as sqlite namespace
125 self.con = sqlite.connect(":memory:")
150 except sqlite.OperationalError:
220 except sqlite.OperationalError, e:
261 self.con = sqlite.connect(":memory:")
292 except sqlite.OperationalError:
309 except sqlite.OperationalError, e:
318 except sqlite.OperationalError, e:
327 except sqlite.OperationalError, e:
336 except sqlite.OperationalError, e
    [all...]
dbapi.py 26 import sqlite3 as sqlite namespace
34 self.assertEqual(sqlite.apilevel, "2.0",
35 "apilevel is %s, should be 2.0" % sqlite.apilevel)
38 self.assertEqual(sqlite.threadsafety, 1,
39 "threadsafety is %d, should be 1" % sqlite.threadsafety)
42 self.assertEqual(sqlite.paramstyle, "qmark",
44 sqlite.paramstyle)
47 self.assertTrue(issubclass(sqlite.Warning, StandardError),
51 self.assertTrue(issubclass(sqlite.Error, StandardError),
55 self.assertTrue(issubclass(sqlite.InterfaceError, sqlite.Error)
    [all...]
  /cts/tests/tests/database/src/android/database/sqlite/cts/
SQLiteOpenHelperTest.java 17 package android.database.sqlite.cts;
21 import android.database.sqlite.SQLiteCursor;
22 import android.database.sqlite.SQLiteCursorDriver;
23 import android.database.sqlite.SQLiteDatabase;
24 import android.database.sqlite.SQLiteOpenHelper;
25 import android.database.sqlite.SQLiteQuery;
26 import android.database.sqlite.SQLiteDatabase.CursorFactory;
SQLiteProgramTest.java 17 package android.database.sqlite.cts;
22 import android.database.sqlite.SQLiteDatabase;
23 import android.database.sqlite.SQLiteDoneException;
24 import android.database.sqlite.SQLiteException;
25 import android.database.sqlite.SQLiteQuery;
26 import android.database.sqlite.SQLiteStatement;
DatabaseStatementTest.java 17 package android.database.sqlite.cts;
21 import android.database.sqlite.SQLiteConstraintException;
22 import android.database.sqlite.SQLiteDatabase;
23 import android.database.sqlite.SQLiteDoneException;
24 import android.database.sqlite.SQLiteStatement;
SQLiteCursorTest.java 17 package android.database.sqlite.cts;
26 import android.database.sqlite.SQLiteCursor;
27 import android.database.sqlite.SQLiteDatabase;
28 import android.database.sqlite.SQLiteDirectCursorDriver;
SQLiteQueryBuilderTest.java 17 package android.database.sqlite.cts;
22 import android.database.sqlite.SQLiteCursor;
23 import android.database.sqlite.SQLiteCursorDriver;
24 import android.database.sqlite.SQLiteDatabase;
25 import android.database.sqlite.SQLiteQuery;
26 import android.database.sqlite.SQLiteQueryBuilder;
425 // produces no output. This should force SQLite to loop for a long time
SQLiteStatementTest.java 17 package android.database.sqlite.cts;
25 import android.database.sqlite.SQLiteDatabase;
26 import android.database.sqlite.SQLiteDoneException;
27 import android.database.sqlite.SQLiteStatement;
SQLiteDatabaseTest.java 17 package android.database.sqlite.cts;
30 import android.database.sqlite.SQLiteCursor;
31 import android.database.sqlite.SQLiteCursorDriver;
32 import android.database.sqlite.SQLiteDatabase;
33 import android.database.sqlite.SQLiteDatabase.CursorFactory;
34 import android.database.sqlite.SQLiteException;
35 import android.database.sqlite.SQLiteQuery;
36 import android.database.sqlite.SQLiteStatement;
37 import android.database.sqlite.SQLiteTransactionListener;
    [all...]
  /frameworks/base/core/java/android/database/sqlite/
SQLiteCursor.java 17 package android.database.sqlite;
SQLiteOpenHelper.java 17 package android.database.sqlite;
21 import android.database.sqlite.SQLiteDatabase.CursorFactory;
86 * used to handle corruption when sqlite reports database corruption.</p>
94 * @param errorHandler the {@link DatabaseErrorHandler} to be used when sqlite reports database
109 * Return the name of the SQLite database being opened, as given to
327 * The SQLite ALTER TABLE documentation can be found
328 * <a href="http://sqlite.org/lang_altertable.html">here</a>. If you add new columns
SQLiteQueryBuilder.java 17 package android.database.sqlite;
SQLiteSession.java 17 package android.database.sqlite;
157 * This class must tolerate reentrant execution of SQLite operations because
158 * triggers may call custom SQLite functions that perform additional queries.
189 * Corresponds to the SQLite <code>BEGIN DEFERRED</code> transaction mode.
203 * Corresponds to the SQLite <code>BEGIN IMMEDIATE</code> transaction mode.
217 * Corresponds to the SQLite <code>BEGIN EXCLUSIVE</code> transaction mode.
    [all...]
SQLiteConnectionPool.java 17 package android.database.sqlite;
21 import android.database.sqlite.SQLiteDebug.DbStats;
37 * Maintains a pool of active SQLite database connections.
58 * operations invokving SQLite can throw {@link SQLiteException} or other
    [all...]
SQLiteConnection.java 17 package android.database.sqlite;
25 import android.database.sqlite.SQLiteDebug.DbStats;
40 * Represents a SQLite database connection.
47 * When the SQLite WAL feature is enabled, multiple readers and one writer
67 * The connection object object owns *all* of the SQLite related native
72 * its associated SQLite state -- there are none.
81 * This class must tolerate reentrant execution of SQLite operations because
82 * triggers may call custom SQLite functions that perform additional queries.
115 // Because SQLite statement execution can be reentrant, we keep track of how many
    [all...]
  /frameworks/base/core/tests/coretests/src/android/database/sqlite/
SQLiteCursorTest.java 17 package android.database.sqlite;
69 // since sqlite wants to make sure each row is in a page, this string will allocate
  /external/robolectric/lib/main/
sqlite-jdbc-3.7.2.jar 

Completed in 251 milliseconds

1 23 4