Home
last modified time | relevance | path

Searched refs:db_ (Results 1 – 3 of 3) sorted by relevance

/system/bt/test/headless/sdp/
Dsdp_db.cc29 db_ = (tSDP_DISCOVERY_DB*)malloc(max_records_ * sizeof(tSDP_DISC_REC) + in SdpDb()
33 SdpDb::~SdpDb() { free(db_); } in ~SdpDb()
35 tSDP_DISCOVERY_DB* SdpDb::RawPointer() { return db_; } in RawPointer()
42 fprintf(filep, "memory size:0x%x free:0x%x\n", db_->mem_size, db_->mem_free); in Print()
43 fprintf(filep, "number of filters:%hd\n", db_->num_uuid_filters); in Print()
44 for (int i = 0; i < db_->num_uuid_filters; i++) { in Print()
45 fprintf(filep, " uuid:%s\n", db_->uuid_filters[i].ToString().c_str()); in Print()
47 fprintf(filep, "raw data size:0x%x used:0x%x\n", db_->raw_size, in Print()
48 db_->raw_used); in Print()
Dsdp_db.h41 tSDP_DISCOVERY_DB* db_; variable
/system/iorap/src/db/
Dmodels.h52 : db_{std::shared_ptr<sqlite3>{db, SqliteDbDeleter{}}}, in DbHandle()
57 return db_.get(); in get()
61 return db_.get();
69 std::shared_ptr<sqlite3> db_;
113 DbStatement(DbHandle db, sqlite3_stmt* stmt) : db_(db), stmt_(stmt) { in DbStatement()
121 return db_; in db()
184 LOG(ERROR) << "SQLite error: " << sqlite3_errmsg(db_.get()); in Step()
267 : db_{other.db_}, stmt_{other.stmt_}, bind_counter_{other.bind_counter_}, in DbStatement()
269 other.db_ = DbHandle{nullptr};
290 DbHandle db_; variable
[all …]