/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/native/kv_store/src/kvstore_common/ |
H A D | kvstore_common.c | 41 size_t valueLen = strnlen(value, MAX_VALUE_LEN); in IsValidValue() 42 if ((valueLen == 0) || (valueLen >= MAX_VALUE_LEN) || (valueLen >= len)) { in IsValidValue() 114 size_t valueLen = strnlen(value, MAX_VALUE_LEN); in AddKVCache() 115 if ((keyLen >= MAX_KEY_LEN) || (valueLen >= MAX_VALUE_LEN)) { in AddKVCache() 171 size_t valueLen = strnlen(item->value, MAX_VALUE_LEN); in GetValueByCache() 172 if (valueLen >= MAX_VALUE_LEN) { in GetValueByCache()
|
H A D | kvstore_common.h | 23 #define MAX_VALUE_LEN 128 macro
|
/ohos5.0/base/startup/init/interfaces/innerkits/syspara/ |
H A D | param_wrapper.cpp | 32 static constexpr int MAX_VALUE_LEN = 128; variable 72 std::vector<char> value(MAX_VALUE_LEN); in GetParameter() 78 if (IsValidParamValue(def.c_str(), MAX_VALUE_LEN) == 1) { in GetParameter() 114 if (IsValidParamValue(def.c_str(), MAX_VALUE_LEN) == 1) { in GetStringParameter()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/native/dbm_kv_store/inc/ |
H A D | dbm_def.h | 26 #ifndef MAX_VALUE_LEN 27 #define MAX_VALUE_LEN 512 macro
|
/ohos5.0/base/startup/init/simulator/parameter/src/ |
H A D | param_adaptor.h | 29 #define MAX_VALUE_LEN 128 macro
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/ |
H A D | cjson_parser.cpp | 232 if ((valueLen > (MAX_VALUE_LEN - 1)) || (strLength > (MAX_VALUE_LEN - 1)) || in ToString() 233 (strLength + valueLen > (MAX_VALUE_LEN - 1))) { in ToString() 275 if (length > (MAX_VALUE_LEN - 1)) { in SubStr()
|
H A D | cjson_parser.h | 128 MAX_VALUE_LEN = 1024, enumerator
|
/ohos5.0/base/startup/init/simulator/parameter/src/param_impl_posix/ |
H A D | param_impl_posix.c | 108 if (!IsValidKey(key) || !IsValidValue(value, MAX_VALUE_LEN)) { in SetSysParam()
|
/ohos5.0/base/theme/screenlock_mgr/interfaces/inner_api/include/ |
H A D | screenlock_common.h | 127 constexpr std::int32_t MAX_VALUE_LEN = 4096; variable
|
/ohos5.0/base/inputmethod/imf/frameworks/js/napi/inputmethodclient/ |
H A D | js_input_method.h | 76 static constexpr std::int32_t MAX_VALUE_LEN = 4096; variable
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/native/kv_store/src/kvstore_impl_hal/ |
H A D | kv_store.c | 126 if (!IsValidKey(key) || !IsValidValue(value, MAX_VALUE_LEN)) { in UtilsSetValue()
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/dfx/test/unittest/fake/hiview/include/ |
H A D | hievent.h | 61 static const size_t MAX_VALUE_LEN = 128; variable
|
/ohos5.0/base/theme/screenlock_mgr/frameworks/js/napi/src/ |
H A D | napi_screenlock_ability.cpp | 478 char event[MAX_VALUE_LEN] = { 0 }; in NAPI_ScreenLockSendEvent() 480 napi_get_value_string_utf8(env, argv[ARGV_ZERO], event, MAX_VALUE_LEN, &len); in NAPI_ScreenLockSendEvent() 622 char authToken[MAX_VALUE_LEN] = { 0 }; in NAPI_SetScreenLockAuthState() 624 napi_get_value_string_utf8(env, argv[ARGV_TWO], authToken, MAX_VALUE_LEN, &len); in NAPI_SetScreenLockAuthState()
|
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/demuxer/ |
H A D | ffmpeg_format_helper.cpp | 53 const uint32_t MAX_VALUE_LEN = 256; variable 917 char* utf8Result = new char[MAX_VALUE_LEN + 1]; in ParseInfoFromMetadata() 918 utf8Result[MAX_VALUE_LEN] = '\0'; in ParseInfoFromMetadata() 919 int resultLen = ConvertGBK2UTF8(valPtr->value, inputLen, utf8Result, MAX_VALUE_LEN); in ParseInfoFromMetadata()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/native/kv_store/src/kvstore_impl_posix/ |
H A D | kv_store.c | 242 if (!IsValidKey(key) || !IsValidValue(value, MAX_VALUE_LEN)) { in UtilsSetValue()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/native/dbm_kv_store/src/kv_store_impl_hal/ |
H A D | dbm_kv_store.c | 678 …DBM_DEBUG("Limitation:key len[%d],value len[%d], keys sum[%d]", MAX_KEY_LEN, MAX_VALUE_LEN, DBM_MA… in DBM_GetKVStore() 767 if (valueLen > MAX_VALUE_LEN + KV_SUM_BLOCK_SIZE) { in GetValueByFile() 1127 if (!IsValidKey(key) || (value == NULL) || (len > MAX_VALUE_LEN) || len <= 0 || db == NULL) { in Put()
|
/ohos5.0/base/account/os_account/interfaces/kits/napi/osaccount/include/ |
H A D | napi_os_account_common.h | 26 constexpr std::int32_t MAX_VALUE_LEN = 4096; variable
|
/ohos5.0/base/account/os_account/interfaces/kits/napi/appaccount/include/ |
H A D | napi_app_account_common.h | 33 constexpr std::int32_t MAX_VALUE_LEN = 4096; variable
|
/ohos5.0/base/account/os_account/interfaces/kits/napi/appaccount/src/ |
H A D | napi_app_account_common.cpp | 381 char propValue[MAX_VALUE_LEN] = {0}; in GetNamedProperty() 383 if (napi_get_value_string_utf8(env, obj, propValue, MAX_VALUE_LEN, &propLen) != napi_ok) { in GetNamedProperty()
|