OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:expect_errno
(Results
1 - 2
of
2
) sorted by null
/frameworks/native/libs/binder/tests/
binderDriverInterfaceTest.cpp
80
void binderTestIoctlRetErr2(int cmd, void *arg, int expect_ret, int
expect_errno
, int accept_errno) {
87
EXPECT_EQ(
expect_errno
, errno);
90
void binderTestIoctlErr2(int cmd, void *arg, int
expect_errno
, int accept_errno) {
91
binderTestIoctlRetErr2(cmd, arg, -1,
expect_errno
, accept_errno);
93
void binderTestIoctlErr1(int cmd, void *arg, int
expect_errno
) {
94
binderTestIoctlErr2(cmd, arg,
expect_errno
,
expect_errno
);
/external/libchrome/sandbox/linux/bpf_dsl/
bpf_dsl_unittest.cc
344
const int
expect_errno
= (uid & 0xf) == 0 ? EINVAL : EACCES;
local
345
emulator.ExpectErrno(
expect_errno
, FakeSyscall(__NR_setuid, uid));
349
const int
expect_errno
= (gid & 0xf0) == 0xf0 ? EINVAL : EACCES;
local
350
emulator.ExpectErrno(
expect_errno
, FakeSyscall(__NR_setgid, gid));
354
const int
expect_errno
= (pid & 0xa5) == 0xa0 ? EINVAL : EACCES;
local
355
emulator.ExpectErrno(
expect_errno
, FakeSyscall(__NR_setpgid, pid, 0));
Completed in 71 milliseconds