Home
last modified time | relevance | path

Searched refs:STATIC_ASSERT (Results 1 – 13 of 13) sorted by relevance

/libuv/src/unix/
H A Dlinux.c175 STATIC_ASSERT(40 == sizeof(struct uv__io_cqring_offsets));
189 STATIC_ASSERT(40 == sizeof(struct uv__io_sqring_offsets));
197 STATIC_ASSERT(16 == sizeof(struct uv__io_uring_cqe));
225 STATIC_ASSERT(64 == sizeof(struct uv__io_uring_sqe));
229 STATIC_ASSERT(4 == offsetof(struct uv__io_uring_sqe, fd));
230 STATIC_ASSERT(8 == offsetof(struct uv__io_uring_sqe, off));
232 STATIC_ASSERT(24 == offsetof(struct uv__io_uring_sqe, len));
253 STATIC_ASSERT(EPOLL_CTL_ADD < 4);
254 STATIC_ASSERT(EPOLL_CTL_DEL < 4);
255 STATIC_ASSERT(EPOLL_CTL_MOD < 4);
[all …]
H A Dcore.c114 STATIC_ASSERT(sizeof(uv_buf_t) == sizeof(struct iovec));
115 STATIC_ASSERT(sizeof(((uv_buf_t*) 0)->base) ==
117 STATIC_ASSERT(sizeof(((uv_buf_t*) 0)->len) ==
119 STATIC_ASSERT(offsetof(uv_buf_t, base) == offsetof(struct iovec, iov_base));
120 STATIC_ASSERT(offsetof(uv_buf_t, len) == offsetof(struct iovec, iov_len));
H A Dthread.c536 STATIC_ASSERT(sizeof(uv_sem_t) >= sizeof(uv_semaphore_t*));
H A Dudp.c1001 STATIC_ASSERT(sizeof(mreq.gsr_group) >= sizeof(*multicast_addr)); in uv__udp_set_source_membership6()
1002 STATIC_ASSERT(sizeof(mreq.gsr_source) >= sizeof(*source_addr)); in uv__udp_set_source_membership6()
H A Dstream.c71 STATIC_ASSERT(256 == sizeof(union uv__cmsg));
H A Dfs.c1532 STATIC_ASSERT(UV_ENOSYS != -1); in uv__fs_statx()
/libuv/src/win/
H A Dthread.c56 STATIC_ASSERT(sizeof(uv_thread_t) <= sizeof(void*));
307 STATIC_ASSERT(sizeof(uv_rwlock_t) == 80);
309 STATIC_ASSERT(sizeof(uv_rwlock_t) == 48);
H A Dudp.c721 STATIC_ASSERT(sizeof(mreq.gsr_group) >= sizeof(*multicast_addr)); in uv__udp_set_source_membership6()
722 STATIC_ASSERT(sizeof(mreq.gsr_source) >= sizeof(*source_addr)); in uv__udp_set_source_membership6()
H A Dpipe.c83 STATIC_ASSERT(sizeof(uv__ipc_frame_header_t) == 16);
84 STATIC_ASSERT(sizeof(uv__ipc_socket_xfer_info_t) == 632);
H A Dfs.c1379 STATIC_ASSERT(sizeof buffer >= in fs__scandir()
/libuv/src/
H A Duv-common.h62 #define STATIC_ASSERT(expr) static_assert(expr, #expr) macro
64 #define STATIC_ASSERT(expr) \ macro
H A Dthread-common.c31 STATIC_ASSERT(sizeof(uv_barrier_t) == sizeof(pthread_barrier_t));
/libuv/
H A DChangeLog957 * unix: fix STATIC_ASSERT to check what it means to check (Jessica Clarke)
2745 * aix: guard STATIC_ASSERT for glibc work around (Richard Lau)
4560 * common: move STATIC_ASSERT to uv-common.h (Alexey Melnichuk)
6214 * unix: silence STATIC_ASSERT compiler warnings (Ben Noordhuis)
6223 * unix: silence STATIC_ASSERT compiler warnings (Ben Noordhuis)
6229 * unix: silence STATIC_ASSERT compiler warnings (Ben Noordhuis)

Completed in 67 milliseconds