Symbol: expect
lib/libcrypt/hmac.c
202
unsigned char *expect;
lib/libcrypt/hmac.c
266
if (strcmp(dbuf, test->expect) == 0)
lib/libcrypt/hmac.c
270
result = test->expect;
sys/arch/m68k/fpsp/l_fpsp.h
105
* routines expect fp0-fp3 as scratch registers. For all monadic
sys/arch/m68k/fpsp/l_fpsp.h
48
* kernel mode code so they expect the same setup. That is, you
sys/arch/vax/vax/ka6400.c
253
static int expect = 0;
sys/arch/vax/vax/ka6400.c
274
if (expect == ((c >> 8) & 0xf))
sys/arch/vax/vax/ka6400.c
337
expect = id;
sys/arch/vax/vax/ka6400.c
351
expect = 0;
sys/arch/vax/vax/ka820.c
440
static int expect = 0;
sys/arch/vax/vax/ka820.c
454
if (expect == ((c >> 8) & 0xf))
sys/arch/vax/vax/ka820.c
537
expect = id;
sys/arch/vax/vax/ka820.c
551
expect = 0;
sys/arch/vax/vax/ka88.c
235
static int expect = 0;
sys/arch/vax/vax/ka88.c
256
if (expect == ((c >> 8) & 0xf))
sys/arch/vax/vax/ka88.c
370
expect = id;
sys/arch/vax/vax/ka88.c
384
expect = 0;
sys/arch/x86/x86/pmap.c
4398
pt_entry_t expect;
sys/arch/x86/x86/pmap.c
4413
expect = pmap_pa2pte(pa) | PTE_P;
sys/arch/x86/x86/pmap.c
4426
if ((opte & (PTE_FRAME | PTE_P)) != expect) {
sys/arch/x86/x86/pmap.c
6731
pt_entry_t expect;
sys/arch/x86/x86/pmap.c
6734
expect = pmap_pa2pte(pa) | EPT_R;
sys/arch/x86/x86/pmap.c
6748
if ((opte & (PTE_FRAME | EPT_R)) != expect) {
sys/dev/i2c/gttwsi_core.c
184
int expect;
sys/dev/i2c/gttwsi_core.c
187
expect = STAT_RSCT;
sys/dev/i2c/gttwsi_core.c
189
expect = STAT_SCT;
sys/dev/i2c/gttwsi_core.c
191
return gttwsi_wait(sc, CONTROL_START, expect, 0, flags, "send-start");
sys/dev/i2c/gttwsi_core.c
224
uint32_t data, expect, alt;
sys/dev/i2c/gttwsi_core.c
233
expect = STAT_ARBT_AR;
sys/dev/i2c/gttwsi_core.c
236
expect = STAT_AWBT_AR;
sys/dev/i2c/gttwsi_core.c
251
error = gttwsi_wait(sc, 0, expect, alt, flags, "send-addr-10");
sys/dev/i2c/gttwsi_core.c
259
expect = STAT_SARBT_AR;
sys/dev/i2c/gttwsi_core.c
262
expect = STAT_SAWBT_AR;
sys/dev/i2c/gttwsi_core.c
270
return gttwsi_wait(sc, 0, expect, alt, flags, "send-addr");
sys/dev/i2c/gttwsi_core.c
307
gttwsi_wait(struct gttwsi_softc *sc, uint32_t control, uint32_t expect,
sys/dev/i2c/gttwsi_core.c
361
if (status != expect) {
sys/dev/i2c/gttwsi_core.c
371
expect);
tests/fs/vfs/t_vnops.c
896
struct flock expect[4];
tests/fs/vfs/t_vnops.c
917
memcpy(expect, lock, sizeof(lock));
tests/fs/vfs/t_vnops.c
942
expect[i].l_pid = pid[i];
tests/fs/vfs/t_vnops.c
946
qsort(expect, __arraycount(expect), sizeof(expect[0]), &flock_compare);
tests/fs/vfs/t_vnops.c
970
ATF_CHECK_EQ(nlocks, __arraycount(expect));
tests/fs/vfs/t_vnops.c
975
ATF_CHECK_EQ(result[j].l_start, expect[j].l_start );
tests/fs/vfs/t_vnops.c
976
ATF_CHECK_EQ(result[j].l_len, expect[j].l_len );
tests/fs/vfs/t_vnops.c
977
ATF_CHECK_EQ(result[j].l_pid, expect[j].l_pid );
tests/fs/vfs/t_vnops.c
978
ATF_CHECK_EQ(result[j].l_type, expect[j].l_type );
tests/fs/vfs/t_vnops.c
979
ATF_CHECK_EQ(result[j].l_whence, expect[j].l_whence);
tests/lib/libbluetooth/t_sdp_put.c
100
ATF_REQUIRE_EQ(test.end - test.next, sizeof(expect));
tests/lib/libbluetooth/t_sdp_put.c
101
ATF_CHECK(memcmp(expect, test.next, sizeof(expect)) == 0);
tests/lib/libbluetooth/t_sdp_put.c
147
const uint8_t expect[] = {
tests/lib/libbluetooth/t_sdp_put.c
158
ATF_REQUIRE_EQ(test.end - test.next, sizeof(expect));
tests/lib/libbluetooth/t_sdp_put.c
159
ATF_CHECK(memcmp(expect, test.next, sizeof(expect)) == 0);
tests/lib/libbluetooth/t_sdp_put.c
179
const uint8_t expect[] = {
tests/lib/libbluetooth/t_sdp_put.c
183
ATF_REQUIRE_EQ(test.end - test.next, sizeof(expect));
tests/lib/libbluetooth/t_sdp_put.c
184
ATF_CHECK(memcmp(expect, test.next, sizeof(expect)) == 0);
tests/lib/libbluetooth/t_sdp_put.c
204
const uint8_t expect[] = {
tests/lib/libbluetooth/t_sdp_put.c
209
ATF_REQUIRE_EQ(test.end - test.next, sizeof(expect));
tests/lib/libbluetooth/t_sdp_put.c
210
ATF_CHECK(memcmp(expect, test.next, sizeof(expect)) == 0);
tests/lib/libbluetooth/t_sdp_put.c
238
const uint8_t expect[] = {
tests/lib/libbluetooth/t_sdp_put.c
246
ATF_REQUIRE_EQ(test.end - test.next, sizeof(expect));
tests/lib/libbluetooth/t_sdp_put.c
247
ATF_CHECK(memcmp(expect, test.next, sizeof(expect)) == 0);
tests/lib/libbluetooth/t_sdp_put.c
268
const uint8_t expect[] = {
tests/lib/libbluetooth/t_sdp_put.c
273
ATF_REQUIRE_EQ(test.end - test.next, sizeof(expect));
tests/lib/libbluetooth/t_sdp_put.c
274
ATF_CHECK(memcmp(expect, test.next, sizeof(expect)) == 0);
tests/lib/libbluetooth/t_sdp_put.c
301
const uint8_t expect[] = {
tests/lib/libbluetooth/t_sdp_put.c
318
ATF_REQUIRE_EQ(test.end - test.next, sizeof(expect));
tests/lib/libbluetooth/t_sdp_put.c
319
ATF_CHECK(memcmp(expect, test.next, sizeof(expect)) == 0);
tests/lib/libbluetooth/t_sdp_put.c
340
const uint8_t expect[] = {
tests/lib/libbluetooth/t_sdp_put.c
345
ATF_REQUIRE_EQ(test.end - test.next, sizeof(expect));
tests/lib/libbluetooth/t_sdp_put.c
346
ATF_CHECK(memcmp(expect, test.next, sizeof(expect)) == 0);
tests/lib/libbluetooth/t_sdp_put.c
369
const uint8_t expect[] = {
tests/lib/libbluetooth/t_sdp_put.c
376
ATF_REQUIRE_EQ(test.end - test.next, sizeof(expect));
tests/lib/libbluetooth/t_sdp_put.c
377
ATF_CHECK(memcmp(expect, test.next, sizeof(expect)) == 0);
tests/lib/libbluetooth/t_sdp_put.c
401
const uint8_t expect[] = {
tests/lib/libbluetooth/t_sdp_put.c
414
ATF_REQUIRE_EQ(test.end - test.next, sizeof(expect));
tests/lib/libbluetooth/t_sdp_put.c
415
ATF_CHECK(memcmp(expect, test.next, sizeof(expect)) == 0);
tests/lib/libbluetooth/t_sdp_put.c
440
const uint8_t expect[] = {
tests/lib/libbluetooth/t_sdp_put.c
461
ATF_REQUIRE_EQ(test.end - test.next, sizeof(expect));
tests/lib/libbluetooth/t_sdp_put.c
462
ATF_CHECK(memcmp(expect, test.next, sizeof(expect)) == 0);
tests/lib/libbluetooth/t_sdp_put.c
496
const uint8_t expect[] = {
tests/lib/libbluetooth/t_sdp_put.c
526
ATF_REQUIRE_EQ(test.end - test.next, sizeof(expect));
tests/lib/libbluetooth/t_sdp_put.c
527
ATF_CHECK(memcmp(expect, test.next, sizeof(expect)) == 0);
tests/lib/libbluetooth/t_sdp_put.c
549
const uint8_t expect[] = {
tests/lib/libbluetooth/t_sdp_put.c
555
ATF_REQUIRE_EQ(test.end - test.next, sizeof(expect));
tests/lib/libbluetooth/t_sdp_put.c
556
ATF_CHECK(memcmp(expect, test.next, sizeof(expect)) == 0);
tests/lib/libbluetooth/t_sdp_put.c
580
const uint8_t expect[] = {
tests/lib/libbluetooth/t_sdp_put.c
588
ATF_REQUIRE_EQ(test.end - test.next, sizeof(expect));
tests/lib/libbluetooth/t_sdp_put.c
589
ATF_CHECK(memcmp(expect, test.next, sizeof(expect)) == 0);
tests/lib/libbluetooth/t_sdp_put.c
61
const uint8_t expect[] = {
tests/lib/libbluetooth/t_sdp_put.c
615
const uint8_t expect[] = {
tests/lib/libbluetooth/t_sdp_put.c
632
ATF_REQUIRE_EQ(test.end - test.next, sizeof(expect));
tests/lib/libbluetooth/t_sdp_put.c
633
ATF_CHECK(memcmp(expect, test.next, sizeof(expect)) == 0);
tests/lib/libbluetooth/t_sdp_put.c
661
const uint8_t expect[] = {
tests/lib/libbluetooth/t_sdp_put.c
67
ATF_REQUIRE_EQ(test.end - test.next, sizeof(expect));
tests/lib/libbluetooth/t_sdp_put.c
68
ATF_CHECK(memcmp(expect, test.next, sizeof(expect)) == 0);
tests/lib/libbluetooth/t_sdp_put.c
691
ATF_REQUIRE_EQ(test.end - test.next, sizeof(expect));
tests/lib/libbluetooth/t_sdp_put.c
692
ATF_CHECK(memcmp(expect, test.next, sizeof(expect)) == 0);
tests/lib/libbluetooth/t_sdp_put.c
718
const uint8_t expect[] = {
tests/lib/libbluetooth/t_sdp_put.c
725
ATF_REQUIRE_EQ(test.end - test.next, sizeof(expect));
tests/lib/libbluetooth/t_sdp_put.c
726
ATF_CHECK(memcmp(expect, test.next, sizeof(expect)) == 0);
tests/lib/libbluetooth/t_sdp_put.c
752
const uint8_t expect[] = {
tests/lib/libbluetooth/t_sdp_put.c
759
ATF_REQUIRE_EQ(test.end - test.next, sizeof(expect));
tests/lib/libbluetooth/t_sdp_put.c
760
ATF_CHECK(memcmp(expect, test.next, sizeof(expect)) == 0);
tests/lib/libbluetooth/t_sdp_put.c
788
const uint8_t expect[] = {
tests/lib/libbluetooth/t_sdp_put.c
803
ATF_REQUIRE_EQ(test.end - test.next, sizeof(expect));
tests/lib/libbluetooth/t_sdp_put.c
804
ATF_CHECK(memcmp(expect, test.next, sizeof(expect)) == 0);
tests/lib/libbluetooth/t_sdp_put.c
830
const uint8_t expect[] = {
tests/lib/libbluetooth/t_sdp_put.c
845
ATF_REQUIRE_EQ(test.end - test.next, sizeof(expect));
tests/lib/libbluetooth/t_sdp_put.c
846
ATF_CHECK(memcmp(expect, test.next, sizeof(expect)) == 0);
tests/lib/libbluetooth/t_sdp_put.c
95
const uint8_t expect[] = {
tests/lib/libbluetooth/t_sdp_set.c
130
const uint8_t expect[] = {
tests/lib/libbluetooth/t_sdp_set.c
147
ATF_REQUIRE_EQ(sizeof(data), sizeof(expect));
tests/lib/libbluetooth/t_sdp_set.c
148
ATF_CHECK(memcmp(expect, data, sizeof(expect)) == 0);
tests/lib/libbluetooth/t_sdp_set.c
210
const uint8_t expect[] = {
tests/lib/libbluetooth/t_sdp_set.c
227
ATF_REQUIRE_EQ(sizeof(data), sizeof(expect));
tests/lib/libbluetooth/t_sdp_set.c
228
ATF_CHECK(memcmp(expect, data, sizeof(expect)) == 0);
tests/lib/libbluetooth/t_sdp_set.c
275
const uint8_t expect[] = {
tests/lib/libbluetooth/t_sdp_set.c
285
ATF_REQUIRE_EQ(sizeof(data), sizeof(expect));
tests/lib/libbluetooth/t_sdp_set.c
286
ATF_CHECK(memcmp(expect, data, sizeof(expect)) == 0);
tests/lib/libbluetooth/t_sdp_set.c
333
const uint8_t expect[] = {
tests/lib/libbluetooth/t_sdp_set.c
344
ATF_REQUIRE_EQ(sizeof(data), sizeof(expect));
tests/lib/libbluetooth/t_sdp_set.c
345
ATF_CHECK(memcmp(expect, data, sizeof(expect)) == 0);
tests/lib/libc/string/t_memmem.c
81
expect(memmem(b2, lb2, p0, lp0) == b2);
tests/lib/libc/string/t_memmem.c
82
expect(memmem(b0, lb0, p0, lp0) == b0);
tests/lib/libc/string/t_memmem.c
83
expect(memmem(b0, lb0, p1, lp1) == NULL);
tests/lib/libc/string/t_memmem.c
84
expect(memmem(b1, lb1, p1, lp1) == NULL);
tests/lib/libc/string/t_memmem.c
86
expect(memmem(b2, lb2, p1, lp1) == b2);
tests/lib/libc/string/t_memmem.c
87
expect(memmem(b2, lb2, p2, lp2) == (b2 + 4));
tests/lib/libc/string/t_memmem.c
88
expect(memmem(b2, lb2, p3, lp3) == (b2 + 7));
tests/lib/libc/string/t_memmem.c
90
expect(memmem(b2, lb2, p5, lp5) == b2);
tests/lib/libc/string/t_memmem.c
91
expect(memmem(b2, lb2, p6, lp6) == (b2 + 9));
tests/lib/libc/string/t_memmem.c
93
expect(memmem(b2, lb2, p4, lp4) == NULL);
tests/lib/libc/string/t_memmem.c
94
expect(memmem(b2, lb2, p7, lp7) == NULL);
tests/lib/libc/string/t_memmem.c
95
expect(memmem(b2, lb2, p8, lp8) == NULL);
tests/lib/libc/string/t_stresep.c
58
expect("foo bar");
tests/lib/libc/string/t_stresep.c
59
expect("baz");
tests/lib/libc/string/t_stresep.c
60
expect("bar foo ");
tests/lib/libc/string/t_stresep.c
61
expect("bar foo");
tests/lib/libc/string/t_stresep.c
62
expect(" baz");
tests/lib/libc/string/t_stresep.c
63
expect("bar ");
tests/lib/libc/string/t_stresep.c
67
expect("aa");
tests/lib/libc/string/t_stresep.c
68
expect("bb");
tests/lib/libc/string/t_stresep.c
69
expect("cc dd-");
tests/lib/libm/t_libm.h
12
long double expect = expect_; \
tests/lib/libm/t_libm.h
14
long double e = fabsl((r - expect)/expect); \
tests/lib/libm/t_libm.h
15
if (!(r == expect || e <= epsilon)) \
tests/lib/libm/t_libm.h
19
subtest, arg, r, r, expect, expect, e, e, epsilon); \
tests/rump/rumpkern/t_kern.c
55
locktest(const atf_tc_t *tc, enum locktest lt, int needld, const char *expect)
tests/rump/rumpkern/t_kern.c
90
if ((status = regcomp(&preg, expect, REG_BASIC)) != 0) {
tests/rump/rumpkern/t_kern.c
96
printf("expected: \"%s\"\n", expect);
usr.bin/at/parsetime.c
169
static void expect(tokid_t);
usr.bin/at/parsetime.c
318
expect(NUMBER);
usr.bin/at/parsetime.c
374
expect(NUMBER);
usr.bin/at/parsetime.c
487
expect(NUMBER);
usr.bin/at/parsetime.c
527
expect(NUMBER);
usr.bin/at/parsetime.c
530
expect(NUMBER);
usr.bin/at/parsetime.c
600
expect(PLUS);
usr.bin/at/parsetime.c
638
expect(TOKEOF);
usr.bin/rpcgen/rpc_scan.c
134
peekscan(tok_kind expect, token *tokp)
usr.bin/rpcgen/rpc_scan.c
137
if (tokp->kind == expect) {
usr.bin/rpcgen/rpc_scan.c
77
scan(tok_kind expect, token *tokp)
usr.bin/rpcgen/rpc_scan.c
80
if (tokp->kind != expect) {
usr.bin/rpcgen/rpc_scan.c
81
expected1(expect);
usr.bin/tip/aculib/v3451.c
103
ok = expect("ON LINE");
usr.bin/tip/aculib/v3451.c
48
static int expect(const char *);
usr.bin/tip/aculib/v3451.c
70
if (!expect("READY")) {
usr.bin/tip/aculib/v3451.c
79
if (!expect("NUMBER?")) {
usr.bin/tip/aculib/v3451.c
85
if (!expect(phone)) {
usr.bin/tip/aculib/v3451.c
97
if (!expect("DIALING:")) {