Home
last modified time | relevance | path

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

1234567

/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cDirectStateAccessBuffersTests.cpp95 bool is_ok = true; in iterate() local
114 is_ok = false; in iterate()
132 is_ok = false; in iterate()
143 is_ok = false; in iterate()
170 if (is_ok) in iterate()
226 bool is_ok = true; in iterate() local
250 is_ok &= TestCase(&DataTest::UploadUsingNamedBufferData, hints[i]); in iterate()
251 is_ok &= TestCase(&DataTest::UploadUsingNamedBufferSubData, hints[i]); in iterate()
252 is_ok &= TestCase(&DataTest::UploadUsingCopyNamedBufferSubData, hints[i]); in iterate()
264 is_ok &= TestCase(&DataTest::UploadUsingNamedBufferStorage, bits[i]); in iterate()
[all …]
Dgl4cDirectStateAccessQueriesTests.cpp93 bool is_ok = true; in iterate() local
119 is_ok = false; in iterate()
139 is_ok = false; in iterate()
151 is_ok = false; in iterate()
177 if (is_ok) in iterate()
226 bool is_ok = true; in iterate() local
249 is_ok &= testQueryParameter(GL_QUERY_RESULT, GL_FALSE, target_names[i]); in iterate()
250 is_ok &= testQueryParameter(GL_QUERY_RESULT_AVAILABLE, GL_TRUE, target_names[i]); in iterate()
257 is_ok = false; in iterate()
264 if (is_ok) in iterate()
[all …]
Dgl4cDirectStateAccessVertexArraysTests.cpp95 bool is_ok = true; in iterate() local
114 is_ok = false; in iterate()
132 is_ok = false; in iterate()
143 is_ok = false; in iterate()
170 if (is_ok) in iterate()
229 bool is_ok = true; in iterate() local
243 is_ok &= TurnOnAttributes(true, false); in iterate()
244 is_ok &= DrawAndCheck(false); in iterate()
246 is_ok &= TurnOnAttributes(false, true); in iterate()
247 is_ok &= DrawAndCheck(true); in iterate()
[all …]
Dgl4cDirectStateAccessTexturesTests.cpp98 bool is_ok = true; in iterate() local
129 is_ok = false; in iterate()
149 is_ok = false; in iterate()
161 is_ok = false; in iterate()
191 if (is_ok) in iterate()
1104 bool is_ok = true; in Check() local
1110 is_ok = false; in Check()
1116 return is_ok; in Check()
1288 bool is_ok = true; in iterate() local
1300 is_ok &= Test(use_range); in iterate()
[all …]
Dgl4cDirectStateAccessXFBTests.cpp88 bool is_ok = true; in iterate() local
111 is_ok = false; in iterate()
129 is_ok = false; in iterate()
162 is_ok = false; in iterate()
168 is_ok = false; in iterate()
191 if (is_ok) in iterate()
245 bool is_ok = true; in iterate() local
252 is_ok &= testBuffersBindingPoints(); in iterate()
253 is_ok &= testBuffersDimensions(); in iterate()
254 is_ok &= testActive(); in iterate()
[all …]
Dgl4cDirectStateAccessFramebuffersAndRenderbuffersTests.cpp97 bool is_ok = true; in iterate() local
116 is_ok = false; in iterate()
134 is_ok = false; in iterate()
145 is_ok = false; in iterate()
172 if (is_ok) in iterate()
226 bool is_ok = true; in iterate() local
238 is_ok &= Test(GL_COLOR_ATTACHMENT0 + i, GL_RGBA8); in iterate()
242 is_ok &= Test(GL_DEPTH_ATTACHMENT, GL_DEPTH_COMPONENT24); in iterate()
245 is_ok &= Test(GL_STENCIL_ATTACHMENT, GL_STENCIL_INDEX8); in iterate()
248 is_ok &= Test(GL_DEPTH_STENCIL_ATTACHMENT, GL_DEPTH24_STENCIL8); in iterate()
[all …]
Dgl4cDirectStateAccessProgramPipelinesTests.cpp88 bool is_ok = true; in iterate() local
107 is_ok = false; in iterate()
125 is_ok = false; in iterate()
136 is_ok = false; in iterate()
159 if (is_ok) in iterate()
209 bool is_ok = true; in iterate() local
216 is_ok &= testProgramPipelineParameter(GL_ACTIVE_PROGRAM, 0); in iterate()
217 is_ok &= testProgramPipelineParameter(GL_VERTEX_SHADER, 0); in iterate()
218 is_ok &= testProgramPipelineParameter(GL_GEOMETRY_SHADER, 0); in iterate()
219 is_ok &= testProgramPipelineParameter(GL_FRAGMENT_SHADER, 0); in iterate()
[all …]
Dgl4cDirectStateAccessSamplersTests.cpp88 bool is_ok = true; in iterate() local
106 is_ok = false; in iterate()
117 is_ok = false; in iterate()
133 if (is_ok) in iterate()
182 bool is_ok = true; in iterate() local
191 is_ok &= testSamplerFloatVectorParameter(GL_TEXTURE_BORDER_COLOR, expected_vector); in iterate()
192 is_ok &= testSamplerIntegerParameter(GL_TEXTURE_COMPARE_FUNC, GL_LEQUAL); in iterate()
193 is_ok &= testSamplerIntegerParameter(GL_TEXTURE_COMPARE_MODE, GL_NONE); in iterate()
194 is_ok &= testSamplerFloatParameter(GL_TEXTURE_LOD_BIAS, 0.0); in iterate()
195 is_ok &= testSamplerFloatParameter(GL_TEXTURE_MAX_LOD, 1000); in iterate()
[all …]
/third_party/jerryscript/tests/unit-ext/
Dtest-ext-arg.c135 jerry_value_t is_ok = jerryx_arg_transform_this_and_args (this_val, in test_validator1_handler() local
143 TEST_ASSERT (!jerry_value_is_error (is_ok)); in test_validator1_handler()
151 TEST_ASSERT (!jerry_value_is_error (is_ok)); in test_validator1_handler()
159 TEST_ASSERT (!jerry_value_is_error (is_ok)); in test_validator1_handler()
167 TEST_ASSERT (jerry_value_is_error (is_ok)); in test_validator1_handler()
170 jerry_release_value (is_ok); in test_validator1_handler()
230 jerry_value_t is_ok = jerryx_arg_transform_this_and_args (this_val, in test_validator2_handler() local
238 TEST_ASSERT (!jerry_value_is_error (is_ok)); in test_validator2_handler()
244 TEST_ASSERT (jerry_value_is_error (is_ok)); in test_validator2_handler()
247 jerry_release_value (is_ok); in test_validator2_handler()
[all …]
/third_party/libabigail/tests/
Dtest-read-write.cc253 bool is_ok; member
263 is_ok(true) in test_task()
276 is_ok = false; in perform()
287 is_ok = false; in perform()
310 is_ok = false; in perform()
321 is_ok = false; in perform()
334 is_ok = false; in perform()
340 is_ok = false; in perform()
361 bool is_ok = true; in main() local
387 if (!t->is_ok) in main()
[all …]
Dtest-diff-filter.cc836 bool is_ok; member
842 is_ok(true) in test_task()
876 is_ok = false; in perform()
906 is_ok = false; in perform()
911 is_ok = false; in perform()
938 bool is_ok = true; in main() local
962 if (!t->is_ok) in main()
964 is_ok = false; in main()
973 return !is_ok; in main()
Dtest-diff-dwarf.cc365 bool is_ok = true; in main() local
380 is_ok = false; in main()
402 is_ok = false; in main()
409 is_ok = false; in main()
423 is_ok = false; in main()
436 is_ok = false; in main()
447 is_ok = false; in main()
450 return !is_ok; in main()
Dtest-types-stability.cc66 bool is_ok; member
75 is_ok(true) in test_task()
99 is_ok = false; in perform()
147 bool is_ok = true; in main() local
153 if (!t->is_ok) in main()
155 is_ok = false; in main()
160 return !is_ok; in main()
Dtest-diff-suppr.cc2070 bool is_ok; member
2079 is_ok(true) in test_task()
2112 is_ok = false; in perform()
2148 is_ok = false; in perform()
2151 is_ok = false; in perform()
2217 bool is_ok = true; in main() local
2225 if (!t->is_ok) in main()
2227 is_ok = false; in main()
2236 return !is_ok; in main()
Dtest-diff-pkg.cc1099 bool is_ok; member
1105 is_ok(true) in test_task()
1194 is_ok = false; in perform()
1238 is_ok = false; in perform()
1241 is_ok = false; in perform()
1265 bool is_ok = true; in main() local
1288 if (!t->is_ok) in main()
1290 is_ok = false; in main()
1299 return !is_ok; in main()
/third_party/rust/crates/clap/tests/builder/
Ddefault_vals.rs17 assert!(r.is_ok(), "{}", r.unwrap_err()); in opts()
35 assert!(r.is_ok(), "{}", r.unwrap_err()); in default_has_index()
63 assert!(r.is_ok(), "{}", r.unwrap_err()); in opt_user_override()
81 assert!(r.is_ok(), "{}", r.unwrap_err()); in positionals()
99 assert!(r.is_ok(), "{}", r.unwrap_err()); in positional_user_override()
122 assert!(r.is_ok(), "{}", r.unwrap_err()); in osstr_opts()
139 assert!(r.is_ok(), "{}", r.unwrap_err()); in osstr_opt_user_override()
156 assert!(r.is_ok(), "{}", r.unwrap_err()); in osstr_positionals()
173 assert!(r.is_ok(), "{}", r.unwrap_err()); in osstr_positional_user_override()
194 assert!(r.is_ok(), "{}", r.unwrap_err()); in default_if_arg_present_no_default()
[all …]
Dmultiple_values.rs18 assert!(m.is_ok(), "{}", m.unwrap_err()); in option_long()
44 assert!(m.is_ok(), "{}", m.unwrap_err()); in option_short()
73 assert!(m.is_ok(), "{}", m.unwrap_err()); in option_mixed()
100 assert!(m.is_ok(), "{}", m.unwrap_err()); in option_exact_exact()
124 assert!(m.is_ok(), "{}", m.unwrap_err()); in option_exact_exact_not_mult()
151 assert!(m.is_ok(), "{}", m.unwrap_err()); in option_exact_exact_mult()
210 assert!(m.is_ok(), "{}", m.unwrap_err()); in option_min_exact()
252 assert!(m.is_ok(), "{}", m.unwrap_err()); in option_short_min_more_mult_occurs()
279 assert!(m.is_ok(), "{}", m.unwrap_err()); in option_short_min_more_single_occur()
306 assert!(m.is_ok(), "{}", m.unwrap_err()); in option_max_exact()
[all …]
Darg_aliases_short.rs16 assert!(a.is_ok(), "{}", a.unwrap_err()); in single_short_alias_of_option()
37 assert!(long.is_ok(), "{}", long.unwrap_err()); in multiple_short_aliases_of_option()
41 assert!(als1.is_ok(), "{}", als1.unwrap_err()); in multiple_short_aliases_of_option()
45 assert!(als2.is_ok(), "{}", als2.unwrap_err()); in multiple_short_aliases_of_option()
49 assert!(als3.is_ok(), "{}", als3.unwrap_err()); in multiple_short_aliases_of_option()
92 assert!(a.is_ok(), "{}", a.unwrap_err()); in single_short_alias_of_flag()
107 assert!(flag.is_ok(), "{}", flag.unwrap_err()); in multiple_short_aliases_of_flag()
111 assert!(als1.is_ok(), "{}", als1.unwrap_err()); in multiple_short_aliases_of_flag()
115 assert!(als2.is_ok(), "{}", als2.unwrap_err()); in multiple_short_aliases_of_flag()
119 assert!(als3.is_ok(), "{}", als3.unwrap_err()); in multiple_short_aliases_of_flag()
Darg_aliases.rs16 assert!(a.is_ok(), "{}", a.unwrap_err()); in single_alias_of_option()
37 assert!(long.is_ok(), "{}", long.unwrap_err()); in multiple_aliases_of_option()
43 assert!(als1.is_ok(), "{}", als1.unwrap_err()); in multiple_aliases_of_option()
49 assert!(als2.is_ok(), "{}", als2.unwrap_err()); in multiple_aliases_of_option()
55 assert!(als3.is_ok(), "{}", als3.unwrap_err()); in multiple_aliases_of_option()
129 assert!(a.is_ok(), "{}", a.unwrap_err()); in single_alias_of_flag()
144 assert!(flag.is_ok(), "{}", flag.unwrap_err()); in multiple_aliases_of_flag()
148 assert!(inv.is_ok(), "{}", inv.unwrap_err()); in multiple_aliases_of_flag()
152 assert!(cool.is_ok(), "{}", cool.unwrap_err()); in multiple_aliases_of_flag()
156 assert!(als.is_ok(), "{}", als.unwrap_err()); in multiple_aliases_of_flag()
Dopts.rs51 assert!(res.is_ok(), "{}", res.unwrap_err()); in require_equals_min_values_zero()
67 assert!(res.is_ok(), "{:?}", res); in double_hyphen_as_value()
100 assert!(res.is_ok(), "{}", res.unwrap_err()); in require_equals_empty_vals_pass()
113 assert!(res.is_ok(), "{}", res.unwrap_err()); in require_equals_pass()
121 assert!(r.is_ok(), "{}", r.unwrap_err()); in stdin_char()
135 assert!(r.is_ok(), "{}", r.unwrap_err()); in opts_using_short()
183 assert!(r.is_ok(), "{}", r.unwrap_err()); in lots_o_vals()
197 assert!(r.is_ok(), "{}", r.unwrap_err()); in opts_using_long_space()
219 assert!(r.is_ok(), "{}", r.unwrap_err()); in opts_using_long_equals()
241 assert!(r.is_ok(), "{}", r.unwrap_err()); in opts_using_mixed()
[all …]
/third_party/rust/crates/io-lifetimes/tests/
Dapi.rs20 let _ = (&*view).read(&mut buf).is_ok(); in use_file()
21 let _ = (&*view).write(&buf).is_ok(); in use_file()
30 let _ = (&*view).read(&mut buf).is_ok(); in use_file()
31 let _ = (&*view).write(&buf).is_ok(); in use_file()
41 let _ = (&*view).read(&mut buf).is_ok(); in use_socket()
42 let _ = (&*view).write(&buf).is_ok(); in use_socket()
51 let _ = (&*view).read(&mut buf).is_ok(); in use_socket()
52 let _ = (&*view).write(&buf).is_ok(); in use_socket()
62 let _ = (&*view).read(&mut buf).is_ok(); in from_file()
63 let _ = (&*view).write(&buf).is_ok(); in from_file()
[all …]
/third_party/skia/third_party/externals/brotli/c/tools/
Dbrotli.c753 BROTLI_BOOL is_ok = OpenInputFile(context->current_input_path, &context->fin); in OpenFiles() local
754 if (!context->test_integrity && is_ok) { in OpenFiles()
755 is_ok = OpenOutputFile( in OpenFiles()
758 return is_ok; in OpenFiles()
762 BROTLI_BOOL is_ok = BROTLI_TRUE; in CloseFiles() local
772 is_ok = BROTLI_FALSE; in CloseFiles()
776 if (success && is_ok && context->copy_stat) { in CloseFiles()
783 if (is_ok) { in CloseFiles()
787 is_ok = BROTLI_FALSE; in CloseFiles()
797 return is_ok; in CloseFiles()
[all …]
/third_party/jerryscript/targets/mbedos5/jerryscript-mbed/jerryscript-mbed-library-registry/source/
Dwrap_tools.cpp24 bool is_ok = true; in jsmbed_wrap_register_global_function() local
28 is_ok = false; in jsmbed_wrap_register_global_function()
32 return is_ok; in jsmbed_wrap_register_global_function()
36 is_ok = false; in jsmbed_wrap_register_global_function()
40 return is_ok; in jsmbed_wrap_register_global_function()
49 is_ok = false; in jsmbed_wrap_register_global_function()
58 return is_ok; in jsmbed_wrap_register_global_function()
/third_party/rust/crates/clap/tests/derive/
Dissues.rs25 assert!(Cli::try_parse_from(["test", "--foo=v1"]).is_ok()); in issue_151_groups_within_subcommands()
26 assert!(Cli::try_parse_from(["test", "--bar=v2"]).is_ok()); in issue_151_groups_within_subcommands()
28 assert!(Cli::try_parse_from(["test", "--foo=v1", "--bar=v2"]).is_ok()); in issue_151_groups_within_subcommands()
49 assert!(Args::try_parse_from(["test", "some-command", "test-command"]).is_ok()); in issue_289()
50 assert!(Args::try_parse_from(["test", "some", "test-command"]).is_ok()); in issue_289()
51 assert!(Args::try_parse_from(["test", "some-command", "test"]).is_ok()); in issue_289()
52 assert!(Args::try_parse_from(["test", "some", "test"]).is_ok()); in issue_289()
/third_party/rust/crates/rustix/
Dbuild.rs28 let asm_name_present = std::fs::metadata(&asm_name).is_ok(); in main()
43 let feature_use_libc = var("CARGO_FEATURE_USE_LIBC").is_ok(); in main()
49 let feature_rustc_dep_of_std = var("CARGO_FEATURE_RUSTC_DEP_OF_STD").is_ok(); in main()
53 let cfg_use_libc = var("CARGO_CFG_RUSTIX_USE_LIBC").is_ok(); in main()
58 let rustix_use_experimental_asm = var("CARGO_CFG_RUSTIX_USE_EXPERIMENTAL_ASM").is_ok(); in main()
62 let miri = var("CARGO_CFG_MIRI").is_ok(); in main()
135 if std::fs::metadata(".git").is_ok() { in link_in_librustix_outline()
140 prev_metadata.is_ok(), in link_in_librustix_outline()

1234567