Home
last modified time | relevance | path

Searched refs:expect (Results 501 - 525 of 762) sorted by relevance

1...<<2122232425262728293031

/third_party/skia/third_party/externals/tint/src/reader/wgsl/
H A Dparser_impl.cc371 if (!expect("variable declaration", Token::Type::kSemicolon)) in expect_global_decl()
383 if (!expect("let declaration", Token::Type::kSemicolon)) in expect_global_decl()
395 if (!expect("type alias", Token::Type::kSemicolon)) in expect_global_decl()
407 if (!expect("struct declaration", Token::Type::kSemicolon)) in expect_global_decl()
617 if (!expect("access control", Token::Type::kComma)) { in texture_sampler_types()
907 if (!expect(use, Token::Type::kColon)) in expect_variable_ident_decl()
987 if (!expect(use, Token::Type::kEqual)) in type_alias()
1116 if (!expect(use, Token::Type::kComma)) { in expect_type_decl_pointer()
1331 if (!expect("struct member", Token::Type::kSemicolon)) in expect_struct_member()
1698 if (stmt.matched && !expect(stm in non_block_statement()
[all...]
/third_party/rust/crates/clap/examples/tutorial_builder/
H A D05_01_assert.rs9 .expect("'PORT' is required and parsing will fail if its missing"); in main()
H A D04_02_validate.rs17 .expect("'PORT' is required and parsing will fail if its missing"); in main()
/third_party/rust/crates/io-lifetimes/examples/
H A Deasy-conversions.rs15 .expect("failed to execute child"); in main()
/third_party/rust/crates/nix/test/sys/
H A Dtest_pthread.rs21 .expect("Should be able to send signal to my thread."); in test_pthread_kill_none()
H A Dtest_signalfd.rs21 raise(signal::SIGUSR1).expect("Error: raise(SIGUSR1) failed"); in test_signalfd()
/third_party/rust/crates/nix/test/
H A Dtest_net.rs18 if_nametoindex(LOOPBACK).expect("assertion failed"); in test_if_nametoindex()
/third_party/rust/crates/nix/src/sys/
H A Dsignal.rs1188 .expect("Failed to get existing signal mask!"); in test_thread_signal_set_mask()
1193 test_mask.thread_set_mask().expect("assertion failed"); in test_thread_signal_set_mask()
1195 SigSet::thread_get_mask().expect("Failed to get new mask!"); in test_thread_signal_set_mask()
1202 .expect("Failed to revert signal mask!"); in test_thread_signal_set_mask()
1215 mask.thread_block().expect("assertion failed"); in test_thread_signal_block()
1230 mask.thread_unblock().expect("assertion failed"); in test_thread_signal_unblock()
/third_party/skia/third_party/externals/tint/src/writer/msl/
H A Dgenerator_impl_type_test.cc324 auto* expect = "struct S {\n" ALL_FIELDS() "};\n"; in TEST_F() local
326 EXPECT_EQ(buf.String(), expect); in TEST_F()
402 auto* expect = "struct S {\n" ALL_FIELDS() "};\n"; in TEST_F() local
404 EXPECT_EQ(buf.String(), expect); in TEST_F()
498 auto* expect = "struct S {\n" ALL_FIELDS() "};\n"; in TEST_F() local
500 EXPECT_EQ(buf.String(), expect); in TEST_F()
581 auto* expect = "struct S {\n" ALL_FIELDS() "};\n"; in TEST_F() local
583 EXPECT_EQ(buf.String(), expect); in TEST_F()
/third_party/rust/crates/rust-openssl/openssl/src/x509/
H A Dmod.rs397 X509NameRef::from_const_ptr_opt(name).expect("subject name must not be null") in subject_name()
415 X509NameRef::from_const_ptr_opt(name).expect("issuer name must not be null") in issuer_name()
573 Asn1TimeRef::from_const_ptr_opt(date).expect("not_after must not be null") in not_after()
582 Asn1TimeRef::from_const_ptr_opt(date).expect("not_before must not be null") in not_before()
592 Asn1BitStringRef::from_const_ptr_opt(signature).expect("signature must not be null") in signature()
603 .expect("signature algorithm must not be null") in signature_algorithm()
653 Asn1IntegerRef::from_const_ptr_opt(r).expect("serial number must not be null") in serial_number()
1307 Some(X509NameEntryRef::from_const_ptr_opt(entry).expect("entry must not be null")) in fmt()
1566 X509NameRef::from_const_ptr_opt(name).expect("subject name must not be null") in subject_name()
2274 Asn1ObjectRef::from_const_ptr_opt(oid).expect("algorith in object()
[all...]
/test/xts/acts/security/huks/security_huks_reformed_test/huks_hmac_callback_BasicTest/entry/src/ohosTest/js/test/HMAC/
H A DSecurityHuksImportJsunit.test.js16 import { describe, it, expect, beforeAll } from '@ohos/hypium';
734 expect(null).assertFail();
738 expect(null).assertFail();
750 expect(null).assertFail();
754 expect(null).assertFail();
767 expect(null).assertFail();
771 expect(null).assertFail();
786 expect(null).assertFail();
800 expect(null).assertFail();
804 expect(nul
[all...]
/third_party/icu/icu4c/source/test/intltest/
H A Dcpdtrtst.h54 void expect(const CompoundTransliterator& t,
/third_party/rust/crates/bindgen/bindgen/
H A Dtime.rs43 .expect("timer write should not fail"); in print_elapsed()
/third_party/rust/crates/link-cplusplus/
H A Dbuild.rs28 let out_dir = env::var_os("OUT_DIR").expect("missing OUT_DIR"); in main()
/third_party/skia/src/sksl/lex/
H A DRegexParser.h30 void expect(char c);
/third_party/rust/crates/clap/clap_complete/src/shells/
H A Dpowershell.rs21 .expect("crate::generate should have set the bin_name"); in generate()
78 p.get_bin_name().expect(INTERNAL_ERROR_MSG).to_string() in generate_inner()
H A Delvish.rs21 .expect("crate::generate should have set the bin_name"); in generate()
71 p.get_bin_name().expect(INTERNAL_ERROR_MSG).to_string() in generate_inner()
/third_party/rust/crates/os_str_bytes/src/wasm/
H A Draw.rs26 .expect("cannot parse code point from empty string");
/third_party/rust/crates/nom/benchmarks/benches/
H A Dnumber.rs17 parser(&data[..]).expect("should parse correctly"); in number()
/test/xts/acts/bundlemanager/zlib/actszlibndktest/entry/src/main/cpp/
H A Dzlibndk.cpp139 uLong expect = 65520; in Adler32Combine() local
142 NAPI_ASSERT(env, err == expect, "adler32_combine error"); in Adler32Combine()
262 uint32_t expect; in Compress() local
263 NAPI_CALL(env, napi_get_value_uint32(env, args[0], &expect)); in Compress()
266 uLong compLen = expect == Z_OK ? 100 * sizeof(int) : VALUE_ONE; in Compress()
273 NAPI_ASSERT(env, err == expect, "compress error"); in Compress()
309 uint32_t expect; in Compress2() local
310 NAPI_CALL(env, napi_get_value_uint32(env, args[1], &expect)); in Compress2()
313 uLong compLen = expect == Z_OK ? 100 * sizeof(int) : VALUE_ONE; in Compress2()
320 NAPI_ASSERT(env, err == expect, "compres in Compress2()
334 uint32_t expect; UnCompress() local
404 uint32_t expect; UnCompress2() local
[all...]
/third_party/nghttp2/src/
H A DHttpServer.h127 StringRef expect; member
136 nghttp2_rcbuf *expect; member
/third_party/node/deps/npm/test/lib/commands/
H A Drepo.js207 const expect = {
233 for (const [pkg, url] of Object.entries(expect)) {
/third_party/rust/crates/clang-sys/src/
H A Dlink.rs146 l.functions.$name.expect(concat!(
152 }).expect("a `libclang` shared library is not loaded on this thread");
/third_party/python/Lib/distutils/tests/
H A Dtest_build_py.py125 expect = 'boiledeggs.{}.opt-1.pyc'.format(sys.implementation.cache_tag)
126 self.assertEqual(sorted(found), [expect])
/third_party/rust/crates/bindgen/bindgen/ir/
H A Dobjc.rs183 .expect("Invalid function sig"); in from_ty()
272 .expect("Invalid identifier"), in format_method_call()

Completed in 18 milliseconds

1...<<2122232425262728293031