Home
last modified time | relevance | path

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

12345678910>>...17

/external/deqp/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 …]
/external/rust/crates/tokio-util/tests/
Dframed_write.rs64 assert!(assert_ready!(pin!(framed).poll_ready(cx)).is_ok()); in write_multi_frame_in_packet()
65 assert!(pin!(framed).start_send(0).is_ok()); in write_multi_frame_in_packet()
66 assert!(assert_ready!(pin!(framed).poll_ready(cx)).is_ok()); in write_multi_frame_in_packet()
67 assert!(pin!(framed).start_send(1).is_ok()); in write_multi_frame_in_packet()
68 assert!(assert_ready!(pin!(framed).poll_ready(cx)).is_ok()); in write_multi_frame_in_packet()
69 assert!(pin!(framed).start_send(2).is_ok()); in write_multi_frame_in_packet()
75 assert!(assert_ready!(pin!(framed).poll_flush(cx)).is_ok()); in write_multi_frame_in_packet()
90 assert!(assert_ready!(pin!(framed).poll_ready(cx)).is_ok()); in write_multi_frame_after_codec_changed()
91 assert!(pin!(framed).start_send(0x04).is_ok()); in write_multi_frame_after_codec_changed()
94 assert!(assert_ready!(pin!(framed).poll_ready(cx)).is_ok()); in write_multi_frame_after_codec_changed()
[all …]
/external/libabigail/tests/
Dtest-read-write.cc256 bool is_ok; member
266 is_ok(true) in test_task()
279 is_ok = false; in perform()
290 is_ok = false; in perform()
313 is_ok = false; in perform()
324 is_ok = false; in perform()
337 is_ok = false; in perform()
343 is_ok = false; in perform()
364 bool is_ok = true; in main() local
390 if (!t->is_ok) in main()
[all …]
Dtest-diff-filter.cc829 bool is_ok; member
835 is_ok(true) in test_task()
869 is_ok = false; in perform()
899 is_ok = false; in perform()
904 is_ok = false; in perform()
928 bool is_ok = true; in main() local
952 if (!t->is_ok) in main()
954 is_ok = false; in main()
963 return !is_ok; in main()
Dtest-diff-dwarf.cc364 bool is_ok = true; in main() local
379 is_ok = false; in main()
405 is_ok = false; in main()
412 is_ok = false; in main()
426 is_ok = false; in main()
439 is_ok = false; in main()
450 is_ok = false; in main()
453 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.cc778 bool is_ok; member
784 is_ok(true) in test_task()
873 is_ok = false; in perform()
917 is_ok = false; in perform()
920 is_ok = false; in perform()
944 bool is_ok = true; in main() local
967 if (!t->is_ok) in main()
969 is_ok = false; in main()
978 return !is_ok; in main()
/external/pigweed/third_party/fuchsia/repo/sdk/lib/fit/include/lib/fit/
Dresult.h275 constexpr bool is_ok() const { return storage_.state == ::fit::internal::state_e::has_value; } in is_ok() function
321 if (is_ok()) { in value()
327 if (is_ok()) { in value()
333 if (is_ok()) { in value()
339 if (is_ok()) { in value()
350 if (is_ok()) { in take_value()
361 if (is_ok()) { in value_or()
368 if (is_ok()) { in value_or()
379 if (is_ok()) {
385 if (is_ok()) {
[all …]
/external/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 …]
/external/rust/crates/pkcs1/tests/
Dparams.rs28 .is_ok()); in decode_pss_param()
33 .is_ok()); in decode_pss_param()
64 .is_ok()); in decode_pss_param_default()
69 .is_ok()); in decode_pss_param_default()
100 .is_ok()); in decode_oaep_param()
105 .is_ok()); in decode_oaep_param()
118 .is_ok()); in decode_oaep_param()
142 .is_ok()); in decode_oaep_param_default()
147 .is_ok()); in decode_oaep_param_default()
160 .is_ok()); in decode_oaep_param_default()
/external/rust/crates/macaddr/src/parser/
Dtests.rs15 assert!(addr.is_ok()); in test_parse_v6_upper_case_canonical_format()
25 assert!(addr.is_ok()); in test_parse_v6_lower_case_canonical_format()
35 assert!(addr.is_ok()); in test_parse_v6_mixed_case_canonical_format()
45 assert!(addr.is_ok()); in test_parse_v6_colon_format()
55 assert!(addr.is_ok()); in test_parse_v6_cisco_format()
65 assert!(addr.is_ok()); in test_parse_v8_canonical_format()
75 assert!(addr.is_ok()); in test_parse_v8_colon_format()
85 assert!(addr.is_ok()); in test_parse_canonical_format()
95 assert!(addr.is_ok()); in test_parse_colon_format()
/external/cronet/third_party/brotli/tools/
Dbrotli.c836 BROTLI_BOOL is_ok = OpenInputFile(context->current_input_path, &context->fin); in OpenFiles() local
837 if (!context->test_integrity && is_ok) { in OpenFiles()
838 is_ok = OpenOutputFile( in OpenFiles()
841 return is_ok; in OpenFiles()
845 BROTLI_BOOL is_ok = BROTLI_TRUE; in CloseFiles() local
855 is_ok = BROTLI_FALSE; in CloseFiles()
859 if (success && is_ok && context->copy_stat) { in CloseFiles()
866 if (is_ok) { in CloseFiles()
870 is_ok = BROTLI_FALSE; in CloseFiles()
880 return is_ok; in CloseFiles()
[all …]
/external/rust/crates/quiche/src/
Dcrypto.rs721 derive_client_initial_secret(&initial_secret, &mut secret).is_ok() in derive_initial_secrets_v1()
730 assert!(derive_pkt_key(aead, &secret, &mut pkt_key).is_ok()); in derive_initial_secrets_v1()
737 assert!(derive_pkt_iv(aead, &secret, &mut pkt_iv).is_ok()); in derive_initial_secrets_v1()
744 assert!(derive_hdr_key(aead, &secret, &mut hdr_key).is_ok()); in derive_initial_secrets_v1()
753 derive_server_initial_secret(&initial_secret, &mut secret).is_ok() in derive_initial_secrets_v1()
762 assert!(derive_pkt_key(aead, &secret, &mut pkt_key).is_ok()); in derive_initial_secrets_v1()
769 assert!(derive_pkt_iv(aead, &secret, &mut pkt_iv).is_ok()); in derive_initial_secrets_v1()
776 assert!(derive_hdr_key(aead, &secret, &mut hdr_key).is_ok()); in derive_initial_secrets_v1()
800 derive_client_initial_secret(&initial_secret, &mut secret).is_ok() in derive_initial_secrets_draft29()
809 assert!(derive_pkt_key(aead, &secret, &mut pkt_key).is_ok()); in derive_initial_secrets_draft29()
[all …]
/external/rust/crates/crossbeam-channel/benches/
Dcrossbeam.rs48 while r1.recv().is_ok() { in par_inout()
80 while r1.recv().is_ok() { in spsc()
111 while r1.recv().is_ok() { in spmc()
147 while r1.recv().is_ok() { in mpsc()
183 while r1.recv().is_ok() { in mpmc()
193 while r1.recv().is_ok() { in mpmc()
228 while r1.recv().is_ok() { in spsc()
259 while r1.recv().is_ok() { in spmc()
295 while r1.recv().is_ok() { in mpsc()
331 while r1.recv().is_ok() { in par_inout()
[all …]
/external/rust/beto-rust/nearby/crypto/crypto_provider/src/aes/
Dgcm_siv.rs76 assert!(aes.encrypt(&mut buf, b"", &nonce).is_ok()); in aes_128_gcm_siv_test()
83 assert!(aes.encrypt(&mut buf, b"", &nonce).is_ok()); in aes_128_gcm_siv_test()
86 assert!(aes.decrypt(&mut buf, b"", &nonce).is_ok()); in aes_128_gcm_siv_test()
102 assert!(aes.encrypt(&mut buf, b"", &nonce).is_ok()); in aes_256_gcm_siv_test()
105 assert!(aes.decrypt(&mut buf, b"", &nonce).is_ok()); in aes_256_gcm_siv_test()
112 assert!(aes.encrypt(&mut buf, b"", &nonce).is_ok()); in aes_256_gcm_siv_test()
115 assert!(aes.decrypt(&mut buf, b"", &nonce).is_ok()); in aes_256_gcm_siv_test()
/external/crosvm/crosvm_control/src/
Dlib.rs54 vms_request(&VmRequest::Exit, &socket_path).is_ok() in crosvm_client_stop_vm()
69 vms_request(&VmRequest::Suspend, &socket_path).is_ok() in crosvm_client_suspend_vm()
84 vms_request(&VmRequest::Resume, &socket_path).is_ok() in crosvm_client_resume_vm()
99 vms_request(&VmRequest::MakeRT, &socket_path).is_ok() in crosvm_client_make_rt_vm()
116 vms_request(&VmRequest::BalloonCommand(command), &socket_path).is_ok() in crosvm_client_balloon_vms()
131 vms_request(&VmRequest::Swap(SwapCommand::Enable), &socket_path).is_ok() in crosvm_client_swap_enable_vm()
147 vms_request(&VmRequest::Swap(SwapCommand::SwapOut), &socket_path).is_ok() in crosvm_client_swap_swapout_vm()
162 vms_request(&VmRequest::Swap(SwapCommand::Disable), &socket_path).is_ok() in crosvm_client_swap_disable_vm()
293 do_usb_detach(&socket_path, port).is_ok() in crosvm_client_usb_detach()
327 .is_ok() in crosvm_client_modify_battery()
[all …]
/external/tensorflow/tensorflow/python/distribute/experimental/rpc/
Drpc_ops_test.py121 self.assertAllEqual(mul_or.is_ok(), True)
130 self.assertAllEqual(mul_or.is_ok(), True)
135 self.assertAllEqual(mul_or.is_ok(), True)
178 self.assertAllEqual(mul_or.is_ok(), True)
186 self.assertAllEqual(add_or.is_ok(), True)
195 self.assertAllEqual(mul_or.is_ok(), True)
220 self.assertAllEqual(mul_or.is_ok(), True)
293 self.assertAllEqual(result_or.is_ok(), True)
297 self.assertTrue(result_or.is_ok())
301 self.assertAllEqual(result_or.is_ok(), True)
[all …]

12345678910>>...17