Searched refs:_Static_assert (Results 1 - 25 of 57) sorted by relevance

123

/freebsd-11-stable/lib/libkvm/
H A Dkvm_arm.h79 _Static_assert(PAGE_SHIFT == ARM_PAGE_SHIFT, "PAGE_SHIFT mismatch");
80 _Static_assert(PAGE_SIZE == ARM_PAGE_SIZE, "PAGE_SIZE mismatch");
81 _Static_assert(PAGE_MASK == ARM_PAGE_MASK, "PAGE_MASK mismatch");
82 _Static_assert(L1_TABLE_SIZE == ARM_L1_TABLE_SIZE, "L1_TABLE_SIZE mismatch");
83 _Static_assert(L1_S_SIZE == ARM_L1_S_SIZE, "L1_S_SIZE mismatch");
84 _Static_assert(L1_S_OFFSET == ARM_L1_S_OFFSET, "L1_S_OFFSET mismatch");
85 _Static_assert(L1_S_FRAME == ARM_L1_S_FRAME, "L1_S_FRAME mismatch");
86 _Static_assert(L1_S_SHIFT == ARM_L1_S_SHIFT, "L1_S_SHIFT mismatch");
87 _Static_assert(L2_L_SIZE == ARM_L2_L_SIZE, "L2_L_SIZE mismatch");
88 _Static_assert(L2_L_OFFSE
[all...]
H A Dkvm_amd64.h64 _Static_assert(NPTEPG == AMD64_NPTEPG, "NPTEPG mismatch");
65 _Static_assert(PAGE_SHIFT == AMD64_PAGE_SHIFT, "PAGE_SHIFT mismatch");
66 _Static_assert(PAGE_SIZE == AMD64_PAGE_SIZE, "PAGE_SIZE mismatch");
67 _Static_assert(PAGE_MASK == AMD64_PAGE_MASK, "PAGE_MASK mismatch");
68 _Static_assert(NPDEPG == AMD64_NPDEPG, "NPDEPG mismatch");
69 _Static_assert(PDRSHIFT == AMD64_PDRSHIFT, "PDRSHIFT mismatch");
70 _Static_assert(NBPDR == AMD64_NBPDR, "NBPDR mismatch");
71 _Static_assert(PDRMASK == AMD64_PDRMASK, "PDRMASK mismatch");
72 _Static_assert(NPDPEPG == AMD64_NPDPEPG, "NPDPEPG mismatch");
73 _Static_assert(PDPSHIF
[all...]
H A Dkvm_aarch64.h50 _Static_assert(PAGE_SHIFT == AARCH64_PAGE_SHIFT, "PAGE_SHIFT mismatch");
51 _Static_assert(PAGE_SIZE == AARCH64_PAGE_SIZE, "PAGE_SIZE mismatch");
52 _Static_assert(PAGE_MASK == AARCH64_PAGE_MASK, "PAGE_MASK mismatch");
53 _Static_assert(ATTR_MASK == AARCH64_ATTR_MASK, "ATTR_MASK mismatch");
54 _Static_assert(ATTR_DESCR_MASK == AARCH64_ATTR_DESCR_MASK,
56 _Static_assert(L3_SHIFT == AARCH64_L3_SHIFT, "L3_SHIFT mismatch");
57 _Static_assert(L3_PAGE == AARCH64_L3_PAGE, "L3_PAGE mismatch");
H A Dkvm_mips.h61 _Static_assert(PAGE_SHIFT == MIPS_PAGE_SHIFT, "PAGE_SHIFT mismatch");
62 _Static_assert(PAGE_SIZE == MIPS_PAGE_SIZE, "PAGE_SIZE mismatch");
63 _Static_assert(PAGE_MASK == MIPS_PAGE_MASK, "PAGE_MASK mismatch");
65 _Static_assert((uint64_t)MIPS_KSEG0_START == MIPS64_KSEG0_START,
67 _Static_assert((uint64_t)MIPS_KSEG0_END == MIPS64_KSEG0_END,
69 _Static_assert((uint64_t)MIPS_KSEG1_START == MIPS64_KSEG1_START,
71 _Static_assert((uint64_t)MIPS_KSEG1_END == MIPS64_KSEG1_END,
74 _Static_assert((uint32_t)MIPS_KSEG0_START == MIPS32_KSEG0_START,
76 _Static_assert((uint32_t)MIPS_KSEG0_END == MIPS32_KSEG0_END,
78 _Static_assert((uint32_
[all...]
H A Dkvm_sparc64.h93 _Static_assert(PAGE_SHIFT == SPARC64_PAGE_SHIFT, "PAGE_SHIFT mismatch");
94 _Static_assert(PAGE_SIZE == SPARC64_PAGE_SIZE, "PAGE_SIZE mismatch");
95 _Static_assert(PAGE_MASK == SPARC64_PAGE_MASK, "PAGE_MASK mismatch");
96 _Static_assert(VM_MIN_DIRECT_ADDRESS == SPARC64_MIN_DIRECT_ADDRESS,
98 _Static_assert(TLB_DIRECT_ADDRESS_BITS == SPARC64_DIRECT_ADDRESS_BITS,
100 _Static_assert(TLB_DIRECT_ADDRESS_MASK == SPARC64_DIRECT_ADDRESS_MASK,
102 _Static_assert(TTE_SHIFT == SPARC64_TTE_SHIFT, "TTE_SHIFT mismatch");
103 _Static_assert(TD_SIZE_SHIFT == SPARC64_TD_SIZE_SHIFT,
105 _Static_assert(TD_PA_SHIFT == SPARC64_TD_PA_SHIFT,
107 _Static_assert(TD_SIZE_BIT
[all...]
H A Dkvm_i386.h63 _Static_assert(PAGE_SHIFT == I386_PAGE_SHIFT, "PAGE_SHIFT mismatch");
64 _Static_assert(PAGE_SIZE == I386_PAGE_SIZE, "PAGE_SIZE mismatch");
65 _Static_assert(PAGE_MASK == I386_PAGE_MASK, "PAGE_MASK mismatch");
66 _Static_assert(NPTEPG == I386_NPTEPG, "NPTEPG mismatch");
67 _Static_assert(PDRSHIFT == I386_PDRSHIFT, "PDRSHIFT mismatch");
68 _Static_assert(NBPDR == I386_NBPDR, "NBPDR mismatch");
70 _Static_assert(PG_V == I386_PG_V, "PG_V mismatch");
71 _Static_assert(PG_PS == I386_PG_PS, "PG_PS mismatch");
72 _Static_assert((u_int)PG_FRAME == I386_PG_FRAME, "PG_FRAME mismatch");
73 _Static_assert(PG_PS_FRAM
[all...]
/freebsd-11-stable/sys/contrib/cloudabi/
H A Dcloudabi64_types.h40 _Static_assert(offsetof(cloudabi64_auxv_t, a_type) == 0, "Incorrect layout");
41 _Static_assert(offsetof(cloudabi64_auxv_t, a_val) == 8, "Incorrect layout");
42 _Static_assert(offsetof(cloudabi64_auxv_t, a_ptr) == 8, "Incorrect layout");
43 _Static_assert(sizeof(cloudabi64_auxv_t) == 16, "Incorrect layout");
44 _Static_assert(_Alignof(cloudabi64_auxv_t) == 8, "Incorrect layout");
50 _Static_assert(offsetof(cloudabi64_ciovec_t, buf) == 0, "Incorrect layout");
51 _Static_assert(offsetof(cloudabi64_ciovec_t, buf_len) == 8, "Incorrect layout");
52 _Static_assert(sizeof(cloudabi64_ciovec_t) == 16, "Incorrect layout");
53 _Static_assert(_Alignof(cloudabi64_ciovec_t) == 8, "Incorrect layout");
59 _Static_assert(offseto
[all...]
H A Dcloudabi32_types.h40 _Static_assert(offsetof(cloudabi32_auxv_t, a_type) == 0, "Incorrect layout");
41 _Static_assert(offsetof(cloudabi32_auxv_t, a_val) == 4, "Incorrect layout");
42 _Static_assert(offsetof(cloudabi32_auxv_t, a_ptr) == 4, "Incorrect layout");
43 _Static_assert(sizeof(cloudabi32_auxv_t) == 8, "Incorrect layout");
44 _Static_assert(_Alignof(cloudabi32_auxv_t) == 4, "Incorrect layout");
50 _Static_assert(offsetof(cloudabi32_ciovec_t, buf) == 0, "Incorrect layout");
51 _Static_assert(offsetof(cloudabi32_ciovec_t, buf_len) == 4, "Incorrect layout");
52 _Static_assert(sizeof(cloudabi32_ciovec_t) == 8, "Incorrect layout");
53 _Static_assert(_Alignof(cloudabi32_ciovec_t) == 4, "Incorrect layout");
59 _Static_assert(offseto
[all...]
H A Dcloudabi_types_common.h349 _Static_assert(offsetof(cloudabi_dirent_t, d_next) == 0, "Incorrect layout");
350 _Static_assert(offsetof(cloudabi_dirent_t, d_ino) == 8, "Incorrect layout");
351 _Static_assert(offsetof(cloudabi_dirent_t, d_namlen) == 16, "Incorrect layout");
352 _Static_assert(offsetof(cloudabi_dirent_t, d_type) == 20, "Incorrect layout");
353 _Static_assert(sizeof(cloudabi_dirent_t) == 24, "Incorrect layout");
354 _Static_assert(_Alignof(cloudabi_dirent_t) == 8, "Incorrect layout");
373 _Static_assert(offsetof(cloudabi_event_t, userdata) == 0, "Incorrect layout");
374 _Static_assert(offsetof(cloudabi_event_t, error) == 8, "Incorrect layout");
375 _Static_assert(offsetof(cloudabi_event_t, type) == 10, "Incorrect layout");
376 _Static_assert(offseto
[all...]
/freebsd-11-stable/lib/libstdthreads/
H A Dcall_once.c43 _Static_assert(sizeof(once_flag) == sizeof(pthread_once_t),
H A Dtss.c68 _Static_assert(TSS_DTOR_ITERATIONS == PTHREAD_DESTRUCTOR_ITERATIONS,
/freebsd-11-stable/include/
H A Dassert.h63 * C++ older than C++11, but this breaks if _Static_assert is
67 * parentheses, causing the _Static_assert macro to be invoked with more
71 #define static_assert _Static_assert
H A Dcomplex.h42 _Static_assert(__generic(_Complex_I, float _Complex, 1, 0),
/freebsd-11-stable/lib/libc/gen/
H A Dtelldir.h89 _Static_assert(sizeof(long) == sizeof(union ddloc_packed),
/freebsd-11-stable/include/protocols/
H A Dtimed.h98 _Static_assert(sizeof(tsptype) / sizeof(const char *) == TSPTYPENUMBER,
/freebsd-11-stable/sys/dev/random/
H A Dunit_test.h86 #define CTASSERT(x) _Static_assert(x, "compile-time assertion failed")
/freebsd-11-stable/sys/net/
H A Dpfkeyv2.h233 _Static_assert(sizeof(struct sadb_x_policy) == 16, "struct size mismatch");
269 _Static_assert(sizeof(struct sadb_x_nat_t_type) == 8, "struct size mismatch");
278 _Static_assert(sizeof(struct sadb_x_nat_t_port) == 8, "struct size mismatch");
287 _Static_assert(sizeof(struct sadb_x_nat_t_frag) == 8, "struct size mismatch");
296 _Static_assert(sizeof(struct sadb_x_sa_replay) == 8, "struct size mismatch");
/freebsd-11-stable/sys/kern/
H A Dkern_thread.c79 _Static_assert(offsetof(struct thread, td_flags) == 0xe4,
81 _Static_assert(offsetof(struct thread, td_pflags) == 0xec,
83 _Static_assert(offsetof(struct thread, td_frame) == 0x418,
85 _Static_assert(offsetof(struct thread, td_emuldata) == 0x4c0,
87 _Static_assert(offsetof(struct proc, p_flag) == 0xb0,
89 _Static_assert(offsetof(struct proc, p_pid) == 0xbc,
91 _Static_assert(offsetof(struct proc, p_filemon) == 0x3c0,
93 _Static_assert(offsetof(struct proc, p_comm) == 0x3d0,
95 _Static_assert(offsetof(struct proc, p_emuldata) == 0x4a0,
99 _Static_assert(offseto
[all...]
/freebsd-11-stable/sys/dev/nvme/
H A Dnvme.h80 _Static_assert(sizeof(union cap_lo_register) == 4, "bad size for cap_lo_register");
106 _Static_assert(sizeof(union cap_hi_register) == 4, "bad size of cap_hi_register");
138 _Static_assert(sizeof(union cc_register) == 4, "bad size for cc_register");
161 _Static_assert(sizeof(union csts_register) == 4, "bad size for csts_register");
184 _Static_assert(sizeof(union aqa_register) == 4, "bad size for aqa_resgister");
219 _Static_assert(sizeof(struct nvme_registers) == 0x1008, "bad size for nvme_registers");
254 _Static_assert(sizeof(struct nvme_command) == 16 * 4, "bad size for nvme_command");
266 _Static_assert(sizeof(struct nvme_status) == 2, "bad size for nvme_status");
285 _Static_assert(sizeof(struct nvme_completion) == 4 * 4, "bad size for nvme_completion");
294 _Static_assert(sizeo
[all...]
/freebsd-11-stable/sys/sys/
H A Dttydefaults.h107 _Static_assert(sizeof(ttydefchars) / sizeof(cc_t) == NCCS,
/freebsd-11-stable/contrib/llvm-project/clang/lib/Headers/
H A D__clang_cuda_intrinsics.h45 _Static_assert(sizeof(__val) == sizeof(__Bits)); \
46 _Static_assert(sizeof(__Bits) == 2 * sizeof(int)); \
57 _Static_assert(sizeof(long) == sizeof(long long) || \
80 _Static_assert(sizeof(__tmp) == sizeof(__val)); \
129 _Static_assert(sizeof(__val) == sizeof(__Bits)); \
130 _Static_assert(sizeof(__Bits) == 2 * sizeof(int)); \
147 _Static_assert(sizeof(long) == sizeof(long long) || \
166 _Static_assert(sizeof(__tmp) == sizeof(__val)); \
/freebsd-11-stable/lib/libc/locale/
H A DcXXrtomb_iconv.h51 _Static_assert(sizeof(_ConversionState) <= sizeof(mbstate_t),
/freebsd-11-stable/lib/libthr/thread/
H A Dthr_pspinlock.c42 _Static_assert(sizeof(struct pthread_spinlock) <= PAGE_SIZE,
/freebsd-11-stable/lib/libc/net/
H A Dlinkaddr.c126 _Static_assert(sizeof(obuf) >= IFNAMSIZ + 20, "obuf is too small");
/freebsd-11-stable/sys/arm/arm/
H A Dvm_machdep.c85 _Static_assert((sizeof(struct switchframe) % 8) == 0, "Bad alignment");
86 _Static_assert((sizeof(struct trapframe) % 8) == 0, "Bad alignment");

Completed in 296 milliseconds

123