/external/tensorflow/tensorflow/core/lib/db/ |
D | sqlite_test.cc | 32 TF_ASSERT_OK(Sqlite::Open(":memory:", SQLITE_OPEN_READWRITE, &db_)); in SetUp() 33 db_->PrepareOrDie("CREATE TABLE T (a BLOB, b BLOB)").StepAndResetOrDie(); in SetUp() 36 void TearDown() override { db_->Unref(); } in TearDown() 38 Sqlite* db_; member in tensorflow::__anonfcb303560111::SqliteTest 43 auto stmt = db_->PrepareOrDie("INSERT INTO T (a, b) VALUES (?, ?)"); in TEST_F() 50 stmt = db_->PrepareOrDie("SELECT a, b FROM T ORDER BY b"); in TEST_F() 64 auto stmt = db_->PrepareOrDie("INSERT INTO T (a, b) VALUES (?, ?)"); in TEST_F() 68 stmt = db_->PrepareOrDie("SELECT a, b FROM T"); in TEST_F() 80 auto stmt = db_->PrepareOrDie("INSERT INTO T (a, b) VALUES (?, ?)"); in TEST_F() 84 stmt = db_->PrepareOrDie("SELECT json_extract(a, '$.key'), json_extract(b, '$.key') FROM T"); in TEST_F() [all …]
|
D | sqlite.cc | 160 CHECK_EQ(SQLITE_OK, sqlite3_close(db_)); in ~Sqlite() 166 int rc = sqlite3_prepare_v2(db_, sql.data(), static_cast<int>(sql.size()), in Prepare() 185 SqliteLock lock(*db_); in Step() 196 return PrintfStatus(rc, "Step() failed: [%d] %s: %s", rc, db_->errmsg(), in Step() 242 SqliteTransaction::SqliteTransaction(Sqlite& db) : db_(&db) { in SqliteTransaction() 243 sqlite3_mutex_enter(sqlite3_db_mutex(db_->db_)); in SqliteTransaction() 244 CHECK(!db_->is_in_transaction_); in SqliteTransaction() 245 db_->is_in_transaction_ = true; in SqliteTransaction() 252 sqlite3_step(db_->rollback_); in ~SqliteTransaction() 253 sqlite3_reset(db_->rollback_); in ~SqliteTransaction() [all …]
|
D | sqlite.h | 99 return sqlite3_extended_errcode(db_); in errcode() 104 return sqlite3_errmsg(db_); in errmsg() 109 return sqlite3_last_insert_rowid(db_); in last_insert_rowid() 114 return sqlite3_changes(db_); in changes() 124 : db_(db), begin_(begin), commit_(commit), rollback_(rollback) {} in Sqlite() 126 sqlite3* const db_; variable 153 if (db_ != nullptr) db_->Unref(); in ~SqliteStatement() 324 : db_(other.db_), stmt_(other.stmt_), bind_error_(other.bind_error_) { in SqliteStatement() 325 other.db_ = nullptr; in SqliteStatement() 333 if (db_ != nullptr) db_->Unref(); [all …]
|
/external/grpc-grpc/examples/cpp/route_guide/ |
D | helper.cc | 61 explicit Parser(const std::string& db) : db_(db) { in Parser() 63 db_.erase( in Parser() 64 std::remove_if(db_.begin(), db_.end(), isspace), in Parser() 65 db_.end()); in Parser() 72 return current_ >= db_.size(); in Finished() 94 while (current_ != db_.size() && db_[current_++] != '"') { in TryParseOne() 96 if (current_ == db_.size()) { in TryParseOne() 99 feature->set_name(db_.substr(name_start, current_-name_start-1)); in TryParseOne() 101 if (db_[current_ - 1] == ']' && current_ == db_.size()) { in TryParseOne() 117 bool eq = db_.substr(current_, prefix.size()) == prefix; in Match() [all …]
|
/external/perfetto/src/trace_processor/ |
D | trace_processor_impl.cc | 225 db_.reset(std::move(db)); in TraceProcessorImpl() 236 ArgsTable::RegisterTable(*db_, context_.storage.get()); in TraceProcessorImpl() 237 ProcessTable::RegisterTable(*db_, context_.storage.get()); in TraceProcessorImpl() 238 SchedSliceTable::RegisterTable(*db_, context_.storage.get()); in TraceProcessorImpl() 239 SliceTable::RegisterTable(*db_, context_.storage.get()); in TraceProcessorImpl() 240 SqlStatsTable::RegisterTable(*db_, context_.storage.get()); in TraceProcessorImpl() 241 StringTable::RegisterTable(*db_, context_.storage.get()); in TraceProcessorImpl() 242 ThreadTable::RegisterTable(*db_, context_.storage.get()); in TraceProcessorImpl() 243 CounterDefinitionsTable::RegisterTable(*db_, context_.storage.get()); in TraceProcessorImpl() 244 CounterValuesTable::RegisterTable(*db_, context_.storage.get()); in TraceProcessorImpl() [all …]
|
D | sqlite3_str_split_unittest.cc | 35 db_.reset(db); in Sqlite3StrSplitTest() 36 sqlite3_str_split_init(db_.get()); in Sqlite3StrSplitTest() 45 PERFETTO_CHECK(sqlite3_prepare_v2(*db_, sql.c_str(), in SplitStmt() 57 ScopedDb db_; member in perfetto::trace_processor::__anon548804210111::Sqlite3StrSplitTest
|
D | thread_table_unittest.cc | 38 db_.reset(db); in ThreadTableUnittest() 45 ThreadTable::RegisterTable(db_.get(), context_.storage.get()); in ThreadTableUnittest() 46 ProcessTable::RegisterTable(db_.get(), context_.storage.get()); in ThreadTableUnittest() 52 ASSERT_EQ(sqlite3_prepare_v2(*db_, sql.c_str(), size, &stmt, nullptr), in PrepareValidStatement() 65 ScopedDb db_; member in perfetto::trace_processor::__anon2d070d180111::ThreadTableUnittest
|
D | process_table_unittest.cc | 35 db_.reset(db); in ProcessTableUnittest() 40 ProcessTable::RegisterTable(db_.get(), context_.storage.get()); in ProcessTableUnittest() 46 ASSERT_EQ(sqlite3_prepare_v2(*db_, sql.c_str(), size, &stmt, nullptr), in PrepareValidStatement() 59 ScopedDb db_; member in perfetto::trace_processor::__anon522334ff0111::ProcessTableUnittest
|
D | span_join_operator_table_unittest.cc | 33 db_.reset(db); in SpanJoinOperatorTableTest() 37 SpanJoinOperatorTable::RegisterTable(db_.get(), context_.storage.get()); in SpanJoinOperatorTableTest() 43 ASSERT_EQ(sqlite3_prepare_v2(*db_, sql.c_str(), size, &stmt, nullptr), in PrepareValidStatement() 65 ScopedDb db_; member in perfetto::trace_processor::__anon06e10acc0111::SpanJoinOperatorTableTest
|
D | trace_processor_impl.h | 70 ScopedDb db_; // Keep first. variable 114 error_ = base::Optional<std::string>(sqlite3_errmsg(db_)); in Next() 160 sqlite3* db_ = nullptr; variable
|
D | sched_slice_table_unittest.cc | 41 db_.reset(db); in SchedSliceTableTest() 48 SchedSliceTable::RegisterTable(db_.get(), context_.storage.get()); in SchedSliceTableTest() 54 ASSERT_EQ(sqlite3_prepare_v2(*db_, sql.c_str(), size, &stmt, nullptr), in PrepareValidStatement() 63 ScopedDb db_; member in perfetto::trace_processor::__anon3ca8d4360111::SchedSliceTableTest
|
D | span_join_operator_table.cc | 58 : db_(db) {} in SpanJoinOperatorTable() 164 return std::unique_ptr<SpanJoinOperatorTable::Cursor>(new Cursor(this, db_)); in CreateCursor() 200 auto cols = sqlite_utils::GetColumnsForTable(db_, desc.name); in CreateTableDefinition() 449 : defn_(definition), db_(db), table_(table) { in Query() 458 *this = Query(table_, definition(), db_); in Initialize() 625 sqlite3_prepare_v2(db_, sql_query_.c_str(), in PrepareRawStmt()
|
D | span_join_operator_table.h | 217 sqlite3* db_ = nullptr; variable 293 sqlite3* const db_; variable
|
/external/tensorflow/tensorflow/core/summary/ |
D | summary_db_writer_test.cc | 52 TF_ASSERT_OK(Sqlite::Open(":memory:", SQLITE_OPEN_READWRITE, &db_)); in SetUp() 53 TF_ASSERT_OK(SetupTensorboardSqliteDb(db_)); in SetUp() 61 db_->Unref(); in TearDown() 62 db_ = nullptr; in TearDown() 66 SqliteStatement stmt = db_->PrepareOrDie(sql); in QueryInt() 77 SqliteStatement stmt = db_->PrepareOrDie(sql); in QueryDouble() 88 SqliteStatement stmt = db_->PrepareOrDie(sql); in QueryString() 99 Sqlite* db_ = nullptr; member in tensorflow::__anon4ff30c150111::SummaryDbWriterTest 104 TF_ASSERT_OK(CreateSummaryDbWriter(db_, "histtest", "test1", "user1", &env_, in TEST_F() 154 TF_ASSERT_OK(CreateSummaryDbWriter(db_, "mad-science", "train", "jart", &env_, in TEST_F() [all …]
|
D | summary_db_writer.cc | 163 IdAllocator(Env* env, Sqlite* db) : env_{env}, db_{db} { in IdAllocator() 165 DCHECK(db_ != nullptr); 172 TF_RETURN_IF_ERROR(db_->Prepare("INSERT INTO Ids (id) VALUES (?)", &stmt)); in CreateNewId() 210 Sqlite* const db_; member in tensorflow::__anon3d888a760111::IdAllocator 233 : db_(db), txn_(txn), graph_(graph), now_(now), graph_id_(graph_id) {} in GraphWriter() 259 TF_RETURN_IF_ERROR(db_->Prepare(sql, &insert)); in SaveNodeInputs() 311 TF_RETURN_IF_ERROR(db_->Prepare(sql, &insert)); in SaveNodes() 344 TF_RETURN_IF_ERROR(db_->Prepare(sql, &insert)); in SaveGraph() 365 Sqlite* const db_; member in tensorflow::__anon3d888a760111::GraphWriter 881 db_{db}, [all …]
|
/external/tensorflow/tensorflow/core/kernels/data/experimental/sql/ |
D | sqlite_query_connection.cc | 28 if (db_ != nullptr) db_->Unref(); in ~SqliteQueryConnection() 34 if (db_ != nullptr) { in Open() 39 data_source_name, SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE, &db_)); in Open() 47 db_->Unref(); in Close() 48 db_ = nullptr; in Close() 69 TF_RETURN_IF_ERROR(db_->Prepare(query_, &stmt_)); in PrepareQuery()
|
D | sqlite_query_connection.h | 45 Sqlite* db_ = nullptr; variable
|
/external/protobuf/src/google/protobuf/ |
D | descriptor_unittest.cc | 2393 pool_.reset(new DescriptorPool(&db_)); in SetUp() 2452 EXPECT_TRUE(db_.Add(proto)); in BuildFile() 2468 SimpleDescriptorDatabase db_; // used if in FALLBACK_DATABASE mode. member in google::protobuf::descriptor_unittest::AllowUnknownDependenciesTest 2661 ASSERT_TRUE(db_.Add(undeclared_dep_proto)); in TEST_P() 6434 db_(&source_tree_), in SourceLocationTest() 6435 pool_(&db_, &collector_) {} in SourceLocationTest() 6448 compiler::SourceTreeDescriptorDatabase db_; member in google::protobuf::descriptor_unittest::SourceLocationTest 6566 db_(&source_tree_), in CopySourceCodeInfoToTest() 6567 pool_(&db_, &collector_) {} in CopySourceCodeInfoToTest() 6572 compiler::SourceTreeDescriptorDatabase db_; member in google::protobuf::descriptor_unittest::CopySourceCodeInfoToTest
|
/external/toolchain-utils/android_bench_suite/panorama_input/ |
D | test_034.ppm | 521 …KHFMJIQMLOKJSPOPLKTQPVRQVRQWSRXTS]YX^ZY]YXTSRYXWXXX]]][ZY][Za`_dbaa`_ba`ed`db_`_[`_[`_^^][_^]`_^_^…
|
D | test_007.ppm | 5108 &<4380/������db_][X|}i��nOQ7MP6<>'-/MP8BD-53TR:tsVutWzx[��d��l��v��{��}��u��t��lzx[OO3AA%omTzw_…
|