Home
last modified time | relevance | path

Searched refs:expect (Results 801 - 825 of 952) sorted by relevance

1...<<313233343536373839

/third_party/rust/crates/glob/tests/
H A Dglob-std.rs39 let root = root.ok().expect("Should have created a temp directory"); in main()
/third_party/openssl/util/perl/OpenSSL/
H A DUtil.pm185 expect that it treats the first LIST element specially on VMS.
/third_party/rust/crates/nix/src/sys/
H A Dresource.rs435 .expect("Failed to call getrusage for SELF"); in test_self_cpu_time()
/kernel/linux/linux-5.10/arch/s390/kvm/
H A Dinterrupt.c76 int expect, rc; in sca_inject_ext_call() local
91 expect = old_val.value; in sca_inject_ext_call()
104 expect = old_val.value; in sca_inject_ext_call()
109 if (rc != expect) { in sca_inject_ext_call()
119 int rc, expect; in sca_clear_ext_call() local
132 expect = old.value; in sca_clear_ext_call()
141 expect = old.value; in sca_clear_ext_call()
145 WARN_ON(rc != expect); /* cannot clear? */ in sca_clear_ext_call()
/kernel/linux/linux-6.6/arch/s390/kvm/
H A Dinterrupt.c78 int expect, rc; in sca_inject_ext_call() local
93 expect = old_val.value; in sca_inject_ext_call()
106 expect = old_val.value; in sca_inject_ext_call()
111 if (rc != expect) { in sca_inject_ext_call()
121 int rc, expect; in sca_clear_ext_call() local
134 expect = old.value; in sca_clear_ext_call()
143 expect = old.value; in sca_clear_ext_call()
147 WARN_ON(rc != expect); /* cannot clear? */ in sca_clear_ext_call()
/kernel/linux/linux-5.10/kernel/trace/
H A Dring_buffer.c692 rb_time_read_cmpxchg(local_t *l, unsigned long expect, unsigned long set) in rb_time_read_cmpxchg() argument
696 ret = local_cmpxchg(l, expect, set); in rb_time_read_cmpxchg()
697 return ret == expect; in rb_time_read_cmpxchg()
700 static int rb_time_cmpxchg(rb_time_t *t, u64 expect, u64 set) in rb_time_cmpxchg() argument
713 if (val != expect) in rb_time_cmpxchg()
752 static bool rb_time_cmpxchg(rb_time_t *t, u64 expect, u64 set) in rb_time_cmpxchg() argument
755 val = local64_cmpxchg(&t->time, expect, set); in rb_time_cmpxchg()
756 return val == expect; in rb_time_cmpxchg()
/kernel/linux/linux-5.10/drivers/net/ieee802154/
H A Datusb.c264 u8 expect = atusb->tx_ack_seq; in atusb_tx_done() local
266 dev_dbg(&usb_dev->dev, "%s (0x%02x/0x%02x)\n", __func__, seq, expect); in atusb_tx_done()
267 if (seq == expect) { in atusb_tx_done()
273 * unlikely case now that seq == expect is then true, but can in atusb_tx_done()
/kernel/linux/linux-6.6/drivers/net/ieee802154/
H A Datusb.c197 u8 expect = atusb->tx_ack_seq; in atusb_tx_done() local
199 dev_dbg(&usb_dev->dev, "%s (0x%02x/0x%02x)\n", __func__, seq, expect); in atusb_tx_done()
200 if (seq == expect) { in atusb_tx_done()
209 * unlikely case now that seq == expect is then true, but can in atusb_tx_done()
/third_party/nghttp2/src/
H A Dshrpx_downstream.cc869 auto expect = req_.fs.header(http2::HD_EXPECT); in inspect_http1_request() local
871 expect && in inspect_http1_request()
872 util::strieq(expect->value, StringRef::from_lit("100-continue")); in inspect_http1_request()
/third_party/rust/crates/clap/tests/builder/
H A Dapp_settings.rs452 *m.get_one::<bool>("other").expect("defaulted by clap"), in leading_hyphen_short()
472 *m.get_one::<bool>("other").expect("defaulted by clap"), in leading_hyphen_long()
497 *m.get_one::<bool>("other").expect("defaulted by clap"), in leading_hyphen_opt()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/
H A Dconvert_test.cc430 // don't expect agreement on unsigned formatted as signed, in TYPED_TEST_P()
432 // cases, we do expect agreement with printf with a "%u" in TYPED_TEST_P()
1166 std::vector<Expectation> expect = { in TEST_F() local
1174 expect.push_back(ex); in TEST_F()
1176 for (const Expectation &e : expect) { in TEST_F()
/kernel/linux/linux-5.10/drivers/block/paride/
H A Dpcd.c568 int expect[5] = { 1, 1, 1, 0x14, 0xeb }; in pcd_reset() local
582 flg &= (read_reg(cd, i + 1) == expect[i]); in pcd_reset()
H A Dpf.c563 int expect[5] = { 1, 1, 1, 0x14, 0xeb }; in pf_reset() local
577 flg &= (read_reg(pf, i + 1) == expect[i]); in pf_reset()
H A Dpt.c455 int expect[5] = { 1, 1, 1, 0x14, 0xeb }; in pt_reset() local
469 flg &= (read_reg(pi, i + 1) == expect[i]); in pt_reset()
/third_party/node/lib/
H A D_http_outgoing.js423 expect: false,
543 if (state.expect) this._send('');
606 case 'expect':
H A D_http_server.js1109 } else if (req.headers.expect !== undefined) {
1112 if (RegExpPrototypeExec(continueExpression, req.headers.expect) !== null) {
/third_party/node/test/parallel/
H A Dtest-fs-error-messages.js199 `expect ${err.dest} to end with 'foo'`);
290 `expect ${err.dest} to end with 'foo'`);
/third_party/node/deps/npm/test/lib/commands/
H A Downer.js620 const testComp = async (argv, expect) => {
622 t.strictSame(res, expect, argv.join(' '))
/third_party/node/deps/openssl/openssl/crypto/store/
H A Dstore_lib.c300 && ctx->loader->expect != NULL) { in OSSL_STORE_expect()
301 ret = ctx->loader->expect(ctx->loader_ctx, expected_type); in OSSL_STORE_expect()
/third_party/rust/crates/log/src/
H A Dlib.rs1936 .expect("missing key") in test_record_key_values_get_coerce()
1938 .expect("invalid value") in test_record_key_values_get_coerce()
/third_party/rust/crates/clap/src/output/
H A Dhelp_template.rs626 .expect("Only called with possible value"); in help()
631 .expect("Only called with possible value with help"); in help()
/third_party/python/Lib/http/
H A Dserver.py369 expect = self.headers.get('Expect', "")
370 if (expect.lower() == "100-continue" and
/third_party/openssl/crypto/store/
H A Dstore_lib.c300 && ctx->loader->expect != NULL) { in OSSL_STORE_expect()
301 ret = ctx->loader->expect(ctx->loader_ctx, expected_type); in OSSL_STORE_expect()
/third_party/python/Lib/tomllib/
H A D_parser.py244 expect: str,
250 new_pos = src.index(expect, pos)
254 raise suffixed_err(src, new_pos, f"Expected {expect!r}") from None
/third_party/python/Lib/idlelib/idle_test/
H A Dtest_config.py469 expect = {'<<z-in>>': ['<Control-Shift-KeyRelease-Insert>'],
471 eq(iGEB('ZzDummy'), expect)

Completed in 41 milliseconds

1...<<313233343536373839