/external/rust/crates/ryu/tests/ |
D | d2s_test.rs | 38 check!(0.3); in test_ryu() 39 check!(1234000000000000.0); in test_ryu() 40 check!(1.234e16); in test_ryu() 41 check!(2.71828); in test_ryu() 42 check!(1.1e128); in test_ryu() 43 check!(1.1e-64); in test_ryu() 44 check!(2.718281828459045); in test_ryu() 45 check!(5e-324); in test_ryu() 46 check!(1.7976931348623157e308); in test_ryu() 71 check!(0.0); in test_basic() [all …]
|
D | f2s_test.rs | 32 check!(0.3); in test_ryu() 33 check!(1234000000000.0); in test_ryu() 34 check!(1.234e13); in test_ryu() 35 check!(2.71828); in test_ryu() 36 check!(1.1e32); in test_ryu() 37 check!(1.1e-32); in test_ryu() 38 check!(2.7182817); in test_ryu() 39 check!(1e-45); in test_ryu() 40 check!(3.4028235e38); in test_ryu() 41 check!(-0.001234); in test_ryu() [all …]
|
/external/llvm-project/clang/test/Lexer/ |
D | cxx-features.cpp | 18 #define check(macro, cxx98, cxx11, cxx14, cxx17, cxx20) (cxx98 == 0 ? defined(__cpp_##macro) : __cp… macro 20 #define check(macro, cxx98, cxx11, cxx14, cxx17, cxx20) (cxx11 == 0 ? defined(__cpp_##macro) : __cp… macro 22 #define check(macro, cxx98, cxx11, cxx14, cxx17, cxx20) (cxx14 == 0 ? defined(__cpp_##macro) : __cp… macro 24 #define check(macro, cxx98, cxx11, cxx14, cxx17, cxx20) (cxx17 == 0 ? defined(__cpp_##macro) : __cp… macro 26 #define check(macro, cxx98, cxx11, cxx14, cxx17, cxx20) (cxx20 == 0 ? defined(__cpp_##macro) : __cp… macro 31 #if defined(CHAR8_T) ? check(char8_t, 201811, 201811, 201811, 201811, 201811) : \ 32 defined(NO_CHAR8_T) ? check(char8_t, 0, 0, 0, 0, 0) : \ 33 check(char8_t, 0, 0, 0, 0, 201811) 37 #if check(conditional_explicit, 0, 0, 0, 0, 201806) 43 #if check(constexpr_dynamic_alloc, 0, 0, 0, 0, 201907) [all …]
|
/external/kotlinx.atomicfu/atomicfu/src/commonTest/kotlin/kotlinx/atomicfu/test/ |
D | TopLevelTest.kt | 27 check(a.value == 0) in <lambda>() 28 check(a.getAndSet(3) == 0) in <lambda>() 29 check(a.compareAndSet(3, 8)) in <lambda>() 31 check(a.value == 1) in <lambda>() 32 check(a.getAndSet(2) == 1) in <lambda>() 33 check(a.value == 2) in <lambda>() 34 check(a.getAndIncrement() == 2) in <lambda>() 35 check(a.value == 3) in <lambda>() 36 check(a.getAndDecrement() == 3) in <lambda>() 37 check(a.value == 2) in <lambda>() [all …]
|
D | ArithmeticTest.kt | 15 check(a.x == 0) in testInt() 16 check(a._x.getAndSet(3) == 0) in testInt() 17 check(a._x.compareAndSet(3, 8)) in testInt() 19 check(a.x == 1) in testInt() 20 check(a._x.getAndSet(2) == 1) in testInt() 21 check(a.x == 2) in testInt() 22 check(a._x.getAndIncrement() == 2) in testInt() 23 check(a.x == 3) in testInt() 24 check(a._x.getAndDecrement() == 3) in testInt() 25 check(a.x == 2) in testInt() [all …]
|
D | AtomicArrayTest.kt | 14 check(A.intArr[0].compareAndSet(0, 3)) in testIntArray() 15 check(A.intArr[1].value == 0) in testIntArray() 17 check(A.intArr[0].value + A.intArr[1].value + A.intArr[2].value == 5) in testIntArray() 18 check(A.intArr[0].compareAndSet(5, 10)) in testIntArray() 19 check(A.intArr[0].getAndDecrement() == 10) in testIntArray() 20 check(A.intArr[0].value == 9) in testIntArray() 22 check(A.intArr[2].value == 2) in testIntArray() 23 check(A.intArr[2].compareAndSet(2, 34)) in testIntArray() 24 check(A.intArr[2].value == 34) in testIntArray() 31 check(A.longArr[0].value == 2424920024888888848) in testLongArray() [all …]
|
/external/rust/crates/rayon/tests/ |
D | debug.rs | 4 fn check<I>(iter: I) in check() function 15 check(heap.par_iter()); in debug_binary_heap() 16 check(heap.par_drain()); in debug_binary_heap() 17 check(heap.into_par_iter()); in debug_binary_heap() 24 check(map.par_iter()); in debug_btree_map() 25 check(map.par_iter_mut()); in debug_btree_map() 26 check(map.into_par_iter()); in debug_btree_map() 33 check(set.par_iter()); in debug_btree_set() 34 check(set.into_par_iter()); in debug_btree_set() 41 check(map.par_iter()); in debug_hash_map() [all …]
|
D | clones.rs | 3 fn check<I>(iter: I) in check() function 17 check(heap.par_iter()); in clone_binary_heap() 18 check(heap.into_par_iter()); in clone_binary_heap() 25 check(map.par_iter()); in clone_btree_map() 32 check(set.par_iter()); in clone_btree_set() 39 check(map.par_iter()); in clone_hash_map() 46 check(set.par_iter()); in clone_hash_set() 53 check(list.par_iter()); in clone_linked_list() 54 check(list.into_par_iter()); in clone_linked_list() 61 check(deque.par_iter()); in clone_vec_deque() [all …]
|
/external/jsmn/test/ |
D | tests.c | 10 check(parse("{}", 1, 1, JSMN_OBJECT, 0, 2, 0)); in test_empty() 11 check(parse("[]", 1, 1, JSMN_ARRAY, 0, 2, 0)); in test_empty() 12 check(parse("[{},{}]", 3, 3, JSMN_ARRAY, 0, 7, 2, JSMN_OBJECT, 1, 3, 0, in test_empty() 18 check(parse("{\"a\":0}", 3, 3, JSMN_OBJECT, 0, 7, 1, JSMN_STRING, "a", 1, in test_object() 20 check(parse("{\"a\":[]}", 3, 3, JSMN_OBJECT, 0, 8, 1, JSMN_STRING, "a", 1, in test_object() 22 check(parse("{\"a\":{},\"b\":{}}", 5, 5, JSMN_OBJECT, -1, -1, 2, JSMN_STRING, in test_object() 25 check(parse("{\n \"Day\": 26,\n \"Month\": 9,\n \"Year\": 12\n }", 7, 7, in test_object() 29 check(parse("{\"a\": 0, \"b\": \"c\"}", 5, 5, JSMN_OBJECT, -1, -1, 2, in test_object() 34 check(parse("{\"a\"\n0}", JSMN_ERROR_INVAL, 3)); in test_object() 35 check(parse("{\"a\", 0}", JSMN_ERROR_INVAL, 3)); in test_object() [all …]
|
/external/rust/crates/chrono/src/format/ |
D | parse.rs | 514 macro_rules! check { in test_parse() macro 526 check!("", []; ); in test_parse() 527 check!(" ", []; TOO_LONG); in test_parse() 528 check!("a", []; TOO_LONG); in test_parse() 531 check!("", [sp!("")]; ); in test_parse() 532 check!(" ", [sp!("")]; ); in test_parse() 533 check!("\t", [sp!("")]; ); in test_parse() 534 check!(" \n\r \n", [sp!("")]; ); in test_parse() 535 check!("a", [sp!("")]; TOO_LONG); in test_parse() 538 check!("", [lit!("a")]; TOO_SHORT); in test_parse() [all …]
|
/external/python/cpython3/Lib/lib2to3/tests/ |
D | test_fixers.py | 35 def check(self, before, after, ignore_warnings=False): member in FixerTestCase 79 self.check(b, a) 87 self.check(b, a) 95 self.check(b, a) 103 self.check(b, a) 108 self.check(b, a) 113 self.check(b, a) 118 self.check(b, a) 123 self.check(b, a) 128 self.check(b, a) [all …]
|
/external/clang/test/Lexer/ |
D | cxx-features.cpp | 13 #define check(macro, cxx98, cxx11, cxx14, cxx1z) cxx98 == 0 ? defined(__cpp_##macro) : __cpp_##macr… macro 15 #define check(macro, cxx98, cxx11, cxx14, cxx1z) cxx11 == 0 ? defined(__cpp_##macro) : __cpp_##macr… macro 17 #define check(macro, cxx98, cxx11, cxx14, cxx1z) cxx14 == 0 ? defined(__cpp_##macro) : __cpp_##macr… macro 19 #define check(macro, cxx98, cxx11, cxx14, cxx1z) cxx1z == 0 ? defined(__cpp_##macro) : __cpp_##macr… macro 22 #if check(binary_literals, 0, 0, 201304, 201304) 26 #if check(digit_separators, 0, 0, 201309, 201309) 30 #if check(init_captures, 0, 0, 201304, 201304) 34 #if check(generic_lambdas, 0, 0, 201304, 201304) 38 #if check(sized_deallocation, 0, 0, 201309, 201309) 42 #if check(constexpr, 0, 200704, 201304, 201304) [all …]
|
/external/python/cpython2/Lib/lib2to3/tests/ |
D | test_fixers.py | 36 def check(self, before, after, ignore_warnings=False): member in FixerTestCase 80 self.check(b, a) 88 self.check(b, a) 96 self.check(b, a) 104 self.check(b, a) 109 self.check(b, a) 114 self.check(b, a) 119 self.check(b, a) 124 self.check(b, a) 129 self.check(b, a) [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_fnmatch.py | 22 check = self.check_match 23 check('abc', 'abc') 24 check('abc', '?*?') 25 check('abc', '???*') 26 check('abc', '*???') 27 check('abc', '???') 28 check('abc', '*') 29 check('abc', 'ab[cd]') 30 check('abc', 'ab[!de]') 31 check('abc', 'ab[de]', False) [all …]
|
D | test_html.py | 21 def check(text, expected): function 30 check('no character references', 'no character references') 32 check('&\n&\t& &&', '&\n&\t& &&') 34 check('&0 &9 &a &0; &9; &a;', '&0 &9 &a &0; &9; &a;') 37 check(x, x) 38 check(x+';', x+';') 47 check(s % num, char) 49 check((s+end) % num, char+end) 66 check(e, '";') 69 check(e, '"quot;') [all …]
|
D | test_tcl.py | 256 def check(expr, expected): function 265 check('', '0') 266 check('8.2 + 6', '14.2') 267 check('3.1 + $a', '6.1') 268 check('2 + "$a.$b"', '5.6') 269 check('4*[llength "6 2"]', '8') 270 check('{word one} < "word $a"', '0') 271 check('4*2 < 7', '0') 272 check('hypot($a, 4)', '5.0') 273 check('5 / 4', '1') [all …]
|
/external/curl/tests/libtest/ |
D | mk-lib1521.pl | 182 …my $check = " if(UNEX(res)) {\n err(\"$name\", res, __LINE__);\n goto test_cleanup;\n }\n"; 184 print "${pref} \"string\");\n$check"; 185 print "${pref} NULL);\n$check"; 189 print "${pref} 0L);\n$check"; 190 print "${pref} 22L);\n$check"; 191 print "${pref} LO);\n$check"; 192 print "${pref} HI);\n$check"; 197 print "${pref} dep);\n$check"; 200 print "${pref} share);\n$check"; 203 print "${pref} errorbuffer);\n$check"; [all …]
|
/external/angle/src/tests/egl_tests/ |
D | EGLReadinessCheckTest.cpp | 38 auto check = eglGetProcAddress("WigglyWombats"); in TEST_P() local 39 EXPECT_EQ(nullptr, check); in TEST_P() 55 auto check = [&systemInfo](const PlatformParameters ¶ms) { in TEST_P() local 59 check(ES1_OPENGL()); in TEST_P() 60 check(ES2_OPENGL()); in TEST_P() 61 check(ES3_OPENGL()); in TEST_P() 62 check(ES31_OPENGL()); in TEST_P() 64 check(ES1_OPENGLES()); in TEST_P() 65 check(ES2_OPENGLES()); in TEST_P() 66 check(ES3_OPENGLES()); in TEST_P() [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_fnmatch.py | 27 check = self.check_match 28 check('abc', 'abc') 29 check('abc', '?*?') 30 check('abc', '???*') 31 check('abc', '*???') 32 check('abc', '???') 33 check('abc', '*') 34 check('abc', 'ab[cd]') 35 check('abc', 'ab[!de]') 36 check('abc', 'ab[de]', False) [all …]
|
/external/libcxx/test/std/utilities/function.objects/refwrap/ |
D | unwrap_ref_decay.pass.cpp | 25 void check() { in check() function 33 check<T, T>(); in main() 34 check<T&, T>(); in main() 35 check<T const, T>(); in main() 36 check<T const&, T>(); in main() 37 check<T*, T*>(); in main() 38 check<T const*, T const*>(); in main() 39 check<T[3], T*>(); in main() 40 check<T const [3], T const*>(); in main() 41 check<T (), T (*)()>(); in main() [all …]
|
/external/llvm-project/libcxx/test/std/utilities/function.objects/refwrap/ |
D | unwrap_ref_decay.pass.cpp | 26 void check() { in check() function 34 check<T, T>(); in main() 35 check<T&, T>(); in main() 36 check<T const, T>(); in main() 37 check<T const&, T>(); in main() 38 check<T*, T*>(); in main() 39 check<T const*, T const*>(); in main() 40 check<T[3], T*>(); in main() 41 check<T const [3], T const*>(); in main() 42 check<T (), T (*)()>(); in main() [all …]
|
/external/llvm-project/llvm/utils/release/ |
D | build_llvm_package.bat | 63 REM TODO: Run the "check-all" tests. 73 ninja check || ninja check || ninja check || exit /b 74 ninja check-clang || ninja check-clang || ninja check-clang || exit /b 75 ninja check-lld || ninja check-lld || ninja check-lld || exit /b 76 ninja check-sanitizer || ninja check-sanitizer || ninja check-sanitizer || exit /b 77 ninja check-clang-tools || ninja check-clang-tools || ninja check-clang-tools || exit /b 78 ninja check-clangd || ninja check-clangd || ninja check-clangd || exit /b 87 ninja check || ninja check || ninja check || exit /b 88 ninja check-clang || ninja check-clang || ninja check-clang || exit /b 89 ninja check-lld || ninja check-lld || ninja check-lld || exit /b [all …]
|
/external/mesa3d/src/intel/compiler/ |
D | brw_debug_recompile.c | 53 #define check(name, field) \ macro 65 found |= check("gather channel quirk", gather_channel_quirk_mask); in debug_sampler_recompile() 66 found |= check("compressed multisample layout", in debug_sampler_recompile() 68 found |= check("16x msaa", msaa_16); in debug_sampler_recompile() 69 found |= check("y_uv image bound", y_uv_image_mask); in debug_sampler_recompile() 70 found |= check("y_u_v image bound", y_u_v_image_mask); in debug_sampler_recompile() 71 found |= check("yx_xuxv image bound", yx_xuxv_image_mask); in debug_sampler_recompile() 72 found |= check("xy_uxvx image bound", xy_uxvx_image_mask); in debug_sampler_recompile() 73 found |= check("ayuv image bound", ayuv_image_mask); in debug_sampler_recompile() 74 found |= check("xyuv image bound", xyuv_image_mask); in debug_sampler_recompile() [all …]
|
/external/llvm-project/clang/test/CodeGenOpenCL/ |
D | amdgpu-sizeof-alignof.cl | 30 void check(bool); 33 // CHECK-NOT: call void @check(i1 zeroext false) 34 check(sizeof(size_t) == PTSIZE); 35 check(__alignof__(size_t) == PTSIZE); 36 check(sizeof(intptr_t) == PTSIZE); 37 check(__alignof__(intptr_t) == PTSIZE); 38 check(sizeof(uintptr_t) == PTSIZE); 39 check(__alignof__(uintptr_t) == PTSIZE); 40 check(sizeof(ptrdiff_t) == PTSIZE); 41 check(__alignof__(ptrdiff_t) == PTSIZE); [all …]
|
/external/llvm-project/llvm/test/CodeGen/AMDGPU/ |
D | hsa-note-no-func.ll | 1 …mdhsa -mcpu=gfx600 --amdhsa-code-object-version=2 | FileCheck --check-prefix=HSA --check-prefix=HS… 2 …mdhsa -mcpu=gfx601 --amdhsa-code-object-version=2 | FileCheck --check-prefix=HSA --check-prefix=HS… 3 …mdhsa -mcpu=gfx700 --amdhsa-code-object-version=2 | FileCheck --check-prefix=HSA --check-prefix=HS… 4 …mdhsa -mcpu=gfx701 --amdhsa-code-object-version=2 | FileCheck --check-prefix=HSA --check-prefix=HS… 5 …mdhsa -mcpu=gfx702 --amdhsa-code-object-version=2 | FileCheck --check-prefix=HSA --check-prefix=HS… 6 …mdhsa -mcpu=gfx703 --amdhsa-code-object-version=2 | FileCheck --check-prefix=HSA --check-prefix=HS… 7 …mdhsa -mcpu=gfx704 --amdhsa-code-object-version=2 | FileCheck --check-prefix=HSA --check-prefix=HS… 8 …dhsa -mcpu=bonaire --amdhsa-code-object-version=2 | FileCheck --check-prefix=HSA --check-prefix=HS… 9 …dhsa -mcpu=mullins --amdhsa-code-object-version=2 | FileCheck --check-prefix=HSA --check-prefix=HS… 10 …mdhsa -mcpu=hawaii --amdhsa-code-object-version=2 | FileCheck --check-prefix=HSA --check-prefix=HS… [all …]
|