Home
last modified time | relevance | path

Searched refs:MAX_KEY_SIZE (Results 1 - 25 of 44) sorted by relevance

12

/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Dudmf_run_time_store_test.cpp90 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 Dmulti_ver_natural_store_snapshot.cpp39 if (key.empty() || key.size() > DBConstant::MAX_KEY_SIZE) { in Get()
51 if (keyPrefix.size() > DBConstant::MAX_KEY_SIZE) { in GetEntries()
H A Dmulti_ver_kvdata_storage.cpp86 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 Dshader_cache.h92 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 Dshader_cache.cpp54 cacheData_ = std::make_unique<CacheData>(MAX_KEY_SIZE, MAX_VALUE_SIZE, totalSize, filePath_); in InitShaderCache()
/foundation/multimodalinput/input/util/common/include/
H A Dconfig_multimodal.h40 #define MAX_KEY_SIZE 395 macro
/foundation/ability/ability_runtime/frameworks/native/child_process/src/
H A Dnative_child_process.cpp31 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 Dsqlite_local_kvdb_connection.cpp43 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 Dintercepted_data_impl.cpp27 if (key.empty() || key.size() > DBConstant::MAX_KEY_SIZE) { in CheckKey()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/
H A Dresult_entries_window.cpp174 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 Dconstants.h42 constexpr uint32_t MAX_KEY_SIZE = 256; member
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_storage_data_connection_test.cpp207 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 Ddb_constant.h24 static constexpr size_t MAX_KEY_SIZE = 1024; member in DistributedDB::DBConstant
/foundation/multimodalinput/input/intention/cooperate/plugin/src/input_event_transmission/
H A Dinput_event_serialization.cpp33 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 Dkey_event_value_transformation.cpp33 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 Ddistributeddb_interfaces_space_management_test.cpp200 DistributedDBToolsUnitTest::GetRandomKeyValue(key, DBConstant::MAX_KEY_SIZE); in HWTEST_F()
254 DistributedDBToolsUnitTest::GetRandomKeyValue(key, DBConstant::MAX_KEY_SIZE); in HWTEST_F()
H A Ddistributeddb_interfaces_nb_delegate_local_batch_test.cpp233 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 Dquery_expression.cpp471 if (this->beginKey_.size() > DBConstant::MAX_KEY_SIZE || in RangeParamCheck()
472 this->endKey_.size() > DBConstant::MAX_KEY_SIZE) { in RangeParamCheck()
H A Dparam_check_utils.cpp146 if (key.size() > DBConstant::MAX_KEY_SIZE) { in CheckObserver()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dquery_object.cpp239 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 Dinput_event_data_transformation.cpp43 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 Dvirtual_single_ver_sync_db_Interface.cpp165 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 Drd_single_ver_natural_store_connection.cpp67 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 Dgeneric_kvdb.cpp354 if (key.empty() || key.size() > DBConstant::MAX_KEY_SIZE || in CheckDataStatus()
H A Dgeneric_kvdb_connection.cpp74 if (!action || key.size() > DBConstant::MAX_KEY_SIZE) { in RegisterObserver()

Completed in 19 milliseconds

12