Home
last modified time | relevance | path

Searched refs:readOnly_ (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/property/
H A Dscoped_handle.h34 template<typename Type, bool readOnly_ = BASE_NS::is_const_v<Type>>
42 if constexpr (readOnly_) { in ScopedHandle()
52 static_assert(readOnly_, "const IPropertyHandle can be used with <const Type>."); in ScopedHandle()
54 if constexpr (readOnly_) { in ScopedHandle()
69 if constexpr (readOnly_) {
84 if constexpr (readOnly_) { in ~ScopedHandle()
112 BASE_NS::conditional_t<readOnly_, const IPropertyHandle*, IPropertyHandle*> handle_ { nullptr };
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Drd_statement.cpp111 readOnly_ = true; in Prepare()
121 readOnly_ = false; in Prepare()
144 readOnly_ = SqliteUtils::GetSqlStatementType(newSql) == SqliteUtils::STATEMENT_SELECT; in Prepare()
145 if (readOnly_) { in Prepare()
172 readOnly_ = false; in Finalize()
336 if (!readOnly_ && strcmp(sql_.c_str(), GlobalExpr::PRAGMA_VERSION) == 0) { in Execute()
357 if (readOnly_ && strcmp(sql_.c_str(), GlobalExpr::PRAGMA_VERSION) == 0) { in ExecuteForValue()
496 return readOnly_; in ReadOnly()
H A Dsqlite_statement.cpp51 SqliteStatement::SqliteStatement() : readOnly_(false), columnCount_(0), numParameters_(0), stmt_(nu… in SqliteStatement()
92 readOnly_ = (sqlite3_stmt_readonly(stmt_) != 0); in Prepare()
560 return readOnly_; in ReadOnly()
720 readOnly_ = false; in InnerFinalize()
H A Drdb_store_config.cpp33 …: readOnly_(isReadOnly), isCreateNecessary_(isCreateNecessary), autoCheck_(autoCheck), journalSize… in RdbStoreConfig()
94 return readOnly_; in IsReadOnly()
184 this->readOnly_ = readOnly; in SetReadOnly()
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/
H A Drd_statement.h63 bool readOnly_ = false; variable
H A Dsqlite_statement.h100 bool readOnly_; variable
/ohos5.0/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/mock/include/
H A Drdb_store_config.h265 bool readOnly_ = false; variable
/ohos5.0/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/include/
H A Drdb_store_config.h689 bool readOnly_ = false; variable