Home
last modified time | relevance | path

Searched refs:mask (Results 1 – 25 of 76) sorted by relevance

1234

/bionic/libc/kernel/uapi/linux/iio/
Devents.h30 #define IIO_EVENT_CODE_EXTRACT_TYPE(mask) ((mask >> 56) & 0xFF) argument
31 #define IIO_EVENT_CODE_EXTRACT_DIR(mask) ((mask >> 48) & 0x7F) argument
32 #define IIO_EVENT_CODE_EXTRACT_CHAN_TYPE(mask) ((mask >> 32) & 0xFF) argument
34 #define IIO_EVENT_CODE_EXTRACT_CHAN(mask) ((__s16) (mask & 0xFFFF)) argument
35 #define IIO_EVENT_CODE_EXTRACT_CHAN2(mask) ((__s16) (((mask) >> 16) & 0xFFFF)) argument
36 #define IIO_EVENT_CODE_EXTRACT_MODIFIER(mask) ((mask >> 40) & 0xFF) argument
37 #define IIO_EVENT_CODE_EXTRACT_DIFF(mask) (((mask) >> 55) & 0x1) argument
/bionic/libc/bionic/
Dpause.cpp37 kernel_sigset_t mask; in pause() local
38 if (__rt_sigprocmask(SIG_SETMASK, NULL, &mask, sizeof(mask)) == -1) { in pause()
41 return __rt_sigsuspend(&mask, sizeof(mask)); in pause()
Dabort.cpp43 sigset_t mask; in abort() local
44 sigfillset(&mask); in abort()
45 sigdelset(&mask, SIGABRT); in abort()
46 sigprocmask(SIG_SETMASK, &mask, NULL); in abort()
58 sigprocmask(SIG_SETMASK, &mask, NULL); in abort()
Dsignalfd.cpp33 extern "C" int __signalfd4(int fd, kernel_sigset_t* mask, size_t sizemask, int flags);
35 int signalfd(int fd, const sigset_t* mask, int flags) { in signalfd() argument
36 kernel_sigset_t in_set(mask); in signalfd()
Dmbrtoc32.cpp71 int mask; in mbrtoc32() local
84 mask = 0x7f; in mbrtoc32()
88 mask = 0x1f; in mbrtoc32()
92 mask = 0x0f; in mbrtoc32()
96 mask = 0x07; in mbrtoc32()
120 char32_t c32 = mbstate_get_byte(state, 0) & mask; in mbrtoc32()
Dsigsetmask.c32 sigsetmask(int mask) in sigsetmask() argument
42 in.the_mask = mask; in sigsetmask()
Dsigblock.c32 sigblock(int mask) in sigblock() argument
41 in.the_mask = mask; in sigblock()
Dpthread_exit.cpp120 sigset_t mask; in pthread_exit() local
121 sigfillset(&mask); in pthread_exit()
122 sigprocmask(SIG_SETMASK, &mask, NULL); in pthread_exit()
/bionic/libc/kernel/uapi/linux/
Dkernel.h24 #define __ALIGN_KERNEL_MASK(x,mask) (((x) + (mask)) & ~(mask)) argument
/bionic/libc/arch-arm64/generic/bionic/
Dmemcmp.S54 #define mask x13 macro
84 mov mask, #~0
86 lsr mask, mask, limit
88 lsl mask, mask, limit
90 bic data1, data1, mask
91 bic data2, data2, mask
93 orr diff, diff, mask
Dstrncmp.S59 #define mask x14 macro
105 mov mask, #~0
107 lsr mask, mask, limit
109 lsl mask, mask, limit
111 bic data1, data1, mask
112 bic data2, data2, mask
115 orr has_nul, has_nul, mask
/bionic/libc/upstream-openbsd/lib/libc/stdlib/
Dsystem.c46 sigset_t mask, omask; in system() local
55 sigemptyset(&mask); in system()
56 sigaddset(&mask, SIGCHLD); in system()
57 sigprocmask(SIG_BLOCK, &mask, &omask); in system()
/bionic/libc/kernel/uapi/linux/netfilter/
Dxt_mark.h24 __u32 mark, mask; member
27 __u32 mark, mask; member
Dxt_realm.h25 __u32 mask; member
Dxt_connmark.h35 __u32 mark, mask; member
Dxt_connlimit.h32 union nf_inet_addr mask; member
/bionic/libc/include/
Dpoll.h73 const sigset_t* mask) __overloadable
81 const struct timespec* timeout, const sigset_t* mask) __overloadable { in ppoll() argument
85 return __call_bypassing_fortify(ppoll)(fds, fd_count, timeout, mask); in ppoll()
88 return __ppoll_chk(fds, fd_count, timeout, mask, bos_fds); in ppoll()
112 const sigset_t* mask) { in ppoll() argument
115 return __ppoll_chk(fds, fd_count, timeout, mask, __bos(fds)); in ppoll()
120 return __ppoll_real(fds, fd_count, timeout, mask); in ppoll()
/bionic/libm/amd64/
Dfenv.c371 feenableexcept(int mask) in feenableexcept() argument
376 mask &= FE_ALL_EXCEPT; in feenableexcept()
382 control &= ~mask; in feenableexcept()
385 mxcsr &= ~(mask << SSE_MASK_SHIFT); in feenableexcept()
392 fedisableexcept(int mask) in fedisableexcept() argument
397 mask &= FE_ALL_EXCEPT; in fedisableexcept()
403 control |= mask; in fedisableexcept()
406 mxcsr |= mask << SSE_MASK_SHIFT; in fedisableexcept()
/bionic/libm/i387/
Dfenv.c233 feenableexcept(int mask) in feenableexcept() argument
238 mask &= FE_ALL_EXCEPT; in feenableexcept()
246 if (mask) { in feenableexcept()
247 control &= ~mask; in feenableexcept()
250 mxcsr &= ~(mask << _SSE_EMASK_SHIFT); in feenableexcept()
258 fedisableexcept(int mask) in fedisableexcept() argument
263 mask &= FE_ALL_EXCEPT; in fedisableexcept()
271 if (mask) { in fedisableexcept()
272 control |= mask; in fedisableexcept()
275 mxcsr |= mask << _SSE_EMASK_SHIFT; in fedisableexcept()
/bionic/libc/upstream-netbsd/lib/libc/regex/
Dregex2.h159 uch mask; /* bit within array */ member
165 #define CHadd(cs, c) ((cs)->ptr[(uch)(c)] |= (cs)->mask, (cs)->hash += (c))
166 #define CHsub(cs, c) ((cs)->ptr[(uch)(c)] &= ~(cs)->mask, (cs)->hash -= (c))
167 #define CHIN(cs, c) ((cs)->ptr[(uch)(c)] & (cs)->mask)
/bionic/libc/include/sys/
Dsignalfd.h39 int signalfd(int fd, const sigset_t* _Nonnull mask, int flags) __INTRODUCED_IN(18);
/bionic/libc/kernel/uapi/linux/netfilter_bridge/
Debt_mark_m.h27 unsigned long mark, mask; member
/bionic/libc/kernel/uapi/linux/tc_act/
Dtc_nat.h41 __be32 mask; member
/bionic/libc/kernel/uapi/linux/tc_ematch/
Dtc_em_cmp.h26 __u32 mask; member
/bionic/libc/dns/resolv/
Dres_private.h13 } addr, mask; member

1234