Home
last modified time | relevance | path

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

/bionic/libc/include/
Ddlfcn.h79 #define RTLD_DEFAULT __BIONIC_CAST(reinterpret_cast, void*, 0)
80 #define RTLD_NEXT __BIONIC_CAST(reinterpret_cast, void*, -1L)
82 #define RTLD_DEFAULT __BIONIC_CAST(reinterpret_cast, void*, 0xffffffff)
83 #define RTLD_NEXT __BIONIC_CAST(reinterpret_cast, void*, 0xfffffffe)
Dsemaphore.h45 #define SEM_FAILED __BIONIC_CAST(reinterpret_cast, sem_t*, 0)
Dassert.h45 #define __assert_no_op __BIONIC_CAST(static_cast, void, 0)
Dlocale.h107 #define LC_GLOBAL_LOCALE __BIONIC_CAST(reinterpret_cast, locale_t, -1L)
Dsignal.h76 #define SIG_HOLD __BIONIC_CAST(reinterpret_cast, sighandler_t, 2)
/bionic/libc/include/android/
Dlegacy_sys_wait_inlines.h42 return __BIONIC_CAST(static_cast, pid_t, syscall(__NR_wait4, pid, status, options, rusage)); in wait4()
Dlegacy_termios_inlines.h103 return ioctl(fd, TCSBRK, __BIONIC_CAST(static_cast, unsigned long, 1)); in tcdrain()
/bionic/libc/include/bits/
Dwctype.h38 #define WEOF __BIONIC_CAST(static_cast, wint_t, -1)
/bionic/libc/include/sys/
Dmman.h41 #define MAP_FAILED __BIONIC_CAST(reinterpret_cast, void*, -1)
Dselect.h50 #define __FDS_BITS(set) (__BIONIC_CAST(static_cast, fd_set*, set)->fds_bits)
Dcdefs.h72 #define __BIONIC_CAST(_k,_t,_v) (_k<_t>(_v)) macro
74 #define __BIONIC_CAST(_k,_t,_v) ((_t) (_v)) macro
Dsocket.h123 __BIONIC_CAST(reinterpret_cast, struct cmsghdr*, in __cmsg_nxthdr()
124 (__BIONIC_CAST(reinterpret_cast, char*, cmsg) + CMSG_ALIGN(cmsg->cmsg_len))); in __cmsg_nxthdr()
125 size_t len = __BIONIC_CAST(reinterpret_cast, char*, ptr + 1) - in __cmsg_nxthdr()
126 __BIONIC_CAST(reinterpret_cast, char*, msg->msg_control); in __cmsg_nxthdr()
/bionic/libc/stdio/
Dlocal.h150 #define _EXT(fp) __BIONIC_CAST(reinterpret_cast, struct __sfileext*, (fp)->_ext._base)
170 (f)->_ext._base = __BIONIC_CAST(reinterpret_cast, unsigned char*, fext); \
/bionic/libc/include/netinet/
Din6.h59 #define __bionic_s6_addr(a) __BIONIC_CAST(reinterpret_cast, const uint8_t*, a)