Home
last modified time | relevance | path

Searched refs:p (Results 1 – 25 of 59) 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
61 p[0] = p[1]
63 def p_id(self, p): argument
65 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]]
DProcUidIoStatsTest.py31 def p_line(self, p): argument
33 p[0] = p[1:]
DProcFsFileTests.py29 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/target/vts_hal_hidl_target/
DVtsCoreUtil.cpp32 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()
/test/vts-testcase/kernel/gki/
Dgeneric_boot_image_test.cpp89 for (auto& p : recursive_directory_iterator(extracted_ramdisk_path)) { in TEST_F() local
90 if (p.is_directory()) continue; in TEST_F()
91 EXPECT_TRUE(p.is_regular_file()) in TEST_F()
92 << "Unexpected non-regular file " << p.path(); in TEST_F()
93 auto rel_path = p.path().lexically_relative(extracted_ramdisk_path); in TEST_F()
/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/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/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-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/vts/utils/python/web/
Ddashboard_rest_client.py104 p = subprocess.Popen(
109 output, err = p.communicate()
112 if p.returncode or err:
/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-testcase/kernel/api/sysfs/src/com/android/tests/sysfs/
DKernelApiSysfsTest.java100 Pattern p = Pattern.compile("(\\d+)(-\\d+)?"); in testPerCpuCpufreq() local
102 Matcher m = p.matcher(range); in testPerCpuCpufreq()
197 Pattern p = Pattern.compile("CONFIG_RTC_HCTOSYS_DEVICE=\"(.*)\""); in testRtcHctosys() local
198 Matcher m = p.matcher(output); in testRtcHctosys()
275 Pattern p = Pattern.compile("Linux version ([0-9]+)\\.([0-9]+)"); in testKfenceSampleRate() local
276 Matcher m = p.matcher(versionStr); in testKfenceSampleRate()

123