/base/security/certificate_framework/frameworks/adapter/v2.0/src/ |
H A D | cf_adapter_extension_openssl.c | 357 static int32_t FoundExtMatchedNid(const X509_EXTENSIONS *exts, int targetNid, X509_EXTENSION **found)
in FoundExtMatchedNid() argument 379 *found = ex;
in FoundExtMatchedNid() 386 static int32_t GetEntry(const X509_EXTENSION *found, CfBlob *out)
in GetEntry() argument 389 int entryLen = i2d_X509_EXTENSION((X509_EXTENSION *)found, &entry);
in GetEntry() 400 static int32_t GetEntryCritical(const X509_EXTENSION *found, CfBlob *out)
in GetEntryCritical() argument 409 int crit = X509_EXTENSION_get_critical(found);
in GetEntryCritical() 419 static int32_t GetEntryValue(const X509_EXTENSION *found, CfBlob *out)
in GetEntryValue() argument 422 ASN1_OCTET_STRING *octetString = X509_EXTENSION_get_data((X509_EXTENSION *)found);
in GetEntryValue() 440 static int32_t GetMatchedEntry(const X509_EXTENSION *found, CfExtensionEntryType type, CfBlob *out)
in GetMatchedEntry() argument 444 return GetEntry(found, ou in GetMatchedEntry() 479 X509_EXTENSION *found = NULL; CfOpensslGetEntry() local [all...] |
/base/startup/appspawn/etc/sandbox/ |
H A D | appdata_sandbox_fixer.py | 83 found = False 86 found = True 89 if not found: 110 found = False 113 found = True 117 if not found:
|
/base/startup/init/services/modules/bootevent/ |
H A D | bootevent.c | 117 ListNode *found = NULL;
in AddServiceBootEvent() local 121 found = OH_ListFind(&bootEventList, (void *)paramName, ParseBooteventCompareProc);
in AddServiceBootEvent() 122 if (found != NULL) {
in AddServiceBootEvent() 148 BOOT_EVENT_PARAM_ITEM *found = NULL;
in AddInitBootEvent() local 149 found = (BOOT_EVENT_PARAM_ITEM *)OH_ListFind(&bootEventList, (void *)bootEventName, ParseBooteventCompareProc);
in AddInitBootEvent() 150 if (found != NULL) {
in AddInitBootEvent() 151 (void)clock_gettime(CLOCK_MONOTONIC, &(found->timestamp[BOOTEVENT_READY]));
in AddInitBootEvent() 322 BOOT_EVENT_PARAM_ITEM *found = NULL;
in BootEventParaFireByName() local 330 found = (BOOT_EVENT_PARAM_ITEM *)OH_ListFind(&bootEventList, (void *)paramName, BootEventParaListCompareProc);
in BootEventParaFireByName() 331 if (found in BootEventParaFireByName() [all...] |
/base/telephony/sms_mms/services/mms/ |
H A D | mms_apn_info.cpp | 74 size_t found = 0; in SplitAndMatchApnTypes() local 75 while ((found = apn.find(',', pos)) != std::string::npos) { in SplitAndMatchApnTypes() 76 apns.push_back(apn.substr(pos, found - pos)); in SplitAndMatchApnTypes() 77 pos = found + 1; in SplitAndMatchApnTypes()
|
/base/global/i18n_lite/tools/i18n-dat-tool/src/main/java/ohos/global/i18n/ |
H A D | Utils.java | 252 boolean found = false; in generateTypesFile() 254 if (!found) { in generateTypesFile() 258 found = true; in generateTypesFile() 262 if (found && AVAILABLE_END_LINE.equals(line)) { in generateTypesFile() 264 found = false; in generateTypesFile() 353 boolean found = false; in generateI18nPatternFile() 355 if (found && ("} // I18N".equals(line))) { in generateI18nPatternFile() 356 found = false; in generateI18nPatternFile() 358 if (!found) { in generateI18nPatternFile() 362 found in generateI18nPatternFile() [all...] |
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/include/ |
H A D | napi_hisysevent_util.h | 81 bool found = false; in CompareAndReturnCacheItem() local 93 status = napi_strict_equals(env, standard, val, &found); in CompareAndReturnCacheItem() 97 if (found) { in CompareAndReturnCacheItem()
|
/base/update/updateservice/foundations/ability/utils/include/ |
H A D | string_utils.h | 93 std::size_t found = stringName.find_last_of(splitStr); in GetLastSplitString() local 95 if (found != std::string::npos) { in GetLastSplitString() 96 fileString = stringName.substr(found + 1, stringName.size()); in GetLastSplitString()
|
/base/update/updater/utils/ |
H A D | utils.cpp | 146 size_t found = std::string::npos; in SplitString() local 149 found = str.find_first_of(del, start); in SplitString() 150 result.push_back(str.substr(start, found - start)); in SplitString() 151 if (found == std::string::npos) { in SplitString() 154 start = found + 1; in SplitString() 563 std::size_t found = dLog.find_last_of("/"); in CopyUpdaterLogs() local 564 if (found == std::string::npos) { in CopyUpdaterLogs() 568 std::string destPath = dLog.substr(0, found); in CopyUpdaterLogs() 687 std::size_t found = filePath.find_last_of("/"); in GetDirSizeForFile() local 688 if (found in GetDirSizeForFile() [all...] |
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
H A D | cert_manager_status.c | 77 bool *found; member 249 CM_LOG_D("Status file not found\n"); in ReadFile() 556 /* found a matching node */ in SetCertStatusNode() 574 /* no match was found, insert a new node */ in SetCertStatusNode() 605 /* found a matching node */ in SetUserCertStatusNode() 623 /* no match was found, insert a new node */ in SetUserCertStatusNode() 682 bool *found = tempPara.found; in CertManagerFindMatchedFile() local 695 /* match found */ in CertManagerFindMatchedFile() 696 *found in CertManagerFindMatchedFile() 717 bool found = false; CertManagerStatus() local [all...] |
/base/telephony/cellular_data/services/src/state_machine/ |
H A D | cellular_data_state_machine.cpp | 281 size_t found = 0; in SplitProxyIpAddress() local 282 while ((found = proxyIpAddress.find(':', pos)) != std::string::npos) { in SplitProxyIpAddress() 283 address.push_back(proxyIpAddress.substr(pos, found - pos)); in SplitProxyIpAddress() 284 pos = found + 1; in SplitProxyIpAddress()
|
/base/security/certificate_framework/frameworks/adapter/v1.0/src/ |
H A D | certificate_openssl_common.c | 321 bool found = false;
in CfArrayContains() local 325 found = true;
in CfArrayContains() 329 if (!found) {
in CfArrayContains() 544 LOGE("No certificate found in when get subject name");
in GetSubjectNameFromX509() 572 LOGE("No certificate found in when get name constraints");
in GetNameConstraintsFromX509() 577 LOGE("No nameConstraints found in certificate");
in GetNameConstraintsFromX509()
|
/base/update/sys_installer/services/module_update/src/ |
H A D | module_loop.cpp | 99 bool found = false; in PreAllocateLoopDevices() local 117 found = true; in PreAllocateLoopDevices() 122 if (found) { in PreAllocateLoopDevices()
|
/base/global/i18n/frameworks/intl/src/ |
H A D | holiday_manager.cpp | 197 bool found = RegexSearchNoExcept(line, match, reg); in ParseFileLine() local 198 if (found) { in ParseFileLine()
|
H A D | locale_config.cpp | 1040 std::size_t found = localeTag.find("-u-");
in GetValidLocale() local 1041 baseLocale = localeTag.substr(0, found);
in GetValidLocale() 1042 if (found != std::string::npos) {
in GetValidLocale() 1043 extension = localeTag.substr(found);
in GetValidLocale() 1052 found = systemLocaleTag.find("-u-");
in GetValidLocale() 1053 if (found != std::string::npos) {
in GetValidLocale() 1054 defaultExtension = systemLocaleTag.substr(found);
in GetValidLocale()
|
H A D | i18n_timezone.cpp | 1279 bool found = RegexSearchNoExcept(path, match, reg); in FindTzData() local 1281 if (found && hasVerison) { in FindTzData()
|
/base/security/certificate_manager/test/unittest/src/ |
H A D | cm_user_cert_test.cpp | 990 bool found = false;
in HWTEST_F() local 992 found = FindCertAbstract(&(g_certListExpectResult[i].certAbstract), certList002);
in HWTEST_F() 993 EXPECT_EQ(found, g_certListExpectResult[i].bExpectResult) << DumpCertList(certList002);
in HWTEST_F() 1133 bool found = false;
in HWTEST_F() local 1137 found = FindCertAbstract(ptr, certList006);
in HWTEST_F() 1138 EXPECT_EQ(found, g_certListExpectResult[i].bExpectResult);
in HWTEST_F()
|
/base/global/resource_management/frameworks/resmgr/src/ |
H A D | theme_pack_manager.cpp | 176 auto found = result.find("<currentUserId>"); in ReplaceUserIdInPath() local 177 if (found != std::string::npos) { in ReplaceUserIdInPath() 178 result.replace(found, 15, std::to_string(userId)); // 15 is the length of "<currentUserId>" in ReplaceUserIdInPath() 394 RESMGR_HILOGE(RESMGR_TAG, "no found, iconName = %{public}s", iconName.c_str()); in GetOtherIconsInfo()
|
/base/startup/init/interfaces/innerkits/fs_manager/ |
H A D | fstab_mount.c | 247 bool found = false; in GetMountStatusForMountPoint() local 262 found = true; in GetMountStatusForMountPoint() 268 if (found) { in GetMountStatusForMountPoint() 445 BEGET_LOGI("No valid slot value found from cmdline, try to get it from bootctrl"); in GetCurrentSlot()
|
/base/telephony/core_service/utils/vcard/src/ |
H A D | vcard_utils.cpp | 410 std::size_t found = number.find("@"); in HandleTypeAndLabel() local 411 if (found != std::string::npos) { in HandleTypeAndLabel() 412 indexOfAt = found; in HandleTypeAndLabel()
|
/base/tee/tee_client/frameworks/libteec_vendor/ |
H A D | tee_client_api.c | 434 /* found server shardmem */ in GetBnShmByOffset() 1060 tloge("no context found!\n"); in TEEC_OpenSession() 1447 bool found = false; in TEEC_FindAndRemoveShrMemInner() local 1462 found = true; in TEEC_FindAndRemoveShrMemInner() 1470 return found; in TEEC_FindAndRemoveShrMemInner() 1483 bool found = TEEC_FindAndRemoveShrMemInner(&shm, shm->context); in TEEC_ReleaseSharedMemoryInner() local 1484 if (!found) { in TEEC_ReleaseSharedMemoryInner() 1489 tloge("Shared Memory found\n"); in TEEC_ReleaseSharedMemoryInner()
|
/base/account/os_account/frameworks/appaccount/native/src/ |
H A D | app_account.cpp | 672 std::size_t found = name.find(specialCharacter); in CheckSpecialCharacters() local 673 if (found != std::string::npos) { in CheckSpecialCharacters() 674 ACCOUNT_LOGE("found a special character, specialCharacter = %{public}c", specialCharacter); in CheckSpecialCharacters()
|
/base/security/security_guard/frameworks/js/napi/ |
H A D | security_guard_napi.cpp | 266 std::string msg = "param " + key + " is not found"; in ParseString() 838 bool found = false; in CompareAndReturnCacheItem() local 850 status = napi_strict_equals(env, standard, val, &found); in CompareAndReturnCacheItem() 854 if (found) { in CompareAndReturnCacheItem() 1173 SGLOGI("subscriber has been found."); in UvQueueWorkOnSecEventsChanged()
|
/base/account/os_account/services/accountmgr/src/appaccount/ |
H A D | app_account_stub.cpp | 336 std::size_t found = str.find(specialCharacter); in CheckSpecialCharacters() local 337 if (found != std::string::npos) { in CheckSpecialCharacters() 338 ACCOUNT_LOGE("found a special character, specialCharacter = %{public}c", specialCharacter); in CheckSpecialCharacters()
|