Home
last modified time | relevance | path

Searched refs:__BIONIC_CAST (Results 1 – 16 of 16) sorted by relevance

/bionic/libc/include/
Ddlfcn.h71 #define RTLD_DEFAULT __BIONIC_CAST(reinterpret_cast, void*, 0)
72 #define RTLD_NEXT __BIONIC_CAST(reinterpret_cast, void*, -1L)
74 #define RTLD_DEFAULT __BIONIC_CAST(reinterpret_cast, void*, 0xffffffff)
75 #define RTLD_NEXT __BIONIC_CAST(reinterpret_cast, void*, 0xfffffffe)
Dassert.h49 #define __assert_no_op __BIONIC_CAST(static_cast, void, 0)
Dsemaphore.h45 #define SEM_FAILED __BIONIC_CAST(reinterpret_cast, sem_t*, 0)
Dlocale.h107 #define LC_GLOBAL_LOCALE __BIONIC_CAST(reinterpret_cast, locale_t, -1L)
Dsignal.h49 #define SIG_HOLD __BIONIC_CAST(reinterpret_cast, sighandler_t, 2)
/bionic/libc/include/bits/
Dtermios_inlines.h49 return __BIONIC_CAST(static_cast, speed_t, s->c_cflag & CBAUD); in cfgetspeed()
91 return ioctl(fd, TCSBRK, __BIONIC_CAST(static_cast, unsigned long, 1)); in tcdrain()
95 return ioctl(fd, TCXONC, __BIONIC_CAST(static_cast, unsigned long, action)); in tcflow()
99 return ioctl(fd, TCFLSH, __BIONIC_CAST(static_cast, unsigned long, queue)); in tcflush()
112 return ioctl(fd, TCSBRKP, __BIONIC_CAST(static_cast, unsigned long, duration)); in tcsendbreak()
Dwctype.h38 #define WEOF __BIONIC_CAST(static_cast, wint_t, -1)
/bionic/libc/include/sys/
Dendian.h48 #define __swap64(x) __BIONIC_CAST(static_cast,uint64_t,__builtin_bswap64(x))
73 #define NTOHL(x) (x) = ntohl(__BIONIC_CAST(static_cast,u_int32_t,(x)))
74 #define NTOHS(x) (x) = ntohs(__BIONIC_CAST(static_cast,u_int16_t,(x)))
75 #define HTONL(x) (x) = htonl(__BIONIC_CAST(static_cast,u_int32_t,(x)))
76 #define HTONS(x) (x) = htons(__BIONIC_CAST(static_cast,u_int16_t,(x)))
Dsocket.h121 __BIONIC_CAST(reinterpret_cast, struct cmsghdr*, in __cmsg_nxthdr()
122 (__BIONIC_CAST(reinterpret_cast, char*, cmsg) + CMSG_ALIGN(cmsg->cmsg_len))); in __cmsg_nxthdr()
123 size_t len = __BIONIC_CAST(reinterpret_cast, char*, ptr + 1) - in __cmsg_nxthdr()
124 __BIONIC_CAST(reinterpret_cast, char*, msg->msg_control); in __cmsg_nxthdr()
Dmman.h42 #define MAP_FAILED __BIONIC_CAST(reinterpret_cast, void*, -1)
Dcdefs.h54 #define __BIONIC_CAST(_k,_t,_v) (_k<_t>(_v)) macro
56 #define __BIONIC_CAST(_k,_t,_v) ((_t) (_v)) macro
Dselect.h51 #define __FDS_BITS(type,set) (__BIONIC_CAST(static_cast, type, set)->fds_bits)
/bionic/libc/include/android/
Dlegacy_sys_wait_inlines.h43 return __BIONIC_CAST(static_cast, pid_t, syscall(__NR_wait4, pid, status, options, rusage)); in wait4()
Dlegacy_stdlib_inlines.h67 return __BIONIC_CAST(static_cast, float, d); in strtof()
/bionic/libc/include/netinet/
Din6.h59 #define __bionic_s6_addr(a) __BIONIC_CAST(reinterpret_cast, const uint8_t*, a)
/bionic/libc/stdio/
Dlocal.h170 #define _EXT(fp) __BIONIC_CAST(reinterpret_cast, struct __sfileext*, (fp)->_ext._base)
177 (fp)->_ext._base = __BIONIC_CAST(reinterpret_cast, unsigned char*, fext); \