Home
last modified time | relevance | path

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

12345678910>>...168

/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
Dtest_check_spec_links.py37 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/
Dtest-fs-null-bytes.js27 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 …]
Dtest-blocklist.js57 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 …]
Dtest-set-process-debug-port.js11 function check(value, expected) { function
17 check(0, 0);
18 check(kMinPort, kMinPort);
19 check(kMinPort + 1, kMinPort + 1);
20 check(kMaxPort - 1, kMaxPort - 1);
21 check(kMaxPort, kMaxPort);
24 check('0', 0);
25 check(`${kMinPort}`, kMinPort);
26 check(`${kMinPort + 1}`, kMinPort + 1);
27 check(`${kMaxPort - 1}`, kMaxPort - 1);
[all …]
Dtest-inspector-resource-name-to-url.js15 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/python/Lib/lib2to3/tests/
Dtest_fixers.py35 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/node/test/fixtures/wpt/html/webappapis/structured-clone/
Dstructured-clone-battery-of-tests.js5 function check(description, input, callback, requiresDocument = false) { function
64 check('primitive undefined', undefined, compare_primitive);
65 check('primitive null', null, compare_primitive);
66 check('primitive true', true, compare_primitive);
67 check('primitive false', false, compare_primitive);
68 check('primitive string, empty string', '', compare_primitive);
69 check('primitive string, lone high surrogate', '\uD800', compare_primitive);
70 check('primitive string, lone low surrogate', '\uDC00', compare_primitive);
71 check('primitive string, NUL', '\u0000', compare_primitive);
72 check('primitive string, astral character', '\uDBFF\uDFFD', compare_primitive);
[all …]
/third_party/python/Lib/test/
Dtest_fnmatch.py22 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 …]
Dtest_tcl.py292 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 …]
Dtest_html.py21 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 …]
Dtest_locale.py386 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 …]
Dtest_grammar.py195 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/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLReadinessCheckTest.cpp38 auto check = eglGetProcAddress("WigglyWombats"); in TEST_P() local
39 EXPECT_EQ(nullptr, check); in TEST_P()
55 auto check = [&systemInfo](const PlatformParameters &params) { 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/curl/tests/libtest/
Dmk-lib1521.pl240 …my $check = " if(UNEX(res)) {\n err(\"$name\", res, __LINE__);\n goto test_cleanup;\n }\n";
242 print "${pref} \"string\");\n$check";
243 print "${pref} NULL);\n$check";
247 print "${pref} 0L);\n$check";
248 print "${pref} 22L);\n$check";
249 print "${pref} LO);\n$check";
250 print "${pref} HI);\n$check";
255 print "${pref} dep);\n$check";
258 print "${pref} share);\n$check";
261 print "${pref} errorbuffer);\n$check";
[all …]
/third_party/mesa3d/src/intel/compiler/
Dbrw_debug_recompile.c53 #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/
Dtest.rs27 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/
Delfshphehdr.c34 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/
Dattack.sh31 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/ltp/tools/sparse/sparse-src/Documentation/
Dtest-suite.rst11 ``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/pcre2/pcre2/testdata/
Dtestinput265 # 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/mesa3d/src/gallium/drivers/r600/sfn/tests/
Dsfn_instrfromstring_test.cpp31 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 …]
Dsfn_optimizer_test.cpp15 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/
DtopLevelBlockExpando.symbols1 === 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 …]
/third_party/node/deps/v8/third_party/wasm-api/example/
Dglobal.cc27 void check(T actual, U expected) { in check() function
136 check(const_f32_import->get().f32(), 1); in run()
137 check(const_i64_import->get().i64(), 2); in run()
138 check(var_f32_import->get().f32(), 3); in run()
139 check(var_i64_import->get().i64(), 4); in run()
140 check(const_f32_export->get().f32(), 5); in run()
141 check(const_i64_export->get().i64(), 6); in run()
142 check(var_f32_export->get().f32(), 7); in run()
143 check(var_i64_export->get().i64(), 8); in run()
145 check(call(get_const_f32_import).f32(), 1); in run()
[all …]
Dtable.cc37 void check(T actual, U expected) { in check() function
44 void check(bool success) { in check() function
131 check(table->size(), 2u); in run()
132 check(table->get(0) == nullptr); in run()
133 check(table->get(1) != nullptr); in run()
135 check(call(call_indirect, wasm::Val::i32(7), wasm::Val::i32(1)).i32(), 7); in run()
140 check(table->set(0, g)); in run()
141 check(table->set(1, nullptr)); in run()
142 check(! table->set(2, f)); in run()
143 check(table->get(0) != nullptr); in run()
[all …]

12345678910>>...168