Home
last modified time | relevance | path

Searched refs:contents (Results 1 – 25 of 105) sorted by relevance

12345

/base/startup/init/services/etc/param/
Dparam_fixer.py38 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/
Dappdata_sandbox_fixer.py183 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/
Dsoft_bus_session_listener.cpp45 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/
Dsys_event_stat_test.cpp48 std::string contents; in GetFileContent() local
51 contents.append(temp); in GetFileContent()
53 return contents; in GetFileContent()
/base/global/i18n/frameworks/intl/src/
Di18n_timezone.cpp728 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/
Dhap_signing_block_utils.cpp473 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()
Dhap_verify_openssl_utils.cpp63 if (!GetContentInfo(pkcs7Context.p7->d.sign->contents, pkcs7Context.content)) { in ParsePkcs7Package()
/base/update/updater/test/unittest/applypatch_test/
Dall_cmd_unittest.cpp39 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/
Dnotification_slot.cpp352 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/
Dhap_signing_block_utils_test.cpp336 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/
Dhap_signing_block_utils.h101 … 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/
Dupdate_const.ts286 contents: Array<string>; property
/base/update/update_app/feature/ota/src/main/ets/util/
DChangelogParseUtils.ets198 feature = { subTitle: title, contents: [] };
202 feature = { subTitle: title, contents: [] };
206 feature.contents.push(content);
/base/startup/init/services/sandbox/
Dsandbox.c351 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/
DChangelogContent.ets76 ForEach(feature.contents, (content: string) => {
252 ForEach(item.contents, (content: string) => {
/base/update/updater/services/package/pkg_verify/
Dpkcs7_signed_data.cpp216 PKCS7 *contentInfo = signData->contents; in ParseContentInfo()
/base/hiviewdfx/hidumper/
DREADME.md18 - Output: Outputs various contents. This module consists of two parts: FdOutput for standard outp…
/base/security/certificate_framework/
DLICENSE116 wherever such third-party notices normally appear. The contents
/base/request/request/
DLICENSE116 wherever such third-party notices normally appear. The contents
/base/inputmethod/imf/
DLICENSE116 wherever such third-party notices normally appear. The contents
/base/security/dlp_permission_service/
DLICENSE116 wherever such third-party notices normally appear. The contents
/base/startup/init/
DLICENSE116 wherever such third-party notices normally appear. The contents
/base/global/timezone/
DLICENSE116 wherever such third-party notices normally appear. The contents
/base/telephony/core_service/
DLICENSE116 wherever such third-party notices normally appear. The contents
/base/useriam/user_auth_framework/
DLICENSE116 wherever such third-party notices normally appear. The contents

12345