Home
last modified time | relevance | path

Searched refs:MAX_MESSAGE_LEN (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/base/security/asset/frameworks/js/napi/inc/
H A Dasset_napi_check.h32 … char msg[MAX_MESSAGE_LEN] = { 0 }; \
33 … if ((sprintf_s(msg, MAX_MESSAGE_LEN, format, ##arg)) == -1) { \
H A Dasset_napi_common.h35 #define MAX_MESSAGE_LEN 256 macro
/ohos5.0/foundation/distributedhardware/device_manager/common/src/
H A Ddm_anonymous.cpp22 constexpr uint32_t MAX_MESSAGE_LEN = 40 * 1024 * 1024; variable
86 … res = jsonObj.contains(key) && jsonObj[key].is_string() && jsonObj[key].size() <= MAX_MESSAGE_LEN; in IsString()
177 if (srcData == nullptr || srcLen == 0 || srcLen >= MAX_MESSAGE_LEN) { in ConvertCharArray2String()
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/dbadapter/src/
H A Ddb_adapter_test.cpp443 uint32_t MAX_MESSAGE_LEN = 40 * 1024 * 1024 +1 ; variable
445 key.resize(MAX_MESSAGE_LEN);
477 uint32_t MAX_MESSAGE_LEN = 40 * 1024 * 1024 + 1; variable
480 value.resize(MAX_MESSAGE_LEN);
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/lowlatency/lowlatencylistener/src/
H A Dlow_latency_listener_test.cpp138 uint32_t MAX_MESSAGE_LEN = 40 * 1024 * 1024; variable
139 message.resize(MAX_MESSAGE_LEN);
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/interfaces/inner_kits/src/ipc/
H A Dpublisher_listener_stub.cpp48 if (message.empty() || message.size() > MAX_MESSAGE_LEN) { in OnRemoteRequest()
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/interfaces/inner_kits/test/unittest/common/distributedhardwarefwkkit/src/
H A Ddistributed_hardware_fwk_kit_test.cpp178 uint32_t MAX_MESSAGE_LEN = 40 * 1024 * 1024 + 10; variable
179 message.resize(MAX_MESSAGE_LEN);
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/utils/src/
H A Ddh_utils_tool.cpp213 …rn (strlen(value->valuestring) > MIN_MESSAGE_LEN && strlen(value->valuestring) <= MAX_MESSAGE_LEN); in IsString()
305 if (inputMessage.empty() || inputMessage.length() > MAX_MESSAGE_LEN) { in IsMessageLengthValid()
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/common/utils/include/
H A Dconstants.h27 constexpr uint32_t MAX_MESSAGE_LEN = 40 * 1024 * 1024; variable
/ohos5.0/base/security/asset/frameworks/js/napi/src/
H A Dasset_napi_common.cpp52 char msg[MAX_MESSAGE_LEN] = { 0 }; \
53 (void)sprintf_s(msg, MAX_MESSAGE_LEN, "AssetTag(0x%08x) " message, tag); \