HomeSort by relevance Sort by last modified time
    Searched refs:BPF_ASSERT (Results 1 - 5 of 5) sorted by null

  /external/libchrome/sandbox/linux/seccomp-bpf/
bpf_tests_unittest.cc 47 BPF_ASSERT(fourty_two);
48 BPF_ASSERT(FourtyTwo::kMagicValue == fourty_two->value());
63 BPF_ASSERT(BPF_AUX);
64 BPF_ASSERT(FourtyTwo::kMagicValue == BPF_AUX->value());
122 BPF_ASSERT(-1 == ret);
123 BPF_ASSERT(ENOSYS == errno);
138 BPF_ASSERT(-1 == ret);
139 BPF_ASSERT(ENOSYS == errno);
bpf_tests.h 24 // the BPF_ASSERT macros defined below, not GTEST's macros. The use of
60 #define BPF_ASSERT SANDBOX_ASSERT
61 #define BPF_ASSERT_EQ(x, y) BPF_ASSERT((x) == (y))
62 #define BPF_ASSERT_NE(x, y) BPF_ASSERT((x) != (y))
63 #define BPF_ASSERT_LT(x, y) BPF_ASSERT((x) < (y))
64 #define BPF_ASSERT_GT(x, y) BPF_ASSERT((x) > (y))
65 #define BPF_ASSERT_LE(x, y) BPF_ASSERT((x) <= (y))
66 #define BPF_ASSERT_GE(x, y) BPF_ASSERT((x) >= (y))
syscall_unittest.cc 106 BPF_ASSERT(arraysize(args.args) == 6);
150 BPF_ASSERT(Syscall::Call(__NR_uname,
159 BPF_ASSERT(BPF_AUX->size() == 6);
164 BPF_ASSERT((*BPF_AUX)[0] == static_cast<uint64_t>(syscall_args[0]));
165 BPF_ASSERT((*BPF_AUX)[1] == static_cast<uint64_t>(syscall_args[1]));
166 BPF_ASSERT((*BPF_AUX)[2] == static_cast<uint64_t>(syscall_args[2]));
167 BPF_ASSERT((*BPF_AUX)[3] == static_cast<uint64_t>(syscall_args[3]));
168 BPF_ASSERT((*BPF_AUX)[4] == static_cast<uint64_t>(syscall_args[4]));
169 BPF_ASSERT((*BPF_AUX)[5] == static_cast<uint64_t>(syscall_args[5]));
  /external/libchrome/sandbox/linux/seccomp-bpf-helpers/
syscall_parameters_restrictions_unittests.cc 161 BPF_ASSERT(getparam_thread.Start());
164 BPF_ASSERT(thread_run.TimedWait(base::TimeDelta::FromMilliseconds(5000)));
baseline_policy_unittest.cc 56 BPF_ASSERT(S_ISFIFO(stat_buf.st_mode) || S_ISSOCK(stat_buf.st_mode));
135 BPF_ASSERT(thread.Start());
277 BPF_ASSERT(is_dumpable == 1 || is_dumpable == 0);

Completed in 54 milliseconds