Home
last modified time | relevance | path

Searched refs:expect (Results 951 - 975 of 1127) sorted by relevance

1...<<31323334353637383940>>...46

/kernel/linux/linux-6.6/net/tipc/
H A Dlink.c112 * @rcv_nxt: next sequence number to expect for inbound messages
1474 u16 expect, seqno = 0; in __tipc_build_gap_ack_blks() local
1480 expect = buf_seqno(skb); in __tipc_build_gap_ack_blks()
1483 if (unlikely(more(seqno, expect))) { in __tipc_build_gap_ack_blks()
1484 gacks[n].ack = htons(expect - 1); in __tipc_build_gap_ack_blks()
1485 gacks[n].gap = htons(seqno - expect); in __tipc_build_gap_ack_blks()
1492 } else if (unlikely(less(seqno, expect))) { in __tipc_build_gap_ack_blks()
1496 expect = seqno + 1; in __tipc_build_gap_ack_blks()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
H A Dbtf.c6222 struct btf_raw_data expect; member
6238 .expect = {
6263 .expect = {
6319 .expect = {
6375 .expect = {
6417 .expect = {
6464 .expect = {
6513 .expect = {
6558 .expect = {
6601 .expect
[all...]
/third_party/icu/icu4c/source/test/cintltst/
H A Dcucdtst.c346 UBool expect, UBool diffIsError) { in showADiffB()
352 * expect: in showADiffB()
356 if(expect ? uset_containsAll(b, a) : uset_containsNone(a, b)) { in showADiffB()
369 if(expect) { in showADiffB()
395 if(expect) { in showADiffB()
401 if(expect) { in showADiffB()
828 UBool expect; in TestPOSIX() local
833 expect=(UBool)((posixData[i].posixResults&mask)!=0); in TestPOSIX()
834 if(posixClasses[cl].fn(posixData[i].c)!=expect) { in TestPOSIX()
836 posixClasses[cl].name, posixData[i].c, expect in TestPOSIX()
344 showADiffB(const USet *a, const USet *b, const char *a_name, const char *b_name, UBool expect, UBool diffIsError) showADiffB() argument
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DDateIntervalFormatTest.java723 expect(DATA, DATA.length); in TestFormat()
847 expect(DATA, DATA.length); in TestHourMetacharacters()
851 private void expect(String[] data, int data_length) { in expect() method in DateIntervalFormatTest
1000 public DateIntervalContextItem(String loc, String skel, DisplayContext ctxt, long delta, String expect) { in TestContext()
1005 expectResult = expect; in TestContext()
1508 errln("DateIntervalFormat for tzCalif, expect \"" + fmtCalif + "\", get \"" + buf + "\""); in TestGetSetTimeZone()
1516 errln("DateIntervalFormat for tzTokyo, expect \"" + fmtTokyo + "\", get \"" + buf + "\""); in TestGetSetTimeZone()
2038 ": expect " + expectPosFmt.posBegin + "-" + expectPosFmt.posEnd + " \"" + expectPosFmt.format + in TestFPos_SkelWithSeconds()
/test/xts/acts/ai/nncore/common/
H A Dnncore_utils.h158 bool CheckOutput(const float* output, const float* expect);
/third_party/node/deps/v8/src/asmjs/
H A Dasm-parser.h377 AsmType* Expression(AsmType* expect); // 6.8.1 Expression
/third_party/node/deps/openssl/openssl/util/perl/OpenSSL/
H A DUtil.pm185 expect that it treats the first LIST element specially on VMS.
/third_party/rust/crates/autocfg/src/
H A Dlib.rs227 let mut stdin = child.stdin.take().expect("rustc stdin"); in probe()
/third_party/rust/crates/clap/tests/builder/
H A Dtests.rs122 if *matches.get_one::<bool>("flag2").expect("defaulted by clap") { in check_complex_output()
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/rust/crates/libloading/src/os/unix/
H A Dmod.rs145 Library::open(None::<&OsStr>, RTLD_LAZY | RTLD_LOCAL).expect("this should never fail") in this()
/third_party/rust/crates/clap/src/
H A Dderive.rs384 .expect("ValueEnum::value_variants contains only values with a corresponding ValueEnum::to_possible_value") in from_str()
/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/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()
/foundation/communication/netstack/test/unittest/tls_test/server/
H A Dtls_socket_server_branch_test.cpp382 std::vector<std::string> expect = {"www", "example", "com"}; in HWTEST_F() local
383 EXPECT_EQ(result, expect); in HWTEST_F()
/foundation/communication/netstack/test/unittest/tlssocket/server/
H A Dtls_socket_server_branch_test.cpp382 std::vector<std::string> expect = {"www", "example", "com"}; in HWTEST_F() local
383 EXPECT_EQ(result, expect); in HWTEST_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()

Completed in 49 milliseconds

1...<<31323334353637383940>>...46