Home
last modified time | relevance | path

Searched refs:expect (Results 676 - 700 of 993) sorted by relevance

1...<<21222324252627282930>>...40

/third_party/python/Lib/test/
H A Dtest_imp.py465 expect = os.path.join('foo', 'bar', 'baz', '__pycache__',
467 self.assertEqual(imp.cache_from_source(path, True), expect)
477 expect = os.path.join('foo', 'bar', 'baz', 'qux.py')
478 self.assertEqual(imp.source_from_cache(path), expect)
/foundation/communication/dsoftbus/core/connection/manager/
H A Dsoftbus_conn_flow_control.h36 int32_t (*apply)(struct ConnSlideWindowController *self, int32_t expect);
/third_party/icu/icu4c/source/test/intltest/
H A Dcpdtrtst.h54 void expect(const CompoundTransliterator& t,
H A Dincaltst.h67 void simpleTest(const Locale& loc, const UnicodeString& expect, UDate expectDate, UErrorCode& status);
/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/rust/crates/clap/examples/tutorial_builder/
H A D04_02_validate.rs17 .expect("'PORT' is required and parsing will fail if its missing"); in main()
H A D01_quick.rs39 .expect("Count's are defaulted") 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/nix/test/sys/
H A Dtest_signalfd.rs21 raise(signal::SIGUSR1).expect("Error: raise(SIGUSR1) failed"); in test_signalfd()
/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/testfwk/arkxtest/uitest/core/
H A Dfrontend_api_handler.cpp435 static void CheckCallArgType(string_view expect, const json &value, bool isDefAgc, ApiCallErr &error) in CheckCallArgType() argument
446 auto find0 = find_if(begin0, end0, [&expect](const FrontEndClassDef *def) { return def->name_ == expect; }); in CheckCallArgType()
447 auto find1 = find_if(begin1, end1, [&expect](const FrontEndJsonDef *def) { return def->name_ == expect; }); in CheckCallArgType()
448 if (expect == "int") { in CheckCallArgType()
454 } else if (expect == "float") { in CheckCallArgType()
456 } else if (expect == "bool") { in CheckCallArgType()
458 } else if (expect == "string") { in CheckCallArgType()
461 CHECK_CALL_ARG(type == value_t::string, ERR_INVALID_INPUT, "Expect " + string(expect), erro in CheckCallArgType()
[all...]
/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/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()
/commonlibrary/rust/ylong_runtime/ylong_runtime/benches/bin/
H A Dylong_tokio_mem.rs28 .expect("fail to execute"); in get_memory_info()
/commonlibrary/rust/ylong_runtime/ylong_runtime/examples/
H A Dylong_runtime_memory.rs41 .expect("fail to execute"); in get_memory_info()
/test/xts/acts/security/huks/security_huks_basic/huks_agree_promise_BasicTest/entry/src/ohosTest/js/test/Agree/
H A DSecurityHuksAgreeX25519BasicAbort63KBPromiseJsunit.test.js16 import { describe, it, beforeAll, beforeEach, expect} from '@ohos/hypium';
/commonlibrary/c_utils/base/test/unittest/rust/
H A Drust_utils_directory_test.rs91 File::create(resultfile[0]).expect("Failed to create file"); in test_get_dir_files_001()
92 File::create(resultfile[1]).expect("Failed to create file"); in test_get_dir_files_001()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/sys/unix/
H A Ddatagram.rs320 /// socket.connect("/some/sock").expect("connect fail");
321 /// socket.send(b"hello world").await.expect("send_to failed");
343 /// .expect("send_to failed");
365 /// socket.recv(buf.as_mut_slice()).await.expect("recv failed");
425 /// socket.shutdown(Shutdown::Both).expect("shutdown() failed");
500 client.send(b"hello world").await.expect("send failed"); in ut_uds_datagram_read_write_test()
504 server.recv(buf.as_mut_slice()).await.expect("recv failed"); in ut_uds_datagram_read_write_test()
/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");

Completed in 13 milliseconds

1...<<21222324252627282930>>...40