/base/startup/init/services/modules/seccomp/scripts/tools/ |
D | libc_static_analysis.py | 91 def get_direct_use_syscall_of_svc(arch, lines, func_list): argument 102 for line in reversed(lines): 128 def get_direct_use_syscall_of_syscall(arch, lines, func_list): argument 140 for line in reversed(lines): 179 def get_direct_use_syscall(arch, lines): argument 181 get_direct_use_syscall_of_svc(arch, lines, func_list) 182 get_direct_use_syscall_of_syscall(arch, lines, func_list) 187 def get_call_graph(arch, lines, func_list): argument 190 for line in lines: 229 lines = fp.readlines() [all …]
|
/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/ |
D | smaps_memory_info.cpp | 202 vector<string> lines; in CalcSmapsGroup() local 204 MemoryUtil::GetInstance().SetMemTotalValue(to_string(memSmapsInfo.size), lines, values, true); in CalcSmapsGroup() 205 MemoryUtil::GetInstance().SetMemTotalValue(to_string(memSmapsInfo.rss), lines, values, true); in CalcSmapsGroup() 206 MemoryUtil::GetInstance().SetMemTotalValue(to_string(memSmapsInfo.pss), lines, values, true); in CalcSmapsGroup() 207 …MemoryUtil::GetInstance().SetMemTotalValue(to_string(memSmapsInfo.sharedClean), lines, values, tru… in CalcSmapsGroup() 208 …MemoryUtil::GetInstance().SetMemTotalValue(to_string(memSmapsInfo.sharedDirty), lines, values, tru… in CalcSmapsGroup() 209 …MemoryUtil::GetInstance().SetMemTotalValue(to_string(memSmapsInfo.privateClean), lines, values, tr… in CalcSmapsGroup() 210 …MemoryUtil::GetInstance().SetMemTotalValue(to_string(memSmapsInfo.privateDirty), lines, values, tr… in CalcSmapsGroup() 211 MemoryUtil::GetInstance().SetMemTotalValue(to_string(memSmapsInfo.swap), lines, values, true); in CalcSmapsGroup() 212 … MemoryUtil::GetInstance().SetMemTotalValue(to_string(memSmapsInfo.swapPss), lines, values, true); in CalcSmapsGroup() [all …]
|
D | memory_info.cpp | 181 vector<string> lines; in CalcGroup() local 184 MemoryUtil::GetInstance().SetMemTotalValue("Total", lines, values); in CalcGroup() 185 …MemoryUtil::GetInstance().SetMemTotalValue(to_string(meminfo.pss + meminfo.swapPss), lines, values… in CalcGroup() 186 MemoryUtil::GetInstance().SetMemTotalValue(to_string(meminfo.sharedClean), lines, values); in CalcGroup() 187 MemoryUtil::GetInstance().SetMemTotalValue(to_string(meminfo.sharedDirty), lines, values); in CalcGroup() 188 MemoryUtil::GetInstance().SetMemTotalValue(to_string(meminfo.privateClean), lines, values); in CalcGroup() 189 MemoryUtil::GetInstance().SetMemTotalValue(to_string(meminfo.privateDirty), lines, values); in CalcGroup() 190 MemoryUtil::GetInstance().SetMemTotalValue(to_string(meminfo.swap), lines, values); in CalcGroup() 191 MemoryUtil::GetInstance().SetMemTotalValue(to_string(meminfo.swapPss), lines, values); in CalcGroup() 192 MemoryUtil::GetInstance().SetMemTotalValue(to_string(meminfo.heapSize), lines, values); in CalcGroup() [all …]
|
D | memory_util.cpp | 187 void MemoryUtil::SetMemTotalValue(const string &value, vector<string> &lines, vector<string> &value… in SetMemTotalValue() argument 194 lines.push_back(separator); in SetMemTotalValue()
|
/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/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()
|
/base/hiviewdfx/hidumper/services/native/src/ |
D | dump_common_utils.cpp | 218 bool DumpCommonUtils::GetLinesInFile(const std::string& file, std::vector<std::string>& lines) in GetLinesInFile() argument 227 SplitStr(content, "\n", lines); in GetLinesInFile() 284 std::vector<std::string> lines; in GetProcessInfo() local 285 if (!GetLinesInFile(file, lines)) { in GetProcessInfo() 290 for (size_t i = 0; i < lines.size(); i++) { in GetProcessInfo() 292 SplitStr(lines[i], splitKeyValueToken, keyValue); in GetProcessInfo()
|
/base/hiviewdfx/hidumper/frameworks/native/src/executor/ |
D | sa_dumper.cpp | 68 std::vector<std::string> lines; in WriteLine() local 69 lines.push_back(Line); in WriteLine() 70 spData_->push_back(lines); in WriteLine()
|
/base/security/code_signature/services/key_enable/src/ |
D | key_enable.rs | 121 let lines = BufReader::new(file).lines(); in get_keyring_id() localVariable 122 for line in lines.flatten() { in get_keyring_id()
|
/base/security/selinux_adapter/scripts/ |
D | build_contexts.py | 82 lines = [] 84 lines = fp.readlines() 85 if len(lines) == 0: 87 last_line = lines[-1] 91 for line in lines:
|
D | build_policy_api.py | 115 lines = fp.readlines() 116 if len(lines) == 0: 118 last_line = lines[-1]
|
/base/startup/init/services/etc/param/ |
D | param_fixer.py | 59 lines = f.readlines() 60 for line in lines:
|
/base/hiviewdfx/hiview/plugins/freeze_detector/ |
D | freeze_detector_plugin.cpp | 93 std::vector<std::string> lines; in RemoveRedundantNewline() local 94 StringUtil::SplitStr(content, "\\n", lines, false, false); in RemoveRedundantNewline() 97 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()
|
/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/global/i18n/tools/ |
D | data_process.py | 30 lines = f.readlines() 31 for line in lines:
|
/base/hiviewdfx/hidumper/interfaces/native/innerkits/include/ |
D | dump_common_utils.h | 59 static bool GetLinesInFile(const std::string& file, std::vector<std::string>& lines);
|
/base/update/updater/services/updater_binary/ |
D | update_image_block.cpp | 183 static int32_t ExecuteTransferCommand(int fd, const std::vector<std::string> &lines, Uscript::UScri… in ExecuteTransferCommand() argument 200 if (!tm->CommandsParser(fd, lines)) { in ExecuteTransferCommand() 280 …Hpackage::PkgManager::StreamPtr &outStream, const std::vector<std::string> &lines, Uscript::UScrip… in DoExecuteUpdateBlock() argument 288 int32_t ret = ExecuteTransferCommand(fd, lines, env, context, infos.partitionName); in DoExecuteUpdateBlock() 361 std::vector<std::string> lines = in ExecuteUpdateBlock() local 379 int32_t ret = DoExecuteUpdateBlock(infos, env, outStream, lines, context); in ExecuteUpdateBlock()
|
/base/hiviewdfx/hidumper/frameworks/native/include/executor/memory/ |
D | memory_util.h | 53 …void SetMemTotalValue(const std::string &value, std::vector<std::string> &lines, std::vector<std::…
|
/base/security/selinux_adapter/ |
D | BUILD.gn | 342 "list lines") 348 "list lines") 417 "list lines") 423 "list lines") 466 "list lines") 472 "list lines")
|
/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 | 390 int lines = 5; variable 391 std::string cmd = "hilog -a " + std::to_string(lines); 392 EXPECT_EQ(GetCmdLinesFromPopen(cmd), lines); 394 cmd = "hilog -z " + std::to_string(lines); 395 EXPECT_EQ(GetCmdLinesFromPopen(cmd), lines);
|
/base/hiviewdfx/faultloggerd/test/utils/ |
D | dfx_test_util.cpp | 148 long lines = CountLines(filePath); in CheckKeyWords() local 149 std::vector<std::string> t(lines * 4); // 4 : max string blocks of one line in CheckKeyWords()
|