Searched refs:__BIONIC_CAST (Results 1 – 14 of 14) sorted by relevance
/bionic/libc/include/ |
D | dlfcn.h | 79 #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)
|
D | semaphore.h | 45 #define SEM_FAILED __BIONIC_CAST(reinterpret_cast, sem_t*, 0)
|
D | assert.h | 45 #define __assert_no_op __BIONIC_CAST(static_cast, void, 0)
|
D | locale.h | 107 #define LC_GLOBAL_LOCALE __BIONIC_CAST(reinterpret_cast, locale_t, -1L)
|
D | signal.h | 76 #define SIG_HOLD __BIONIC_CAST(reinterpret_cast, sighandler_t, 2)
|
/bionic/libc/include/android/ |
D | legacy_sys_wait_inlines.h | 42 return __BIONIC_CAST(static_cast, pid_t, syscall(__NR_wait4, pid, status, options, rusage)); in wait4()
|
D | legacy_termios_inlines.h | 103 return ioctl(fd, TCSBRK, __BIONIC_CAST(static_cast, unsigned long, 1)); in tcdrain()
|
/bionic/libc/include/bits/ |
D | wctype.h | 38 #define WEOF __BIONIC_CAST(static_cast, wint_t, -1)
|
/bionic/libc/include/sys/ |
D | mman.h | 41 #define MAP_FAILED __BIONIC_CAST(reinterpret_cast, void*, -1)
|
D | select.h | 50 #define __FDS_BITS(set) (__BIONIC_CAST(static_cast, fd_set*, set)->fds_bits)
|
D | cdefs.h | 72 #define __BIONIC_CAST(_k,_t,_v) (_k<_t>(_v)) macro 74 #define __BIONIC_CAST(_k,_t,_v) ((_t) (_v)) macro
|
D | socket.h | 123 __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/ |
D | local.h | 150 #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/ |
D | in6.h | 59 #define __bionic_s6_addr(a) __BIONIC_CAST(reinterpret_cast, const uint8_t*, a)
|