Searched refs:formatStr (Results 1 - 7 of 7) sorted by relevance
/base/hiviewdfx/hiview/base/ |
H A D | default_logger.cpp | 33 std::string formatStr("%s: %s ", format); in Print() 34 StringReplace(formatStr, "%{public}", "%"); in Print() 35 StringReplace(formatStr, "%{private}", "%"); in Print() 37 vprintf(formatStr.c_str(), args); in Print()
|
/base/theme/wallpaper_mgr/utils/dfx/hidumper_adapter/ |
H A D | command.cpp | 40 std::string formatStr; in GetFormat() local 42 formatStr += seg; in GetFormat() 43 formatStr += " "; in GetFormat() 45 return formatStr; in GetFormat()
|
/base/time/time_service/services/dfx/src/ |
H A D | time_cmd_parse.cpp | 51 std::string formatStr; in GetFormat() local 53 formatStr += seg; in GetFormat() 54 formatStr += " "; in GetFormat() 56 return formatStr; in GetFormat()
|
/base/theme/screenlock_mgr/services/src/ |
H A D | command.cpp | 46 std::string formatStr; in GetFormat() local 48 formatStr += seg; in GetFormat() 49 formatStr += " "; in GetFormat() 51 return formatStr; in GetFormat()
|
/base/hiviewdfx/hilog/interfaces/js/kits/napi/src/hilog/src/ |
H A D | hilog_napi_base.cpp | 41 void ParseLogContent(string& formatStr, vector<napiParam>& params, string& logContent)
in ParseLogContent() argument 45 ret += formatStr;
in ParseLogContent() 49 auto len = formatStr.size();
in ParseLogContent() 62 if (formatStr[pos] != '%') {
in ParseLogContent() 63 ret += formatStr[pos];
in ParseLogContent() 68 formatStr.substr(pos + PROPERTY_POS, PUBLIC_LEN) == "public") {
in ParseLogContent() 72 formatStr.substr(pos + PROPERTY_POS, PRIVATE_LEN) == "private") {
in ParseLogContent() 79 switch (formatStr[pos + 1]) {
in ParseLogContent() 105 ret += formatStr[pos];
in ParseLogContent() 109 ret += formatStr[po in ParseLogContent() [all...] |
/base/hiviewdfx/hilog_lite/frameworks/js/builtin/include/ |
H A D | hilog_module.h | 49 static void ParseLogContent(const HilogString *formatStr, const HilogVector *params, HilogString *logContent);
|
/base/hiviewdfx/hilog_lite/frameworks/js/builtin/src/ |
H A D | hilog_module.cpp | 44 void HilogModule::ParseLogContent(const HilogString *formatStr, const HilogVector *params, HilogString *logContent)
in ParseLogContent() argument 46 if (formatStr == nullptr || params == nullptr || logContent == nullptr) {
in ParseLogContent() 51 HilogString::Puts(HilogString::Get(formatStr), logContent);
in ParseLogContent() 54 char *format = HilogString::Get(formatStr);
in ParseLogContent() 55 size_t len = HilogString::Length(formatStr);
in ParseLogContent()
|
Completed in 3 milliseconds