Home
last modified time | relevance | path

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

123

/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 …]
Dgl3cTransformFeedbackTests.cpp183 bool is_ok = true; in iterate() local
229is_ok = is_ok && m_program_id_with_input_output && m_program_id_with_output && m_program_id_withou… in iterate()
236 is_ok = is_ok && m_program_id_with_geometry_shader; in iterate()
244 is_ok = is_ok && m_program_id_with_tessellation_shaders; in iterate()
249 is_ok = false; in iterate()
258 is_ok = is_ok && testExtension1(); in iterate()
263 is_ok = is_ok && testExtension2(); in iterate()
268 is_ok = is_ok && testExtension3(); in iterate()
273 is_ok = is_ok && testInstanced(); in iterate()
278 is_ok = false; in iterate()
[all …]
Dgl4cGetTextureSubImageTests.cpp93 bool is_ok = true; in iterate() local
107 is_ok &= testExistingTextureObjectError(); in iterate()
109 is_ok &= testBufferOrMultisampledTargetError(); in iterate()
111 is_ok &= testNegativeOffsetError(); in iterate()
113 is_ok &= testBoundsError(); in iterate()
115 is_ok &= testOneDimmensionalTextureErrors(); in iterate()
117 is_ok &= testTwoDimmensionalTextureErrors(); in iterate()
119 is_ok &= testBufferSizeError(); in iterate()
124 is_ok = false; in iterate()
132 if (is_ok) in iterate()
[all …]
Dgl3cTextureSizePromotion.cpp79 bool is_ok = true; in iterate() local
138 if (is_ok) is_ok = checkSourceTextureSizeAndType(s_formats[i], s_source_texture_targets[j]); in iterate()
156 if (is_ok) is_ok = checkDestinationTexture(s_formats[i], ColorChannelSelector(k), in iterate()
175 is_ok = false; in iterate()
188 if (is_ok) in iterate()
556 bool is_ok = true; in checkSourceTextureSizeAndType() local
558 is_ok = is_ok && (red_size >= descriptor.min_red_size); in checkSourceTextureSizeAndType()
559 is_ok = is_ok && (green_size >= descriptor.min_green_size); in checkSourceTextureSizeAndType()
560 is_ok = is_ok && (blue_size >= descriptor.min_blue_size); in checkSourceTextureSizeAndType()
561 is_ok = is_ok && (alpha_size >= descriptor.min_alpha_size); in checkSourceTextureSizeAndType()
[all …]
Dgl4cContextFlushControlTests.cpp86 bool is_ok = true; in iterate() local
92 is_ok = is_ok && testQuery(m_context.getRenderContext(), GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH); in iterate()
103 is_ok = is_ok && testQuery(*no_flush_context, GL_NONE); in iterate()
113 if (is_ok) in iterate()
250 bool is_ok = true; in iterate() local
262 is_ok = (test_time_no_flush < test_time_flush); in iterate()
271 is_ok = false; in iterate()
276 if (is_ok) in iterate()
Dgl4cSyncTests.cpp103 bool is_ok = false; in iterate() local
174 is_ok = true; in iterate()
199 is_ok = false; in iterate()
228 if (is_ok) in iterate()
Dgl4cES31CompatibilityTests.cpp81 bool is_ok = true; in iterate() local
120 is_ok = false; in iterate()
164 is_ok = false; in iterate()
177 if (is_ok) in iterate()
280 bool is_ok = true; in iterate() local
294 is_ok = false; in iterate()
299 is_ok &= test(); in iterate()
310 is_ok = false; in iterate()
319 if (is_ok) in iterate()
Dgl3cClipDistance.cpp97 bool is_ok = true; in iterate() local
99 is_ok = is_ok && MaxClipDistancesValueTest(gl); in iterate()
100 is_ok = is_ok && EnableDisableTest(gl); in iterate()
101 is_ok = is_ok && MaxClipDistancesValueInVertexShaderTest(gl); in iterate()
102 is_ok = is_ok && MaxClipDistancesValueInFragmentShaderTest(gl); in iterate()
103 is_ok = is_ok && ClipDistancesValuePassing(gl); in iterate()
106 if (is_ok) in iterate()
995 bool is_ok = true; in iterate() local
998 is_ok = is_ok && testClipVertexBuildingErrors(gl); in iterate()
999 is_ok = is_ok && testMaxClipDistancesBuildingErrors(gl); in iterate()
[all …]
Dgl4cConditionalRenderInvertedTests.cpp75 bool is_ok = true; in iterate() local
96 is_ok &= test(modes[i]); in iterate()
102 is_ok = false; in iterate()
110 if (is_ok) in iterate()
243 bool is_ok = true; in iterate() local
304 is_ok = false; in iterate()
309 is_ok = false; in iterate()
320 is_ok = false; in iterate()
330 if (is_ok) in iterate()
/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/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/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/tests/unit-core/
Dtest-api-property.c56 bool is_ok = jerry_get_own_property_descriptor (global_obj_val, prop_name, &prop_desc); in main() local
57 TEST_ASSERT (is_ok); in main()
78 is_ok = jerry_get_own_property_descriptor (proxy, prop_name, &prop_desc); in main()
79 TEST_ASSERT (!is_ok); in main()
94 is_ok = jerry_get_own_property_descriptor (global_obj_val, prop_name, &prop_desc); in main()
95 TEST_ASSERT (is_ok); in main()
Dtest-api.c169 …bool is_ok = jerry_get_object_native_pointer (this_val, &ptr, &JERRY_NATIVE_HANDLE_INFO_FOR_CTYPE … in handler_construct() local
170 TEST_ASSERT (is_ok in handler_construct()
179is_ok = jerry_get_object_native_pointer (this_val, &ptr, &JERRY_NATIVE_HANDLE_INFO_FOR_CTYPE (bind… in handler_construct()
180 TEST_ASSERT (is_ok in handler_construct()
184is_ok = jerry_get_object_native_pointer (this_val, &ptr, &JERRY_NATIVE_HANDLE_INFO_FOR_CTYPE (bind… in handler_construct()
185 TEST_ASSERT (is_ok in handler_construct()
345 bool is_ok; in main() local
358 is_ok = test_run_simple ("throw 'Hello World';"); in main()
359 TEST_ASSERT (!is_ok); in main()
443 is_ok = jerry_value_is_constructor (val_A); in main()
[all …]
/third_party/boost/libs/geometry/test/core/
Dassert.cpp53 bool is_ok(assert_failure_exception const& ) { return true; } in is_ok() function
60 BOOST_CHECK_EXCEPTION(fun1(a == 2), assert_failure_exception, is_ok); in test_main()
62 BOOST_CHECK_EXCEPTION(fun2(a == 2), assert_failure_exception, is_ok); in test_main()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/disjoint_timer_query/
DesextcDisjointTimerQueryHandleReuse.cpp78 bool is_ok = true; in iterate() local
94 is_ok = false; in iterate()
107 if (is_ok) in iterate()
/third_party/jerryscript/tools/
Dcheck-license.py72 is_ok = True
84 is_ok = False
86 if not is_ok:
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dir2.c254 bool is_ok = true; in sched_next() local
265 is_ok &= !p->need_emit; in sched_next()
269 is_ok &= !ctx->instr[src->num].need_emit; in sched_next()
280 is_ok = false; in sched_next()
286 is_ok = false; in sched_next()
288 if (!is_ok) in sched_next()

123