/external/clang/lib/CodeGen/ |
H A D | CodeGenModule.h | 142 /// The size and alignment of a pointer into the generic address 649 /// The alignment of the field. This is important because 654 ByrefHelpers(CharUnits alignment) : Alignment(alignment) {} argument
|
H A D | CodeGenModule.cpp | 670 unsigned alignment = D->getMaxAlignment() / Context.getCharWidth(); local 671 if (alignment) 672 F->setAlignment(alignment); 674 // C++ ABI requires 2-byte alignment for member functions. 2299 // Don't enforce the target's minimum global alignment, since the only use 2434 // Don't enforce the target's minimum global alignment, since the only use
|
H A D | CGExpr.cpp | 70 // FIXME: Should we prefer the preferred type alignment here? 79 // FIXME: Should we prefer the preferred type alignment here? 411 // storage of suitable size and alignment to contain an object of the 2292 // Propagate the alignment from the array itself to the result. 2313 // Limit the alignment to that of the result type. 2462 CharUnits alignment = getContext().getDeclAlign(field); local 2464 // FIXME: It should be impossible to have an LValue without alignment for a 2467 alignment = std::min(alignment, base.getAlignment()); 2488 load->setAlignment(alignment [all...] |
/external/compiler-rt/lib/asan/ |
H A D | asan_allocator2.cc | 313 static void *Allocate(uptr size, uptr alignment, StackTrace *stack, argument 320 if (alignment < min_alignment) 321 alignment = min_alignment; 330 CHECK(IsPowerOfTwo(alignment)); 333 uptr rounded_size = RoundUpTo(Max(size, kChunkHeader2Size), alignment); 335 if (alignment > min_alignment) 336 needed_size += alignment; 340 if (!PrimaryAllocator::CanAllocate(needed_size, alignment)) { 365 if (!IsAligned(user_beg, alignment)) 366 user_beg = RoundUpTo(user_beg, alignment); 623 asan_memalign(uptr alignment, uptr size, StackTrace *stack, AllocType alloc_type) argument 672 asan_posix_memalign(void **memptr, uptr alignment, uptr size, StackTrace *stack) argument [all...] |
/external/compiler-rt/lib/msan/ |
H A D | msan_interceptors.cc | 126 INTERCEPTOR(int, posix_memalign, void **memptr, SIZE_T alignment, SIZE_T size) { argument 128 CHECK_EQ(alignment & (alignment - 1), 0); 130 *memptr = MsanReallocate(&stack, 0, size, alignment, false);
|
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_allocator.h | 327 static bool CanAllocate(uptr size, uptr alignment) { argument 329 alignment <= SizeClassMap::kMaxSize; 638 static bool CanAllocate(uptr size, uptr alignment) { argument 640 alignment <= SizeClassMap::kMaxSize; 939 void *Allocate(AllocatorStats *stat, uptr size, uptr alignment) { argument 940 CHECK(IsPowerOfTwo(alignment)); 942 if (alignment > page_size_) 943 map_size += alignment; 950 if (res & (alignment - 1)) // Align. 951 res += alignment 1170 Allocate(AllocatorCache *cache, uptr size, uptr alignment, bool cleared = false) argument 1199 Reallocate(AllocatorCache *cache, void *p, uptr new_size, uptr alignment) argument [all...] |
/external/mesa3d/src/gallium/drivers/r600/ |
H A D | r600_state.c | 1235 unsigned size, unsigned alignment) 1251 r600_buffer_create(&rscreen->screen, &buffer, alignment); 1430 rctx->dummy_cmask->buf->alignment % cmask.alignment != 0) { 1435 rctx->dummy_cmask = r600_buffer_create_helper(rscreen, cmask.size, cmask.alignment); 1448 rctx->dummy_fmask->buf->alignment % fmask.alignment != 0) { 1450 rctx->dummy_fmask = r600_buffer_create_helper(rscreen, fmask.size, fmask.alignment); 1234 r600_buffer_create_helper(struct r600_screen *rscreen, unsigned size, unsigned alignment) argument
|
/external/v8/src/ |
H A D | platform-freebsd.cc | 114 // 16 byte alignment on FreeBSD 352 VirtualMemory::VirtualMemory(size_t size, size_t alignment) argument 354 ASSERT(IsAligned(alignment, static_cast<intptr_t>(OS::AllocateAlignment()))); 355 size_t request_size = RoundUp(size + alignment, 366 Address aligned_base = RoundUp(base, alignment);
|
H A D | platform-linux.cc | 294 // that requires 16 byte alignment such as movdqa on x86. 605 VirtualMemory::VirtualMemory(size_t size, size_t alignment) argument 607 ASSERT(IsAligned(alignment, static_cast<intptr_t>(OS::AllocateAlignment()))); 608 size_t request_size = RoundUp(size + alignment, 619 Address aligned_base = RoundUp(base, alignment);
|
H A D | platform-macos.cc | 361 VirtualMemory::VirtualMemory(size_t size, size_t alignment) argument 363 ASSERT(IsAligned(alignment, static_cast<intptr_t>(OS::AllocateAlignment()))); 364 size_t request_size = RoundUp(size + alignment, 375 Address aligned_base = RoundUp(base, alignment);
|
H A D | platform-openbsd.cc | 125 // that requires 16 byte alignment such as movdqa on x86. 399 VirtualMemory::VirtualMemory(size_t size, size_t alignment) argument 401 ASSERT(IsAligned(alignment, static_cast<intptr_t>(OS::AllocateAlignment()))); 402 size_t request_size = RoundUp(size + alignment, 413 Address aligned_base = RoundUp(base, alignment);
|
H A D | platform-solaris.cc | 35 #include <sys/stack.h> // for stack alignment 119 // GCC generates code that requires 16 byte alignment such as movdqa. 342 VirtualMemory::VirtualMemory(size_t size, size_t alignment) argument 344 ASSERT(IsAligned(alignment, static_cast<intptr_t>(OS::AllocateAlignment()))); 345 size_t request_size = RoundUp(size + alignment, 356 Address aligned_base = RoundUp(base, alignment);
|
H A D | spaces.cc | 343 size_t alignment, 345 VirtualMemory reservation(size, alignment); 350 alignment); 357 size_t alignment, 361 Address base = ReserveAlignedMemory(size, alignment, &reservation); 2688 // Use variable alignment to help pass length check (<= 80 characters) 2690 const intptr_t alignment = MemoryChunk::kAlignment; local 2691 uintptr_t base = reinterpret_cast<uintptr_t>(page)/alignment; 2692 uintptr_t limit = base + (page->size()-1)/alignment; 342 ReserveAlignedMemory(size_t size, size_t alignment, VirtualMemory* controller) argument 356 AllocateAlignedMemory(size_t size, size_t alignment, Executability executable, VirtualMemory* controller) argument
|
H A D | gdb-jit.cc | 296 uintptr_t alignment; member in struct:v8::ELFSectionHeader 492 header->alignment = align_; 862 w->Align(header->alignment);
|
/external/chromium_org/chrome/browser/ui/gtk/ |
H A D | location_bar_view_gtk.cc | 362 // All of our widgets should be children of / owned by the alignment. 381 // We will paint for the alignment, to paint the background and border. 439 // Put the event box in an alignment to get the padding correct. 980 // Put the event box in an alignment to get the padding correct. 1525 GtkWidget* alignment = gtk_alignment_new(0, 0, 1, 1); local 1526 gtk_alignment_set_padding(GTK_ALIGNMENT(alignment), 0, 0, 1528 gtk_container_add(GTK_CONTAINER(alignment), *image); 1532 gtk_container_add(GTK_CONTAINER(result), alignment); local
|
/external/chromium_org/v8/src/ |
H A D | spaces.cc | 369 size_t alignment, 371 VirtualMemory reservation(size, alignment); 376 alignment); 384 size_t alignment, 389 Address base = ReserveAlignedMemory(reserve_size, alignment, &reservation); 3046 // Use variable alignment to help pass length check (<= 80 characters) 3048 const intptr_t alignment = MemoryChunk::kAlignment; local 3049 uintptr_t base = reinterpret_cast<uintptr_t>(page)/alignment; 3050 uintptr_t limit = base + (page->size()-1)/alignment; 368 ReserveAlignedMemory(size_t size, size_t alignment, VirtualMemory* controller) argument 382 AllocateAlignedMemory(size_t reserve_size, size_t commit_size, size_t alignment, Executability executable, VirtualMemory* controller) argument
|
H A D | debug.cc | 239 BreakPositionAlignment alignment) { 247 switch (alignment) { 1222 BreakPositionAlignment alignment) { 1253 it.FindBreakLocationFromPosition(position, alignment); 238 FindBreakLocationFromPosition(int position, BreakPositionAlignment alignment) argument 1219 SetBreakPointForScript(Handle<Script> script, Handle<Object> break_point_object, int* source_position, BreakPositionAlignment alignment) argument
|
H A D | gdb-jit.cc | 298 uintptr_t alignment; member in struct:v8::ELFSectionHeader 494 header->alignment = align_; 865 w->Align(header->alignment);
|
/external/clang/lib/Driver/ |
H A D | Tools.cpp | 812 // Kernel code has more strict alignment requirements. 3019 StringRef alignment = Args.getLastArgValue(options::OPT_mstack_alignment); local 3020 CmdArgs.push_back(Args.MakeArgString("-mstack-alignment=" + alignment));
|
/external/compiler-rt/lib/msan/tests/ |
H A D | msan_test.cc | 2746 S8 alignment; local 2747 break_optimization(&alignment);
|
/external/chromium_org/gpu/command_buffer/client/ |
H A D | gles2_implementation_unittest.cc | 94 unsigned int alignment) 98 alignment_(alignment), 122 unsigned int alignment, 232 unsigned int alignment, 237 alignment_ == alignment; 2033 int width, int height, GLenum format, GLenum type, int alignment, 2039 width, height, format, type, alignment, &size, &unpadded_row_size, 2059 ACTION_P8(CheckRectAction, width, height, format, type, alignment, flip_y, 2062 width, height, format, type, alignment, flip_y, r1, r2)); 2346 GLint alignment local 90 MockTransferBuffer( CommandBuffer* command_buffer, unsigned int size, unsigned int result_size, unsigned int alignment) argument 227 Initialize( unsigned int starting_buffer_size, unsigned int result_size, unsigned int , unsigned int , unsigned int alignment, unsigned int ) argument 2032 CheckRect( int width, int height, GLenum format, GLenum type, int alignment, bool flip_y, const uint8* r1, const uint8* r2) argument [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | RenderBlockLineLayout.cpp | 345 ETextAlign alignment = style()->textAlign(); local 347 return alignment; 350 return (alignment == JUSTIFY) ? TASTART : alignment; 367 if (alignment != JUSTIFY) 368 return alignment; 374 return alignment;
|
/external/chromium_org/third_party/angle/src/libGLESv2/ |
H A D | Context.cpp | 658 void Context::setPackAlignment(GLint alignment) argument 660 mState.packAlignment = alignment; 668 void Context::setUnpackAlignment(GLint alignment) argument 670 mState.unpackAlignment = alignment;
|
/external/llvm/bindings/ocaml/llvm/ |
H A D | llvm.mli | 1149 (** [alignment g] returns the required alignment of the global value [g]. 1151 val alignment : llvalue -> int var 1153 (** [set_alignment n g] sets the required alignment of the global value [g] to 1453 (** [set_param_alignment p a] set the alignment of parameter [p] to [a]. *)
|
/external/netperf/ |
H A D | netlib.c | 239 /* at it. the real structure will be forced to the same alignment as */ 1228 allocate_buffer_ring(int width, int buffer_size, int alignment, int offset) 1245 malloc_size = buffer_size + alignment + offset; 1284 (long)alignment - 1) & 1285 ~((long)alignment - 1)); 1288 (ULONG_PTR)alignment - 1) & 1289 ~((ULONG_PTR)alignment - 1)); 1390 allocate_exs_buffer_ring (int width, int buffer_size, int alignment, int offset, exs_mhandle_t *mhandlep) 1408 malloc_size = buffer_size + alignment + offset; 1428 "width=%d buffer_size=%d alignment 1215 allocate_buffer_ring(int width, int buffer_size, int alignment, int offset) argument 1376 allocate_exs_buffer_ring(int width, int buffer_size, int alignment, int offset, exs_mhandle_t *mhandlep) argument 1514 alloc_sendfile_buf_ring(int width, int buffer_size, int alignment, int offset) argument [all...] |