Home
last modified time | relevance | path

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

12

/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.py57 def p_line(self, p): argument
59 p[0] = p[1:]
61 def p_addr_range(self, p): argument
63 p[0] = [p[1], p[3]]
65 def p_module(self, p): argument
68 p[0] = p[1]
70 def p_pages(self, p): argument
73 p[0] = [] if len(p) == 2 else [p[1], p[3]]
75 def p_phys(self, p): argument
78 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]]
75 def p_uid_policy_time_table(self, p): argument
77 p[0] = p[1:]
79 def p_header_row(self, p): argument
81 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
DProcVmstatTest.py30 def p_line(self, p): argument
32 p[0] = [p[1], p[2]]
DProcMiscTest.py32 def p_line(self, p): argument
34 p[0] = [p[1], p[2]]
DProcUidIoStatsTest.py31 def p_line(self, p): argument
33 p[0] = p[1:]
DProcFsFileTests.py30 def p_line(self, p): argument
33 p[0] = p[1:]
/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 …]
Dsancov_parser.py103 p = SancovParser(stream)
104 offsets = p.Parse()
105 return (p._bitness, offsets)
/test/vts/runners/adapters/acts/
Dacts_adapter.py143 p = subprocess.Popen(
150 for line in iter(p.stdout.readline, b''):
153 p.communicate()
154 if p.returncode:
156 p.returncode)
/test/vts/runners/target/gtest/
Dgtest_main.cpp281 char* p = buf; in EnumerateTests() local
283 while (*p != '\0' && isspace(*p)) { in EnumerateTests()
284 ++p; in EnumerateTests()
286 if (*p == '\0') continue; in EnumerateTests()
287 char* start = p; in EnumerateTests()
288 while (*p != '\0' && !isspace(*p)) { in EnumerateTests()
289 ++p; in EnumerateTests()
291 char* end = p; in EnumerateTests()
292 while (*p != '\0' && isspace(*p)) { in EnumerateTests()
293 ++p; in EnumerateTests()
[all …]
/test/vts/compilation_tools/vtsc/
DVtsCompilerUtils.cpp516 char* p; in vts_fs_mkdirs() local
518 for (p = strchr(file_path + 1, '/'); p; p = strchr(p + 1, '/')) { in vts_fs_mkdirs()
519 *p = '\0'; in vts_fs_mkdirs()
522 *p = '/'; in vts_fs_mkdirs()
526 *p = '/'; in vts_fs_mkdirs()
/test/vts/utils/python/web/
Ddashboard_rest_client.py104 p = subprocess.Popen(
109 output, err = p.communicate()
112 if p.returncode or err:
/test/vts-testcase/kernel/linux_kselftest/
DLinuxKselftestTest.py91 ['-i -e ' + ('"%s"' % p) for p in sed_pattern])
99 ['-e ' + ('"%s"' % p) for p in grep_pattern])
/test/vti/test_serving/gae/testing/
De2e_test.py43 p = subprocess.Popen(
46 stdout, stderr = p.communicate()
47 return (stdout, stderr, p.returncode)
/test/vts/utils/python/common/
Dcmd_utils.py119 p = subprocess.Popen(
124 stdout, stderr = p.communicate()
125 return (stdout, stderr, p.returncode)
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/util/
DCollectorUtil.java60 Pattern p = Pattern.compile(ADB_LS_PATTERN); in pullFromDevice() local
61 Matcher m = p.matcher(fileList); in pullFromDevice()
150 Pattern p = Pattern.compile(TEST_METRICS_PATTERN); in reformatJsonString() local
151 Matcher m = p.matcher(jsonString); in reformatJsonString()
/test/vti/dashboard/src/main/webapp/WEB-INF/jsp/
Dshow_green_plan_release.jsp58 <p>
70 </p>
78 <p>
89 </p>

12