| /base/security/device_security_level/oem_property/ohos/ |
| D | dslm_cred_tool.py | 96 def __init__(self, store_dir: str = 'artifacts'): 105 def generate_ecc_key_pair(self, key_alias: str, curve: str = 'brainpoolP384r1') -> bool: 129 def get_ecc_public_key(self, key_alias: str) -> bytes: 151 def digest_sign(self, key_alias: str, content: bytes, digest: str = '-sha384') -> bytes: 165 …def digest_verify_with_key_alias(self, key_alias: str, content: bytes, sig: bytes, digest: str = '… 182 …def digest_verify_with_pub_key(self, pub_key: bytes, content: bytes, sig: bytes, digest: str = '-s… 221 def __init__(self, store_dir: str): 249 def __init__(self, store_dir: str, file: str, payload: dict): 259 def _gene_atteastation(self, root_pk: str, root_sign: str, 260 oem_pk: str, oem_sign: str, [all …]
|
| /base/security/deviceauth/common_lib/impl/src/ |
| D | hc_string.c | 30 HcBool StringAppend(HcString *self, HcString str) in StringAppend() 50 HcBool StringAppendPointer(HcString *self, const char *str) in StringAppendPointer() 90 HcBool StringSet(HcString *self, HcString str) in StringSet() 107 HcBool StringSetPointer(HcString *self, const char *str) in StringSetPointer() 157 HcString str; in CreateString() local 171 void DeleteString(HcString *str) in DeleteString()
|
| /base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/parse/ |
| D | parse_meminfo.cpp | 39 void ParseMeminfo::SetData(const string &str, PairMatrix &result) in SetData() 60 string str; in GetMeminfo() local 65 for (auto str : strings) { in GetMeminfo() local
|
| D | parse_vmallocinfo.cpp | 33 void ParseVmallocinfo::CaclVmalloclValue(const string &str, uint64_t &totalValue) in CaclVmalloclValue() 53 string str; in GetVmallocinfo() local 59 for (auto str : strs) { in GetVmallocinfo() local
|
| D | parse_smaps_info.cpp | 66 bool ParseSmapsInfo::GetHasPidValue(const string &str, string &type, uint64_t &value) in GetHasPidValue() 97 bool ParseSmapsInfo::GetNoPidValue(const string &str, string &type, uint64_t &value) in GetNoPidValue() 105 bool ParseSmapsInfo::GetValue(const MemoryFilter::MemoryType &memType, const string &str, string &t… in GetValue() 138 for (auto str : strs) { in GetInfo() local
|
| /base/notification/ans_standard/services/distributed/test/unittest/mock/ |
| D | mock_blob.cpp | 59 Blob::Blob(const char *str, size_t n) : blob_() in Blob() 66 Blob::Blob(const std::string &str) : blob_(str.begin(), str.end()) in Blob() 69 Blob::Blob(const char *str) : blob_() in Blob() 89 std::string str(blob_.begin(), blob_.end()); in ToString() local
|
| /base/telephony/sms_mms/utils/ |
| D | string_utils.cpp | 54 std::string str(""); in StringToHex() local 65 std::string str(""); in StringToHex() local 74 std::string StringUtils::HexToString(const std::string &str) in HexToString() 94 std::vector<uint8_t> StringUtils::HexToByteVector(const std::string &str) in HexToByteVector() 117 std::u16string StringUtils::ToUtf16(const std::string &str) in ToUtf16()
|
| /base/hiviewdfx/hidumper/frameworks/native/src/util/ |
| D | string_utils.cpp | 66 void StringUtils::ReplaceAll(string &str, const string &oldValue, const string &newValue) in ReplaceAll() 71 bool StringUtils::IsNum(string str) in IsNum() 76 bool StringUtils::Compare(const string &str, const vector<string> &strs) in Compare() 87 void StringUtils::HexToDec(const string &str, uint64_t &value) in HexToDec() 119 void StringUtils::SetWidth(const int &width, const char &fileStr, const bool &left, string &str) in SetWidth()
|
| D | zip_utils.cpp | 46 for (auto str : allFiles) { in ZipFolder() local 53 [zipRootLen](const std::string &str) { in ZipFolder()
|
| /base/telephony/core_service/utils/common/src/ |
| D | str_convert.cpp | 22 std::u16string ToUtf16(std::string str) in ToUtf16() 32 std::u32string ToUtf32(std::string str) in ToUtf32()
|
| /base/startup/init_lite/ueventd/include/ |
| D | ueventd_utils.h | 27 #define STARTSWITH(str, prefix) (strncmp((str), (prefix), strlen(prefix)) == 0) argument 29 #define INVALIDSTRING(str) ((str) == NULL || *(str) == '\0') argument
|
| /base/miscservices/request/download/ability/include/ |
| D | sql_analyzer.h | 49 inline char PickChar(std::string str, std::size_t index) in PickChar() 56 inline int IsInStr(char ch, std::string str) in IsInStr()
|
| /base/account/os_account/services/accountmgr/test/unittest/account_file_operator_test/ |
| D | account_file_operator_test.cpp | 99 std::string str; variable 125 std::string str; variable
|
| /base/hiviewdfx/hilog/test/moduletest/common/ |
| D | hilog_base_ndk_test.cpp | 80 std::string str; in PopenToString() local 110 std::string str; in RandomStringGenerator() local 131 std::string str; in HiLogWriteTest() local 186 std::string str; variable 206 std::string str; variable
|
| /base/miscservices/inputmethod/services/src/ |
| D | input_method_setting.cpp | 124 std::u16string str = GetValue(ENABLED_INPUT_METHODS_TAG); in AddEnabledInputMethod() local 160 std::u16string str = GetValue(ENABLED_INPUT_METHODS_TAG); in RemoveEnabledInputMethod() local 204 std::u16string str = tmp2[i]; in GetEnabledKeyboardTypes() local 226 std::u16string str = Utils::to_utf16(std::to_string(type)); in SetCurrentKeyboardType() local 244 std::u16string str = Utils::to_utf16(std::to_string(type)); in SetCurrentSysKeyboardType() local 274 std::vector<std::u16string> InputMethodSetting::Split(const std::u16string& str, char16_t delim) in Split()
|
| /base/hiviewdfx/hiview/base/utility/ |
| D | string_util.cpp | 33 std::string str(""); in ConvertVectorToStr() local 44 string ReplaceStr(const string& str, const string& src, const string& dst) in ReplaceStr() 60 string TrimStr(const string& str, const char cTrim) in TrimStr() 68 void SplitStr(const string& str, const string& sep, vector<string>& strs, in SplitStr() 92 bool StrToInt(const string& str, int& value) in StrToInt() 111 int StrToInt(const string& str) in StrToInt() 196 std::list<std::string> SplitStr(const std::string& str, char delimiter) in SplitStr() 271 string str; in VectorToString() local
|
| /base/hiviewdfx/hidumper/frameworks/native/src/executor/ |
| D | fd_output.cpp | 76 std::string str = line[j]; in OutMethod() local 92 void FDOutput::NewLineMethod(std::string &str) in NewLineMethod()
|
| /base/notification/ans_standard/frameworks/ans/test/moduletest/mock/ |
| D | blob.cpp | 59 Blob::Blob(const char *str, size_t n) in Blob() 67 Blob::Blob(const std::string &str) in Blob() 72 Blob::Blob(const char *str) in Blob() 130 std::string str(blob_.begin(), blob_.end()); in ToString() local
|
| /base/notification/ans_standard/services/ans/test/unittest/mock/ |
| D | blob.cpp | 59 Blob::Blob(const char *str, size_t n) in Blob() 67 Blob::Blob(const std::string &str) in Blob() 72 Blob::Blob(const char *str) in Blob() 130 std::string str(blob_.begin(), blob_.end()); in ToString() local
|
| /base/notification/ans_standard/services/test/moduletest/mock/ |
| D | blob.cpp | 59 Blob::Blob(const char *str, size_t n) in Blob() 67 Blob::Blob(const std::string &str) in Blob() 72 Blob::Blob(const char *str) in Blob() 130 std::string str(blob_.begin(), blob_.end()); in ToString() local
|
| /base/security/device_security_level/baselib/utils/src/ |
| D | utils_hexstring.c | 37 void ByteToHexString(const uint8_t *hex, uint32_t hexLen, uint8_t *str, uint32_t strLen) in ByteToHexString() 49 int32_t HexStringToByte(const char *str, uint32_t strLen, uint8_t *hex, uint32_t hexLen) in HexStringToByte()
|
| /base/telephony/ril_adapter/services/vendor/src/ |
| D | vendor_report.c | 193 char *str = NULL; in OnNotifyOps() local 240 char *str = (char *)s; in ParseStkResponseStr() local 290 static void OnCsRegStatusNotify(struct ReportInfo reportInfo, int32_t ret, char *str, const char *s) in OnCsRegStatusNotify() 302 static void RadioTurnNotify(struct ReportInfo reportInfo, char *str) in RadioTurnNotify() 320 static void OnPsRegStatusNotify(struct ReportInfo reportInfo, int32_t ret, char *str, const char *s) in OnPsRegStatusNotify() 346 static void SignalStrengthNotify(struct ReportInfo reportInfo, int32_t ret, char *str, const char *… in SignalStrengthNotify() 359 static void VoiceRadioInfoNotify(struct ReportInfo reportInfo, int32_t ret, char *str, const char *… in VoiceRadioInfoNotify() 374 char *str = (char *)infoStr; in OnNotifyNetWorksOps() local
|
| /base/powermgr/power_manager/services/native/test/unittest/src/ |
| D | power_mgr_fail_check_test.cpp | 86 std::string str("-s"); variable 119 std::string str("-s"); variable
|
| /base/usb/usb_manager/test/native/js_unittest/ |
| D | DateAndTimeUtil.js | 82 transform24(str) { argument 107 transform12(str) { argument
|
| /base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/ |
| D | open_stacktrace_catcher.cpp | 67 auto str = CommonUtils::GetProcNameByPid(pid_); in Catch() local 127 std::string str = "Dump stacktrace timeout, Catch for " + std::to_string(pid_); in ForkAndDumpStackTrace() local
|