/external/rust/crates/plotters-backend/src/rasterizer/ |
D | circle.rs | 22 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 …]
|
D | line.rs | 47 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()
|
D | polygon.rs | 204 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()
|
D | rect.rs | 27 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/ |
D | vboot_firmware.c | 99 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 …]
|
D | vboot_kernel.c | 125 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/ |
D | repo_manager.py | 47 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 …]
|
D | utils_test.py | 82 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/ |
D | open13.c | 53 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/ |
D | test-callbacks.sh | 40 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 …]
|
D | test-state.sh | 22 check_result "% modprobe $MOD_LIVEPATCH 55 check_result "% modprobe $MOD_LIVEPATCH 101 check_result "% modprobe $MOD_LIVEPATCH2 155 check_result "% modprobe $MOD_LIVEPATCH2
|
D | test-livepatch.sh | 36 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/ |
D | cpuset_hotplug_test.sh | 43 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/ |
D | desktop_capturer_differ_wrapper_unittest.cc | 118 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/ |
D | single_step_syscall.c | 124 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/ |
D | wpa_cli_proxy.py | 65 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/ |
D | ShadowTest.cpp | 22 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/ |
D | cpdf_cross_ref_avail.cpp | 45 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/ |
D | dh_test.cc | 118 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/ |
D | ShadowTest.cpp | 21 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/ |
D | cpuset_syscall_testset.sh | 257 check_result() function 275 check_result "0" 282 check_result "0" 293 check_result "1"
|
/external/ltp/testcases/kernel/syscalls/utimensat/ |
D | utimensat_tests.sh | 127 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/ |
D | dh_test.cc | 119 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/ |
D | test_call.py | 450 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/ |
D | detect_repo.py | 104 check_result=True) 156 def execute(command, location, check_result=False): argument 172 if check_result and (process.returncode or err):
|