/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | udmf_run_time_store_test.cpp | 90 const uint32_t MAX_KEY_SIZE = 1024; member in OHOS::Test::DistributedDataTest::UdmfRunTimeStoreTest 129 GetRandomValue(value, MAX_KEY_SIZE); // 1K in HWTEST_F() 132 GetRandomKey(key, MAX_KEY_SIZE); // 1K in HWTEST_F() 162 GetRandomKey(key, MAX_KEY_SIZE); // 1K in HWTEST_F() 195 GetRandomKey(key, MAX_KEY_SIZE); // 1K in HWTEST_F() 228 GetRandomKey(key, MAX_KEY_SIZE); // 1K in HWTEST_F() 229 GetRandomKey(keyInvalid, MAX_KEY_SIZE + 1); // 1K + 1 in HWTEST_F() 268 GetRandomKey(key, MAX_KEY_SIZE); // 1K in HWTEST_F() 269 GetRandomValue(value, MAX_KEY_SIZE); // 1K in HWTEST_F() 273 GetRandomKey(keyInvalid, MAX_KEY_SIZE in HWTEST_F() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/multiver/ |
H A D | multi_ver_natural_store_snapshot.cpp | 39 if (key.empty() || key.size() > DBConstant::MAX_KEY_SIZE) { in Get() 51 if (keyPrefix.size() > DBConstant::MAX_KEY_SIZE) { in GetEntries()
|
H A D | multi_ver_kvdata_storage.cpp | 86 if (key.empty() || key.size() > DBConstant::MAX_KEY_SIZE || value.size() > DBConstant::MAX_VALUE_SIZE) { in PutData() 105 if (key.empty() || key.size() > DBConstant::MAX_KEY_SIZE) { in DeleteData() 124 if (key.empty() || key.size() > DBConstant::MAX_KEY_SIZE) { in GetData() 143 if (keyPrefix.empty() || keyPrefix.size() > DBConstant::MAX_KEY_SIZE) { in GetEntries()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/render_context/ |
H A D | shader_cache.h | 92 static constexpr size_t MAX_KEY_SIZE = 1024;
member in OHOS::Rosen::ShaderCache 93 static constexpr size_t MAX_VALUE_SIZE = MAX_KEY_SIZE * 1024;
|
H A D | shader_cache.cpp | 54 cacheData_ = std::make_unique<CacheData>(MAX_KEY_SIZE, MAX_VALUE_SIZE, totalSize, filePath_);
in InitShaderCache()
|
/foundation/multimodalinput/input/util/common/include/ |
H A D | config_multimodal.h | 40 #define MAX_KEY_SIZE 395 macro
|
/foundation/ability/ability_runtime/frameworks/native/child_process/src/ |
H A D | native_child_process.cpp | 31 constexpr size_t MAX_KEY_SIZE = 20; member 133 if (key.size() > MAX_KEY_SIZE) { in OH_Ability_StartNativeChildProcess()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/kv/ |
H A D | sqlite_local_kvdb_connection.cpp | 43 if (key.empty() || key.size() > DBConstant::MAX_KEY_SIZE) { in Get() 165 if (keyPrefix.size() > DBConstant::MAX_KEY_SIZE) { in GetEntries() 233 if (item.empty() || item.size() > DBConstant::MAX_KEY_SIZE) { in DeleteBatch()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/ |
H A D | intercepted_data_impl.cpp | 27 if (key.empty() || key.size() > DBConstant::MAX_KEY_SIZE) { in CheckKey()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/ |
H A D | result_entries_window.cpp | 174 if (next.key.size() > DBConstant::MAX_KEY_SIZE || next.value.size() > DBConstant::MAX_VALUE_SIZE) { in LoadData()
|
/foundation/distributedhardware/distributed_hardware_fwk/common/utils/include/ |
H A D | constants.h | 42 constexpr uint32_t MAX_KEY_SIZE = 256; member
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/ |
H A D | distributeddb_storage_data_connection_test.cpp | 207 Key key(DBConstant::MAX_KEY_SIZE + 1, 'w'); in HWTEST_F() 295 Key key(DBConstant::MAX_KEY_SIZE + 1, 'w'); in HWTEST_F()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/ |
H A D | db_constant.h | 24 static constexpr size_t MAX_KEY_SIZE = 1024; member in DistributedDB::DBConstant
|
/foundation/multimodalinput/input/intention/cooperate/plugin/src/input_event_transmission/ |
H A D | input_event_serialization.cpp | 33 constexpr int32_t MAX_KEY_SIZE { 395 }; 47 if (size > MAX_KEY_SIZE) { in KeyEventToNetPacket() 82 if (size > MAX_KEY_SIZE) { in NetPacketToKeyEvent()
|
/foundation/multimodalinput/input/service/event_handler/src/ |
H A D | key_event_value_transformation.cpp | 33 constexpr int32_t MAX_KEY_SIZE { 3 }; 511 if (items.size() < MIN_KEY_SIZE || items.size() > MAX_KEY_SIZE) { in KeyItemsTransKeyIntention()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/ |
H A D | distributeddb_interfaces_space_management_test.cpp | 200 DistributedDBToolsUnitTest::GetRandomKeyValue(key, DBConstant::MAX_KEY_SIZE); in HWTEST_F() 254 DistributedDBToolsUnitTest::GetRandomKeyValue(key, DBConstant::MAX_KEY_SIZE); in HWTEST_F()
|
H A D | distributeddb_interfaces_nb_delegate_local_batch_test.cpp | 233 DistributedDBToolsUnitTest::GetRandomKeyValue(illegalKey, DBConstant::MAX_KEY_SIZE + 1); // 1K + 1 in HWTEST_F() 350 DistributedDBToolsUnitTest::GetRandomKeyValue(illegalKey, DBConstant::MAX_KEY_SIZE + 1); // 1K + 1 in HWTEST_F() 553 DistributedDBToolsUnitTest::GetRandomKeyValue(illegalKey, DBConstant::MAX_KEY_SIZE + 1); // 1K + 1 in HWTEST_F() 763 DBConstant::MAX_KEY_SIZE + 10); in HWTEST_F()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
H A D | query_expression.cpp | 471 if (this->beginKey_.size() > DBConstant::MAX_KEY_SIZE || in RangeParamCheck() 472 this->endKey_.size() > DBConstant::MAX_KEY_SIZE) { in RangeParamCheck()
|
H A D | param_check_utils.cpp | 146 if (key.size() > DBConstant::MAX_KEY_SIZE) { in CheckObserver()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/ |
H A D | query_object.cpp | 239 if (prefixKey_.size() > DBConstant::MAX_KEY_SIZE) { in ParseNode() 457 if (key.empty() || key.size() > DBConstant::MAX_KEY_SIZE) {
|
/foundation/multimodalinput/input/util/common/src/ |
H A D | input_event_data_transformation.cpp | 43 if (size > MAX_KEY_SIZE) { in KeyEventToNetPacket() 84 if (size > MAX_KEY_SIZE) { in NetPacketToKeyEvent()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/ |
H A D | virtual_single_ver_sync_db_Interface.cpp | 165 endKey.resize(DBConstant::MAX_KEY_SIZE, UCHAR_MAX); in GetUnSyncTotal() 466 endKey.resize(DBConstant::MAX_KEY_SIZE, UCHAR_MAX); in GetSyncData()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/gaussdb_rd/ |
H A D | rd_single_ver_natural_store_connection.cpp | 67 if (keyPrefix.size() > DBConstant::MAX_KEY_SIZE) { in GetEntriesInner() 252 if (key.size() > DBConstant::MAX_KEY_SIZE || key.empty()) { in Get()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/kv/ |
H A D | generic_kvdb.cpp | 354 if (key.empty() || key.size() > DBConstant::MAX_KEY_SIZE || in CheckDataStatus()
|
H A D | generic_kvdb_connection.cpp | 74 if (!action || key.size() > DBConstant::MAX_KEY_SIZE) { in RegisterObserver()
|