Home
last modified time | relevance | path

Searched refs:portable_flags (Results 1 – 8 of 8) sorted by relevance

/development/ndk/sources/android/libportable/arch-mips/
Deventfd.c39 static inline int efd_flags_pton(int portable_flags) in efd_flags_pton() argument
43 ALOGV("%s(portable_flags:0x%x) {", __func__, portable_flags); in efd_flags_pton()
45 if (portable_flags & EFD_NONBLOCK_PORTABLE) { in efd_flags_pton()
47 portable_flags &= ~EFD_NONBLOCK_PORTABLE; in efd_flags_pton()
50 if (portable_flags & EFD_CLOEXEC_PORTABLE) { in efd_flags_pton()
52 portable_flags &= EFD_CLOEXEC_PORTABLE; in efd_flags_pton()
55 if (portable_flags & EFD_SEMAPHORE_PORTABLE) { in efd_flags_pton()
57 portable_flags &= EFD_SEMAPHORE_PORTABLE; in efd_flags_pton()
60 if (portable_flags != 0) { in efd_flags_pton()
62 __func__, portable_flags); in efd_flags_pton()
[all …]
Dmmap.c47 static inline int mmap_flags_pton(int portable_flags) in mmap_flags_pton() argument
51 ALOGV("%s(portable_flags:0x%x) {", __func__, portable_flags); in mmap_flags_pton()
53 if (portable_flags & MAP_SHARED_PORTABLE) { in mmap_flags_pton()
56 if (portable_flags & MAP_PRIVATE_PORTABLE) { in mmap_flags_pton()
59 if (portable_flags & MAP_FIXED_PORTABLE) { in mmap_flags_pton()
62 if (portable_flags & MAP_ANONYMOUS_PORTABLE) { in mmap_flags_pton()
65 if (portable_flags & MAP_GROWSDOWN_PORTABLE) { in mmap_flags_pton()
68 if (portable_flags & MAP_DENYWRITE_PORTABLE) { in mmap_flags_pton()
71 if (portable_flags & MAP_EXECUTABLE_PORTABLE) { in mmap_flags_pton()
74 if (portable_flags & MAP_LOCKED_PORTABLE) { in mmap_flags_pton()
[all …]
Dinotify.c45 static inline int in_flags_pton(int portable_flags) in in_flags_pton() argument
49 ALOGV("%s(portable_flags:0x%x) {", __func__, portable_flags); in in_flags_pton()
51 if (portable_flags & IN_NONBLOCK_PORTABLE) { in in_flags_pton()
55 if (portable_flags & IN_CLOEXEC_PORTABLE) { in in_flags_pton()
64 int WRAP(inotify_init1)(int portable_flags) { in WRAP()
70 portable_flags); in WRAP()
72 native_flags = in_flags_pton(portable_flags); in WRAP()
Dtimerfd.c42 static inline int tdf_flags_pton(int portable_flags) in tdf_flags_pton() argument
46 ALOGV("%s(portable_flags:0x%x) {", __func__, portable_flags); in tdf_flags_pton()
48 if (portable_flags & TFD_NONBLOCK_PORTABLE) { in tdf_flags_pton()
52 if (portable_flags & TFD_CLOEXEC_PORTABLE) { in tdf_flags_pton()
61 int WRAP(timerfd_create)(int clockid, int portable_flags) { in WRAP()
67 clockid, portable_flags); in WRAP()
69 native_flags = tdf_flags_pton(portable_flags); in WRAP()
Dpipe.c44 static inline int tdf_flags_pton(int portable_flags) in tdf_flags_pton() argument
48 ALOGV("%s(portable_flags:0x%x) {", __func__, portable_flags); in tdf_flags_pton()
50 if (portable_flags & O_NONBLOCK_PORTABLE) { in tdf_flags_pton()
54 if (portable_flags & O_CLOEXEC_PORTABLE) { in tdf_flags_pton()
63 int WRAP(pipe2)(int pipefd[2], int portable_flags) { in WRAP()
69 pipefd, portable_flags); in WRAP()
71 native_flags = tdf_flags_pton(portable_flags); in WRAP()
Dsignal.c1004 static int sigaction_flags_pton(int portable_flags) in sigaction_flags_pton() argument
1008 if (portable_flags & SA_NOCLDSTOP_PORTABLE) { in sigaction_flags_pton()
1011 if (portable_flags & SA_NOCLDWAIT_PORTABLE) { in sigaction_flags_pton()
1014 if (portable_flags & SA_SIGINFO_PORTABLE) { in sigaction_flags_pton()
1017 if (portable_flags & SA_THIRTYTWO_PORTABLE) { in sigaction_flags_pton()
1020 if (portable_flags & SA_RESTORER_PORTABLE) { in sigaction_flags_pton()
1023 if (portable_flags & SA_ONSTACK_PORTABLE) { in sigaction_flags_pton()
1026 if (portable_flags & SA_RESTART_PORTABLE) { in sigaction_flags_pton()
1029 if (portable_flags & SA_NODEFER_PORTABLE) { in sigaction_flags_pton()
1032 if (portable_flags & SA_RESETHAND_PORTABLE) { in sigaction_flags_pton()
[all …]
Dsyscall.c227 int portable_flags; in WRAP() local
230 portable_flags = va_arg(ap, int); in WRAP()
233 ret = WRAP(inotify_init1)(portable_flags); in WRAP()
265 int portable_flags; in WRAP() local
269 portable_flags = va_arg(ap, int); in WRAP()
272 ret = WRAP(pipe2)(pipefd_ptr, portable_flags); in WRAP()
/development/ndk/sources/android/libportable/common/include/
Dfilefd_portable.h42 extern int WRAP(pipe2)(int pipefd[2], int portable_flags);