/base/update/updater/test/unittest/utils/json/ |
D | utils_json_test.cpp | 56 std::string str = R"({"key": "value1"})"; variable 62 std::string str = R"({"key"})"; variable 70 std::string str = R"({"key": "value1"})"; variable 77 std::string str = R"({"key": "value1"})"; variable 85 std::string str = R"({"key": 1})"; variable 93 std::string str = R"({"key": true})"; variable 101 std::string str = R"({"key": [1, true, "value"]})"; variable 112 std::string str = R"({"key": {"key" : "value"}}})"; variable 120 std::string str = R"({"key1": null})"; variable 127 std::string str = R"({"key":})"; variable [all …]
|
/base/security/device_security_level/oem_property/ohos/standard/ |
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): 248 def __init__(self, store_dir: str, file: str, payload: dict): 257 def _gene_attestation(self, root_pk: str, root_sign: str, 258 oem_pk: str, oem_sign: str, [all …]
|
/base/security/device_auth/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/hilog_lite/frameworks/js/builtin/src/ |
D | hilog_string.cpp | 36 char *HilogString::Get(const HilogString *str) in Get() 44 size_t HilogString::Length(const HilogString *str) in Length() 52 size_t HilogString::Puts(const char *src, HilogString *str, size_t strLen) in Puts() 78 char HilogString::Putc(char c, HilogString *str) in Putc()
|
/base/print/print_fwk/utils/include/ |
D | print_util.h | 42 std::string str; in ParseListToString() local 57 inline std::string PrintUtil::SplitStr(const std::string& str, char delimiter, int index) in SplitStr() 75 std::string str = val; in ToUpper() local 82 inline bool PrintUtil::CheckContains(const std::string& str, const std::string& content) in CheckContains()
|
/base/notification/distributed_notification_service/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/security/crypto_framework/common/src/ |
D | hcf_string.c | 32 bool StringAppendPointer(HcString *self, const char *str) in StringAppendPointer() 51 bool StringSetPointer(HcString *self, const char *str) in StringSetPointer() 69 bool StringSetPointerWithLength(HcString* self, const char *str, uint32_t len) in StringSetPointerWithLength() 214 HcString str; in CreateString() local 228 void DeleteString(HcString *str) in DeleteString()
|
/base/hiviewdfx/hilog/test/unittest/common/ |
D | hilogtool_test.cpp | 75 static bool IsExistInCmdResult(const std::string &cmd, const std::string &str) in IsExistInCmdResult() 167 std::string str = "Set global log level to " + level + " successfully\n"; variable 193 …std::string str = "Set domain 0x" + Uint2HexStr(domain) + " log level to " + level + " successfull… variable 218 std::string str = "Set tag " + tag + " log level to " + level + " successfully\n"; variable 245 std::string str = "Set log type app buffer size to 512.0K successfully\n" variable 271 std::string str = "Log type app buffer size is 512.0K\n" variable 291 std::string str = "Set hilogd storing kmsg log on successfully\n"; variable 320 std::string str = "Set hilog privacy format on successfully\n"; variable 351 std::string str = "Set flow control by process to enabled, result: Success [CODE: 0]\n"; variable 429 std::string str = "Log type core,app buffer clear successfully\n"; variable [all …]
|
/base/hiviewdfx/hilog/frameworks/libhilog/utils/ |
D | log_utils.cpp | 58 string str; in Size2Str() local 79 uint64_t Str2Size(const string& str) in Str2Size() 160 uint16_t Str2LogType(const string& str) in Str2LogType() 168 string str = ""; in ComboLogType2Str() local 187 uint16_t Str2ComboLogType(const string& str) in Str2ComboLogType() 233 uint16_t Str2LogLevel(const string& str) in Str2LogLevel() 251 uint16_t ShortStr2LogLevel(const string& str) in ShortStr2LogLevel() 256 uint16_t PrettyStr2LogLevel(const string& str) in PrettyStr2LogLevel() 268 string str = ""; in ComboLogLevel2Str() local 287 uint16_t Str2ComboLogLevel(const string& str) in Str2ComboLogLevel() [all …]
|
/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/startup/init/test/moduletest/ |
D | test_utils.cpp | 61 bool StartsWith(const std::string &str, const std::string &prefix) in StartsWith() 66 bool EndsWith(const std::string &str, const std::string &suffix) in EndsWith() 71 std::string Trim(const std::string &str) in Trim() 97 std::vector<std::string> Split(const std::string &str, const std::string &pattern) in Split()
|
/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/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/hiviewdfx/hitrace/interfaces/rust/innerkits/hitrace_meter/src/ |
D | lib.rs | 20 pub fn start_trace(label: u64, value: &str) { in start_trace() 37 pub fn start_trace_async(label: u64, value: &str, task_id: i32) { in start_trace_async() 46 pub fn finish_trace_async(label: u64, value: &str, task_id: i32) { in finish_trace_async() 55 pub fn count_trace(label: u64, name: &str, count: i64) { in count_trace()
|
/base/hiviewdfx/hidumper/test/unittest/common/ |
D | memory_dumper_test.cpp | 64 std::string str = "Anonymous Page"; variable 81 std::string str = "DMA"; variable 94 std::string str = "Total"; variable
|
/base/hiviewdfx/hilog/test/moduletest/common/ |
D | hilog_ndk_test.cpp | 97 std::string str; in PopenToString() local 134 std::string str; in RandomStringGenerator() local 155 std::string str; in HiLogWriteTest() local 171 const std::string str = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; in FlowCtlTest() local 390 std::string str; variable 408 std::string str; variable
|
D | hilog_base_ndk_test.cpp | 80 std::string str; in PopenToString() local 116 std::string str; in RandomStringGenerator() local 137 std::string str; in HiLogWriteTest() local 192 std::string str; variable 212 std::string str; variable
|
/base/update/updater/services/include/log/ |
D | dump.h | 42 void RecordDump(const std::string &str) override in RecordDump() 64 std::string str = oss.str(); in DumpInfo() local
|
/base/powermgr/thermal_manager/utils/native/src/ |
D | string_operation.cpp | 28 void StringOperation::SplitString(const std::string& str, std::vector<std::string>& ret, const std:… in SplitString() 82 bool StringOperation::StrToUint(const std::string& str, uint32_t& value) in StrToUint() 99 bool StringOperation::StrToDouble(const std::string& str, double& value) in StrToDouble()
|
/base/notification/distributed_notification_service/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/distributed_notification_service/frameworks/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/distributed_notification_service/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/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/telephony/ril_adapter/services/vendor/src/ |
D | vendor_report.c | 202 char *str = NULL; in OnNotifyOps() local 252 char *str = (char *)s; in ParseStkResponseStr() local 302 static void OnCsRegStatusNotify(struct ReportInfo reportInfo, int32_t ret, char *str, const char *s) in OnCsRegStatusNotify() 314 static void RadioTurnNotify(struct ReportInfo reportInfo, char *str) in RadioTurnNotify() 332 static void DsdsModeNotify(struct ReportInfo reportInfo, char *str) in DsdsModeNotify() 341 static void OnPsRegStatusNotify(struct ReportInfo reportInfo, int32_t ret, char *str, const char *s) in OnPsRegStatusNotify() 367 static void SignalStrengthNotify(struct ReportInfo reportInfo, int32_t ret, char *str, const char *… in SignalStrengthNotify() 380 static void VoiceRadioInfoNotify(struct ReportInfo reportInfo, int32_t ret, char *str, const char *… in VoiceRadioInfoNotify() 395 char *str = (char *)infoStr; in OnNotifyNetWorksOps() local
|