/base/telephony/sms_mms/services/sms/ |
D | sms_wap_push_content_type.cpp | 131 uint32_t valueLength = 0; in DecodeCTGeneralForm() local 133 if (!decodeBuffer.DecodeValueLengthReturnLen(valueLength, returnLength)) { in DecodeCTGeneralForm() 137 contentLength = static_cast<int32_t>(valueLength + returnLength); in DecodeCTGeneralForm() 150 if (valueLength == 0) { in DecodeCTGeneralForm() 154 valueLength--; in DecodeCTGeneralForm() 159 valueLength -= len + 1; in DecodeCTGeneralForm() 166 if (!DecodeParameter(decodeBuffer, valueLength)) { in DecodeCTGeneralForm() 192 bool SmsWapPushContentType::DecodeParameter(SmsWapPushBuffer &decodeBuffer, int32_t valueLength) in DecodeParameter() argument 196 while (valueLength > 0) { in DecodeParameter() 202 valueLength--; in DecodeParameter() [all …]
|
D | sms_wap_push_buffer.cpp | 232 bool SmsWapPushBuffer::DecodeValueLengthReturnLen(uint32_t &valueLength, uint32_t &length) in DecodeValueLengthReturnLen() argument 238 valueLength = 0; in DecodeValueLengthReturnLen() 248 valueLength = oneByte; in DecodeValueLengthReturnLen() 258 valueLength = uintvar; in DecodeValueLengthReturnLen() 275 bool SmsWapPushBuffer::DecodeValueLength(uint32_t &valueLength) in DecodeValueLength() argument 280 valueLength = 0; in DecodeValueLength() 290 valueLength = oneByte; in DecodeValueLength() 299 valueLength = uintvar; in DecodeValueLength() 643 uint32_t valueLength = 0; in DecodeTextValue() local 644 if (DecodeTokenText(str, valueLength)) { in DecodeTextValue()
|
/base/telephony/sms_mms/frameworks/native/mms/src/ |
D | mms_content_type.cpp | 118 uint32_t valueLength = 0; in DecodeMmsCTGeneralForm() local 120 if (!decodeBuffer.DecodeValueLengthReturnLen(valueLength, returnLength)) { in DecodeMmsCTGeneralForm() 124 contentLength = static_cast<int32_t>(valueLength + returnLength); in DecodeMmsCTGeneralForm() 137 if (valueLength == 0) { in DecodeMmsCTGeneralForm() 141 valueLength--; in DecodeMmsCTGeneralForm() 146 valueLength -= len + 1; in DecodeMmsCTGeneralForm() 153 if (!DecodeParameter(decodeBuffer, valueLength)) { in DecodeMmsCTGeneralForm() 199 bool MmsContentType::DecodeParameter(MmsDecodeBuffer &decodeBuffer, int32_t valueLength) in DecodeParameter() argument 203 while (valueLength > 0) { in DecodeParameter() 209 valueLength--; in DecodeParameter() [all …]
|
D | mms_decode_buffer.cpp | 139 bool MmsDecodeBuffer::DecodeValueLengthReturnLen(uint32_t &valueLength, uint32_t &length) in DecodeValueLengthReturnLen() argument 146 valueLength = 0; in DecodeValueLengthReturnLen() 154 valueLength = oneByte; in DecodeValueLengthReturnLen() 164 valueLength = uintvar; in DecodeValueLengthReturnLen() 182 bool MmsDecodeBuffer::DecodeValueLength(uint32_t &valueLength) in DecodeValueLength() argument 189 valueLength = 0; in DecodeValueLength() 197 valueLength = oneByte; in DecodeValueLength() 206 valueLength = uintvar; in DecodeValueLength()
|
D | mms_header.cpp | 686 uint32_t valueLength = 0; in DecodeFromValue() local 687 if (!buff.DecodeValueLength(valueLength)) { in DecodeFromValue()
|
/base/startup/init/services/param/base/ |
D | param_base.h | 61 … int ret = PARAM_MEMCPY(value, *length, entry->data + entry->keyLength + 1, entry->valueLength); in ReadParamValue_() 63 value[entry->valueLength] = '\0'; in ReadParamValue_() 64 *length = entry->valueLength; in ReadParamValue_()
|
D | param_trie.c | 283 node->valueLength = valueLen; in AddParamNode()
|
/base/telephony/sms_mms/frameworks/native/mms/include/ |
D | mms_decode_buffer.h | 34 bool DecodeValueLengthReturnLen(uint32_t &valueLength, uint32_t &length); 35 bool DecodeValueLength(uint32_t &valueLength);
|
D | mms_content_type.h | 215 bool DecodeParameter(MmsDecodeBuffer &decodeBuffer, int32_t valueLength); 216 bool DecodeTextField(MmsDecodeBuffer &decodeBuffer, uint8_t field, int32_t &valueLength); 217 bool DecodeCharsetField(MmsDecodeBuffer &decodeBuffer, int32_t &valueLength); 218 bool DecodeTypeField(MmsDecodeBuffer &decodeBuffer, int32_t &valueLength);
|
/base/telephony/sms_mms/services/sms/include/ |
D | sms_wap_push_buffer.h | 46 bool DecodeValueLengthReturnLen(uint32_t &valueLength, uint32_t &length); 47 bool DecodeValueLength(uint32_t &valueLength);
|
D | sms_wap_push_content_type.h | 252 bool DecodeParameter(SmsWapPushBuffer &decodeBuffer, int32_t valueLength); 253 bool DecodeTextField(SmsWapPushBuffer &decodeBuffer, uint8_t field, int32_t &valueLength); 254 bool DecodeCharsetField(SmsWapPushBuffer &decodeBuffer, int32_t &valueLength); 255 bool DecodeTypeField(SmsWapPushBuffer &decodeBuffer, int32_t &valueLength);
|
/base/security/huks/frameworks/huks_standard/main/core/src/ |
D | hks_verifier.c | 508 uint32_t valueLength; in FillAttestExtendParamSet() local 509 ret = ExtractTlvDataAndHeadSize(tmp, leftSize, &value, &valueLength, &headSize); in FillAttestExtendParamSet() 510 if (ret != HKS_SUCCESS || valueLength > (leftSize - headSize) in FillAttestExtendParamSet() 516 if (valueLength >= MAX_ATTEST_CLAIM_BUF_LEN) { in FillAttestExtendParamSet() 522 ret = GetClaimDataParamSet(value, valueLength, paramSetOut); in FillAttestExtendParamSet() 529 tmp += (valueLength + headSize); in FillAttestExtendParamSet() 530 leftSize -= (valueLength + headSize); in FillAttestExtendParamSet()
|
/base/telephony/sms_mms/test/gtest/ |
D | zero_branch_mms_test.cpp | 350 uint32_t valueLength = 0; variable 357 EXPECT_FALSE(smsWapPushBuffer->DecodeValueLengthReturnLen(valueLength, length)); 358 EXPECT_FALSE(smsWapPushBuffer->DecodeUintvar(valueLength, length)); 359 EXPECT_FALSE(smsWapPushBuffer->DecodeValueLength(valueLength)); 371 EXPECT_TRUE(smsWapPushBuffer->DecodeValueLengthReturnLen(valueLength, length)); 376 EXPECT_FALSE(smsWapPushBuffer->DecodeUintvar(valueLength, length)); 380 EXPECT_FALSE(smsWapPushBuffer->DecodeValueLength(valueLength)); 384 EXPECT_FALSE(smsWapPushBuffer->DecodeValueLength(valueLength)); 544 int32_t valueLength = 1; variable 560 EXPECT_FALSE(smsWapPushContentType->DecodeCharsetField(decodeBuffer, valueLength)); [all …]
|
/base/startup/init/services/param/include/ |
D | param_common.h | 79 uint16_t valueLength; member
|
/base/startup/init/services/param/manager/ |
D | param_manager.c | 141 entry->commitId, entry->keyLength, entry->valueLength, entry->data); in DumpTrieDataNodeTraversal() 430 if (entry->valueLength < PARAM_VALUE_LEN_MAX && valueLen < PARAM_VALUE_LEN_MAX) { in UpdateParam() 433 entry->valueLength = valueLen; in UpdateParam() 674 *length = entry->valueLength + 1; in ReadParamValue() 677 PARAM_CHECK(*length > entry->valueLength, return PARAM_CODE_INVALID_PARAM, in ReadParamValue() 678 "Invalid value len %u %u", *length, entry->valueLength); in ReadParamValue()
|
/base/startup/init/services/param/adapter/ |
D | param_selinux.c | 164 ret = PARAM_MEMCPY(name, sizeof(name) - 1, node->data + node->keyLength + 1, node->valueLength); in GetWorkSpaceSize() 166 name[node->valueLength] = '\0'; in GetWorkSpaceSize()
|
/base/startup/init/services/param/linux/ |
D | param_service.c | 255 SendWatcherNotifyMessage(&extData, param->data, param->valueLength); in HandleParamWaitAdd()
|