Home
last modified time | relevance | path

Searched refs:MAX_MESSAGES_LEN (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/utils/src/
H A Dhistreamer_query_tool.cpp41 const uint32_t MAX_MESSAGES_LEN = 1 * 1024 * 1024; variable
107 char* res = reinterpret_cast<char *>(malloc(MAX_MESSAGES_LEN)); in QueryHiStreamerPluginInfo()
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_handler/histreamer_ability_querier/src/
H A Dhistreamer_ability_querier.cpp39 const uint32_t MAX_MESSAGES_LEN = 1 * 1024 * 1024; variable
78 strlen(cJSON_GetStringValue(keyObj)) <= MAX_MESSAGES_LEN; in IsString()
1002 if (ret.length() > MAX_MESSAGES_LEN) { in QueryAudioEncoderAbilityStr()
1006 if (memcpy_s(res, MAX_MESSAGES_LEN, ret.c_str(), ret.length()) != EOK) { in QueryAudioEncoderAbilityStr()
1029 if (ret.length() > MAX_MESSAGES_LEN) { in QueryAudioDecoderAbilityStr()
1033 if (memcpy_s(res, MAX_MESSAGES_LEN, ret.c_str(), ret.length()) != EOK) { in QueryAudioDecoderAbilityStr()
1056 if (ret.length() > MAX_MESSAGES_LEN) { in QueryVideoEncoderAbilityStr()
1060 if (memcpy_s(res, MAX_MESSAGES_LEN, ret.c_str(), ret.length()) != EOK) { in QueryVideoEncoderAbilityStr()
1083 if (ret.length() > MAX_MESSAGES_LEN) { in QueryVideoDecoderAbilityStr()
1087 if (memcpy_s(res, MAX_MESSAGES_LEN, ret.c_str(), ret.length()) != EOK) { in QueryVideoDecoderAbilityStr()
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/include/
H A Dav_trans_constants.h38 const uint32_t MAX_MESSAGES_LEN = 40 * 1024 * 1024; variable
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/src/
H A Dav_trans_message.cpp99 strlen(cJSON_GetStringValue(keyObj)) <= MAX_MESSAGES_LEN; in IsString()
H A Dav_trans_utils.cpp273 strlen(cJSON_GetStringValue(keyObj)) <= MAX_MESSAGES_LEN; in IsString()
/ohos5.0/foundation/distributedhardware/distributed_screen/common/src/
H A Ddscreen_json_util.cpp25 …res = jsonObj.contains(key) && jsonObj[key].is_string() && jsonObj[key].size() <= MAX_MESSAGES_LEN; in IsString()
/ohos5.0/foundation/distributedhardware/distributed_screen/common/include/
H A Ddscreen_constants.h208 constexpr uint32_t MAX_MESSAGES_LEN = 40 * 1024 * 1024; variable