Home
last modified time | relevance | path

Searched refs:Sqlite (Results 1 – 19 of 19) sorted by relevance

/external/tensorflow/tensorflow/core/lib/db/
Dsqlite.h60 class TF_LOCKABLE Sqlite : public core::RefCounted {
63 virtual ~Sqlite();
80 static Status Open(const string& path, int flags, Sqlite** db);
122 Sqlite(sqlite3* db, sqlite3_stmt* begin, sqlite3_stmt* commit, in Sqlite() function
132 TF_DISALLOW_COPY_AND_ASSIGN(Sqlite);
348 friend class Sqlite;
350 SqliteStatement(Sqlite* db, sqlite3_stmt* stmt) noexcept in SqliteStatement()
371 Sqlite* db_ = nullptr;
385 explicit SqliteLock(Sqlite& db) TF_EXCLUSIVE_LOCK_FUNCTION(db) in SqliteLock()
389 SqliteLock(Sqlite& db, std::try_to_lock_t) TF_EXCLUSIVE_LOCK_FUNCTION(db) in SqliteLock()
[all …]
Dsqlite.cc84 Status SetPragma(Sqlite* db, const char* pragma, const StringPiece& value) { in SetPragma()
104 Status EnvPragma(Sqlite* db, const char* pragma, const char* var) { in EnvPragma()
113 Status Sqlite::Open(const string& path, int flags, Sqlite** db) { in Open()
131 *db = new Sqlite(sqlite, begin, commit, rollback); in Open()
156 Sqlite::~Sqlite() { in ~Sqlite()
163 Status Sqlite::Prepare(const StringPiece& sql, SqliteStatement* stmt) { in Prepare()
242 SqliteTransaction::SqliteTransaction(Sqlite& db) : db_(&db) { in SqliteTransaction()
Dsqlite_test.cc32 TF_ASSERT_OK(Sqlite::Open(":memory:", SQLITE_OPEN_READWRITE, &db_)); in SetUp()
38 Sqlite* db_;
248 Sqlite* db; in TEST()
249 TF_ASSERT_OK(Sqlite::Open(":memory:", SQLITE_OPEN_READWRITE, &db)); in TEST()
/external/tensorflow/tensorflow/core/summary/
Dsummary_db_writer.cc139 Status SetDescription(Sqlite* db, int64 id, const StringPiece& markdown) { in SetDescription()
163 IdAllocator(Env* env, Sqlite* db) : env_{env}, db_{db} { in IdAllocator()
210 Sqlite* const db_;
218 static Status Save(Sqlite* db, SqliteTransaction* txn, IdAllocator* ids, in Save()
231 GraphWriter(Sqlite* db, SqliteTransaction* txn, GraphDef* graph, uint64 now, in GraphWriter()
365 Sqlite* const db_;
404 Status SetGraph(Sqlite* db, uint64 now, double computed_time, in SetGraph()
420 Status GetTagId(Sqlite* db, uint64 now, double computed_time, in GetTagId()
466 Status InitializeUser(Sqlite* db, uint64 now) in InitializeUser()
498 Status InitializeExperiment(Sqlite* db, uint64 now, double computed_time) in InitializeExperiment()
[all …]
Dschema_test.cc26 Sqlite* db; in TEST()
27 TF_ASSERT_OK(Sqlite::Open(":memory:", SQLITE_OPEN_READWRITE, &db)); in TEST()
Dvacuum.cc26 Sqlite* db; in Vacuum()
27 TF_CHECK_OK(Sqlite::Open(path, SQLITE_OPEN_READWRITE, &db)); in Vacuum()
Dschema.cc22 Status Run(Sqlite* db, const char* sql) { in Run()
30 Status SetupTensorboardSqliteDb(Sqlite* db) { in SetupTensorboardSqliteDb()
Dloader.cc76 Sqlite* db; in main()
77 TF_CHECK_OK(Sqlite::Open( in main()
Dschema.h29 Status SetupTensorboardSqliteDb(Sqlite* db);
Dsummary_db_writer.h36 Status CreateSummaryDbWriter(Sqlite* db, const string& experiment_name,
Dsummary_db_writer_test.cc52 TF_ASSERT_OK(Sqlite::Open(":memory:", SQLITE_OPEN_READWRITE, &db_)); in SetUp()
99 Sqlite* db_ = nullptr;
/external/rust/crates/rusqlite/src/
Dlib.rs1546 Sqlite(Error), enumerator
1553 CustomError::Sqlite(ref se) => write!(f, "my custom error: {}", se), in fmt()
1566 CustomError::Sqlite(ref se) => Some(se), in cause()
1573 CustomError::Sqlite(se) in from()
1648 .query_and_then(NO_PARAMS, |row| row.get(1).map_err(CustomError::Sqlite)) in test_query_and_then_custom_error()
1669 .query_and_then(NO_PARAMS, |row| row.get(1).map_err(CustomError::Sqlite)) in test_query_and_then_custom_error_fails()
1674 CustomError::Sqlite(Error::InvalidColumnType(..)) => (), in test_query_and_then_custom_error_fails()
1679 .query_and_then(NO_PARAMS, |row| row.get(3).map_err(CustomError::Sqlite)) in test_query_and_then_custom_error_fails()
1684 CustomError::Sqlite(Error::InvalidColumnIndex(_)) => (), in test_query_and_then_custom_error_fails()
1710 row.get(1).map_err(CustomError::Sqlite) in test_query_row_and_then_custom_error()
[all …]
/external/tensorflow/tensorflow/core/kernels/data/experimental/sql/
Dsqlite_query_connection.h46 Sqlite* db_ = nullptr;
Dsqlite_query_connection.cc39 TF_RETURN_IF_ERROR(Sqlite::Open( in Open()
/external/python/cpython3/PC/
Dsqlite3.rc1 // Resource script for Sqlite DLL.
/external/tensorflow/tensorflow/core/kernels/
Dsummary_kernels.cc85 Sqlite* db; in Compute()
86 TF_RETURN_IF_ERROR(Sqlite::Open( in Compute()
/external/rust/crates/rusqlite/
DChangelog.md189 * Removed `Sqlite` prefix on many types:
/external/python/cpython3/Misc/NEWS.d/
D3.5.0a1.rst4995 For BerkeleyDB and Sqlite, only add the found library and include directories
/external/python/cpython3/Misc/
DHISTORY2116 - Issue #15234: For BerkeleyDB and Sqlite, only add the found library and