Searched refs:isReadOnly_ (Results 1 - 11 of 11) sorted by relevance
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/recording/ |
H A D | mem_allocator.cpp | 29 MemAllocator::MemAllocator() : isReadOnly_(false), capacity_(0), size_(0), startPtr_(nullptr) {} in MemAllocator() 43 isReadOnly_ = true; in BuildFromData() 58 isReadOnly_ = false; in BuildFromDataWithCopy() 66 if (!isReadOnly_ && startPtr_) { in Clear() 69 isReadOnly_ = true; in Clear() 77 if (!isReadOnly_ && startPtr_) { in ClearData() 87 if (isReadOnly_ || size == 0 || size > MEM_SIZE_MAX || size < size_) { in Resize() 113 if (isReadOnly_ || !data || size == 0 || size > MEM_SIZE_MAX) { in Add()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/recording/ |
H A D | mem_allocator.h | 59 if (isReadOnly_) { in Allocate() 119 bool isReadOnly_; member in OHOS::Rosen::Drawing::MemAllocator
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | rdb_store_impl.cpp | 106 if (isReadOnly_) { in InnerOpen() 214 if (isReadOnly_ || (config_.GetDBType() == DB_VECTOR)) { in CleanDirtyData() 216 SqliteUtils::Anonymous(table).c_str(), isReadOnly_, config_.GetDBType()); in CleanDirtyData() 291 if (config_.GetDBType() == DB_VECTOR || isReadOnly_) { in SetDistributedTables() 745 if (isReadOnly_ || (config_.GetDBType() == DB_VECTOR)) { in RegisterDataChangeCallback() 877 isReadOnly_ = config.IsReadOnly() || config.GetRoleType() == VISITOR; in RdbStoreImpl() 884 isReadOnly_ = config.IsReadOnly() || config.GetRoleType() == VISITOR; in RdbStoreImpl() 888 if (connectionPool_ == nullptr && errCode == E_SQLITE_CORRUPT && config.GetAllowRebuild() && !isReadOnly_) { in RdbStoreImpl() 939 if (isReadOnly_ || (config_.GetDBType() == DB_VECTOR)) { in Insert() 988 if (isReadOnly_ || (config in BatchInsert() [all...] |
H A D | sqlite_connection.cpp | 130 : dbHandle_(nullptr), isWriter_(isWriteConnection), isReadOnly_(false), maxVariableNumber_(0), filePath(""), in SqliteConnection() 231 isReadOnly_ = !isWriter_ || config.IsReadOnly(); in InnerOpen() 500 if (isReadOnly_ || config.GetPageSize() == GlobalExpr::DB_PAGE_SIZE) { in SetPageSize() 704 if (isReadOnly_) { in SetJournalMode() 743 if (isReadOnly_ || config.GetJournalSize() == GlobalExpr::DB_JOURNAL_SIZE) { in SetJournalSizeLimit() 767 if (isReadOnly_ || !config.IsAutoCheck()) { in SetAutoCheckpoint()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/ |
H A D | sqlite_multi_ver_transaction.h | 209 bool isReadOnly_; member in DistributedDB::SQLiteMultiVerTransaction
|
H A D | sqlite_multi_ver_transaction.cpp | 128 isReadOnly_(false), in SQLiteMultiVerTransaction() 155 isReadOnly_ = isReadOnly; in Initialize() 167 if (isReadOnly_) { in Put() 212 if (isReadOnly_) { in Clear() 769 if (isReadOnly_) { in UpdateTimestampByVersion() 813 if (isReadOnly_) { in IsDataChanged() 1070 if (isReadOnly_) { in AddRecord()
|
H A D | sqlite_single_ver_natural_store.h | 326 bool isReadOnly_; member in DistributedDB::SQLiteSingleVerNaturalStore
|
H A D | sqlite_single_ver_natural_store.cpp | 170 isReadOnly_(false), in SQLiteSingleVerNaturalStore() 464 isReadOnly_ = isReadOnly; in Open() 1604 return !isReadOnly_; in CheckWritePermission()
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/ |
H A D | sqlite_connection.h | 146 bool isReadOnly_;
member in OHOS::NativeRdb::SqliteConnection
|
H A D | rdb_store_impl.h | 215 bool isReadOnly_ = false;
member in OHOS::NativeRdb::RdbStoreImpl
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/mock/include/ |
H A D | rdb_store_impl.h | 123 bool isReadOnly_ = false;
member in OHOS::NativeRdb::RdbStoreImpl
|
Completed in 14 milliseconds