Home
last modified time | relevance | path

Searched refs:p (Results 1 – 25 of 73) sorted by relevance

123

/test/vts/testcases/host/kernel_proc_file_api_test/proc_tests/
DProcZoneInfoTest.py47 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 …]
DProcVmallocInfoTest.py58 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 …]
DProcStatTest.py40 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 …]
DProcAsoundTests.py36 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]
DProcUidConcurrentTimeTests.py38 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 …]
DProcCpuFileTests.py49 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]
DProcShowUidStatTest.py30 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]]
DProcUidTimeInStateTest.py37 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]]
DKernelProcFileTestBase.py34 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
DProcMiscTest.py32 def p_line(self, p): argument
34 p[0] = [p[1], p[2]]
DProcVmstatTest.py30 def p_line(self, p): argument
32 p[0] = [p[1], p[2]]
/test/vts-testcase/kernel/api/proc/
DProcZoneInfoTest.py47 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 …]
DProcVmallocInfoTest.py58 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 …]
DProcStatTest.py40 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 …]
DProcAsoundTests.py37 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]
DProcUidConcurrentTimeTests.py37 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 …]
DProcCpuFileTests.py49 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]
DProcShowUidStatTest.py30 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]]
DProcUidTimeInStateTest.py37 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]]
DKernelProcFileTestBase.py35 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
DProcMiscTest.py32 def p_line(self, p): argument
34 p[0] = [p[1], p[2]]
DProcVmstatTest.py30 def p_line(self, p): argument
32 p[0] = [p[1], p[2]]
/test/vts/utils/python/coverage/
Dsancov_parser_test.py47 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 …]
Dparser_test.py147 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/
DVtsCoreUtil.cpp30 FILE* p = popen(cmd, "re"); in checkSubstringInCommandOutput() local
31 if (p) { in checkSubstringInCommandOutput()
37 while (getline(&line, &len, p) > 0) { in checkSubstringInCommandOutput()
44 pclose(p); in checkSubstringInCommandOutput()

123