/base/startup/init/services/etc/param/ |
D | param_fixer.py | 38 def parse_params(line, contents): argument 47 contents[name] = value 49 def parse_extra_params(extras, contents): argument 52 parse_params(extra, contents) 55 contents = {} 65 parse_params(line, contents) 68 parse_extra_params(options.extra, contents) 73 for key in contents: 74 f.write("".join([key, "=", contents[key], '\n']))
|
/base/startup/appspawn/etc/sandbox/ |
D | appdata_sandbox_fixer.py | 183 contents = f.read() 185 return json.loads(contents) 188 contents = contents.replace("{%s}" % parts[0], parts[1]) 189 return json.loads(contents) 194 contents = __substitude_contents(options, options.source_file) 195 if contents : 196 data_list.append(contents) 203 contents = __substitude_contents(options, sandbox_cfg) 204 if contents : 205 data_list.append(contents)
|
/base/security/access_token/services/tokensyncmanager/src/remote/ |
D | soft_bus_session_listener.cpp | 45 char contents[len]; in OnSessionOpened() local 46 int32_t resultCode = ::GetPeerSessionName(sessionId, contents, len); in OnSessionOpened() 51 std::string peerSessionName(contents); in OnSessionOpened() 98 char contents[len]; in OnBytesReceived() local 99 int32_t resultCode = ::GetPeerDeviceId(sessionId, contents, len); in OnBytesReceived() 104 std::string networkId(contents); in OnBytesReceived()
|
/base/hiviewdfx/hiview/plugins/sysevent_source/test/unittest/common/ |
D | sys_event_stat_test.cpp | 48 std::string contents; in GetFileContent() local 51 contents.append(temp); in GetFileContent() 53 return contents; in GetFileContent()
|
/base/global/i18n/frameworks/intl/src/ |
D | i18n_timezone.cpp | 728 xmlChar *contents[ELEMENT_NUM] = { 0 }; // 2 represent cityid, zoneid; in ReadTimeZoneData() local 731 contents[i] = xmlNodeGetContent(value); in ReadTimeZoneData() 738 availableZoneCityIDs.insert(reinterpret_cast<const char *>(contents[0])); in ReadTimeZoneData() 740 std::make_pair<std::string, std::string>(reinterpret_cast<const char *>(contents[0]), in ReadTimeZoneData() 741 reinterpret_cast<const char *>(contents[1]))); in ReadTimeZoneData() 743 if (contents[i] != nullptr) { in ReadTimeZoneData() 744 xmlFree(contents[i]); in ReadTimeZoneData() 839 xmlChar *contents[ELEMENT_NUM] = { 0 }; // 2 represent cityid, displayName; in FindCityDisplayNameFromXml() local 842 contents[i] = xmlNodeGetContent(value); in FindCityDisplayNameFromXml() 848 if (strcmp(cityID.c_str(), reinterpret_cast<const char *>(contents[0])) == 0) { in FindCityDisplayNameFromXml() [all …]
|
/base/security/appverify/interfaces/innerkits/appverify/src/util/ |
D | hap_signing_block_utils.cpp | 473 bool HapSigningBlockUtils::GetSumOfChunkDigestLen(DataSource* contents[], int32_t len, in GetSumOfChunkDigestLen() argument 477 if (contents[i] == nullptr) { in GetSumOfChunkDigestLen() 481 contents[i]->Reset(); in GetSumOfChunkDigestLen() 482 chunkCount += GetChunkCount(contents[i]->Remaining(), CHUNK_SIZE); in GetSumOfChunkDigestLen() 501 DataSource* contents[], int32_t len, HapByteBuffer& result) in ComputeDigestsForEachChunk() argument 505 …if (!GetSumOfChunkDigestLen(contents, len, digestParam.digestOutputSizeBytes, chunkCount, sumOfChu… in ComputeDigestsForEachChunk() 518 while (contents[i]->HasRemaining()) { in ComputeDigestsForEachChunk() 519 int32_t chunkSize = std::min(contents[i]->Remaining(), CHUNK_SIZE); in ComputeDigestsForEachChunk() 525 if (!contents[i]->ReadDataAndDigestUpdate(digestParam, chunkSize)) { in ComputeDigestsForEachChunk()
|
D | hap_verify_openssl_utils.cpp | 63 if (!GetContentInfo(pkcs7Context.p7->d.sign->contents, pkcs7Context.content)) { in ParsePkcs7Package()
|
/base/update/updater/test/unittest/applypatch_test/ |
D | all_cmd_unittest.cpp | 39 bool GetTransferContents(const std::string &transferFile, std::string &contents) const; 65 bool AllCmdUnitTest::GetTransferContents(const std::string &transferFile, std::string &contents) co… in GetTransferContents() 71 contents.clear(); in GetTransferContents() 72 bool rc = Updater::Utils::ReadFileToString(fd, contents); in GetTransferContents()
|
/base/notification/distributed_notification_service/frameworks/ans/src/ |
D | notification_slot.cpp | 352 std::string contents; in MergeVectorToString() local 354 contents += std::to_string(*it); in MergeVectorToString() 356 contents += ", "; in MergeVectorToString() 359 return contents; in MergeVectorToString()
|
/base/security/appverify/interfaces/innerkits/appverify/test/unittest/src/ |
D | hap_signing_block_utils_test.cpp | 336 DataSource* contents[TEST_ZIP_BLOCKS_NUM_NEED_DIGEST] = { nullptr, nullptr, nullptr }; variable 337 …bool ret = HapSigningBlockUtils::GetSumOfChunkDigestLen(contents, 0, 0, chunkCount, sumOfChunkDige… 339 ret = HapSigningBlockUtils::GetSumOfChunkDigestLen(contents, 345 contents[i] = &testSource; 347 ret = HapSigningBlockUtils::GetSumOfChunkDigestLen(contents,
|
/base/security/appverify/interfaces/innerkits/appverify/include/util/ |
D | hap_signing_block_utils.h | 101 … static bool ComputeDigestsForEachChunk(const DigestParameter& digestParam, DataSource* contents[], 107 …DLL_EXPORT static bool GetSumOfChunkDigestLen(DataSource* contents[], int32_t len, int32_t chunkDi…
|
/base/update/update_app/common/src/main/ets/const/ |
D | update_const.ts | 286 contents: Array<string>; property
|
/base/update/update_app/feature/ota/src/main/ets/util/ |
D | ChangelogParseUtils.ets | 198 feature = { subTitle: title, contents: [] }; 202 feature = { subTitle: title, contents: [] }; 206 feature.contents.push(content);
|
/base/startup/init/services/sandbox/ |
D | sandbox.c | 351 char *contents = ReadFileToBuf(sandboxConfigFile); in ParseInitSandboxConfigFile() local 352 if (contents == NULL) { in ParseInitSandboxConfigFile() 355 cJSON *root = cJSON_Parse(contents); in ParseInitSandboxConfigFile() 356 free(contents); in ParseInitSandboxConfigFile()
|
/base/update/update_app/feature/ota/src/main/ets/components/ |
D | ChangelogContent.ets | 76 ForEach(feature.contents, (content: string) => { 252 ForEach(item.contents, (content: string) => {
|
/base/update/updater/services/package/pkg_verify/ |
D | pkcs7_signed_data.cpp | 216 PKCS7 *contentInfo = signData->contents; in ParseContentInfo()
|
/base/hiviewdfx/hidumper/ |
D | README.md | 18 - Output: Outputs various contents. This module consists of two parts: FdOutput for standard outp…
|
/base/security/certificate_framework/ |
D | LICENSE | 116 wherever such third-party notices normally appear. The contents
|
/base/request/request/ |
D | LICENSE | 116 wherever such third-party notices normally appear. The contents
|
/base/inputmethod/imf/ |
D | LICENSE | 116 wherever such third-party notices normally appear. The contents
|
/base/security/dlp_permission_service/ |
D | LICENSE | 116 wherever such third-party notices normally appear. The contents
|
/base/startup/init/ |
D | LICENSE | 116 wherever such third-party notices normally appear. The contents
|
/base/global/timezone/ |
D | LICENSE | 116 wherever such third-party notices normally appear. The contents
|
/base/telephony/core_service/ |
D | LICENSE | 116 wherever such third-party notices normally appear. The contents
|
/base/useriam/user_auth_framework/ |
D | LICENSE | 116 wherever such third-party notices normally appear. The contents
|