/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/ |
D | test_check_spec_links.py | 37 def check(self, string): member in CheckerWrapper 90 assert(ckr.check('with %s by' % PROTO).numDiagnostics() == 1) 94 assert(not ckr.check('<<%s' % PROTO).messages) 96 assert(not ckr.check('%s>>' % PROTO).messages) 97 assert(not ckr.check( 104 assert(ckr.check('flink:abcd').numDiagnostics() == 1) 111 assert(ckr.check('*flink:abcd*').numErrors() == 1) 117 assert(ckr.check('basetype:uint32_t').numErrors() == 1) 120 assert(ckr.check('code:uint32_t').numErrors() == 0) 148 assert(ckr.check('etext:API_ENUM_').numDiagnostics() == 0) [all …]
|
/third_party/node/test/parallel/ |
D | test-fs-null-bytes.js | 27 function check(async, sync) { function 54 check(fs.access, fs.accessSync, 'foo\u0000bar'); 55 check(fs.access, fs.accessSync, 'foo\u0000bar', fs.F_OK); 56 check(fs.appendFile, fs.appendFileSync, 'foo\u0000bar', 'abc'); 57 check(fs.chmod, fs.chmodSync, 'foo\u0000bar', '0644'); 58 check(fs.chown, fs.chownSync, 'foo\u0000bar', 12, 34); 59 check(fs.copyFile, fs.copyFileSync, 'foo\u0000bar', 'abc'); 60 check(fs.copyFile, fs.copyFileSync, 'abc', 'foo\u0000bar'); 61 check(fs.lchown, fs.lchownSync, 'foo\u0000bar', 12, 34); 62 check(fs.link, fs.linkSync, 'foo\u0000bar', 'foobar'); [all …]
|
D | test-blocklist.js | 57 assert(blockList.check('1.1.1.1')); 58 assert(!blockList.check('1.1.1.1', 'ipv6')); 59 assert(!blockList.check('8592:757c:efae:4e45:fb5d:d62a:0d00:8e17')); 60 assert(blockList.check('8592:757c:efae:4e45:fb5d:d62a:0d00:8e17', 'ipv6')); 62 assert(blockList.check('::ffff:1.1.1.1', 'ipv6')); 63 assert(blockList.check('::ffff:1.1.1.1', 'IPV6')); 65 assert(blockList.check('1.1.1.2')); 67 assert(!blockList.check('1.2.3.4')); 68 assert(!blockList.check('::1', 'ipv6')); 84 assert(blockList.check('1.1.1.1')); [all …]
|
/third_party/python/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 …]
|
/third_party/python/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_tcl.py | 292 def check(expr, expected): function 301 check('', '0') 302 check('8.2 + 6', '14.2') 303 check('3.1 + $a', '6.1') 304 check('2 + "$a.$b"', '5.6') 305 check('4*[llength "6 2"]', '8') 306 check('{word one} < "word $a"', '0') 307 check('4*2 < 7', '0') 308 check('hypot($a, 4)', '5.0') 309 check('5 / 4', '1') [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_locale.py | 386 def check(self, localename, expected): member in NormalizeTest 392 self.check(localename, alias) 395 self.check('', '') 398 self.check('c', 'C') 399 self.check('posix', 'C') 402 self.check('en', 'en_US.ISO8859-1') 403 self.check('EN', 'en_US.ISO8859-1') 404 self.check('en.iso88591', 'en_US.ISO8859-1') 405 self.check('en_US', 'en_US.ISO8859-1') 406 self.check('en_us', 'en_US.ISO8859-1') [all …]
|
D | test_grammar.py | 195 check = self.check_syntax_error 196 check("0b12", "invalid digit '2' in binary literal") 197 check("0b1_2", "invalid digit '2' in binary literal") 198 check("0b2", "invalid digit '2' in binary literal") 199 check("0b1_", "invalid binary literal") 200 check("0b", "invalid binary literal") 201 check("0o18", "invalid digit '8' in octal literal") 202 check("0o1_8", "invalid digit '8' in octal literal") 203 check("0o8", "invalid digit '8' in octal literal") 204 check("0o1_", "invalid octal literal") [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/egl_tests/ |
D | EGLSanityCheckTest.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 …]
|
/third_party/skia/third_party/externals/angle2/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 …]
|
/third_party/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 …]
|
/third_party/rust/crates/cxx/tests/ |
D | test.rs | 27 macro_rules! check { macro 121 check!(ffi::c_take_primitive(2020)); in test_c_take() 122 check!(ffi::c_take_shared(ffi::Shared { z: 2020 })); in test_c_take() 123 check!(ffi::c_take_ns_shared(ffi::AShared { z: 2020 })); in test_c_take() 124 check!(ffi::ns_c_take_ns_shared(ffi::AShared { z: 2020 })); in test_c_take() 125 check!(ffi::c_take_nested_ns_shared(ffi::ABShared { z: 2020 })); in test_c_take() 126 check!(ffi::c_take_box(Box::new(R(2020)))); in test_c_take() 127 check!(ffi::c_take_ref_c(&unique_ptr)); in test_c_take() 128 check!(ffi2::c_take_ref_ns_c(&unique_ptr_ns)); in test_c_take() 129 check!(cxx_test_suite::module::ffi::c_take_unique_ptr(unique_ptr)); in test_c_take() [all …]
|
/third_party/elfutils/tests/ |
D | elfshphehdr.c | 34 check (const char *msg, bool statement) in check() function 70 check ("e_shnum == 0", ehdr.e_shnum == 0); in test() 71 check ("e_phnum == 0", ehdr.e_phnum == 0); in test() 72 check ("e_shoff == 0", ehdr.e_shoff == 0); in test() 73 check ("e_phoff == 0", ehdr.e_phoff == 0); in test() 77 check ("shnum == 0", shnum == 0); in test() 81 check ("phnum == 0", phnum == 0); in test() 93 check ("EI_DATA", ehdr.e_ident[EI_DATA] != ELFDATANONE); in test() 94 check ("e_version", ehdr.e_version == EV_CURRENT); in test() 97 check ("e_shnum == 0", ehdr.e_shnum == 0); in test() [all …]
|
/third_party/libwebsockets/scripts/ |
D | attack.sh | 31 function check { function 142 check 149 check 1 "UPDATE_SETTINGS=1" 150 check 2 "Root_Channels_1_Channel_name_http_post=?" 151 check 3 "Root_Channels_1_Channel_location_http_post=?" 152 check 158 check 1 "key1=value1" 159 check 165 check 0 "/t=est" 166 check 1 "key1_2=value1" [all …]
|
/third_party/pcre2/pcre2/testdata/ |
D | testinput26 | 5 # Base script check 12 # Script extension check 30 # Base script check 37 # Script extension check 55 # Base script check 62 # Script extension check 80 # Base script check 87 # Script extension check 105 # Base script check 112 # Script extension check [all …]
|
/third_party/ltp/tools/sparse/sparse-src/Documentation/ |
D | test-suite.rst | 11 ``check-name:`` *name* 15 ``check-description:`` *description ...* 19 ``check-command:`` *command arg ...* 23 of the library. check-command allows you to give a custom command to 29 ``check-arch-ignore:`` *arch[|...]* 31 ``check-arch-only:`` *arch[|...]* 36 ``check-assert:`` *condition* 41 ``check-cpp-if:`` *condition* 46 ``check-exit-value:`` *value* 48 The expected exit value of check-command. It defaults to 0. [all …]
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/tests/ |
D | sfn_instrfromstring_test.cpp | 31 void check(const Instr& eval, const Instr& expect); 32 void check(const string& init, const Instr& expect); 47 check("ALU MOV R2000.y : R1999.x {WL}", expect); in TEST_F() 57 check("ALU LDS READ_RET __.x : R1999.x {}", expect); in TEST_F() 68 check("ALU MOV R2000.y : L[0x10] {WL}", expect); in TEST_F() 80 check("ALU MOV R2000.y : -R1999.x {WL}", expect); in TEST_F() 91 check("ALU MOV R2000.y : |R1999.x| {WL}", expect); in TEST_F() 101 check("ALU MOV R2000.y : -|R1999.x| {W}", expect); in TEST_F() 114 check("ALU ADD __.y : R1999.w R1998.z {L}", expect); in TEST_F() 127 check("ALU ADD CLAMP __.y : R1999.w R1998.z {L}", expect); in TEST_F() [all …]
|
D | sfn_optimizer_test.cpp | 15 void check(Shader *s, const char *expect_str); 25 check(sh, red_triangle_fs_expect_from_nir_dce); in TEST_F() 33 check(sh, add_add_1_expect_from_nir_copy_prop_fwd); in TEST_F() 41 check(sh, add_add_1_expect_from_nir_copy_prop_fwd_dce); in TEST_F() 49 check(sh, add_add_1_expect_from_nir_copy_prop_fwd_dce_bwd); in TEST_F() 67 check(sh, basic_interpolation_expect_from_nir_opt); in TEST_F() 84 check(sh, shader_group_chan_pin_combined); in TEST_F() 94 check(sh, vs_nexted_loop_from_nir_expect_opt); in TEST_F() 102 check(sh, shader_with_dest_array_opt_expect); in TEST_F() 108 check(schedule(sh), shader_with_dest_array_opt_scheduled); in TEST_F() [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | topLevelBlockExpando.symbols | 1 === tests/cases/compiler/check.ts === 8 >Person : Symbol(Person, Decl(check.ts, 0, 0)) 11 >first : Symbol(Person.first, Decl(check.ts, 5, 18)) 14 >last : Symbol(Person.last, Decl(check.ts, 6, 16)) 19 >dice : Symbol(dice, Decl(check.ts, 11, 7)) 28 >dice.first : Symbol(dice.first, Decl(check.ts, 11, 51)) 29 >dice : Symbol(dice, Decl(check.ts, 11, 7)) 30 >first : Symbol(dice.first, Decl(check.ts, 11, 51)) 33 >dice.last : Symbol(dice.last, Decl(check.ts, 12, 23)) 34 >dice : Symbol(dice, Decl(check.ts, 11, 7)) [all …]
|
D | assertionsAndNonReturningFunctions.types | 2 /** @typedef {(check: boolean) => asserts check} AssertFunc */ 5 const assert = check => { 7 >check => { if (!check) throw new Error();} : (check: boolean) => asserts check 8 >check : boolean 10 if (!check) throw new Error(); 11 >!check : boolean 12 >check : boolean 34 * @param {boolean} check 35 * @returns {asserts check} 37 function assert2(check) { [all …]
|
/third_party/node/test/sequential/ |
D | test-inspector-resource-name-to-url.js | 15 await check('http://example.com', 'http://example.com'); 16 await check(undefined, 'evalmachine.<anonymous>'); 17 await check('file:///foo.js', 'file:///foo.js'); 18 await check('file:///foo.js', 'file:///foo.js'); 19 await check('foo.js', 'foo.js'); 20 await check('[eval]', '[eval]'); 21 await check('%.js', '%.js'); 24 await check('C:\\foo.js', 'file:///C:/foo.js'); 25 await check('C:\\a\\b\\c\\foo.js', 'file:///C:/a/b/c/foo.js'); 26 await check('a:\\%.js', 'file:///a:/%25.js'); [all …]
|
/third_party/node/test/addons/buffer-free-callback/ |
D | test.js | 7 function check(size, alignment, offset) { function 12 binding.check(slice); 23 check(64, 1, 0); 26 check(97, 1, 1); 29 check(64, 8, 0); 30 check(64, 16, 0); 31 check(64, 8, 1); 32 check(64, 16, 1); 33 check(97, 8, 3); 34 check(97, 16, 3); [all …]
|
/third_party/mesa3d/src/amd/compiler/ |
D | aco_validate.cpp | 83 auto check = [&program, &is_valid](bool success, const char* msg, in validate_ir() local 140 check(base_format == instr_info.format[(int)instr->opcode], in validate_ir() 145 check(base_format == Format::VOP2 || base_format == Format::VOP1 || in validate_ir() 152 check(base_format == Format::VOP2 || base_format == Format::VOP1 || in validate_ir() 156 check(program->gfx_level >= GFX8, "SDWA is GFX8 to GFX10.3 only", instr.get()); in validate_ir() 157 check(program->gfx_level < GFX11, "SDWA is GFX8 to GFX10.3 only", instr.get()); in validate_ir() 160 check(sdwa.omod == 0 || program->gfx_level >= GFX9, "SDWA omod only supported on GFX9+", in validate_ir() 163 check(sdwa.clamp == false || program->gfx_level == GFX8, in validate_ir() 165 check((instr->definitions[0].isFixed() && instr->definitions[0].physReg() == vcc) || in validate_ir() 170 check(def.bytes() <= 4, "SDWA definitions must not be larger than 4 bytes", in validate_ir() [all …]
|
/third_party/ltp/tools/sparse/sparse-src/validation/ |
D | test-suite | 97 check-name:) check_name="$val" ;; 98 check-command:) check_command="$val" ;; 99 check-exit-value:) check_exit_value="$val" ;; 100 check-timeout:) [ -z "$val" ] && val=1 102 check-known-to-fail) check_known_to_fail=1 ;; 103 check-error-ignore) check_error_ignore=1 ;; 104 check-output-ignore) check_output_ignore=1 ;; 105 check-output-contains:) check_output_contains=1 ;; 106 check-output-excludes:) check_output_excludes=1 ;; 107 check-output-pattern) check_output_pattern=1 ;; [all …]
|