• Home
  • Raw
  • Download

Lines Matching refs:ServiceParser

54 Result<void> ServiceParser::ParseCapabilities(std::vector<std::string>&& args) {  in ParseCapabilities()
82 Result<void> ServiceParser::ParseClass(std::vector<std::string>&& args) { in ParseClass()
87 Result<void> ServiceParser::ParseConsole(std::vector<std::string>&& args) { in ParseConsole()
96 Result<void> ServiceParser::ParseCritical(std::vector<std::string>&& args) { in ParseCritical()
134 Result<void> ServiceParser::ParseDisabled(std::vector<std::string>&& args) { in ParseDisabled()
140 Result<void> ServiceParser::ParseEnterNamespace(std::vector<std::string>&& args) { in ParseEnterNamespace()
154 Result<void> ServiceParser::ParseGentleKill(std::vector<std::string>&& args) { in ParseGentleKill()
159 Result<void> ServiceParser::ParseGroup(std::vector<std::string>&& args) { in ParseGroup()
176 Result<void> ServiceParser::ParsePriority(std::vector<std::string>&& args) { in ParsePriority()
187 Result<void> ServiceParser::ParseInterface(std::vector<std::string>&& args) { in ParseInterface()
222 Result<void> ServiceParser::ParseIoprio(std::vector<std::string>&& args) { in ParseIoprio()
240 Result<void> ServiceParser::ParseKeycodes(std::vector<std::string>&& args) { in ParseKeycodes()
274 Result<void> ServiceParser::ParseOneshot(std::vector<std::string>&& args) { in ParseOneshot()
279 Result<void> ServiceParser::ParseOnrestart(std::vector<std::string>&& args) { in ParseOnrestart()
288 Result<void> ServiceParser::ParseNamespace(std::vector<std::string>&& args) { in ParseNamespace()
303 Result<void> ServiceParser::ParseOomScoreAdjust(std::vector<std::string>&& args) { in ParseOomScoreAdjust()
312 Result<void> ServiceParser::ParseOverride(std::vector<std::string>&& args) { in ParseOverride()
317 Result<void> ServiceParser::ParseMemcgSwappiness(std::vector<std::string>&& args) { in ParseMemcgSwappiness()
324 Result<void> ServiceParser::ParseMemcgLimitInBytes(std::vector<std::string>&& args) { in ParseMemcgLimitInBytes()
331 Result<void> ServiceParser::ParseMemcgLimitPercent(std::vector<std::string>&& args) { in ParseMemcgLimitPercent()
338 Result<void> ServiceParser::ParseMemcgLimitProperty(std::vector<std::string>&& args) { in ParseMemcgLimitProperty()
343 Result<void> ServiceParser::ParseMemcgSoftLimitInBytes(std::vector<std::string>&& args) { in ParseMemcgSoftLimitInBytes()
350 Result<void> ServiceParser::ParseProcessRlimit(std::vector<std::string>&& args) { in ParseProcessRlimit()
358 Result<void> ServiceParser::ParseRebootOnFailure(std::vector<std::string>&& args) { in ParseRebootOnFailure()
370 Result<void> ServiceParser::ParseRestartPeriod(std::vector<std::string>&& args) { in ParseRestartPeriod()
379 Result<void> ServiceParser::ParseSeclabel(std::vector<std::string>&& args) { in ParseSeclabel()
384 Result<void> ServiceParser::ParseSigstop(std::vector<std::string>&& args) { in ParseSigstop()
389 Result<void> ServiceParser::ParseSetenv(std::vector<std::string>&& args) { in ParseSetenv()
394 Result<void> ServiceParser::ParseShutdown(std::vector<std::string>&& args) { in ParseShutdown()
402 Result<void> ServiceParser::ParseTaskProfiles(std::vector<std::string>&& args) { in ParseTaskProfiles()
416 Result<void> ServiceParser::ParseTimeoutPeriod(std::vector<std::string>&& args) { in ParseTimeoutPeriod()
426 Result<void> ServiceParser::ParseSocket(std::vector<std::string>&& args) { in ParseSocket()
494 Result<void> ServiceParser::ParseStdioToKmsg(std::vector<std::string>&& args) { in ParseStdioToKmsg()
503 Result<void> ServiceParser::ParseFile(std::vector<std::string>&& args) { in ParseFile()
532 Result<void> ServiceParser::ParseUser(std::vector<std::string>&& args) { in ParseUser()
558 Result<void> ServiceParser::ParseWritepid(std::vector<std::string>&& args) { in ParseWritepid()
576 Result<void> ServiceParser::ParseUpdatable(std::vector<std::string>&& args) { in ParseUpdatable()
581 const KeywordMap<ServiceParser::OptionParser>& ServiceParser::GetParserMap() const { in GetParserMap()
584 static const KeywordMap<ServiceParser::OptionParser> parser_map = { in GetParserMap()
585 {"capabilities", {0, kMax, &ServiceParser::ParseCapabilities}}, in GetParserMap()
586 {"class", {1, kMax, &ServiceParser::ParseClass}}, in GetParserMap()
587 {"console", {0, 1, &ServiceParser::ParseConsole}}, in GetParserMap()
588 {"critical", {0, 2, &ServiceParser::ParseCritical}}, in GetParserMap()
589 {"disabled", {0, 0, &ServiceParser::ParseDisabled}}, in GetParserMap()
590 {"enter_namespace", {2, 2, &ServiceParser::ParseEnterNamespace}}, in GetParserMap()
591 {"file", {2, 2, &ServiceParser::ParseFile}}, in GetParserMap()
592 {"gentle_kill", {0, 0, &ServiceParser::ParseGentleKill}}, in GetParserMap()
593 {"group", {1, NR_SVC_SUPP_GIDS + 1, &ServiceParser::ParseGroup}}, in GetParserMap()
594 {"interface", {2, 2, &ServiceParser::ParseInterface}}, in GetParserMap()
595 {"ioprio", {2, 2, &ServiceParser::ParseIoprio}}, in GetParserMap()
596 {"keycodes", {1, kMax, &ServiceParser::ParseKeycodes}}, in GetParserMap()
597 {"memcg.limit_in_bytes", {1, 1, &ServiceParser::ParseMemcgLimitInBytes}}, in GetParserMap()
598 {"memcg.limit_percent", {1, 1, &ServiceParser::ParseMemcgLimitPercent}}, in GetParserMap()
599 {"memcg.limit_property", {1, 1, &ServiceParser::ParseMemcgLimitProperty}}, in GetParserMap()
601 {1, 1, &ServiceParser::ParseMemcgSoftLimitInBytes}}, in GetParserMap()
602 {"memcg.swappiness", {1, 1, &ServiceParser::ParseMemcgSwappiness}}, in GetParserMap()
603 {"namespace", {1, 2, &ServiceParser::ParseNamespace}}, in GetParserMap()
604 {"oneshot", {0, 0, &ServiceParser::ParseOneshot}}, in GetParserMap()
605 {"onrestart", {1, kMax, &ServiceParser::ParseOnrestart}}, in GetParserMap()
606 {"oom_score_adjust", {1, 1, &ServiceParser::ParseOomScoreAdjust}}, in GetParserMap()
607 {"override", {0, 0, &ServiceParser::ParseOverride}}, in GetParserMap()
608 {"priority", {1, 1, &ServiceParser::ParsePriority}}, in GetParserMap()
609 {"reboot_on_failure", {1, 1, &ServiceParser::ParseRebootOnFailure}}, in GetParserMap()
610 {"restart_period", {1, 1, &ServiceParser::ParseRestartPeriod}}, in GetParserMap()
611 {"rlimit", {3, 3, &ServiceParser::ParseProcessRlimit}}, in GetParserMap()
612 {"seclabel", {1, 1, &ServiceParser::ParseSeclabel}}, in GetParserMap()
613 {"setenv", {2, 2, &ServiceParser::ParseSetenv}}, in GetParserMap()
614 {"shutdown", {1, 1, &ServiceParser::ParseShutdown}}, in GetParserMap()
615 {"sigstop", {0, 0, &ServiceParser::ParseSigstop}}, in GetParserMap()
616 {"socket", {3, 6, &ServiceParser::ParseSocket}}, in GetParserMap()
617 {"stdio_to_kmsg", {0, 0, &ServiceParser::ParseStdioToKmsg}}, in GetParserMap()
618 {"task_profiles", {1, kMax, &ServiceParser::ParseTaskProfiles}}, in GetParserMap()
619 {"timeout_period", {1, 1, &ServiceParser::ParseTimeoutPeriod}}, in GetParserMap()
620 {"updatable", {0, 0, &ServiceParser::ParseUpdatable}}, in GetParserMap()
621 {"user", {1, 1, &ServiceParser::ParseUser}}, in GetParserMap()
622 {"writepid", {1, kMax, &ServiceParser::ParseWritepid}}, in GetParserMap()
628 Result<void> ServiceParser::ParseSection(std::vector<std::string>&& args, in ParseSection()
663 Result<void> ServiceParser::ParseLineSection(std::vector<std::string>&& args, int line) { in ParseLineSection()
675 Result<void> ServiceParser::EndSection() { in EndSection()
724 bool ServiceParser::IsValidName(const std::string& name) const { in IsValidName()