/bionic/libc/bionic/ |
pthread_spinlock.cpp | 43 static_assert(alignof(pthread_spinlock_t) >= 4,
|
pthread_barrier.cpp | 84 static_assert(alignof(pthread_barrier_t) >= 4,
|
pthread_cond.cpp | 128 static_assert(alignof(pthread_cond_t) == 4,
|
/external/clang/test/Lexer/ |
cxx0x_keyword_as_cxx98.cpp | 19 extern int CONCAT(align,of); // expected-warning {{'alignof' is a keyword in C++11}} 28 int alignof; // already diagnosed in this TU variable
|
keywords_test.cpp | 45 CXX11_KEYWORD(alignof); variable
|
/external/clang/test/SemaTemplate/ |
alignas.cpp | 23 static_assert(alignof(my_union<A, B, C>) == 8, "");
|
/external/clang/test/CXX/dcl.dcl/dcl.attr/dcl.align/ |
p5.cpp | 19 static_assert(alignof(E5) == 8, ""); 23 static_assert(alignof(E6) == 4, "");
|
p6.cpp | 66 static_assert(alignof(W<4,4>) == 4, "");
|
/art/runtime/ |
atomic.h | 306 static_assert(alignof(AtomicInteger) == alignof(int32_t), member in namespace:art 314 static_assert(alignof(Atomic<int64_t>) == alignof(int64_t), member in namespace:art
|
type_lookup_table.cc | 77 static_assert(alignof(Entry) == 4u, "Expecting Entry to be 4-byte aligned."); 78 DCHECK_ALIGNED(storage, alignof(Entry));
|
/external/libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/ |
aligned_storage.pass.cpp | 162 // Use alignof(std::max_align_t) below to find the max alignment instead of 166 #define alignof __alignof__ macro 173 static_assert(std::alignment_of<T1>::value == alignof(std::max_align_t), 182 static_assert(std::alignment_of<T1>::value == alignof(std::max_align_t), 184 static_assert(sizeof(T1) == 16 + alignof(std::max_align_t), "");
|
/hardware/libhardware/tests/hardware/ |
struct-last.cpp | 33 static_assert(sizeof(type) == calc_size + GET_PADDING(alignof(type), calc_size), \
|
/external/ltrace/ |
type.c | 456 #undef alignof macro 457 #define alignof(field,st) ((size_t) ((char*) &st.field - (char*) &st)) macro 474 static size_t char_alignment = alignof(C, cC); 475 static size_t short_alignment = alignof(s, cs); 476 static size_t int_alignment = alignof(i, ci); 477 static size_t long_alignment = alignof(l, cl); 478 static size_t ptr_alignment = alignof(p, cp); 479 static size_t float_alignment = alignof(f, cf); 480 static size_t double_alignment = alignof(d, cd);
|
/external/clang/test/Headers/ |
arm64-apple-ios-types.cpp | 22 (alignof(_Tp) == _AlignOf) && (sizeof(_Tp) == _SizeOf);
|
thumbv7-apple-ios-types.cpp | 22 (alignof(_Tp) == _AlignOf) && (sizeof(_Tp) == _SizeOf);
|
x86_64-apple-macosx-types.cpp | 22 (alignof(_Tp) == _AlignOf) && (sizeof(_Tp) == _SizeOf);
|
/external/clang/test/Parser/ |
cxx0x-decl.cpp | 102 static_assert(alignof(T) == 1, "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/meta/meta.trans/meta.trans.other/ |
aligned_storage.pass.cpp | 163 // platform-specific which alignof deals with. In particular, the maximum 171 static_assert(std::alignment_of<T1>::value == alignof(T1), ""); 179 static_assert(std::alignment_of<T1>::value == alignof(T1), ""); 180 static_assert(sizeof(T1) == 16 + alignof(T1), "");
|
/art/runtime/base/ |
array_slice.h | 72 size_t alignment = alignof(T))
|
/art/runtime/lambda/ |
box_table.cc | 53 DCHECK_ALIGNED(closure, alignof(Closure)); 307 DCHECK_ALIGNED(closure, alignof(lambda::Closure));
|
/frameworks/native/libs/gui/ |
BufferItem.cpp | 100 size -= FlattenableUtils::align<alignof(T)>(buffer); 160 size -= FlattenableUtils::align<alignof(T)>(buffer);
|
/device/google/contexthub/firmware/src/ |
eventQ.c | 50 struct SlabAllocator *slab = slabAllocatorNew(sizeof(struct EvtRecord), alignof(struct EvtRecord), size);
|
/external/clang/test/CodeGenCXX/ |
aarch64-aapcs-zerolength-bitfield.cpp | 243 static_assert(alignof(struct t22) == 2);
|
/frameworks/native/vulkan/nulldrv/ |
null_driver.cpp | 300 allocator->pUserData, sizeof(VkInstance_T), alignof(VkInstance_T), 618 allocator->pUserData, sizeof(VkDevice_T), alignof(VkDevice_T), 668 allocator->pUserData, sizeof(CommandPool), alignof(CommandPool), 697 alignof(VkCommandBuffer_T), VK_SYSTEM_ALLOCATION_SCOPE_OBJECT)); 744 allocator->pUserData, size, alignof(DeviceMemory), 793 allocator->pUserData, sizeof(Buffer), alignof(Buffer), 853 allocator->pUserData, sizeof(Image), alignof(Image), [all...] |
/external/skia/src/core/ |
SkFindAndPlaceGlyph.h | 92 #define alignof __alignof macro 94 SkASSERT(alignof(Variant) <= alignof(Space));
|