/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
D | cert_manager_uri.c | 88 size_t valueLen = strlen(value); in GetComponentEncodedLen() local 90 for (size_t i = 0; i < valueLen; i++) { in GetComponentEncodedLen() 96 uint32_t len = (uint32_t) (keyLen + valueLen + reserved * 2 + *sep); in GetComponentEncodedLen() 147 size_t valueLen = strlen(value); in EncodeComp() local 151 if (avail < *sep + keyLen + valueLen) { in EncodeComp() 166 for (size_t i = 0; i < valueLen; i++) { in EncodeComp() 401 uint32_t valueLen = 0; in DecodePath() local 413 valueLen = i - start - strlen(P_OBJECT); in DecodePath() 417 valueLen = i - start - strlen(P_TYPE); in DecodePath() 423 valueLen = i - start - strlen(P_USER); in DecodePath() [all …]
|
/base/startup/init/interfaces/innerkits/syscap/ |
D | init_syscap.c | 34 unsigned int valueLen = PARAM_VALUE_LEN_MAX; in HasSystemCapability() local 50 if (SystemGetParameter(capName, paramValue, &valueLen) != 0) { in HasSystemCapability()
|
/base/startup/init/interfaces/innerkits/init_module_engine/include/ |
D | init_module_engine.h | 47 int GetParameterFromCmdLine(const char *paramName, char *value, size_t valueLen);
|
/base/telephony/sms_mms/frameworks/native/mms/src/ |
D | mms_body_part_header.cpp | 286 uint32_t valueLen = 0; in DecodeApplicationHeader() local 287 if (!decodeBuffer.DecodeText(sValue, valueLen)) { in DecodeApplicationHeader() 294 if (headerLen > fieldLen + valueLen + endStringZeroLen) { in DecodeApplicationHeader() 295 headerLen -= fieldLen + valueLen + endStringZeroLen; in DecodeApplicationHeader()
|
/base/global/resource_management_lite/frameworks/resmgr_lite/src/ |
D | global.c | 179 *value = (char *)malloc(idItem.valueLen); in GLOBAL_GetValueByIdInternal() 180 if (*value == NULL || strcpy_s(*value, idItem.valueLen, idItem.value) != EOK) { in GLOBAL_GetValueByIdInternal() 250 *value = (char *)malloc(idItem.valueLen); in GLOBAL_GetValueByNameInternal() 251 if (*value == NULL || strcpy_s(*value, idItem.valueLen, idItem.value) != EOK) { in GLOBAL_GetValueByNameInternal()
|
D | global_utils.c | 446 idItem->valueLen = (uint16_t)ConvertUint8ArrayToUint32(lengthCache, VALUE_LENGTH_OFFSET); in GetIdItem() 447 if (idItem->valueLen == 0 || idItem->valueLen > MAX_ITEM_LENGTH) { in GetIdItem() 451 idItem->value = (char *)malloc(idItem->valueLen); in GetIdItem() 455 (void)memset_s(idItem->value, idItem->valueLen, 0, idItem->valueLen); in GetIdItem() 456 (void)read(file, idItem->value, idItem->valueLen); in GetIdItem()
|
/base/startup/init/interfaces/kits/jskits/src_enhance/ |
D | native_parameters_js.cpp | 30 size_t valueLen = 0; 162 …ret = GetParamString(env, argv[i], asyncContext->value, MAX_VALUE_LENGTH, &asyncContext->valueLen); in Set() 177 asyncContext->key, asyncContext->keyLen, asyncContext->value, asyncContext->valueLen); in Set() 293 … (asyncContext->valueLen == 0) ? nullptr : asyncContext->value, value.data(), MAX_VALUE_LENGTH); in GetCallbackWork() 350 …ret = GetParamString(env, argv[i], asyncContext->value, MAX_VALUE_LENGTH, &asyncContext->valueLen); in Get() 352 asyncContext->valueLen = 0; in Get() 370 asyncContext->key, asyncContext->keyLen, asyncContext->value, asyncContext->valueLen); in Get()
|
/base/hiviewdfx/hilog_lite/frameworks/mini/ |
D | hiview_output_log.c | 288 uint16 valueLen; in OutputLog2BinFile() local 312 valueLen = pCommonContent->valueNumber * sizeof(uint32); in OutputLog2BinFile() 313 if (valueLen > 0) { in OutputLog2BinFile() 314 if ((int32)len + (int32)valueLen > (int32)outputSize) { in OutputLog2BinFile() 319 if (ReadFromCache(&g_logCache, tmpBuffer + len, valueLen) != valueLen) { in OutputLog2BinFile() 322 len += valueLen; in OutputLog2BinFile()
|
/base/startup/init/services/param/include/ |
D | param_trie.h | 54 const char *key, uint32_t keyLen, const char *value, uint32_t valueLen);
|
/base/startup/init/services/include/ |
D | init_utils.h | 93 int GetParameterFromCmdLine(const char *paramName, char *value, size_t valueLen);
|
/base/global/resource_management_lite/frameworks/resmgr_lite/include/ |
D | global_utils.h | 92 uint16_t valueLen; member
|
/base/startup/init/services/begetctl/ |
D | param_cmd.c | 203 uint32_t valueLen = buffSize - PARAM_NAME_LEN_MAX; in ShowParamForCmdLs() local 204 (void)SystemGetParameterValue(handle, value, &valueLen); in ShowParamForCmdLs() 282 uint32_t valueLen = buffSize - PARAM_NAME_LEN_MAX; in ShowParamForCmdGet() local 283 (void)SystemGetParameterValue(handle, value, &valueLen); in ShowParamForCmdGet()
|
/base/startup/init/services/param/base/ |
D | param_trie.c | 261 const char *key, uint32_t keyLen, const char *value, uint32_t valueLen) in AddParamNode() argument 268 if ((valueLen > PARAM_VALUE_LEN_MAX) || IS_READY_ONLY(key)) { in AddParamNode() 269 realLen += keyLen + valueLen; in AddParamNode() 283 node->valueLength = valueLen; in AddParamNode()
|
D | param_base.c | 572 uint32_t valueLen = strlen(defValue); in CachedParameterCreate() local 574 …PARAM_CHECK(valueLen < PARAM_CONST_VALUE_LEN_MAX, return NULL, "Illegal param value %s", defValue); in CachedParameterCreate() 576 …PARAM_CHECK(valueLen < PARAM_VALUE_LEN_MAX, return NULL, "Illegal param value %s length", defValue… in CachedParameterCreate()
|
/base/startup/init/interfaces/kits/jskits/src/ |
D | native_parameters_js.cpp | 30 size_t valueLen = 0; 105 BUF_LENGTH - 1, &asyncContext->valueLen); in Set() 284 BUF_LENGTH - 1, &asyncContext->valueLen); in Get()
|
D | native_parameters_watch.cpp | 34 size_t valueLen = 0; 160 asyncContext->valueLen = BUF_LENGTH - 1; in ParamWait() 165 ret = GetParamValue(env, argv[1], napi_string, asyncContext->value, asyncContext->valueLen); in ParamWait()
|
/base/startup/init/services/init/standard/ |
D | init_cmds.c | 92 uint32_t valueLen = paramLen - curr; in GetParamValue() local 93 ret = SystemReadParam(tmpName, paramValue + curr, &valueLen); in GetParamValue() 95 curr += valueLen; in GetParamValue()
|
/base/telephony/call_manager/frameworks/js/napi/include/ |
D | napi_call_manager_types.h | 60 size_t valueLen = 0; member
|
/base/startup/init/interfaces/innerkits/fs_manager/ |
D | fstab_mount.c | 295 uint32_t valueLen = PARAM_VALUE_LEN_MAX; in GetSlotInfoFromParameter() local 296 return SystemGetParameter(name, value, &valueLen) == 0 ? atoi(value) : -1; in GetSlotInfoFromParameter()
|
/base/startup/init/services/param/manager/ |
D | param_manager.c | 427 uint32_t valueLen = strlen(value); in UpdateParam() local 430 if (entry->valueLength < PARAM_VALUE_LEN_MAX && valueLen < PARAM_VALUE_LEN_MAX) { in UpdateParam() 431 …t ret = PARAM_MEMCPY(entry->data + entry->keyLength + 1, PARAM_VALUE_LEN_MAX, value, valueLen + 1); in UpdateParam() 433 entry->valueLength = valueLen; in UpdateParam()
|
/base/startup/init/services/utils/ |
D | init_utils.c | 682 int GetParameterFromCmdLine(const char *paramName, char *value, size_t valueLen) in GetParameterFromCmdLine() argument 686 int ret = GetProcCmdlineValue(paramName, buffer, value, valueLen); in GetParameterFromCmdLine()
|
/base/telephony/sms_mms/test/gtest/ |
D | zero_branch_mms_test.cpp | 761 int32_t valueLen = 0; variable 762 ASSERT_FALSE(mmsContentType.DecodeTypeField(decoderBuffer, valueLen)); 766 ASSERT_TRUE(mmsContentType.DecodeTypeField(decoderBuffer, valueLen)); 770 ASSERT_FALSE(mmsContentType.DecodeTypeField(decoderBuffer, valueLen));
|
/base/startup/appspawn/standard/ |
D | appspawn_process.c | 549 static int GetStringFromArg(char *begin, char **end, char *value, uint32_t valueLen) in GetStringFromArg() argument 554 return strcpy_s(value, valueLen, start); in GetStringFromArg()
|
/base/telephony/ril_adapter/services/vendor/src/ |
D | at_sim.c | 1344 uint8_t valueLen = fcpByte[1]; in FcpFileDescriptorQuery() local 1353 resultLen = FcpTlvSearchTag(dataPtr, valueLen, FCP_FILE_DES_T, &outPtr); in FcpFileDescriptorQuery() 1376 uint8_t valueLen = fcpByte[1]; in FcpFileIdentifierQuery() local 1385 resultLen = FcpTlvSearchTag(dataPtr, valueLen, FCP_FILE_ID_T, &outPtr); in FcpFileIdentifierQuery()
|
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/ |
D | napi_hisysevent_util.cpp | 404 size_t valueLen = 0; in GetObjectTypeAttribute() local 405 napi_get_value_string_utf8(env, key, buf, BUF_SIZE - 1, &valueLen); in GetObjectTypeAttribute()
|