/base/notification/distributed_notification_service/frameworks/ans/src/ |
D | notification_multiline_content.cpp | 63 std::string lines {}; in Dump() local 65 …allLines_.begin(), allLines_.end(), [&lines](const std::string &line) { lines += " " + line + ",";… in Dump() 66 lines.pop_back(); in Dump() 71 ", allLines = [" + lines + "]" + in Dump()
|
/base/startup/init/services/etc/appender/ |
D | file_appender.gni | 17 # Append something (files or lines) to a file and install it. 25 # lines: lines of strings to be appended to the end of souce file (Optional) 32 # lines = [ "tses::1222:1222:/bin/false", "tses2::1223:1223:/bin/false" ] 35 # It will append files and lines to source passwd file after deps targets 75 if (defined(invoker.lines)) { 76 foreach(line, invoker.lines) {
|
D | file_appender.py | 49 if options.lines: 50 for line in options.lines:
|
/base/hiviewdfx/hidumper/services/native/src/ |
D | dump_common_utils.cpp | 144 bool DumpCommonUtils::GetLinesInFile(const std::string& file, std::vector<std::string>& lines) in GetLinesInFile() argument 150 SplitStr(content, "\n", lines); in GetLinesInFile() 204 std::vector<std::string> lines; in GetProcessInfo() local 205 if (!GetLinesInFile(file, lines)) { in GetProcessInfo() 210 for (size_t i = 0; i < lines.size(); i++) { in GetProcessInfo() 212 SplitStr(lines[i], splitKeyValueToken, keyValue); in GetProcessInfo()
|
/base/hiviewdfx/hilog/services/hilogtool/ |
D | log_display.cpp | 98 uint32_t lines = 0; in GetTotalLines() local 100 lines += rsp.lines[i]; in GetTotalLines() 102 return lines; in GetTotalLines() 279 uint32_t lines = 0; in HilogShowLogStatsInfo() local 282 lines += rsp.totalLines[i]; in HilogShowLogStatsInfo() 285 if (lines == 0) { in HilogShowLogStatsInfo() 288 cout << "Total lines: " << lines << ", length: " << Size2Str(lens) << endl; in HilogShowLogStatsInfo() 293 …"(" << setprecision(FLOAT_PRECSION) << (static_cast<float>(rsp.totalLines[i] * PERCENT) / lines) << in HilogShowLogStatsInfo()
|
D | main.cpp | 442 int lines = 0; in HeadHandler() local 443 (void)StrToInt(arg, lines); in HeadHandler() 444 context.headLines = static_cast<uint16_t>(lines); in HeadHandler()
|
/base/startup/init/services/etc/param/ |
D | param_fixer.py | 59 lines = f.readlines() 60 for line in lines:
|
/base/hiviewdfx/hidumper/frameworks/native/src/executor/ |
D | sa_dumper.cpp | 67 std::vector<std::string> lines; in WriteLine() local 68 lines.push_back(Line); in WriteLine() 69 spData_->push_back(lines); in WriteLine()
|
/base/hiviewdfx/hiview/plugins/freeze_detector/ |
D | freeze_detector_plugin.cpp | 89 std::vector<std::string> lines; in RemoveRedundantNewline() local 90 StringUtil::SplitStr(content, "\\n", lines, false, false); in RemoveRedundantNewline() 93 for (const auto& line : lines) { in RemoveRedundantNewline()
|
/base/hiviewdfx/hilog/services/hilogd/ |
D | log_stats.cpp | 67 entry.lines[lvl]++; in UpdateStats() 87 for (uint32_t &i : entry.lines) { in ResetStatsEntry() 107 for (uint32_t &i : entry.lines) { in StatsInfo2NewStatsEntry() 114 entry.lines[lvl] = 1; in StatsInfo2NewStatsEntry()
|
D | service_controller.cpp | 158 rsp.lines[i] = entry.lines[i]; in StatsEntry2StatsRsp() 494 int lines = rqst.headLines ? rqst.headLines : rqst.tailLines; in HandleOutputRqst() local 496 int linesCountDown = lines; in HandleOutputRqst() 516 if (lines && (--linesCountDown) <= 0) { in HandleOutputRqst()
|
/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/ |
D | memory_info.cpp | 145 void MemoryInfo::SetValue(const string &value, vector<string> &lines, vector<string> &values) in SetValue() argument 149 lines.push_back(separator); in SetValue() 169 vector<string> lines; in CalcGroup() local 172 SetValue("Total", lines, values); in CalcGroup() 173 SetValue(to_string(meminfo.pss + meminfo.swapPss), lines, values); in CalcGroup() 174 SetValue(to_string(meminfo.sharedClean), lines, values); in CalcGroup() 175 SetValue(to_string(meminfo.sharedDirty), lines, values); in CalcGroup() 176 SetValue(to_string(meminfo.privateClean), lines, values); in CalcGroup() 177 SetValue(to_string(meminfo.privateDirty), lines, values); in CalcGroup() 178 SetValue(to_string(meminfo.swap), lines, values); in CalcGroup() [all …]
|
/base/hiviewdfx/hidumper/interfaces/native/innerkits/include/ |
D | dump_common_utils.h | 52 static bool GetLinesInFile(const std::string& file, std::vector<std::string>& lines);
|
/base/hiviewdfx/hilog/services/hilogd/include/ |
D | log_stats.h | 49 uint32_t lines[LevelNum]; member 97 for (const uint32_t &i : lines) { in GetTotalLines()
|
/base/hiviewdfx/faultloggerd/test/unittest/signal_handler/ |
D | signal_handler_test.cpp | 106 long lines = CountLines(filePath); in CheckKeyWords() local 107 vector<string> t(lines * 4); // 4 : max string blocks of one line in CheckKeyWords()
|
/base/update/updater/services/updater_binary/ |
D | update_image_block.cpp | 190 static int32_t ExecuteTransferCommand(int fd, const std::vector<std::string> &lines, Uscript::UScri… in ExecuteTransferCommand() argument 207 if (!tm->CommandsParser(fd, lines)) { in ExecuteTransferCommand() 287 …Hpackage::PkgManager::StreamPtr &outStream, const std::vector<std::string> &lines, Uscript::UScrip… in DoExecuteUpdateBlock() argument 295 int32_t ret = ExecuteTransferCommand(fd, lines, env, context, infos.partitionName); in DoExecuteUpdateBlock() 337 std::vector<std::string> lines = in ExecuteUpdateBlock() local 359 ret = DoExecuteUpdateBlock(infos, env, outStream, lines, context); in ExecuteUpdateBlock()
|
/base/update/updater/services/script/script_interpreter/ |
D | script_lex.l | 68 loc.lines(yyleng); // 使用lines函数来更新位置信息中的行号
|
/base/hiviewdfx/hilog/test/unittest/common/ |
D | hilogtool_test.cpp | 392 int lines = 5; variable 393 std::string cmd = "hilog -a " + std::to_string(lines); 394 EXPECT_EQ(GetCmdLinesFromPopen(cmd), lines); 396 cmd = "hilog -z " + std::to_string(lines); 397 EXPECT_EQ(GetCmdLinesFromPopen(cmd), lines);
|
/base/security/selinux/ |
D | BUILD.gn | 366 "list lines") 372 "list lines") 401 "list lines") 407 "list lines")
|
/base/hiviewdfx/hidumper/frameworks/native/include/executor/memory/ |
D | memory_info.h | 109 …void SetValue(const std::string &value, std::vector<std::string> &lines, std::vector<std::string> …
|
/base/hiviewdfx/hilog/frameworks/libhilog/include/ |
D | hilog_cmd.h | 173 uint32_t lines[LevelNum]; member
|
/base/hiviewdfx/faultloggerd/test/unittest/process_dump/src/ |
D | dfx_processdump_test.cpp | 103 long lines = CountLines(filePath); in CheckKeyWords() local 104 vector<string> t(lines * 4); // 4 : max string blocks of one line in CheckKeyWords()
|
/base/startup/hvb/tools/ |
D | hvbtool.py | 204 lines = child.stdout.read().split(b'\n') 205 for line in lines:
|
/base/hiviewdfx/faultloggerd/test/systemtest/src/ |
D | faultloggerd_system_test.cpp | 270 long lines = FaultLoggerdSystemTest::CountLines(filePath); in CheckKeywords() local 271 std::vector<string> t(lines * NUMBER_FOUR); in CheckKeywords() 775 int lines = FaultLoggerdSystemTest::CountLines(filePath); variable 776 GTEST_LOG_(INFO) << lines; 781 EXPECT_EQ(lines, 10) << "FaultLoggerdSystemTest0010_pre Failed";
|
/base/update/updater/test/unittest/test_data/applypatch/ |
D | TestGZipModeImagePatch.old.gz |
|