regress/lib/libc/gcvt/gcvt_test.c
102
if (strcmp(tv->expect, got) != 0) {
regress/lib/libc/gcvt/gcvt_test.c
104
tv->d, tv->ndig, tv->expect, got);
regress/lib/libc/gcvt/gcvt_test.c
14
char *expect;
regress/lib/libc/longjmp/longjmp.c
28
volatile int i, expect;
regress/lib/libc/longjmp/longjmp.c
54
expect = 0;
regress/lib/libc/longjmp/longjmp.c
56
if (i == 0 && expect != 0)
regress/lib/libc/longjmp/longjmp.c
58
if (expect == 0) {
regress/lib/libc/longjmp/longjmp.c
59
expect = -1;
regress/lib/libc/longjmp/longjmp.c
63
expect = 0;
regress/lib/libc/longjmp/longjmp.c
65
if (i != expect)
regress/lib/libc/longjmp/longjmp.c
66
errx(1, "bad return from setjmp %d/%d", expect, i);
regress/lib/libc/longjmp/longjmp.c
67
if (expect < 1000)
regress/lib/libc/longjmp/longjmp.c
68
(*lj)(buf, expect += 2);
regress/lib/libc/orientation/orientation_test.c
52
fail(int line, int r, char const *expect, char const *test)
regress/lib/libc/orientation/orientation_test.c
57
line, r, expect, test);
regress/lib/libcrypto/evp/evp_test.c
269
int expect;
regress/lib/libcrypto/evp/evp_test.c
275
.expect = 1,
regress/lib/libcrypto/evp/evp_test.c
281
.expect = 0,
regress/lib/libcrypto/evp/evp_test.c
287
.expect = 1,
regress/lib/libcrypto/evp/evp_test.c
293
.expect = 0,
regress/lib/libcrypto/evp/evp_test.c
300
.expect = 1,
regress/lib/libcrypto/evp/evp_test.c
306
.expect = 0,
regress/lib/libcrypto/evp/evp_test.c
312
.expect = 1,
regress/lib/libcrypto/evp/evp_test.c
318
.expect = 0,
regress/lib/libcrypto/evp/evp_test.c
325
.expect = 1,
regress/lib/libcrypto/evp/evp_test.c
331
.expect = 0,
regress/lib/libcrypto/evp/evp_test.c
337
.expect = 1,
regress/lib/libcrypto/evp/evp_test.c
343
.expect = 0,
regress/lib/libcrypto/evp/evp_test.c
350
.expect = 1,
regress/lib/libcrypto/evp/evp_test.c
356
.expect = 0,
regress/lib/libcrypto/evp/evp_test.c
362
.expect = 1,
regress/lib/libcrypto/evp/evp_test.c
369
.expect = 1,
regress/lib/libcrypto/evp/evp_test.c
376
.expect = 1,
regress/lib/libcrypto/evp/evp_test.c
382
.expect = 0,
regress/lib/libcrypto/evp/evp_test.c
388
.expect = 1,
regress/lib/libcrypto/evp/evp_test.c
395
.expect = 1,
regress/lib/libcrypto/evp/evp_test.c
402
.expect = 1,
regress/lib/libcrypto/evp/evp_test.c
408
.expect = 0,
regress/lib/libcrypto/evp/evp_test.c
414
.expect = 1,
regress/lib/libcrypto/evp/evp_test.c
421
.expect = 1,
regress/lib/libcrypto/evp/evp_test.c
428
.expect = 0,
regress/lib/libcrypto/evp/evp_test.c
435
.expect = 1,
regress/lib/libcrypto/evp/evp_test.c
441
.expect = 1,
regress/lib/libcrypto/evp/evp_test.c
447
.expect = 0,
regress/lib/libcrypto/evp/evp_test.c
453
.expect = 1,
regress/lib/libcrypto/evp/evp_test.c
459
.expect = 0,
regress/lib/libcrypto/evp/evp_test.c
495
test->setlen, NULL)) != test->expect) {
regress/lib/libcrypto/evp/evp_test.c
497
" want %d, got %d\n", name, test->expect, ret);
regress/lib/libcrypto/evp/evp_test.c
500
if (test->expect == 0)
regress/lib/libssl/key_schedule/key_schedule.c
40
compare_data(const uint8_t *recv, size_t recv_len, const uint8_t *expect,
regress/lib/libssl/key_schedule/key_schedule.c
47
hexdump(expect, expect_len);
regress/lib/libssl/tlsext/tlsexttest.c
102
hexdump2(expect, expect_len);
regress/lib/libssl/tlsext/tlsexttest.c
84
compare_data(const uint8_t *recv, size_t recv_len, const uint8_t *expect,
regress/lib/libssl/tlsext/tlsexttest.c
91
hexdump(expect, expect_len);
regress/lib/libssl/tlsext/tlsexttest.c
95
compare_data2(const uint16_t *recv, size_t recv_len, const uint16_t *expect,
regress/lib/libutil/ber/ber_test_int_i.c
36
unsigned char expect[1024];
regress/lib/libutil/ber/ber_test_int_i.c
597
if (memcmp(ber.br_wbuf, test_vectors[i].expect,
regress/lib/libutil/ber/ber_test_int_i.c
603
hexdump(test_vectors[i].expect, test_vectors[i].expect_length);
regress/lib/libutil/ber/ber_test_int_i.c
681
if (memcmp(ber.br_wbuf, test_vectors[i].expect,
regress/lib/libutil/ber/ber_test_int_i.c
687
hexdump(test_vectors[i].expect, test_vectors[i].expect_length);
regress/lib/libutil/fmt_scaled/fmt_test.c
142
errs += assert_str(i, 3, ddata[i].expect, buf);
regress/lib/libutil/fmt_scaled/fmt_test.c
22
static int assert_int(int testnum, int checknum, int expect, int result);
regress/lib/libutil/fmt_scaled/fmt_test.c
23
static int assert_errno(int testnum, int checknum, int expect, int result);
regress/lib/libutil/fmt_scaled/fmt_test.c
24
static int assert_llong(int testnum, int checknum, long long expect, long long result);
regress/lib/libutil/fmt_scaled/fmt_test.c
25
static int assert_str(int testnum, int checknum, char * expect, char * result);
regress/lib/libutil/fmt_scaled/fmt_test.c
301
assert_int(int testnum, int check, int expect, int result)
regress/lib/libutil/fmt_scaled/fmt_test.c
303
if (expect == result)
regress/lib/libutil/fmt_scaled/fmt_test.c
306
testnum, check, expect, result);
regress/lib/libutil/fmt_scaled/fmt_test.c
311
assert_errno(int testnum, int check, int expect, int result)
regress/lib/libutil/fmt_scaled/fmt_test.c
313
if (expect == result)
regress/lib/libutil/fmt_scaled/fmt_test.c
317
print_errno(expect);
regress/lib/libutil/fmt_scaled/fmt_test.c
325
assert_llong(int testnum, int check, long long expect, long long result)
regress/lib/libutil/fmt_scaled/fmt_test.c
327
if (expect == result)
regress/lib/libutil/fmt_scaled/fmt_test.c
330
testnum, check, expect, result);
regress/lib/libutil/fmt_scaled/fmt_test.c
335
assert_str(int testnum, int check, char * expect, char * result)
regress/lib/libutil/fmt_scaled/fmt_test.c
337
if (strcmp(expect, result) == 0)
regress/lib/libutil/fmt_scaled/fmt_test.c
340
testnum, check, expect, result);
regress/lib/libutil/fmt_scaled/fmt_test.c
74
char *expect;
regress/usr.bin/ssh/unittests/misc/test_expand.c
72
#define CHECK_ONE(val, expect) \
regress/usr.bin/ssh/unittests/misc/test_expand.c
73
ASSERT_STRING_EQ(val, expect); \
sbin/pfctl/pfctl_parser.c
1890
static int expect = 0;
sbin/pfctl/pfctl_parser.c
1900
expect = 1;
sbin/pfctl/pfctl_parser.c
1905
if (expect) {
sbin/pfctl/pfctl_parser.c
1920
expect = 0;
sys/dev/fdt/sxitwi.c
389
int expect;
sys/dev/fdt/sxitwi.c
392
expect = STAT_RSCT;
sys/dev/fdt/sxitwi.c
394
expect = STAT_SCT;
sys/dev/fdt/sxitwi.c
397
return sxitwi_wait(sc, CONTROL_START, expect, flags);
sys/dev/fdt/sxitwi.c
421
u_int data, expect;
sys/dev/fdt/sxitwi.c
428
expect = STAT_ARBT_AR;
sys/dev/fdt/sxitwi.c
430
expect = STAT_AWBT_AR;
sys/dev/fdt/sxitwi.c
443
error = sxitwi_wait(sc, 0, expect, flags);
sys/dev/fdt/sxitwi.c
451
expect = STAT_SARBT_AR;
sys/dev/fdt/sxitwi.c
453
expect = STAT_SAWBT_AR;
sys/dev/fdt/sxitwi.c
459
return sxitwi_wait(sc, 0, expect, flags);
sys/dev/fdt/sxitwi.c
493
sxitwi_wait(struct sxitwi_softc *sc, u_int control, u_int expect, int flags)
sys/dev/fdt/sxitwi.c
513
if (status != expect)
sys/dev/pci/drm/i915/gt/selftest_mocs.c
165
u32 expect;
sys/dev/pci/drm/i915/gt/selftest_mocs.c
170
for_each_mocs(expect, table, i) {
sys/dev/pci/drm/i915/gt/selftest_mocs.c
171
if (**vaddr != expect) {
sys/dev/pci/drm/i915/gt/selftest_mocs.c
173
engine->name, i, **vaddr, expect);
sys/dev/pci/drm/i915/gt/selftest_mocs.c
199
u32 expect;
sys/dev/pci/drm/i915/gt/selftest_mocs.c
204
for_each_l3cc(expect, table, i) {
sys/dev/pci/drm/i915/gt/selftest_mocs.c
205
if (!mcr_range(engine->i915, reg) && **vaddr != expect) {
sys/dev/pci/drm/i915/gt/selftest_mocs.c
207
engine->name, i, **vaddr, expect);
sys/dev/pci/drm/i915/gt/selftest_workarounds.c
525
u32 expect;
sys/dev/pci/drm/i915/gt/selftest_workarounds.c
669
expect = results[0];
sys/dev/pci/drm/i915/gt/selftest_workarounds.c
673
expect = results[0];
sys/dev/pci/drm/i915/gt/selftest_workarounds.c
675
expect = reg_write(expect, values[v], rsvd);
sys/dev/pci/drm/i915/gt/selftest_workarounds.c
677
if (results[idx] != expect)
sys/dev/pci/drm/i915/gt/selftest_workarounds.c
683
expect = results[0];
sys/dev/pci/drm/i915/gt/selftest_workarounds.c
685
expect = reg_write(expect, ~values[v], rsvd);
sys/dev/pci/drm/i915/gt/selftest_workarounds.c
687
if (results[idx] != expect)
sys/dev/pci/drm/i915/gt/selftest_workarounds.c
702
expect = results[0];
sys/dev/pci/drm/i915/gt/selftest_workarounds.c
708
expect = results[0];
sys/dev/pci/drm/i915/gt/selftest_workarounds.c
710
expect = reg_write(expect, w, rsvd);
sys/dev/pci/drm/i915/gt/selftest_workarounds.c
712
w, results[idx], expect);
sys/dev/pci/drm/i915/gt/selftest_workarounds.c
719
expect = results[0];
sys/dev/pci/drm/i915/gt/selftest_workarounds.c
721
expect = reg_write(expect, w, rsvd);
sys/dev/pci/drm/i915/gt/selftest_workarounds.c
723
w, results[idx], expect);
sys/dev/pci/drm/i915/intel_uncore.c
932
unsigned int expect = 1;
sys/dev/pci/drm/i915/intel_uncore.c
935
expect++; /* pending automatic release */
sys/dev/pci/drm/i915/intel_uncore.c
937
if (drm_WARN(&uncore->i915->drm, actual < expect,
sys/dev/pci/drm/i915/selftests/i915_syncmap.c
576
bool expect;
sys/dev/pci/drm/i915/selftests/i915_syncmap.c
579
expect = seqno_later(last_seqno, seqno);
sys/dev/pci/drm/i915/selftests/i915_syncmap.c
584
if (i915_syncmap_is_later(&sync, context, seqno) != expect) {
sys/dev/pci/drm/i915/selftests/i915_syncmap.c
586
context, last_seqno, seqno, expect);
usr.bin/at/parsetime.c
342
if (expect(NUMBER) != 0)
usr.bin/at/parsetime.c
398
if (expect(NUMBER) != 0)
usr.bin/at/parsetime.c
529
if (expect(NUMBER) != 0)
usr.bin/at/parsetime.c
570
if (expect(NUMBER) != 0)
usr.bin/at/parsetime.c
574
if (expect(NUMBER) != 0)
usr.bin/at/parsetime.c
689
if (expect(EOF) != 0)
usr.bin/rpcgen/rpc_scan.c
136
peekscan(expect, tokp)
usr.bin/rpcgen/rpc_scan.c
137
tok_kind expect;
usr.bin/rpcgen/rpc_scan.c
141
if (tokp->kind == expect) {
usr.bin/rpcgen/rpc_scan.c
66
scan(expect, tokp)
usr.bin/rpcgen/rpc_scan.c
67
tok_kind expect;
usr.bin/rpcgen/rpc_scan.c
71
if (tokp->kind != expect)
usr.bin/rpcgen/rpc_scan.c
72
expected1(expect);
usr.bin/tic/tic.c
2254
TParams expect;
usr.bin/tic/tic.c
2269
expect = tparm_type(name);
usr.bin/tic/tic.c
2273
if (expect != actual) {
usr.bin/tic/tic.c
3088
isValidString(const char *value, const char *expect)
usr.bin/tic/tic.c
3092
if (!strcmp(value, expect))
usr.bin/tic/tic.c
3099
isValidEscape(const char *value, const char *expect)
usr.bin/tic/tic.c
3104
size_t need = strlen(expect);
usr.bin/tic/tic.c
3106
if (have >= need && !strncmp(value + 1, expect, need)) {
usr.sbin/lpd/frontend_lpr.c
235
conn->expect = sz;
usr.sbin/lpd/frontend_lpr.c
525
if (conn->expect) {
usr.sbin/lpd/frontend_lpr.c
529
if (len > conn->expect)
usr.sbin/lpd/frontend_lpr.c
530
len = conn->expect;
usr.sbin/lpd/frontend_lpr.c
541
conn->expect -= w;
usr.sbin/lpd/frontend_lpr.c
542
if (conn->expect)
usr.sbin/lpd/frontend_lpr.c
60
size_t expect;
usr.sbin/pppd/chat/chat.c
846
char *expect;
usr.sbin/pppd/chat/chat.c
893
expect = expect_strtok (s, "-");
usr.sbin/pppd/chat/chat.c
896
if (expect == (char *) 0)
usr.sbin/pppd/chat/chat.c
904
if (get_string (expect))
usr.sbin/unbound/testcode/unitdname.c
1139
char result[LDNS_MAX_DOMAINLEN], expect[LDNS_MAX_DOMAINLEN], *e;
usr.sbin/unbound/testcode/unitdname.c
1235
e = expect;
usr.sbin/unbound/testcode/unitdname.c
1241
unit_assert( strcmp(expect, result) == 0 );
usr.sbin/unbound/testcode/unitdname.c
1253
e = expect;
usr.sbin/unbound/testcode/unitdname.c
1260
unit_assert( strcmp(expect, result) == 0 );