Home
last modified time | relevance | path

Searched refs:keyParam (Results 1 – 5 of 5) sorted by relevance

/developtools/global_resource_tool/src/
Dkey_parser.cpp283 KeyParam keyParam; in PushMccMnc() local
284 keyParam.keyType = type; in PushMccMnc()
285 keyParam.value = static_cast<uint32_t>(atoi(folderName.substr(MCC_MNC_KEY_LENGHT).c_str())); in PushMccMnc()
286 keyparams.push_back(keyParam); in PushMccMnc()
291 KeyParam keyParam; in PushLSR() local
292 keyParam.keyType = type; in PushLSR()
293 keyParam.value = 0; in PushLSR()
295 keyParam.value = (keyParam.value << 8) | (folderName[i] & 0xff); // Move 8 bits to the left in PushLSR()
297 keyparams.push_back(keyParam); in PushLSR()
302 KeyParam keyParam; in PushValue() local
[all …]
Dresource_table.cpp252 for (const auto &keyParam : keyParams) { in Prepare() local
253 limitKeyConfig.data.push_back(static_cast<int32_t>(keyParam.keyType)); in Prepare()
254 limitKeyConfig.data.push_back(static_cast<int32_t>(keyParam.value)); in Prepare()
389 KeyParam keyParam; in ReadLimitKeys() local
390 in.read(reinterpret_cast<char *>(&keyParam.keyType), INT_TO_BYTES); in ReadLimitKeys()
391 in.read(reinterpret_cast<char *>(&keyParam.value), INT_TO_BYTES); in ReadLimitKeys()
392 keyParams.push_back(keyParam); in ReadLimitKeys()
Dresource_append.cpp377 for (const auto &keyParam : resourceItem.GetKeyParam()) { in WriteResourceItem() local
378 out.write(reinterpret_cast<const char *>(&keyParam.keyType), sizeof(int32_t)); in WriteResourceItem()
379 out.write(reinterpret_cast<const char *>(&keyParam.value), sizeof(int32_t)); in WriteResourceItem()
541 KeyParam keyParam; in LoadResourceItemFromMem() local
542 keyParam.keyType = static_cast<KeyType>(ParseInt32(buffer, length, offset)); in LoadResourceItemFromMem()
547 keyParam.value = static_cast<uint32_t>(value); in LoadResourceItemFromMem()
548 keyParams.push_back(keyParam); in LoadResourceItemFromMem()
/developtools/profiler/host/smartperf/client/client_command/
Dsp_utils.cpp401 std::string keyParam; in VeriyParameter() local
423 keyParam = subOut[0]; in VeriyParameter()
425 SPUtils::RemoveSpace(keyParam); in VeriyParameter()
427 mapInfo[keyParam] = valueParm; in VeriyParameter()
429 keyParam = subOut[0]; in VeriyParameter()
430 SPUtils::RemoveSpace(keyParam); in VeriyParameter()
431 mapInfo[keyParam] = ""; in VeriyParameter()
/developtools/hapsigner/hapsigntool/hap_sign_tool/src/main/java/com/ohos/hapsigntoolcmd/
DParamsTrustlist.java127 String keyParam = commond + OPTIONS; in getTrustList() local
128 return Optional.ofNullable(trustMap.get(keyParam)).orElse(new ArrayList<>()); in getTrustList()