/src/tests/lib/libbluetooth/ |
t_sdp_set.c | 130 const uint8_t expect[] = { local in function:ATF_TC_BODY 147 ATF_REQUIRE_EQ(sizeof(data), sizeof(expect)); 148 ATF_CHECK(memcmp(expect, data, sizeof(expect)) == 0); 210 const uint8_t expect[] = { local in function:ATF_TC_BODY 227 ATF_REQUIRE_EQ(sizeof(data), sizeof(expect)); 228 ATF_CHECK(memcmp(expect, data, sizeof(expect)) == 0); 275 const uint8_t expect[] = { local in function:ATF_TC_BODY 285 ATF_REQUIRE_EQ(sizeof(data), sizeof(expect)); 333 const uint8_t expect[] = { local in function:ATF_TC_BODY [all...] |
t_sdp_put.c | 61 const uint8_t expect[] = { local in function:ATF_TC_BODY 67 ATF_REQUIRE_EQ(test.end - test.next, sizeof(expect)); 68 ATF_CHECK(memcmp(expect, test.next, sizeof(expect)) == 0); 95 const uint8_t expect[] = { local in function:ATF_TC_BODY 100 ATF_REQUIRE_EQ(test.end - test.next, sizeof(expect)); 101 ATF_CHECK(memcmp(expect, test.next, sizeof(expect)) == 0); 147 const uint8_t expect[] = { local in function:ATF_TC_BODY 158 ATF_REQUIRE_EQ(test.end - test.next, sizeof(expect)); 179 const uint8_t expect[] = { local in function:ATF_TC_BODY 204 const uint8_t expect[] = { local in function:ATF_TC_BODY 238 const uint8_t expect[] = { local in function:ATF_TC_BODY 268 const uint8_t expect[] = { local in function:ATF_TC_BODY 301 const uint8_t expect[] = { local in function:ATF_TC_BODY 340 const uint8_t expect[] = { local in function:ATF_TC_BODY 369 const uint8_t expect[] = { local in function:ATF_TC_BODY 401 const uint8_t expect[] = { local in function:ATF_TC_BODY 440 const uint8_t expect[] = { local in function:ATF_TC_BODY 496 const uint8_t expect[] = { local in function:ATF_TC_BODY 549 const uint8_t expect[] = { local in function:ATF_TC_BODY 580 const uint8_t expect[] = { local in function:ATF_TC_BODY 615 const uint8_t expect[] = { local in function:ATF_TC_BODY 661 const uint8_t expect[] = { local in function:ATF_TC_BODY 718 const uint8_t expect[] = { local in function:ATF_TC_BODY 752 const uint8_t expect[] = { local in function:ATF_TC_BODY 788 const uint8_t expect[] = { local in function:ATF_TC_BODY 830 const uint8_t expect[] = { local in function:ATF_TC_BODY [all...] |
/src/tests/lib/libc/string/ |
t_stresep.c | 38 #define expect(a) \ macro 58 expect("foo bar"); 59 expect("baz"); 60 expect("bar foo "); 61 expect("bar foo"); 62 expect(" baz"); 63 expect("bar "); 67 expect("aa"); 68 expect("bb"); 69 expect("cc dd-") [all...] |
t_memmem.c | 65 #define expect(b) \ macro 81 expect(memmem(b2, lb2, p0, lp0) == b2); 82 expect(memmem(b0, lb0, p0, lp0) == b0); 83 expect(memmem(b0, lb0, p1, lp1) == NULL); 84 expect(memmem(b1, lb1, p1, lp1) == NULL); 86 expect(memmem(b2, lb2, p1, lp1) == b2); 87 expect(memmem(b2, lb2, p2, lp2) == (b2 + 4)); 88 expect(memmem(b2, lb2, p3, lp3) == (b2 + 7)); 90 expect(memmem(b2, lb2, p5, lp5) == b2); 91 expect(memmem(b2, lb2, p6, lp6) == (b2 + 9)) [all...] |
/src/usr.bin/tip/aculib/ |
v3451.c | 48 static int expect(const char *); 70 if (!expect("READY")) { 79 if (!expect("NUMBER?")) { 85 if (!expect(phone)) { 97 if (!expect("DIALING:")) { 103 ok = expect("ON LINE"); 138 expect(const char *cp) function in typeref:typename:int
|
/src/tests/games/ |
t_factor.sh | 28 expect() { function 43 expect '8675309' '8675309: 8675309' 52 expect '6172538568' '6172538568: 2 2 2 3 7 17 2161253' 62 expect '2147483647111311' '2147483647111311: 3 3 3 131 607148331103' 72 expect '99999999999991' '99999999999991: 7 13 769231 1428571' Need_Crypto 82 expect '-h 8675309' '8675309: 8675309' 91 expect '-h 6172538568' '6172538568: 2^3 3 7 17 2161253' 101 expect '-h 2147483647111311' '2147483647111311: 3^3 131 607148331103' 111 expect '-h 99999999999991' '99999999999991: 7 13 769231 1428571' Need_Crypto 121 expect '-hx 8675309' '0x845FED: 0x845FED [all...] |
/src/sys/dev/i2c/ |
gttwsi_core.c | 187 int expect; local in function:gttwsi_send_start 190 expect = STAT_RSCT; 192 expect = STAT_SCT; 194 return gttwsi_wait(sc, CONTROL_START, expect, 0, flags, "send-start"); 227 uint32_t data, expect, alt; local in function:gttwsi_initiate_xfer 236 expect = STAT_ARBT_AR; 239 expect = STAT_AWBT_AR; 254 error = gttwsi_wait(sc, 0, expect, alt, flags, "send-addr-10"); 262 expect = STAT_SARBT_AR; 265 expect = STAT_SAWBT_AR [all...] |
/src/sys/external/bsd/drm2/dist/drm/i915/gt/ |
selftest_mocs.c | 161 u32 expect; local in function:check_mocs_table 163 for_each_mocs(expect, table, i) { 164 if (**vaddr != expect) { 166 engine->name, i, **vaddr, expect); 192 u32 expect; local in function:check_l3cc_table 194 for_each_l3cc(expect, table, i) { 195 if (!mcr_range(engine->i915, reg) && **vaddr != expect) { 197 engine->name, i, **vaddr, expect);
|
selftest_workarounds.c | 498 u32 expect; local in function:check_dirty_whitelist 624 expect = results[0]; 628 expect = results[0]; 630 expect = reg_write(expect, values[v], rsvd); 632 if (results[idx] != expect) 638 expect = results[0]; 640 expect = reg_write(expect, ~values[v], rsvd); 642 if (results[idx] != expect) [all...] |
/src/sys/external/bsd/drm2/dist/drm/i915/selftests/ |
i915_syncmap.c | 297 * If we then reuse the same set of contexts, we expect to build an 581 bool expect; local in function:igt_syncmap_random 584 expect = seqno_later(last_seqno, seqno); 589 if (i915_syncmap_is_later(&sync, context, seqno) != expect) { 591 context, last_seqno, seqno, expect);
|
/src/tests/usr.bin/printf/ |
printf.sh | 93 expect() function 155 WANT="$1"; shift # we do not really expect this, but ... 230 expect abcd abcd 231 expect % %% 232 expect xxx%yyy xxx%%yyy 233 expect -123 -123 249 expect "${BSL}" '\\' 250 expect '?' '\\' # must be just 1 char 252 expect "${NL}" '\n' 253 expect " " '\t' # a literal <tab> in " [all...] |
/src/lib/libcrypt/ |
hmac.c | 202 unsigned char *expect; member in struct:HMAC_KAT::test_s 266 if (strcmp(dbuf, test->expect) == 0) 270 result = test->expect;
|
/src/sys/external/bsd/drm2/include/linux/ |
atomic.h | 296 atomic_cmpxchg(atomic_t *atomic, int expect, int new) 306 old = (int)atomic_cas_uint(&atomic->a_u.au_uint, (unsigned)expect, 316 int expect = *valuep; local in function:atomic_try_cmpxchg 318 *valuep = atomic_cmpxchg(atomic, expect, new); 320 return *valuep == expect; 389 atomic64_cmpxchg(struct atomic64 *atomic, uint64_t expect, uint64_t new) 399 old = atomic_cas_64(&atomic->a_v, expect, new); 494 atomic_long_cmpxchg(struct atomic_long *a, long expect, long new) 504 old = (long)atomic_cas_ulong(&a->al_v, (unsigned long)expect,
|
/src/sys/arch/vax/vax/ |
ka6400.c | 253 static int expect = 0; variable in typeref:typename:int 274 if (expect == ((c >> 8) & 0xf)) 337 expect = id; 351 expect = 0;
|
ka88.c | 235 static int expect = 0; variable in typeref:typename:int 256 if (expect == ((c >> 8) & 0xf)) 370 expect = id; 384 expect = 0;
|
ka820.c | 440 static int expect = 0; variable in typeref:typename:int 454 if (expect == ((c >> 8) & 0xf)) 537 expect = id; 551 expect = 0;
|
/src/usr.bin/at/ |
parsetime.c | 169 static void expect(tokid_t); 296 * expect() gets a token and dies most horribly if it's not the token we want 299 expect(tokid_t desired) function in typeref:typename:void 318 expect(NUMBER); 374 expect(NUMBER); 487 expect(NUMBER); 527 expect(NUMBER); 530 expect(NUMBER); 600 expect(PLUS); 638 expect(TOKEOF) [all...] |
/src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/ |
tsan_interface_ann.cc | 78 ExpectRace expect; member in struct:__tsan::DynamicAnnContext 146 InitList(&dyn_ann_ctx->expect); 152 if (CheckContains(&dyn_ann_ctx->expect, addr, size)) 307 while (dyn_ann_ctx->expect.next != &dyn_ann_ctx->expect) { 308 ExpectRace *race = dyn_ann_ctx->expect.next; 354 AddExpectRace(&dyn_ann_ctx->expect,
|
/src/tests/fs/vfs/ |
t_vnops.c | 896 struct flock expect[4]; local in function:fcntl_getlock_pids 917 memcpy(expect, lock, sizeof(lock)); 942 expect[i].l_pid = pid[i]; 946 qsort(expect, __arraycount(expect), sizeof(expect[0]), &flock_compare); 970 ATF_CHECK_EQ(nlocks, __arraycount(expect)); 975 ATF_CHECK_EQ(result[j].l_start, expect[j].l_start ); 976 ATF_CHECK_EQ(result[j].l_len, expect[j].l_len ); 977 ATF_CHECK_EQ(result[j].l_pid, expect[j].l_pid ) [all...] |
/src/sys/external/bsd/drm2/dist/drm/i915/ |
intel_uncore.c | 828 unsigned int expect = 1; local in function:assert_forcewakes_active 831 expect++; /* pending automatic release */ 833 if (WARN(actual < expect, 2019 * wish to wait without holding forcewake for the duration (i.e. you expect
|
/src/sys/arch/x86/x86/ |
pmap.c | 4398 pt_entry_t expect; local in function:pmap_sync_pv 4413 expect = pmap_pa2pte(pa) | PTE_P; 4426 if ((opte & (PTE_FRAME | PTE_P)) != expect) { 6731 pt_entry_t expect; local in function:pmap_ept_sync_pv 6734 expect = pmap_pa2pte(pa) | EPT_R; 6748 if ((opte & (PTE_FRAME | EPT_R)) != expect) {
|