/test/vts/testcases/host/kernel_proc_file_api_test/proc_tests/ |
D | ProcZoneInfoTest.py | 47 def p_node(self, p): argument 49 p[0] = [p[1], p[2], p[4], p[5], p[6]] 51 def p_populated(self, p): argument 55 if len(p) == 2: 56 p[0] = [] 57 elif len(p) == 6: 58 p[0] = [p[1], p[4], p[5]] 60 p[0] = [p[3], p[4]] 62 def p_pernode(self, p): argument 65 p[0] = [] if len(p) == 2 else [p[1], p[4]] [all …]
|
D | ProcVmallocInfoTest.py | 58 def p_line(self, p): argument 60 p[0] = p[1:] 62 def p_addr_range(self, p): argument 64 p[0] = [p[1], p[3]] 66 def p_module(self, p): argument 69 p[0] = p[1] 71 def p_pages(self, p): argument 74 p[0] = [] if len(p) == 2 else [p[1], p[3]] 76 def p_phys(self, p): argument 79 p[0] = p[1] [all …]
|
D | ProcStatTest.py | 40 def p_stat(self, p): argument 42 p[0] = p[1:] 44 def p_cpu(self, p): argument 46 p[0] = p[1:] 48 def p_intr(self, p): argument 50 p[0] = p[1:] 52 def p_ctxt(self, p): argument 54 p[0] = p[1:] 56 def p_btime(self, p): argument 58 p[0] = p[1:] [all …]
|
D | ProcAsoundTests.py | 36 def p_soundcards(self, p): argument 39 p[0] = [p[4], p[5]] if len(p) == 10 else p[1] 43 def p_driver(self, p): argument 45 p[0] = [p[1], p[2], p[4], p[6], p[8]] 47 def p_description(self, p): argument 50 p[0] = [p[1]] if len(p) == 2 else p[1] + [p[2]] 52 def p_word(self, p): argument 60 p[0] = p[1] 62 def p_id(self, p): argument 64 p[0] = p[2]
|
D | ProcUidConcurrentTimeTests.py | 38 def p_uid_active_time_table(self, p): argument 40 p[0] = p[1:] 42 def p_cpus(self, p): argument 44 p[0] = p[3] 46 def p_uid_active_time(self, p): argument 48 p[0] = [p[1], p[3]] 80 def p_uid_policy_time_table(self, p): argument 82 p[0] = p[1:] 84 def p_header_row(self, p): argument 86 p[0] = sum(int(x) for x in p[1]) [all …]
|
D | ProcCpuFileTests.py | 49 def p_line(self, p): argument 53 if len(p) == 2: 54 p[0] = [] 56 p[0] = [p[1] + [p[2], p[3]], p[5], p[6]] 58 def p_space_item(self, p): argument 60 p[0] = p[2] 62 def p_string_space(self, p): argument 64 p[0] = p[1]
|
D | ProcShowUidStatTest.py | 30 def p_line(self, p): argument 33 if len(p) == 10: 34 p[0] = [p[1], p[4], p[6], p[8]] 36 p[0] = [p[1], p[4], p[6]]
|
D | ProcUidTimeInStateTest.py | 37 def p_uid_time_table(self, p): argument 39 p[0] = p[1:] 41 def p_freqs(self, p): argument 43 p[0] = p[3] 45 def p_uid_time(self, p): argument 47 p[0] = [p[1], p[3]]
|
D | KernelProcFileTestBase.py | 34 def p_multiple(self, p): argument 35 if len(p) == 2 and zero_ok: 36 p[0] = [] 37 elif len(p) == 2: 38 p[0] = [p[1]] 40 p[0] = p[1] + [p[2]] 119 def p_error(self, p): argument 121 (p, p.lexer.lineno)) 123 def p_empty(self, p): argument
|
D | ProcVmstatTest.py | 30 def p_line(self, p): argument 32 p[0] = [p[1], p[2]]
|
D | ProcMiscTest.py | 32 def p_line(self, p): argument 34 p[0] = [p[1], p[2]]
|
/test/vts-testcase/kernel/api/proc/ |
D | ProcZoneInfoTest.py | 47 def p_node(self, p): argument 49 p[0] = [p[1], p[2], p[4], p[5], p[6]] 51 def p_populated(self, p): argument 55 if len(p) == 2: 56 p[0] = [] 57 elif len(p) == 6: 58 p[0] = [p[1], p[4], p[5]] 60 p[0] = [p[3], p[4]] 62 def p_pernode(self, p): argument 65 p[0] = [] if len(p) == 2 else [p[1], p[4]] [all …]
|
D | ProcVmallocInfoTest.py | 58 def p_line(self, p): argument 60 p[0] = p[1:] 62 def p_addr_range(self, p): argument 64 p[0] = [p[1], p[3]] 66 def p_module(self, p): argument 69 p[0] = p[1] 71 def p_pages(self, p): argument 74 p[0] = [] if len(p) == 2 else [p[1], p[3]] 76 def p_phys(self, p): argument 79 p[0] = p[1] [all …]
|
D | ProcStatTest.py | 40 def p_stat(self, p): argument 42 p[0] = p[1:] 44 def p_cpu(self, p): argument 46 p[0] = p[1:] 48 def p_intr(self, p): argument 50 p[0] = p[1:] 52 def p_ctxt(self, p): argument 54 p[0] = p[1:] 56 def p_btime(self, p): argument 58 p[0] = p[1:] [all …]
|
D | ProcAsoundTests.py | 37 def p_soundcards(self, p): argument 40 p[0] = [p[4], p[5]] if len(p) == 10 else p[1] 44 def p_driver(self, p): argument 46 p[0] = [p[1], p[2], p[4], p[6], p[8]] 48 def p_description(self, p): argument 51 p[0] = [p[1]] if len(p) == 2 else p[1] + [p[2]] 53 def p_word(self, p): argument 61 p[0] = p[1] 63 def p_id(self, p): argument 65 p[0] = p[2]
|
D | ProcUidConcurrentTimeTests.py | 37 def p_uid_active_time_table(self, p): argument 39 p[0] = p[1:] 41 def p_cpus(self, p): argument 43 p[0] = p[3] 45 def p_uid_active_time(self, p): argument 47 p[0] = [p[1], p[3]] 78 def p_uid_policy_time_table(self, p): argument 80 p[0] = p[1:] 82 def p_header_row(self, p): argument 84 p[0] = sum(int(x) for x in p[1]) [all …]
|
D | ProcCpuFileTests.py | 49 def p_line(self, p): argument 53 if len(p) == 2: 54 p[0] = [] 56 p[0] = [p[1] + [p[2], p[3]], p[5], p[6]] 58 def p_space_item(self, p): argument 60 p[0] = p[2] 62 def p_string_space(self, p): argument 64 p[0] = p[1]
|
D | ProcShowUidStatTest.py | 30 def p_line(self, p): argument 33 if len(p) == 10: 34 p[0] = [p[1], p[4], p[6], p[8]] 36 p[0] = [p[1], p[4], p[6]]
|
D | ProcUidTimeInStateTest.py | 37 def p_uid_time_table(self, p): argument 39 p[0] = p[1:] 41 def p_freqs(self, p): argument 43 p[0] = p[3] 45 def p_uid_time(self, p): argument 47 p[0] = [p[1], p[3]]
|
D | KernelProcFileTestBase.py | 35 def p_multiple(self, p): argument 36 if len(p) == 2 and zero_ok: 37 p[0] = [] 38 elif len(p) == 2: 39 p[0] = [p[1]] 41 p[0] = p[1] + [p[2]] 120 def p_error(self, p): argument 122 (p, p.lexer.lineno)) 124 def p_empty(self, p): argument
|
D | ProcVmstatTest.py | 30 def p_line(self, p): argument 32 p[0] = [p[1], p[2]]
|
D | ProcMiscTest.py | 32 def p_line(self, p): argument 34 p[0] = [p[1], p[2]]
|
/test/vts/utils/python/coverage/ |
D | sancov_parser_test.py | 47 p = sancov_parser.SancovParser(stream) 49 p.Parse() 60 p = sancov_parser.SancovParser(stream) 61 s = p.Parse() 62 self.assertEqual(32, p._bitness) 73 p = sancov_parser.SancovParser(stream) 74 s = p.Parse() 75 self.assertEqual(64, p._bitness) 82 p = sancov_parser.SancovParser(stream) 83 self.assertEqual(32, p.GetBitness()) [all …]
|
D | parser_test.py | 147 p = parser.GcovStreamParserUtil(self.stream, MAGIC) 148 self.assertEqual(p.format, '<') 156 p = parser.GcovStreamParserUtil(self.stream, MAGIC) 157 self.assertEqual(p.format, '>') 166 p = parser.GcovStreamParserUtil(self.stream, MAGIC) 167 self.assertEqual(p.ReadInt(), integer) 172 p = parser.GcovStreamParserUtil(self.stream, MAGIC) 173 self.assertRaises(parser.FileFormatError, p.ReadInt) 180 p = parser.GcovStreamParserUtil(self.stream, MAGIC) 181 self.assertEqual(number, p.ReadInt64()) [all …]
|
/test/vts/runners/target/vts_hal_hidl_target/ |
D | VtsCoreUtil.cpp | 32 FILE* p = popen(cmd, "re"); in checkSubstringInCommandOutput() local 33 if (p) { in checkSubstringInCommandOutput() 39 while (getline(&line, &len, p) > 0) { in checkSubstringInCommandOutput() 46 pclose(p); in checkSubstringInCommandOutput()
|