Home
last modified time | relevance | path

Searched refs:COMPILER_CHECK (Results 1 – 25 of 41) sorted by relevance

12

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_linux.cc66 COMPILER_CHECK(struct___old_kernel_stat_sz == sizeof(struct __old_kernel_stat));
69 COMPILER_CHECK(struct_kernel_stat_sz == sizeof(struct stat));
72 COMPILER_CHECK(struct_kernel_stat64_sz == sizeof(struct stat64));
82 COMPILER_CHECK(sizeof(struct __sanitizer_perf_event_attr) <=
88 COMPILER_CHECK(iocb_cmd_pread == IOCB_CMD_PREAD);
89 COMPILER_CHECK(iocb_cmd_pwrite == IOCB_CMD_PWRITE);
91 COMPILER_CHECK(iocb_cmd_preadv == IOCB_CMD_PREADV);
92 COMPILER_CHECK(iocb_cmd_pwritev == IOCB_CMD_PWRITEV);
Dsanitizer_platform_limits_posix.cc940 COMPILER_CHECK(sizeof(__sanitizer_pthread_attr_t) >= sizeof(pthread_attr_t));
942 COMPILER_CHECK(sizeof(socklen_t) == sizeof(unsigned));
947 COMPILER_CHECK(IOC_NRBITS == _IOC_NRBITS);
948 COMPILER_CHECK(IOC_TYPEBITS == _IOC_TYPEBITS);
949 COMPILER_CHECK(IOC_SIZEBITS == _IOC_SIZEBITS);
950 COMPILER_CHECK(IOC_DIRBITS == _IOC_DIRBITS);
951 COMPILER_CHECK(IOC_NRMASK == _IOC_NRMASK);
952 COMPILER_CHECK(IOC_TYPEMASK == _IOC_TYPEMASK);
953 COMPILER_CHECK(IOC_SIZEMASK == _IOC_SIZEMASK);
954 COMPILER_CHECK(IOC_DIRMASK == _IOC_DIRMASK);
[all …]
Dsanitizer_platform_limits_posix.h1379 COMPILER_CHECK(sizeof(__sanitizer_##TYPE) == sizeof(TYPE))
1382 COMPILER_CHECK(sizeof(((__sanitizer_##CLASS *) NULL)->MEMBER) == \
1384 COMPILER_CHECK(offsetof(__sanitizer_##CLASS, MEMBER) == \
1390 COMPILER_CHECK(sizeof(((struct __sanitizer_##CLASS *) NULL)->MEMBER) == \
1392 COMPILER_CHECK(offsetof(struct __sanitizer_##CLASS, MEMBER) == \
/external/compiler-rt/lib/interception/
Dinterception_type_test.cc22 COMPILER_CHECK(sizeof(::SIZE_T) == sizeof(size_t));
23 COMPILER_CHECK(sizeof(::SSIZE_T) == sizeof(ssize_t));
24 COMPILER_CHECK(sizeof(::PTRDIFF_T) == sizeof(ptrdiff_t));
25 COMPILER_CHECK(sizeof(::INTMAX_T) == sizeof(intmax_t));
28 COMPILER_CHECK(sizeof(::OFF64_T) == sizeof(off64_t));
36 COMPILER_CHECK(sizeof(::OFF_T) == sizeof(off_t));
/external/llvm-project/compiler-rt/lib/interception/
Dinterception_type_test.cpp22 COMPILER_CHECK(sizeof(::SIZE_T) == sizeof(size_t));
23 COMPILER_CHECK(sizeof(::SSIZE_T) == sizeof(ssize_t));
24 COMPILER_CHECK(sizeof(::PTRDIFF_T) == sizeof(ptrdiff_t));
25 COMPILER_CHECK(sizeof(::INTMAX_T) == sizeof(intmax_t));
28 COMPILER_CHECK(sizeof(::OFF64_T) == sizeof(off64_t));
36 COMPILER_CHECK(sizeof(::OFF_T) == sizeof(off_t));
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_linux.cpp69 COMPILER_CHECK(struct___old_kernel_stat_sz == sizeof(struct __old_kernel_stat));
72 COMPILER_CHECK(struct_kernel_stat_sz == sizeof(struct stat));
75 COMPILER_CHECK(struct_kernel_stat64_sz == sizeof(struct stat64));
85 COMPILER_CHECK(sizeof(struct __sanitizer_perf_event_attr) <=
91 COMPILER_CHECK(iocb_cmd_pread == IOCB_CMD_PREAD);
92 COMPILER_CHECK(iocb_cmd_pwrite == IOCB_CMD_PWRITE);
94 COMPILER_CHECK(iocb_cmd_preadv == IOCB_CMD_PREADV);
95 COMPILER_CHECK(iocb_cmd_pwritev == IOCB_CMD_PWRITEV);
Dsanitizer_platform_limits_posix.cpp932 COMPILER_CHECK(sizeof(__sanitizer_pthread_attr_t) >= sizeof(pthread_attr_t));
934 COMPILER_CHECK(sizeof(socklen_t) == sizeof(unsigned));
939 COMPILER_CHECK(IOC_NRBITS == _IOC_NRBITS);
940 COMPILER_CHECK(IOC_TYPEBITS == _IOC_TYPEBITS);
941 COMPILER_CHECK(IOC_SIZEBITS == _IOC_SIZEBITS);
942 COMPILER_CHECK(IOC_DIRBITS == _IOC_DIRBITS);
943 COMPILER_CHECK(IOC_NRMASK == _IOC_NRMASK);
944 COMPILER_CHECK(IOC_TYPEMASK == _IOC_TYPEMASK);
945 COMPILER_CHECK(IOC_SIZEMASK == _IOC_SIZEMASK);
946 COMPILER_CHECK(IOC_DIRMASK == _IOC_DIRMASK);
[all …]
Dsanitizer_platform_limits_solaris.cpp192 COMPILER_CHECK(sizeof(__sanitizer_pthread_attr_t) >= sizeof(pthread_attr_t));
194 COMPILER_CHECK(sizeof(socklen_t) == sizeof(unsigned));
199 COMPILER_CHECK(sizeof(__sanitizer_dl_phdr_info) <= sizeof(dl_phdr_info));
206 COMPILER_CHECK(sizeof(__sanitizer_glob_t) <= sizeof(glob_t));
246 COMPILER_CHECK(sizeof(__sanitizer_dirent) <= sizeof(dirent));
252 COMPILER_CHECK(sizeof(__sanitizer_dirent64) <= sizeof(dirent64));
271 COMPILER_CHECK(sizeof(__sanitizer_sigaction) == sizeof(struct sigaction));
326 COMPILER_CHECK(sizeof(((__sanitizer_ifaddrs *)nullptr)->ifa_dstaddr) ==
328 COMPILER_CHECK(offsetof(__sanitizer_ifaddrs, ifa_dstaddr) ==
361 COMPILER_CHECK(__sanitizer_XDR_ENCODE == XDR_ENCODE);
[all …]
Dsanitizer_errno.cpp23 COMPILER_CHECK(errno_ENOMEM == ENOMEM);
24 COMPILER_CHECK(errno_EBUSY == EBUSY);
25 COMPILER_CHECK(errno_EINVAL == EINVAL);
Dsanitizer_platform_limits_freebsd.cpp361 COMPILER_CHECK(sizeof(__sanitizer_pthread_attr_t) >= sizeof(pthread_attr_t));
363 COMPILER_CHECK(sizeof(socklen_t) == sizeof(unsigned));
368 COMPILER_CHECK(sizeof(__sanitizer_dl_phdr_info) <= sizeof(dl_phdr_info));
420 COMPILER_CHECK(sizeof(__sanitizer_dirent) <= sizeof(dirent));
437 COMPILER_CHECK(sizeof(__sanitizer_sigaction) == sizeof(struct sigaction));
521 COMPILER_CHECK(__sanitizer_XDR_ENCODE == XDR_ENCODE);
522 COMPILER_CHECK(__sanitizer_XDR_DECODE == XDR_DECODE);
523 COMPILER_CHECK(__sanitizer_XDR_FREE == XDR_FREE);
528 COMPILER_CHECK(sizeof(__sanitizer_cap_rights_t) >= sizeof(cap_rights_t));
Dsanitizer_platform_limits_solaris.h477 COMPILER_CHECK(sizeof(__sanitizer_##TYPE) == sizeof(TYPE))
480 COMPILER_CHECK(sizeof(((__sanitizer_##CLASS *) NULL)->MEMBER) == \
482 COMPILER_CHECK(offsetof(__sanitizer_##CLASS, MEMBER) == \
488 COMPILER_CHECK(sizeof(((struct __sanitizer_##CLASS *) NULL)->MEMBER) == \
490 COMPILER_CHECK(offsetof(struct __sanitizer_##CLASS, MEMBER) == \
Dsanitizer_platform_limits_freebsd.h636 COMPILER_CHECK(sizeof(__sanitizer_##TYPE) == sizeof(TYPE))
639 COMPILER_CHECK(sizeof(((__sanitizer_##CLASS *)NULL)->MEMBER) == \
641 COMPILER_CHECK(offsetof(__sanitizer_##CLASS, MEMBER) == \
647 COMPILER_CHECK(sizeof(((struct __sanitizer_##CLASS *)NULL)->MEMBER) == \
649 COMPILER_CHECK(offsetof(struct __sanitizer_##CLASS, MEMBER) == \
Dsanitizer_allocator_primary32.h68 COMPILER_CHECK(!SANITIZER_SIGN_EXTENDED_ADDRESSES ||
111 COMPILER_CHECK((kBatchSize & (kBatchSize - 1)) == 0);
112 COMPILER_CHECK(kBatchSize == SizeClassMap::kMaxNumCachedHint * sizeof(uptr));
284 COMPILER_CHECK(sizeof(SizeClassInfo) % kCacheLineSize == 0);
Dsanitizer_allocator_size_class_map.h132 COMPILER_CHECK((kMaxNumCachedHint & (kMaxNumCachedHint - 1)) == 0);
139 COMPILER_CHECK(kNumClasses >= 16 && kNumClasses <= 256);
Dsanitizer_platform_limits_posix.h1433 COMPILER_CHECK(sizeof(__sanitizer_##TYPE) == sizeof(TYPE))
1436 COMPILER_CHECK(sizeof(((__sanitizer_##CLASS *)NULL)->MEMBER) == \
1438 COMPILER_CHECK(offsetof(__sanitizer_##CLASS, MEMBER) == \
1444 COMPILER_CHECK(sizeof(((struct __sanitizer_##CLASS *)NULL)->MEMBER) == \
1446 COMPILER_CHECK(offsetof(struct __sanitizer_##CLASS, MEMBER) == \
Dsanitizer_ring_buffer.h24 COMPILER_CHECK(sizeof(T) % sizeof(void *) == 0);
/external/llvm-project/compiler-rt/lib/hwasan/
Dhwasan_type_test.cpp20 COMPILER_CHECK(sizeof(__hw_##TYPE) <= sizeof(TYPE))
/external/compiler-rt/lib/tsan/rtl/
Dtsan_defs.h167 COMPILER_CHECK(sizeof(MBlock) == 16);
/external/llvm-project/compiler-rt/lib/memprof/
Dmemprof_thread.h57 COMPILER_CHECK(sizeof(MemprofThreadContext) <= 256);
/external/llvm-project/compiler-rt/lib/scudo/
Dscudo_allocator.h53 COMPILER_CHECK(sizeof(UnpackedHeader) == sizeof(PackedHeader));
/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_defs.h182 COMPILER_CHECK(sizeof(MBlock) == 16);
/external/llvm-project/compiler-rt/lib/asan/
Dasan_fake_stack.h161 COMPILER_CHECK(kNumberOfSizeClasses == 11);
Dasan_thread.h59 COMPILER_CHECK(sizeof(AsanThreadContext) <= 256);
/external/compiler-rt/lib/asan/
Dasan_fake_stack.h162 COMPILER_CHECK(kNumberOfSizeClasses == 11);
Dasan_thread.h55 COMPILER_CHECK(sizeof(AsanThreadContext) <= 256);

12