Home
last modified time | relevance | path

Searched refs:check_result (Results 1 – 25 of 78) sorted by relevance

1234

/external/rust/crates/plotters-backend/src/rasterizer/
Dcircle.rs22 check_result!(draw(x, (y0, y1))); in draw_part_a()
38 check_result!(draw(x, (-x as f64, x as f64))); in draw_part_b()
68 check_result!(draw(x, (y0, y1))); in draw_part_c()
78 check_result!(draw(x, (y0, y1 + 1.0))); in draw_part_c()
79 check_result!(draw(-x, (y0, y1 + 1.0))); in draw_part_c()
104 check_result!(b.draw_line( in draw_sweep_line()
109 check_result!(b.draw_pixel((p0 + x0, s.ceil() as i32 + y0 - 1), style.color().mix(vs))); in draw_sweep_line()
110 check_result!(b.draw_pixel((p0 + x0, e.floor() as i32 + y0 + 1), style.color().mix(ve))); in draw_sweep_line()
112 check_result!(b.draw_line( in draw_sweep_line()
117 check_result!(b.draw_pixel((s.ceil() as i32 + x0 - 1, p0 + y0), style.color().mix(vs))); in draw_sweep_line()
[all …]
Dline.rs47 check_result!(back.draw_pixel((from.0, y), style.color())); in draw_line()
57 check_result!(back.draw_pixel((x, from.1), style.color())); in draw_line()
106 check_result!(put_pixel((x, y as i32), 1.0 + y.floor() - y)); in draw_line()
107 check_result!(put_pixel((x, y as i32 + 1), y - y.floor())); in draw_line()
115 check_result!(put_pixel((x, y as i32), 1.0 + y.floor() - y)); in draw_line()
118 check_result!(put_pixel((x, y as i32 + 1), y - y.floor())); in draw_line()
Dpolygon.rs204 check_result!(back.draw_line( in fill_polygon()
209 check_result!(back.draw_pixel( in fill_polygon()
213 check_result!(back.draw_pixel( in fill_polygon()
218 check_result!(back.draw_line( in fill_polygon()
223 check_result!(back.draw_pixel( in fill_polygon()
227 check_result!(back.draw_pixel( in fill_polygon()
Drect.rs27 check_result!(b.draw_line((x, upper_left.1), (x, bottom_right.1), style)); in draw_rect()
31 check_result!(b.draw_line((upper_left.0, y), (bottom_right.0, y), style)); in draw_rect()
/external/vboot_reference/firmware/lib/
Dvboot_firmware.c99 uint8_t *check_result; in LoadFirmware() local
107 check_result = &shared->check_fw_a_result; in LoadFirmware()
112 check_result = &shared->check_fw_b_result; in LoadFirmware()
124 *check_result = VBSD_LF_CHECK_DEV_MISMATCH; in LoadFirmware()
131 *check_result = VBSD_LF_CHECK_REC_MISMATCH; in LoadFirmware()
139 *check_result = VBSD_LF_CHECK_VERIFY_KEYBLOCK; in LoadFirmware()
148 *check_result = VBSD_LF_CHECK_KEY_ROLLBACK; in LoadFirmware()
158 *check_result = VBSD_LF_CHECK_KEY_ROLLBACK; in LoadFirmware()
167 *check_result = VBSD_LF_CHECK_DATA_KEY_PARSE; in LoadFirmware()
179 *check_result = VBSD_LF_CHECK_VERIFY_PREAMBLE; in LoadFirmware()
[all …]
Dvboot_kernel.c125 shcall->check_result = VBSD_LKC_CHECK_GPT_READ_ERROR; in LoadKernel()
132 shcall->check_result = VBSD_LKC_CHECK_GPT_PARSE_ERROR; in LoadKernel()
181 shpart->check_result = VBSD_LKP_CHECK_TOO_SMALL; in LoadKernel()
187 shpart->check_result = VBSD_LKP_CHECK_READ_START; in LoadKernel()
196 shpart->check_result = VBSD_LKP_CHECK_KEY_BLOCK_SIG; in LoadKernel()
209 shpart->check_result = in LoadKernel()
221 shpart->check_result = in LoadKernel()
232 shpart->check_result = VBSD_LKP_CHECK_DEV_MISMATCH; in LoadKernel()
239 shpart->check_result = VBSD_LKP_CHECK_REC_MISMATCH; in LoadKernel()
248 shpart->check_result = in LoadKernel()
[all …]
/external/oss-fuzz/infra/
Drepo_manager.py47 def git(self, cmd, check_result=False): argument
59 check_result=check_result)
86 check_result=True)
113 out, _, _ = self.git(['rev-parse', 'HEAD'], check_result=True)
124 check_result=False)
135 check_result=True)
136 self.git(['remote', 'update'], check_result=True)
186 _, err, err_code = self.git(['fetch', '--unshallow'], check_result=False)
197 self.git(['fetch', 'origin', pr_ref], check_result=True)
198 self.git(['checkout', '-f', 'FETCH_HEAD'], check_result=True)
[all …]
Dutils_test.py82 check_result=False)
88 check_result=False)
94 check_result=False)
104 check_result=False)
111 check_result=True)
/external/ltp/testcases/kernel/syscalls/open/
Dopen13.c53 static void check_result(const char *call_name);
117 check_result("read(2)"); in verify_read()
123 check_result("write(2)"); in verify_write()
129 check_result("fchmod(2)"); in verify_fchmod()
135 check_result("fchown(2)"); in verify_fchown()
142 check_result("fgetxattr(2)"); in verify_fgetxattr()
146 static void check_result(const char *call_name) in check_result() function
/external/linux-kselftest/tools/testing/selftests/livepatch/
Dtest-callbacks.sh40 check_result "% modprobe $MOD_TARGET
90 check_result "% modprobe $MOD_LIVEPATCH
141 check_result "% modprobe $MOD_TARGET
192 check_result "% modprobe $MOD_LIVEPATCH
237 check_result "% modprobe $MOD_LIVEPATCH
275 check_result "% modprobe $MOD_TARGET
319 check_result "% modprobe $MOD_LIVEPATCH
369 check_result "% modprobe $MOD_TARGET_BUSY sleep_secs=0
452 check_result "% modprobe $MOD_TARGET_BUSY sleep_secs=10
501 check_result "% modprobe $MOD_LIVEPATCH
[all …]
Dtest-state.sh22 check_result "% modprobe $MOD_LIVEPATCH
55 check_result "% modprobe $MOD_LIVEPATCH
101 check_result "% modprobe $MOD_LIVEPATCH2
155 check_result "% modprobe $MOD_LIVEPATCH2
Dtest-livepatch.sh36 check_result "% modprobe $MOD_LIVEPATCH
82 check_result "% modprobe $MOD_LIVEPATCH
144 check_result "% modprobe $MOD_LIVEPATCH
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_hotplug_test/
Dcpuset_hotplug_test.sh43 check_result() function
94 check_result "$root_cpus" "$expect_cpus"
98 check_result "$task_cpus" "$expect_task_cpus"
165 check_result "$tasks" "EMPTY"
173 check_result "$tasks" "$tst_pid"
181 check_result "$cpus" "$expect_cpus"
184 check_result $task_cpus $expect_task_cpus
/external/webrtc/modules/desktop_capture/
Ddesktop_capturer_differ_wrapper_unittest.cc118 bool check_result, in ExecuteDifferWrapperCase() argument
124 ::testing::Invoke([&updated_region, check_result, exactly_match]( in ExecuteDifferWrapperCase()
128 if (check_result) { in ExecuteDifferWrapperCase()
156 bool check_result) { in ExecuteDifferWrapperTest() argument
186 check_result, updated_region_should_exactly_match); in ExecuteDifferWrapperTest()
200 check_result, updated_region_should_exactly_match); in ExecuteDifferWrapperTest()
220 updated_region, check_result, in ExecuteDifferWrapperTest()
/external/linux-kselftest/tools/testing/selftests/x86/
Dsingle_step_syscall.c124 static void check_result(void) in check_result() function
170 check_result(); in main()
181 check_result(); in main()
188 check_result(); in main()
210 check_result(); in main()
/external/autotest/server/cros/network/
Dwpa_cli_proxy.py65 add_result = self.run_wpa_cli_cmd('add_network', check_result=False)
74 def run_wpa_cli_cmd(self, command, check_result=True): argument
91 if check_result and not result.stdout.strip().endswith('OK'):
114 status_result = self.run_wpa_cli_cmd('status', check_result=False)
163 'list_networks', check_result=False)
269 check_result=False)
287 scan_result = self.run_wpa_cli_cmd('scan', check_result=False)
/external/skia/tests/
DShadowTest.cpp22 void check_result(skiatest::Reporter* reporter, sk_sp<SkVertices> verts, in check_result() function
41 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
44 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
47 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
51 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
54 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
57 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_cross_ref_avail.cpp45 bool check_result = false; in CheckAvail() local
48 check_result = CheckCrossRef(); in CheckAvail()
51 check_result = CheckCrossRefV4Item(); in CheckAvail()
54 check_result = CheckCrossRefV4Trailer(); in CheckAvail()
64 if (!check_result) in CheckAvail()
/external/rust/crates/quiche/deps/boringssl/src/crypto/dh/
Ddh_test.cc118 int check_result; in RunBasicTests() local
119 if (!DH_check(a.get(), &check_result)) { in RunBasicTests()
122 if (check_result & DH_CHECK_P_NOT_PRIME) { in RunBasicTests()
125 if (check_result & DH_CHECK_P_NOT_SAFE_PRIME) { in RunBasicTests()
128 if (check_result & DH_CHECK_UNABLE_TO_CHECK_GENERATOR) { in RunBasicTests()
131 if (check_result & DH_CHECK_NOT_SUITABLE_GENERATOR) { in RunBasicTests()
/external/skqp/tests/
DShadowTest.cpp21 void check_result(skiatest::Reporter* reporter, sk_sp<SkVertices> verts, in check_result() function
40 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
43 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
46 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
49 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_syscall_test/
Dcpuset_syscall_testset.sh257 check_result() function
275 check_result "0"
282 check_result "0"
293 check_result "1"
/external/ltp/testcases/kernel/syscalls/utimensat/
Dutimensat_tests.sh127 check_result() function
230 check_result $? $5 $6 $7
239 check_result $? $5 $6 $7
252 check_result $? $5 $6 $7
487 check_result $? EINVAL
/external/boringssl/src/crypto/dh_extra/
Ddh_test.cc119 int check_result; in RunBasicTests() local
120 if (!DH_check(a.get(), &check_result)) { in RunBasicTests()
123 if (check_result & DH_CHECK_P_NOT_PRIME) { in RunBasicTests()
126 if (check_result & DH_CHECK_P_NOT_SAFE_PRIME) { in RunBasicTests()
129 if (check_result & DH_CHECK_UNABLE_TO_CHECK_GENERATOR) { in RunBasicTests()
132 if (check_result & DH_CHECK_NOT_SUITABLE_GENERATOR) { in RunBasicTests()
/external/python/cpython3/Lib/test/
Dtest_call.py450 def check_result(self, result, expected): member in FastCallTests
462 self.check_result(result, expected)
467 self.check_result(result, expected)
476 self.check_result(result, expected)
481 self.check_result(result, expected)
486 self.check_result(result, expected)
495 self.check_result(result, expected)
499 self.check_result(result, expected)
504 self.check_result(result, expected)
508 self.check_result(result, expected)
[all …]
/external/oss-fuzz/infra/base-images/base-builder/
Ddetect_repo.py104 check_result=True)
156 def execute(command, location, check_result=False): argument
172 if check_result and (process.returncode or err):

1234