Searched refs:pos2 (Results 1 – 2 of 2) sorted by relevance
| /xnu-11215/tests/ |
| H A D | debug_enable_syscall_rejection.c | 174 char pos1[max_pos_len], pos2[max_pos_len]; variable 176 T_QUIET; T_ASSERT_GE_INT(snprintf(pos2, max_pos_len, "%u", i + 1), 0, "creating pos2"); 178 char *args[] = {DENY(pos1, ALL), ALLOW(pos2, 12), NULL}; 179 T_EXPECT_EQ(helper(args), ALIVE, "pos %s/%s works (alive)", pos1, pos2); 180 char *args_d[] = {ALLOW(pos1, ALL), DENY(pos2, 12), NULL}; 181 T_EXPECT_EQ(helper(args_d), DEAD, "pos %s/%s works (dead)", pos1, pos2);
|
| /xnu-11215/iokit/Kernel/ |
| H A D | IOKitDebug.cpp | 447 const unsigned char *pos2; in fasthash64() local 457 pos2 = (const unsigned char*)pos; in fasthash64() 461 case 7: v ^= (uint64_t)pos2[6] << 48; in fasthash64() 463 case 6: v ^= (uint64_t)pos2[5] << 40; in fasthash64() 465 case 5: v ^= (uint64_t)pos2[4] << 32; in fasthash64() 467 case 4: v ^= (uint64_t)pos2[3] << 24; in fasthash64() 469 case 3: v ^= (uint64_t)pos2[2] << 16; in fasthash64() 471 case 2: v ^= (uint64_t)pos2[1] << 8; in fasthash64() 473 case 1: v ^= (uint64_t)pos2[0]; in fasthash64()
|