Searched refs:BPF_ASSERT (Results 1 – 5 of 5) sorted by relevance
48 BPF_ASSERT(fourty_two); in EmptyClassTakingPolicy()49 BPF_ASSERT(FourtyTwo::kMagicValue == fourty_two->value()); in EmptyClassTakingPolicy()64 BPF_ASSERT(BPF_AUX); in BPF_TEST()65 BPF_ASSERT(FourtyTwo::kMagicValue == BPF_AUX->value()); in BPF_TEST()123 BPF_ASSERT(-1 == ret); in RunTestFunction()124 BPF_ASSERT(ENOSYS == errno); in RunTestFunction()139 BPF_ASSERT(-1 == ret); in BPF_TEST_C()140 BPF_ASSERT(ENOSYS == errno); in BPF_TEST_C()
62 #define BPF_ASSERT SANDBOX_ASSERT macro63 #define BPF_ASSERT_EQ(x, y) BPF_ASSERT((x) == (y))64 #define BPF_ASSERT_NE(x, y) BPF_ASSERT((x) != (y))65 #define BPF_ASSERT_LT(x, y) BPF_ASSERT((x) < (y))66 #define BPF_ASSERT_GT(x, y) BPF_ASSERT((x) > (y))67 #define BPF_ASSERT_LE(x, y) BPF_ASSERT((x) <= (y))68 #define BPF_ASSERT_GE(x, y) BPF_ASSERT((x) >= (y))
106 BPF_ASSERT(arraysize(args.args) == 6); in CopySyscallArgsToAux()150 BPF_ASSERT(Syscall::Call(__NR_uname, in BPF_TEST()159 BPF_ASSERT(BPF_AUX->size() == 6); in BPF_TEST()164 BPF_ASSERT((*BPF_AUX)[0] == static_cast<uint64_t>(syscall_args[0])); in BPF_TEST()165 BPF_ASSERT((*BPF_AUX)[1] == static_cast<uint64_t>(syscall_args[1])); in BPF_TEST()166 BPF_ASSERT((*BPF_AUX)[2] == static_cast<uint64_t>(syscall_args[2])); in BPF_TEST()167 BPF_ASSERT((*BPF_AUX)[3] == static_cast<uint64_t>(syscall_args[3])); in BPF_TEST()168 BPF_ASSERT((*BPF_AUX)[4] == static_cast<uint64_t>(syscall_args[4])); in BPF_TEST()169 BPF_ASSERT((*BPF_AUX)[5] == static_cast<uint64_t>(syscall_args[5])); in BPF_TEST()
166 BPF_ASSERT(getparam_thread.Start()); in BPF_TEST_C()169 BPF_ASSERT(thread_run.TimedWait(base::TimeDelta::FromMilliseconds(5000))); in BPF_TEST_C()
56 BPF_ASSERT(S_ISFIFO(stat_buf.st_mode) || S_ISSOCK(stat_buf.st_mode)); in TestPipeOrSocketPair()135 BPF_ASSERT(thread.Start()); in BPF_TEST_C()291 BPF_ASSERT(is_dumpable == 1 || is_dumpable == 0); in BPF_TEST_C()