Home
last modified time | relevance | path

Searched refs:run_test (Results 1 – 25 of 2614) sorted by relevance

12345678910>>...105

/external/valgrind/none/tests/s390x/
Dcu12.c108 run_test(uint16_t *dst, uint64_t dst_len, uint8_t *src, uint64_t src_len) in run_test() function
163 run_test(buff, sizeof buff, valid, sizeof valid); in convert_1_byte()
178 run_test(buff, sizeof buff, invalid_char, sizeof invalid_char); in convert_1_byte()
190 run_test(buff, sizeof buff, invalid_char, sizeof invalid_char); in convert_1_byte()
198 run_test(buff, sizeof buff, valid_invalid, sizeof valid_invalid); in convert_1_byte()
216 run_test(buff, sizeof buff, valid, sizeof valid); in convert_2_bytes()
226 run_test(buff, sizeof buff, valid_if_not_m3, sizeof valid_if_not_m3); in convert_2_bytes()
246 run_test(buff, sizeof buff, invalid_char, sizeof invalid_char); in convert_2_bytes()
259 run_test(buff, sizeof buff, valid_invalid, sizeof valid_invalid); in convert_2_bytes()
280 run_test(buff, sizeof buff, e0, sizeof e0); in convert_3_bytes()
[all …]
Dcu14_1.c108 run_test(uint32_t *dst, uint64_t dst_len, uint8_t *src, uint64_t src_len) in run_test() function
163 run_test(buff, sizeof buff, valid, sizeof valid); in convert_1_byte()
178 run_test(buff, sizeof buff, invalid_char, sizeof invalid_char); in convert_1_byte()
190 run_test(buff, sizeof buff, invalid_char, sizeof invalid_char); in convert_1_byte()
198 run_test(buff, sizeof buff, valid_invalid, sizeof valid_invalid); in convert_1_byte()
216 run_test(buff, sizeof buff, valid, sizeof valid); in convert_2_bytes()
226 run_test(buff, sizeof buff, valid_if_not_m3, sizeof valid_if_not_m3); in convert_2_bytes()
246 run_test(buff, sizeof buff, invalid_char, sizeof invalid_char); in convert_2_bytes()
259 run_test(buff, sizeof buff, valid_invalid, sizeof valid_invalid); in convert_2_bytes()
280 run_test(buff, sizeof buff, e0, sizeof e0); in convert_3_bytes()
[all …]
Dcu14.c108 run_test(uint32_t *dst, uint64_t dst_len, uint8_t *src, uint64_t src_len) in run_test() function
163 run_test(buff, sizeof buff, valid, sizeof valid); in convert_1_byte()
178 run_test(buff, sizeof buff, invalid_char, sizeof invalid_char); in convert_1_byte()
190 run_test(buff, sizeof buff, invalid_char, sizeof invalid_char); in convert_1_byte()
198 run_test(buff, sizeof buff, valid_invalid, sizeof valid_invalid); in convert_1_byte()
216 run_test(buff, sizeof buff, valid, sizeof valid); in convert_2_bytes()
226 run_test(buff, sizeof buff, valid_if_not_m3, sizeof valid_if_not_m3); in convert_2_bytes()
246 run_test(buff, sizeof buff, invalid_char, sizeof invalid_char); in convert_2_bytes()
259 run_test(buff, sizeof buff, valid_invalid, sizeof valid_invalid); in convert_2_bytes()
280 run_test(buff, sizeof buff, e0, sizeof e0); in convert_3_bytes()
[all …]
Dcu12_1.c108 run_test(uint16_t *dst, uint64_t dst_len, uint8_t *src, uint64_t src_len) in run_test() function
163 run_test(buff, sizeof buff, valid, sizeof valid); in convert_1_byte()
178 run_test(buff, sizeof buff, invalid_char, sizeof invalid_char); in convert_1_byte()
190 run_test(buff, sizeof buff, invalid_char, sizeof invalid_char); in convert_1_byte()
198 run_test(buff, sizeof buff, valid_invalid, sizeof valid_invalid); in convert_1_byte()
216 run_test(buff, sizeof buff, valid, sizeof valid); in convert_2_bytes()
226 run_test(buff, sizeof buff, valid_if_not_m3, sizeof valid_if_not_m3); in convert_2_bytes()
246 run_test(buff, sizeof buff, invalid_char, sizeof invalid_char); in convert_2_bytes()
259 run_test(buff, sizeof buff, valid_invalid, sizeof valid_invalid); in convert_2_bytes()
280 run_test(buff, sizeof buff, e0, sizeof e0); in convert_3_bytes()
[all …]
Dcu21.c99 run_test(uint8_t *dst, uint64_t dst_len, uint16_t *src, uint64_t src_len) in run_test() function
130 run_test(NULL, 0, NULL, 0); in main()
137 run_test(buff, sizeof buff, NULL, 1); in main()
138 run_test(buff, sizeof buff, pattern1, 1); in main()
139 run_test(buff, sizeof buff, pattern2, 1); in main()
140 run_test(buff, sizeof buff, pattern3, 1); in main()
141 run_test(buff, sizeof buff, pattern4, 1); in main()
142 run_test(buff, sizeof buff, pattern4, 2); in main()
143 run_test(buff, sizeof buff, pattern4, 3); in main()
148 run_test(buff, sizeof buff, pattern1, 3); in main()
[all …]
Dcu21_1.c99 run_test(uint8_t *dst, uint64_t dst_len, uint16_t *src, uint64_t src_len) in run_test() function
130 run_test(NULL, 0, NULL, 0); in main()
137 run_test(buff, sizeof buff, NULL, 1); in main()
138 run_test(buff, sizeof buff, pattern1, 1); in main()
139 run_test(buff, sizeof buff, pattern2, 1); in main()
140 run_test(buff, sizeof buff, pattern3, 1); in main()
141 run_test(buff, sizeof buff, pattern4, 1); in main()
142 run_test(buff, sizeof buff, pattern4, 2); in main()
143 run_test(buff, sizeof buff, pattern4, 3); in main()
148 run_test(buff, sizeof buff, pattern1, 3); in main()
[all …]
Dcu41.c100 run_test(uint8_t *dst, uint64_t dst_len, uint32_t *src, uint64_t src_len) in run_test() function
133 run_test(NULL, 0, NULL, 0); in main()
140 run_test(buff, sizeof buff, NULL, 0); in main()
141 run_test(buff, sizeof buff, NULL, 1); in main()
142 run_test(buff, sizeof buff, NULL, 2); in main()
143 run_test(buff, sizeof buff, NULL, 3); in main()
144 run_test(buff, sizeof buff, pattern1, 0); in main()
145 run_test(buff, sizeof buff, pattern1, 1); in main()
146 run_test(buff, sizeof buff, pattern1, 2); in main()
147 run_test(buff, sizeof buff, pattern1, 3); in main()
[all …]
Dcu42.c89 run_test(uint16_t *dst, uint64_t dst_len, uint32_t *src, uint64_t src_len) in run_test() function
123 run_test(NULL, 0, NULL, 0); in main()
130 run_test(buff, sizeof buff, NULL, 0); in main()
131 run_test(buff, sizeof buff, NULL, 1); in main()
132 run_test(buff, sizeof buff, NULL, 2); in main()
133 run_test(buff, sizeof buff, NULL, 3); in main()
134 run_test(buff, sizeof buff, pattern2, 0); in main()
135 run_test(buff, sizeof buff, pattern2, 1); in main()
136 run_test(buff, sizeof buff, pattern2, 2); in main()
137 run_test(buff, sizeof buff, pattern2, 3); in main()
[all …]
Dclcl.c141 run_test(void *addr1, uint32_t len1, void *addr2, uint32_t len2, uint32_t pad) in run_test() function
159 run_test(NULL, 0, NULL, 0, 0x00); in main()
160 run_test(NULL, 0, NULL, 0, 0xff); in main()
166 run_test(&byte1, 1, &byte2, 1, 0x00); // first operand low in main()
167 run_test(&byte1, 1, &byte1, 1, 0x00); // equal in main()
168 run_test(&byte2, 1, &byte1, 1, 0x00); // first operand high in main()
169 run_test(&byte1, 1, &byte2, 1, 0xFF); // first operand low in main()
170 run_test(&byte1, 1, &byte1, 1, 0xFF); // equal in main()
171 run_test(&byte2, 1, &byte1, 1, 0xFF); // first operand high in main()
176 run_test(NULL, 0, &byte, 1, 10); // equal in main()
[all …]
Dcu24.c86 run_test(uint32_t *dst, uint64_t dst_len, uint16_t *src, uint64_t src_len) in run_test() function
124 run_test(NULL, 0, NULL, 0); in main()
131 run_test(buff, sizeof buff, NULL, 1); in main()
132 run_test(buff, sizeof buff, pattern1, 1); in main()
133 run_test(buff, sizeof buff, pattern2, 1); in main()
134 run_test(buff, sizeof buff, pattern2, 2); in main()
135 run_test(buff, sizeof buff, pattern2, 3); in main()
140 run_test(buff, sizeof buff, pattern1, 3); in main()
141 run_test(buff, sizeof buff, pattern1, 5); in main()
142 run_test(buff, sizeof buff, pattern2, 2); in main()
[all …]
Dcu24_1.c86 run_test(uint32_t *dst, uint64_t dst_len, uint16_t *src, uint64_t src_len) in run_test() function
124 run_test(NULL, 0, NULL, 0); in main()
131 run_test(buff, sizeof buff, NULL, 1); in main()
132 run_test(buff, sizeof buff, pattern1, 1); in main()
133 run_test(buff, sizeof buff, pattern2, 1); in main()
134 run_test(buff, sizeof buff, pattern2, 2); in main()
135 run_test(buff, sizeof buff, pattern2, 3); in main()
140 run_test(buff, sizeof buff, pattern1, 3); in main()
141 run_test(buff, sizeof buff, pattern1, 5); in main()
142 run_test(buff, sizeof buff, pattern2, 2); in main()
[all …]
Dmvcl.c159 run_test(void *dst, uint32_t dst_len, void *src, uint32_t src_len, uint32_t pad) in run_test() function
179 run_test(NULL, 0, NULL, 0, 0x00); in main()
180 run_test(NULL, 0, NULL, 0, 0xFF); in main()
181 run_test(NULL, 0, NULL, 5, 0x00); in main()
182 run_test(NULL, 0, NULL, 5, 0xFF); in main()
183 run_test(NULL, 0, buf, sizeof buf, 0x00); in main()
184 run_test(NULL, 0, buf, sizeof buf, 0xFF); in main()
188 run_test(&byte, 1, NULL, 0, 'a'); in main()
190 run_test(buf, sizeof buf, NULL, 0, 'a'); in main()
197 run_test(&byte, 1, &byte, 1, 'a'); in main()
[all …]
Dtr.c20 void run_test(void *tran_table, void *srcaddr, uint64_t len) in run_test() function
35 run_test((char *)&touppercase, &buff, 0); in main()
36 run_test((char *)&touppercase, &buff, 0); in main()
40 run_test((char *)&touppercase, &buff, 1); in main()
43 run_test((char *)&touppercase, &buff, 3); in main()
44 run_test((char *)&touppercase, &buff, 3); in main()
45 run_test((char *)&touppercase, &buff, 8); in main()
48 run_test((char *)&tolowercase, &buff, 3); in main()
49 run_test((char *)&tolowercase, &buff, 3); in main()
50 run_test((char *)&tolowercase, &buff, 8); in main()
[all …]
Dtre.c45 void run_test(void *tran_table, void *srcaddr, uint64_t len, uint8_t test) in run_test() function
71 run_test(NULL, NULL, 0, 0x0); in main()
72 run_test((char *)&touppercase, &buff, 0, 0x0); in main()
73 run_test((char *)&touppercase, &buff, 0, 'b'); in main()
77 run_test((char *)&touppercase, &buff, 1, 'a'); //cc = 1 in main()
78 run_test((char *)&touppercase, &buff, 1, 'b'); in main()
81 run_test((char *)&touppercase, &buff, 3, 'a'); //cc = 1 in main()
82 run_test((char *)&touppercase, &buff, 3, 'f'); //cc = 0 in main()
83 run_test((char *)&touppercase, &buff, 8, 'l'); //cc = 0 in main()
86 run_test((char *)&tolowercase, &buff, 3, 'A'); // cc = 1 in main()
[all …]
/external/linux-kselftest/tools/testing/selftests/futex/functional/
Drun.sh25 run_test() function
50 run_test ./futex_requeue_pi $COLOR
51 run_test ./futex_requeue_pi $COLOR -b
52 run_test ./futex_requeue_pi $COLOR -b -l
53 run_test ./futex_requeue_pi $COLOR -b -o
54 run_test ./futex_requeue_pi $COLOR -l
55 run_test ./futex_requeue_pi $COLOR -o
57 run_test ./futex_requeue_pi $COLOR -b -l -t 5000
58 run_test ./futex_requeue_pi $COLOR -l -t 5000
59 run_test ./futex_requeue_pi $COLOR -b -l -t 500000
[all …]
/external/ltp/testcases/kernel/syscalls/utimensat/
Dutimensat_tests.sh194 run_test() function
335 run_test -W "" 400 "" "" SUCCESS y y
338 run_test -W "" 400 "" "0 n 0 n" SUCCESS y y
341 run_test -W "" 400 "" "0 o 0 o" SUCCESS n n
344 run_test -W "" 400 "" "0 n 0 o" SUCCESS y n
347 run_test -W "" 400 "" "0 o 0 n" SUCCESS n y
350 run_test -W "" 400 "" "1 1 1 1" SUCCESS y y
359 run_test -RW root 400 "" "" EACCES
362 run_test -RW root 400 "" "0 n 0 n" EACCES
365 run_test -RW root 400 "" "0 o 0 o" SUCCESS n n
[all …]
/external/autotest/client/site_tests/suite_HWQual/
Dcontrol.auto16 job.run_test('power_Resume',
20 job.run_test('platform_HighResTimers')
21 job.run_test('platform_KernelVersion')
24 job.run_test('platform_AesThroughput')
27 job.run_test('firmware_RomSize',
35 # job.run_test('firmware_VbootCrypto', suite='benchmarks', tag='benchmarks')
38 job.run_test('hardware_MemoryTotalSize')
39 job.run_test('hardware_MemoryThroughput', num_iteration=2500, test_list='21')
42 job.run_test('hardware_StorageFio',
56 job.run_test('hardware_DiskSize',
[all …]
/external/dtc/tests/
Drun_tests.sh57 run_test () { function
184 run_test check_path overlay_base_no_symbols.test.dtb not-exists "/__symbols__"
185 run_test check_path overlay_base_no_symbols.test.dtb not-exists "/__fixups__"
186 run_test check_path overlay_base_no_symbols.test.dtb not-exists "/__local_fixups__"
189 run_test check_path overlay_overlay_no_fixups.test.dtb not-exists "/__symbols__"
190 run_test check_path overlay_overlay_no_fixups.test.dtb not-exists "/__fixups__"
191 run_test check_path overlay_overlay_no_fixups.test.dtb exists "/__local_fixups__"
193 run_test overlay overlay_base_no_symbols.test.dtb overlay_overlay_no_fixups.test.dtb
197 run_test check_path overlay_base_manual_symbols.test.dtb exists "/__symbols__"
198 run_test check_path overlay_base_manual_symbols.test.dtb not-exists "/__fixups__"
[all …]
/external/linux-kselftest/android/patches/
D0015-selftests-futex-report-success-failure-to-environmen.patch25 +run_test()
51 +run_test ./futex_requeue_pi $COLOR
52 +run_test ./futex_requeue_pi $COLOR -b
53 +run_test ./futex_requeue_pi $COLOR -b -l
54 +run_test ./futex_requeue_pi $COLOR -b -o
55 +run_test ./futex_requeue_pi $COLOR -l
56 +run_test ./futex_requeue_pi $COLOR -o
70 +run_test ./futex_requeue_pi $COLOR -b -l -t 5000
71 +run_test ./futex_requeue_pi $COLOR -l -t 5000
72 +run_test ./futex_requeue_pi $COLOR -b -l -t 500000
[all …]
/external/autotest/client/deps/fakegudev/src/
Dtest-gudev.sh23 function run_test() { function
49 run_test /dev/fake
53 run_test /dev/null
57 run_test =mem,null
61 run_test /sys/devices/virtual/mem/null
66 run_test /dev/fake test_files/fake.dat
70 run_test /dev/null test_files/fake.dat
74 run_test /dev/fake test_files/fake_name.dat
78 run_test /dev/fake test_files/fake_driver.dat
82 run_test /dev/fake test_files/fake_subsystem.dat
[all …]
/external/autotest/client/site_tests/suite_HWConfig/
Dcontrol19 job.run_test('firmware_RomSize',
24 job.run_test('platform_HighResTimers')
25 job.run_test('power_Resume')
28 job.run_test('hardware_MemoryTotalSize')
31 job.run_test('power_CPUFreq')
32 job.run_test('power_CPUIdle')
35 job.run_test('hardware_Backlight')
38 job.run_test('hardware_DiskSize',
40 job.run_test('hardware_SsdDetection')
43 job.run_test('hardware_SAT', seconds=20)
[all …]
/external/python/cpython2/Lib/test/
Dtest_sys_settrace.py275 def run_test(self, func): member in TraceTestCase
300 self.run_test(basic)
302 self.run_test(arigo_example)
304 self.run_test(one_instr_line)
306 self.run_test(no_pop_blocks)
308 self.run_test(no_pop_tops)
310 self.run_test(call)
312 self.run_test(test_raise)
319 self.run_test(ireturn_example)
321 self.run_test(tightloop_example)
[all …]
/external/python/cpython3/Lib/test/
Dtest_sys_settrace.py276 def run_test(self, func): member in TraceTestCase
301 self.run_test(basic)
303 self.run_test(arigo_example)
305 self.run_test(one_instr_line)
307 self.run_test(no_pop_blocks)
309 self.run_test(no_pop_tops)
311 self.run_test(call)
313 self.run_test(test_raise)
320 self.run_test(ireturn_example)
322 self.run_test(tightloop_example)
[all …]
/external/autotest/server/site_tests/sequences/
Dcontrol.power_build38 client_at.run_test('power_CPUFreq', tag=tag)
39 client_at.run_test('power_CPUIdle', tag=tag)
40 client_at.run_test('power_ProbeDriver', tag=tag, test_which='Battery')
41 client_at.run_test('power_StatsCPUFreq', tag=tag)
42 client_at.run_test('power_StatsCPUIdle', tag=tag)
43 client_at.run_test('power_StatsUSB', tag=tag)
44 client_at.run_test('power_Resume', tag=tag)
45 client_at.run_test('power_UiResume', tag=tag)
48 client_at.run_test('power_Backlight', tag=tag)
49 client_at.run_test('power_Draw', tag=tag)
[all …]
/external/python/cpython3/Lib/test/test_importlib/source/
Dtest_source_encoding.py37 def run_test(self, source): member in EncodingTest
58 self.run_test(source)
62 self.run_test(self.source_line.encode('utf-8'))
68 self.run_test(source)
73 self.run_test(source)
77 self.run_test(codecs.BOM_UTF8 + self.source_line.encode('utf-8'))
82 self.run_test(source)
88 self.run_test(source)
123 def run_test(self, line_ending): member in LineEndingTest
136 self.run_test(b'\r')
[all …]

12345678910>>...105