Home
last modified time | relevance | path

Searched refs:Statement (Results 1 – 6 of 6) sorted by relevance

/base/security/access_token/services/common/database/src/
Dstatement.cpp27 Statement::Statement(sqlite3* db, const std::string& sql) : db_(db), sql_(sql) in Statement() function in OHOS::Security::AccessToken::Statement
34 Statement::~Statement() in ~Statement()
40 void Statement::Bind(const int32_t index, const std::string& text) in Bind()
47 void Statement::Bind(const int32_t index, int32_t value) in Bind()
54 void Statement::Bind(const int32_t index, int64_t value) in Bind()
61 int32_t Statement::GetColumnInt(const int32_t column) const in GetColumnInt()
66 int64_t Statement::GetColumnInt64(const int32_t column) const in GetColumnInt64()
71 std::string Statement::GetColumnString(const int32_t column) const in GetColumnString()
76 std::string Statement::GetColumnName(const int32_t column) const in GetColumnName()
81 Statement::State Statement::Step() in Step()
[all …]
Dsqlite_helper.cpp131 Statement SqliteHelper::Prepare(const std::string& sql) const in Prepare()
133 return Statement(db_, sql); in Prepare()
161 while (statement.Step() == Statement::State::ROW) { in GetVersion()
/base/security/access_token/services/common/database/include/
Dstatement.h28 class Statement final {
32 Statement(sqlite3* db, const std::string& sql);
33 virtual ~Statement();
Dsqlite_helper.h40 Statement Prepare(const std::string& sql) const;
/base/security/access_token/services/privacymanager/src/database/
Dpermission_used_record_db.cpp89 if (ret != Statement::State::DONE) { in Add()
115 return (ret == Statement::State::DONE) ? SUCCESS : FAILURE; in Remove()
130 while (statement.Step() == Statement::State::ROW) { in FindByConditions()
152 while (statement.Step() == Statement::State::ROW) { in GetDistinctValue()
172 if (countStatement.Step() == Statement::State::ROW) { in Count()
189 if (deleteExpireStatement.Step() != Statement::State::DONE) { in DeleteExpireRecords()
201 if (deleteExcessiveStatement.Step() != Statement::State::DONE) { in DeleteExcessiveRecords()
/base/security/access_token/services/accesstokenmanager/main/cpp/src/database/
Dsqlite_storage.cpp116 if (ret != Statement::State::DONE) { in Add()
142 return (ret == Statement::State::DONE) ? SUCCESS : FAILURE; in Remove()
159 return (ret == Statement::State::DONE) ? SUCCESS : FAILURE; in Modify()
167 while (statement.Step() == Statement::State::ROW) { in Find()
186 bool canCommit = deleteStatement.Step() == Statement::State::DONE; in RefreshAll()
193 if (ret != Statement::State::DONE) { in RefreshAll()