Searched refs:parser (Results 1 – 6 of 6) sorted by relevance
366 LineParser parser[1]; in __get_nproc_conf() local370 if (line_parser_init(parser, "/proc/cpuinfo") < 0) in __get_nproc_conf()373 while ((p = line_parser_gets(parser))) { in __get_nproc_conf()384 LineParser parser[1]; in __get_nproc_onln() local388 if (line_parser_init(parser, "/proc/stat") < 0) in __get_nproc_onln()391 while ((p = line_parser_gets(parser))) { in __get_nproc_onln()401 LineParser parser[1]; in __get_phys_pages() local404 if (line_parser_init(parser, "/proc/meminfo") < 0) in __get_phys_pages()407 while ((p = line_parser_gets(parser))) { in __get_phys_pages()410 line_parser_done(parser); in __get_phys_pages()[all …]
48 def parse_file(path, parser): argument49 parser.parseFile(path)
120 def parse_file(path, parser): argument122 parser.parseFile(path)
65 parser = SysCallsTxtParser() variable66 parser.parse_file(syscalls_file)67 syscalls = parser.syscalls
353 parser = SysCallsTxtParser()354 parser.parse_file(input)355 self.syscalls = parser.syscalls356 parser = None
42 /proc line parser.