Home
last modified time | relevance | path

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

/third_party/jerryscript/tests/jerry/es2015/
Dgenerator.js18 function check_result(result, value, done) function
46 check_result(g.next(20), 10, false)
47 check_result(g.next(21), 11, false)
48 check_result(g.next(22), 3.25, true)
49 check_result(g.next(23), undefined, true)
56 check_result(g.next(20), 10, false)
72 check_result(f.next(0), "sx", false)
73 check_result(f.next(1), "sy", false)
74 check_result(f.next(2), "sz", false)
75 check_result(f.next(3), undefined, true)
[all …]
Dgenerator-return.js16 function check_result(result, value, done) function
27 check_result(f.return(4), 4, true)
28 check_result(f.next(), undefined, true)
31 check_result(f.next(), "x", false)
32 check_result(f.return(10), 10, true)
33 check_result(f.next(), undefined, true)
36 check_result(f.next(), "b", false)
37 check_result(f.next(), "a: undefined", true)
38 check_result(f.next(), undefined, true)
55 check_result(f.return("ret"), "ret", true)
[all …]
Dgenerator-initializer.js42 function check_result(result, value, done) function
74 check_result(f.next(), 1, false)
75 check_result(f.next(), 2, true)
78 check_result(f.next(), 3, false)
79 check_result(f.next(), 4, true)
82 check_result(f.next(), 5, false)
83 check_result(f.next(), 6, true)
86 check_result(f.next(), 7, false)
87 check_result(f.next(), 8, true)
122 check_result(f.next(), 1, false)
[all …]
Dgenerator-yield-iterator.js16 function check_result(result, value, done) function
29 check_result(g.next(), 1, false)
30 check_result(g.next(), 2, false)
31 check_result(g.next(), 3, false)
32 check_result(g.next(), 4, false)
33 check_result(g.next(), 5, false)
34 check_result(g.next(), undefined, true)
67 check_result(g.next(), 5, false)
68 check_result(g.return(13), 13, true)
100 check_result(g.next(-2), 2, false)
[all …]
Dgenerator-throw.js16 function check_result(result, value, done) function
38 check_result(f.next(), undefined, true)
41 check_result(f.next(), "x", false)
43 check_result(f.next(), undefined, true)
46 check_result(f.next(), "b", false)
47 check_result(f.next(), "a: undefined", true)
48 check_result(f.next(), undefined, true)
64 check_result(f.next(), undefined, true)
67 check_result(f.next(), "x", false)
68 check_result(f.throw("throw"), "z", false)
[all …]
/third_party/python/Lib/idlelib/idle_test/
Dtest_pyshell.py72 def check_result(self, text, expected): member in PyShellRemoveLastNewlineAndSurroundingWhitespaceTest
114 self.check_result('\n\n', '\n')
115 self.check_result('\n' * 5, '\n' * 4)
116 self.check_result('\n' * 5 + '\t', '\n' * 4)
117 self.check_result('\n' * 20, '\n' * 19)
118 self.check_result('\n' * 20 + ' ', '\n' * 19)
119 self.check_result(' \n \n ', ' \n')
120 self.check_result(' \n\n ', ' \n')
121 self.check_result(' \n\n', ' \n')
122 self.check_result('\t\n\n', '\t\n')
[all …]
/third_party/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
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_hotplug_test/
Dcpuset_hotplug_test.sh43 check_result() function
98 check_result "$root_cpus" "$expect_cpus"
102 check_result "$task_cpus" "$expect_task_cpus"
174 check_result "$tasks" "EMPTY"
182 check_result "$tasks" "$tst_pid"
191 check_result "$cpus" "$expect_cpus"
194 check_result $task_cpus $expect_task_cpus
/third_party/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()
/third_party/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"
/third_party/python/Lib/test/
Dtest_call.py451 def check_result(self, result, expected): member in FastCallTests
463 self.check_result(result, expected)
468 self.check_result(result, expected)
477 self.check_result(result, expected)
482 self.check_result(result, expected)
487 self.check_result(result, expected)
496 self.check_result(result, expected)
500 self.check_result(result, expected)
505 self.check_result(result, expected)
509 self.check_result(result, expected)
[all …]
Dtest_socketserver.py314 self.check_result(handled=True)
319 self.check_result(handled=False)
323 self.check_result(handled=True)
328 self.check_result(handled=False)
335 self.check_result(handled=True)
340 self.check_result(handled=False)
342 def check_result(self, handled): member in ErrorHandlerTest
/third_party/ltp/testcases/kernel/syscalls/chdir/
Dchdir01.c87 static void check_result(const char *user, const char *name, int retval, in check_result() function
123 check_result("root", tc->name, tc->root_ret, tc->root_err); in run()
135 check_result(TESTUSER, tc->name, tc->nobody_ret, tc->nobody_err); in run()
/third_party/openssl/test/
Dasn1_time_test.c25 int check_result; /* check result */ member
123 if (!TEST_int_eq(ASN1_TIME_check(&atime), td->check_result)) { in test_table()
127 if (td->check_result == 0) in test_table()
185 if (!TEST_int_eq(ASN1_TIME_set_string(ptime, td->data), td->check_result)) { in test_table()
189 if (!TEST_int_eq(ASN1_TIME_normalize(ptime), td->check_result)) { in test_table()
217 if (!TEST_int_eq(ASN1_TIME_set_string(ptime, td->data), td->check_result)) { in test_table()
Dssl_test.c34 static int check_result(HANDSHAKE_RESULT *result, SSL_TEST_CTX *test_ctx) in check_result() function
365 ret &= check_result(result, test_ctx); in check_test()
/third_party/ltp/testcases/kernel/syscalls/fallocate/
Dfallocate06.c135 static int check_result(const struct test_case *tc, const char *func, long exp) in check_result() function
209 if (check_result(tc, "write()", size)) in run()
223 if (!check_result(tc, TESTED_FLAGS, 0) || TST_RET) in run()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcViewportArrayTests.cpp2704 bool check_result = true; in checkResults() local
2719 check_result = false; in checkResults()
2728 return check_result; in checkResults()
3469 bool check_result = true; in checkResults() local
3490 check_result = false; in checkResults()
3499 return check_result; in checkResults()
3726 bool check_result = true; in checkResults() local
3744 check_result = false; in checkResults()
3758 check_result = false; in checkResults()
3765 return check_result; in checkResults()
[all …]
/third_party/ltp/testcases/kernel/syscalls/io_uring/
Dio_uring02.c173 static void check_result(void) in check_result() function
228 check_result(); in run()
/third_party/curl/tests/unit/
Dunit2600.c233 static void check_result(struct test_case *tc, in check_result() function
329 check_result(tc, &tr); in test_connect()
/third_party/libdrm/tests/amdgpu/
Dvce_tests.c463 static void check_result(struct amdgpu_vce_encode *enc) in check_result() function
532 check_result(&enc); in amdgpu_cs_vce_encode()
538 check_result(&enc); in amdgpu_cs_vce_encode()
549 check_result(&enc); in amdgpu_cs_vce_encode()
556 check_result(&enc); in amdgpu_cs_vce_encode()
Duvd_enc_tests.c255 static void check_result(struct amdgpu_uvd_enc *enc) in check_result() function
457 check_result(&enc); in amdgpu_cs_uvd_enc_encode()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl3cTransformFeedbackOverflowQueryTests.cpp1099 GLuint checker_query, check_result; in verifyQueryResult() local
1116 gl.getQueryObjectuiv(checker_query, GL_QUERY_RESULT, &check_result); in verifyQueryResult()
1117 if (check_result != (GLuint)expected) in verifyQueryResult()
1131 gl.getQueryObjectuiv(checker_query, GL_QUERY_RESULT, &check_result); in verifyQueryResult()
1132 if (check_result == (GLuint)expected) in verifyQueryResult()
/third_party/node/deps/v8/src/debug/
Ddebug.cc136 MaybeHandle<FixedArray> check_result = CheckBreakPoints( in CheckBreakPointsForLocations() local
139 if (!check_result.is_null()) { in CheckBreakPointsForLocations()
141 check_result.ToHandleChecked(); in CheckBreakPointsForLocations()
/third_party/node/deps/v8/src/builtins/ia32/
Dbuiltins-ia32.cc301 Label check_result, use_receiver, do_throw, leave_and_return; in Generate_JSConstructStubGeneric() local
303 __ JumpIfNotRoot(eax, RootIndex::kUndefinedValue, &check_result, in Generate_JSConstructStubGeneric()
324 __ bind(&check_result); in Generate_JSConstructStubGeneric()
/third_party/node/deps/v8/src/builtins/x64/
Dbuiltins-x64.cc294 Label use_receiver, do_throw, leave_and_return, check_result; in Generate_JSConstructStubGeneric() local
299 __ JumpIfNotRoot(rax, RootIndex::kUndefinedValue, &check_result, in Generate_JSConstructStubGeneric()
318 __ bind(&check_result); in Generate_JSConstructStubGeneric()