Home
last modified time | relevance | path

Searched refs:check (Results 1 - 25 of 1270) sorted by relevance

12345678910>>...51

/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
H A 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('etex
[all...]
/third_party/node/test/parallel/
H A 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(f
[all...]
H A 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(`
[all...]
/third_party/python/Lib/test/
H A Dtest_fnmatch.py23 check = self.check_match
24 check('abc', 'abc')
25 check('abc', '?*?')
26 check('abc', '???*')
27 check('abc', '*???')
28 check('abc', '???')
29 check('abc', '*')
30 check('abc', 'ab[cd]')
31 check('abc', 'ab[!de]')
32 check('ab
[all...]
H A Dtest_tcl.py278 def check(expr, expected): function
287 check('', '0')
288 check('8.2 + 6', '14.2')
289 check('3.1 + $a', '6.1')
290 check('2 + "$a.$b"', '5.6')
291 check('4*[llength "6 2"]', '8')
292 check('{word one} < "word $a"', '0')
293 check('4*2 < 7', '0')
294 check('hypot($a, 4)', '5.0')
295 check('
312 def check(expr, expected): global() function
343 def check(expr, expected): global() function
374 def check(expr, expected): global() function
412 def check(expr, expected): global() function
496 def check(value, expected=None, *, eq=self.assertEqual): global() function
631 def check(value): global() function
[all...]
H A Dtest_html.py21 def check(text, expected): function
29 # check text with no character references
30 check('no character references', 'no character references')
31 # check & followed by invalid chars
32 check('&\n&\t& &&', '&\n&\t& &&')
33 # check & followed by numbers and letters
34 check('&0 &9 &a &0; &9; &a;', '&0 &9 &a &0; &9; &a;')
35 # check incomplete entities at the end of the string
37 check(x, x)
38 check(
[all...]
H A Dtest_locale.py394 def check(self, localename, expected): member in NormalizeTest
400 self.check(localename, alias)
403 self.check('', '')
406 self.check('c', 'C')
407 self.check('posix', 'C')
410 self.check('en', 'en_US.ISO8859-1')
411 self.check('EN', 'en_US.ISO8859-1')
412 self.check('en.iso88591', 'en_US.ISO8859-1')
413 self.check('en_US', 'en_US.ISO8859-1')
414 self.check('en_u
[all...]
/third_party/node/test/fixtures/wpt/html/webappapis/structured-clone/
H A 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('primitiv
[all...]
/third_party/python/Lib/lib2to3/tests/
H A 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(
3038 def check(self, b, a): global() member in Test_map
3162 def check(self, b, a): global() member in Test_zip
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
H A DEGLReadinessCheckTest.cpp8 // Tests used to check environment in which other tests are run.
38 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_OPENGLE in TEST_P()
[all...]
/third_party/mesa3d/src/intel/compiler/
H A 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("xyu in debug_sampler_recompile()
[all...]
/third_party/rust/crates/cxx/tests/
H A Dtest.rs27 macro_rules! check { macros
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_suit in test_c_take()
[all...]
/third_party/backends/frontend/
H A Dtstbackend.c102 static int check(enum message_level, int condition, const char *format, ...) __attribute__ ((format (printf, 3, 4)));
104 static int check(enum message_level level, int condition, const char *format, ...) in check() function
201 check(FATAL, (*p == GUARD1), in guards_check()
205 check(FATAL, (*p == GUARD2), in guards_check()
218 check(FATAL, (status == SANE_STATUS_GOOD), in test_parameters()
221 check(FATAL, ((p.format == SANE_FRAME_GRAY) || in test_parameters()
228 check(FATAL, ((p.last_frame == SANE_FALSE) || in test_parameters()
232 check(FATAL, ((p.depth == 1) || in test_parameters()
253 check(FATAL, (opt->type == SANE_TYPE_INT || in test_options_word_list()
267 check(FATA in test_options_word_list()
[all...]
/third_party/elfutils/tests/
H A 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_shnu in test()
[all...]
/third_party/node/test/addons/buffer-free-callback/
H A Dtest.js7 function check(size, alignment, offset) { function
12 binding.check(slice);
19 // NOTE: If adding more check() test cases,
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(9
[all...]
/third_party/node/deps/v8/third_party/wasm-api/example/
H A 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(cal in run()
[all...]
H A 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(tabl in run()
[all...]
H A Dmemory.cc27 void check(T actual, U expected) { in check() function
115 check(memory->size(), 2u); in run()
116 check(memory->data_size(), 0x20000u); in run()
117 check(memory->data()[0], 0); in run()
118 check(memory->data()[0x1000], 1); in run()
119 check(memory->data()[0x1003], 4); in run()
121 check(call(size_func), 2); in run()
122 check(call(load_func, 0), 0); in run()
123 check(call(load_func, 0x1000), 1); in run()
124 check(cal in run()
[all...]
H A Dhostref.c113 void check(own wasm_ref_t* actual, const wasm_ref_t* expected) { in check() function
204 check(NULL, NULL); in main()
205 check(wasm_ref_copy(host1), host1); in main()
206 check(wasm_ref_copy(host2), host2); in main()
211 check(wasm_ref_copy(val.of.ref), host1); in main()
213 check(wasm_ref_copy(ref), host1); in main()
218 check(call_v_r(global_get), NULL); in main()
220 check(call_v_r(global_get), host1); in main()
222 check(call_v_r(global_get), host2); in main()
224 check(call_v_ in main()
[all...]
H A Dtable.c38 void check(bool success) { in check() function
47 check((ref != NULL) == expect_set); in check_table()
146 check(wasm_table_size(table) == 2); in main()
155 check(wasm_table_set(table, 0, wasm_func_as_ref(g))); in main()
156 check(wasm_table_set(table, 1, NULL)); in main()
157 check(! wasm_table_set(table, 2, wasm_func_as_ref(f))); in main()
166 check(wasm_table_grow(table, 3, NULL)); in main()
167 check(wasm_table_size(table) == 5); in main()
168 check(wasm_table_set(table, 2, wasm_func_as_ref(f))); in main()
169 check(wasm_table_se in main()
[all...]
/third_party/mesa3d/src/gallium/drivers/r600/sfn/tests/
H A 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(schedul in TEST_F()
272 void TestShaderFromNir::check(Shader *s, const char *expect_orig) check() function in TestShaderFromNir
[all...]
H A 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("AL in TEST_F()
699 void TestInstrFromString::check(const Instr& eval, const Instr& expect) check() function in r600::TestInstrFromString
704 void TestInstrFromString::check(const string& init, const Instr& expect) check() function in r600::TestInstrFromString
[all...]
/third_party/libwebsockets/scripts/
H A 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
[all...]
/third_party/mesa3d/src/amd/compiler/
H A Daco_validate.cpp83 auto check = [&program, &is_valid](bool success, const char* msg, in validate_ir() local
116 /* check base format */ in validate_ir()
140 check(base_format == instr_info.format[(int)instr->opcode], in validate_ir()
143 /* check VOP3 modifiers */ in validate_ir()
145 check(base_format == Format::VOP2 || base_format == Format::VOP1 || in validate_ir()
150 /* check SDWA */ 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(sdw in validate_ir()
504 check(op_bits < data_bits, "Size must be smaller than source", instr.get()); validate_ir() function
[all...]
/third_party/skia/tests/
H A DRefCntTest.cpp83 #define check(reporter, ref, unref, make, kill) \ macro
156 check(reporter, 0, 0, 0, 0); in DEF_TEST()
159 check(reporter, 0, 0, 1, 0); in DEF_TEST()
174 check(reporter, 0, 1, 1, 1); in DEF_TEST()
190 check(reporter, 0, 1, 2, 1); in DEF_TEST()
192 check(reporter, 1, 1, 2, 1); in DEF_TEST()
197 check(reporter, 2, 1, 2, 1); in DEF_TEST()
202 check(reporter, 2, 1, 2, 1); in DEF_TEST()
206 check(reporter, 2, 1, 2, 1); in DEF_TEST()
211 check(reporte in DEF_TEST()
[all...]

Completed in 12 milliseconds

12345678910>>...51