/external/chromium_org/v8/src/base/platform/ |
H A D | platform-openbsd.cc | 214 VirtualMemory::VirtualMemory(size_t size, size_t alignment) argument 216 DCHECK((alignment % OS::AllocateAlignment()) == 0); 217 size_t request_size = RoundUp(size + alignment, 228 uint8_t* aligned_base = RoundUp(base, alignment);
|
H A D | platform-qnx.cc | 250 VirtualMemory::VirtualMemory(size_t size, size_t alignment) argument 252 DCHECK((alignment % OS::AllocateAlignment()) == 0); 253 size_t request_size = RoundUp(size + alignment, 264 uint8_t* aligned_base = RoundUp(base, alignment);
|
/external/clang/lib/CodeGen/ |
H A D | CGDeclCXX.cpp | 33 CharUnits alignment = Context.getDeclAlign(&D); local 35 LValue lv = CGF.MakeAddrLValue(DeclPtr, type, alignment);
|
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common.cc | 127 // We want to map a chunk of address space aligned to 'alignment'. 130 void *MmapAlignedOrDie(uptr size, uptr alignment, const char *mem_type) { argument 133 CHECK(IsPowerOfTwo(alignment)); 134 uptr map_size = size + alignment; 138 if (res & (alignment - 1)) // Not aligned. 139 res = (map_res + alignment) & ~(alignment - 1);
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fIndirectComputeDispatchTests.cpp | 162 int alignment = 0; local 163 gl.getIntegerv(GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT, &alignment); 165 if (alignment == 0 || (baseSize % alignment == 0)) 168 return (baseSize/alignment + 1)*alignment;
|
H A D | es31fNegativeBufferApiTests.cpp | 357 int alignment = 0x1234; local 358 ctx.glGetIntegerv(GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT, &alignment); 359 ctx.glBindBufferRange(GL_UNIFORM_BUFFER, 0, bufU, alignment+1, 4);
|
/external/llvm/unittests/ExecutionEngine/MCJIT/ |
H A D | MCJITCAPITest.cpp | 34 unsigned alignment, 39 size, alignment, sectionID, sectionName); 43 unsigned alignment, 50 size, alignment, sectionID, sectionName, isReadOnly); 33 roundTripAllocateCodeSection(void *object, uintptr_t size, unsigned alignment, unsigned sectionID, const char *sectionName) argument 42 roundTripAllocateDataSection(void *object, uintptr_t size, unsigned alignment, unsigned sectionID, const char *sectionName, LLVMBool isReadOnly) argument
|
/external/mesa3d/src/gallium/drivers/r600/ |
H A D | r600_resource.h | 70 unsigned alignment; member in struct:r600_fmask_info 76 unsigned alignment; member in struct:r600_cmask_info
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
H A D | vg_context.h | 183 static INLINE VGboolean is_aligned_to(const void *ptr, VGbyte alignment) argument 185 void *aligned = align_pointer(ptr, alignment);
|
/external/pdfium/core/include/fpdfdoc/ |
H A D | fpdf_vt.h | 169 CPVT_SecProps(FX_FLOAT lineLeading, FX_FLOAT lineIndent, FX_INT32 alignment) :
argument 170 fLineLeading(lineLeading), fLineIndent(lineIndent), nAlignment(alignment)
|
/external/aac/libSYS/src/ |
H A D | genericStds.cpp | 233 void *FDKaalloc(const UINT size, const UINT alignment) argument 236 addr = FDKcalloc(1, size + alignment + sizeof(void*)); /* Malloc and clear memory. */ 276 a_size = ((dim*size+3)&0xfffffffc); /* force 4 byte alignment (1111 .... 1111 1100) */ 298 void *FDKaalloc_L(const UINT size, const UINT alignment, MEMORY_SECTION s) argument 301 addr = FDKcalloc_L(1, size + alignment + sizeof(void*), s); /* Malloc and clear memory. */ 432 /* Enforce alignment of 24 bit data. */
|
/external/chromium_org/ash/system/tray/ |
H A D | system_tray.cc | 320 void SystemTray::UpdateAfterShelfAlignmentChange(ShelfAlignment alignment) { argument 324 (*it)->UpdateAfterShelfAlignmentChange(alignment); 608 void SystemTray::SetShelfAlignment(ShelfAlignment alignment) { argument 609 if (alignment == shelf_alignment()) 611 TrayBackgroundView::SetShelfAlignment(alignment); 612 UpdateAfterShelfAlignmentChange(alignment);
|
H A D | tray_background_view.cc | 235 TrayBackgroundView::TrayContainer::TrayContainer(ShelfAlignment alignment) argument 236 : alignment_(alignment) { 240 void TrayBackgroundView::TrayContainer::SetAlignment(ShelfAlignment alignment) { argument 241 if (alignment_ == alignment) 243 alignment_ = alignment; 353 // The alignment of the shelf can change while the TrayBackgroundView is 477 void TrayBackgroundView::SetShelfAlignment(ShelfAlignment alignment) { argument 478 shelf_alignment_ = alignment; 480 tray_container_->SetAlignment(alignment); 577 DCHECK(false) << "Unhandled anchor alignment [all...] |
/external/chromium_org/ash/system/web_notification/ |
H A D | web_notification_tray.cc | 321 void WebNotificationTray::SetShelfAlignment(ShelfAlignment alignment) { argument 322 if (alignment == shelf_alignment()) 324 TrayBackgroundView::SetShelfAlignment(alignment);
|
/external/chromium_org/ash/wm/panels/ |
H A D | panel_layout_manager_unittest.cc | 132 ShelfAlignment alignment = GetAlignment(panel->GetRootWindow()); local 134 if (IsHorizontal(alignment)) { 146 switch (alignment) { 177 ShelfAlignment alignment = GetAlignment(panel->GetRootWindow()); local 178 switch (alignment) { 193 if (IsHorizontal(alignment)) { 230 void SetAlignment(aura::Window* root_window, ShelfAlignment alignment) { argument 232 shell->SetShelfAlignment(alignment, root_window); 266 bool IsHorizontal(ShelfAlignment alignment) { argument 267 return alignment [all...] |
/external/chromium_org/chrome/browser/ui/panels/ |
H A D | base_panel_browser_test.cc | 75 DesktopBarAlignment alignment) OVERRIDE; 77 DesktopBarAlignment alignment) const OVERRIDE; 79 DesktopBarAlignment alignment) const OVERRIDE; 87 virtual void EnableAutoHidingDesktopBar(DesktopBarAlignment alignment, 91 DesktopBarAlignment alignment, DesktopBarVisibility visibility) OVERRIDE; 92 virtual void SetDesktopBarThickness(DesktopBarAlignment alignment, 160 DesktopBarAlignment alignment) { 161 return mock_desktop_bars[static_cast<int>(alignment)].auto_hiding_enabled; 165 DesktopBarAlignment alignment) const { 166 return mock_desktop_bars[static_cast<int>(alignment)] 159 IsAutoHidingDesktopBarEnabled( DesktopBarAlignment alignment) argument 179 EnableAutoHidingDesktopBar( DesktopBarAlignment alignment, bool enabled, int thickness) argument 202 SetDesktopBarVisibility( DesktopBarAlignment alignment, DesktopBarVisibility visibility) argument 216 SetDesktopBarThickness( DesktopBarAlignment alignment, int thickness) argument [all...] |
H A D | docked_panel_collection.cc | 610 DisplaySettingsProvider::DesktopBarAlignment alignment, 627 DisplaySettingsProvider::DesktopBarAlignment alignment, int thickness) { 609 OnAutoHidingDesktopBarVisibilityChanged( DisplaySettingsProvider::DesktopBarAlignment alignment, DisplaySettingsProvider::DesktopBarVisibility visibility) argument 626 OnAutoHidingDesktopBarThicknessChanged( DisplaySettingsProvider::DesktopBarAlignment alignment, int thickness) argument
|
/external/chromium_org/chrome/browser/ui/views/frame/ |
H A D | opaque_browser_frame_view_layout.cc | 470 ButtonAlignment alignment, 475 SetBoundsForButton(host, minimize_button_, alignment, caption_y); 489 SetBoundsForButton(host, visible_button, alignment, caption_y); 494 SetBoundsForButton(host, close_button_, alignment, caption_y); 518 ButtonAlignment alignment, 523 (alignment == ALIGN_LEADING) ? 536 button->SetDrawImageMirrored(alignment == ALIGN_LEADING && 542 switch (alignment) { 467 ConfigureButton( views::View* host, views::FrameButton button_id, ButtonAlignment alignment, int caption_y) argument 515 SetBoundsForButton( views::View* host, views::ImageButton* button, ButtonAlignment alignment, int caption_y) argument
|
/external/chromium_org/content/common/gpu/media/ |
H A D | vaapi_video_encode_accelerator.cc | 77 // Round |value| up to |alignment|, which must be a power of 2. 78 static inline size_t RoundUpToPowerOf2(size_t value, size_t alignment) { argument 79 // Check that |alignment| is a power of 2. 80 DCHECK((alignment + (alignment - 1)) == (alignment | (alignment - 1))); 81 return ((value + (alignment - 1)) & ~(alignment - 1));
|
/external/chromium_org/media/base/ |
H A D | video_frame.cc | 24 static inline size_t RoundUp(size_t value, size_t alignment) { argument 25 // Check that |alignment| is a power of 2. 26 DCHECK((alignment + (alignment - 1)) == (alignment | (alignment - 1))); 27 return ((value + (alignment - 1)) & ~(alignment - 1)); 661 // additional alpha plane that has the same size and alignment as the Y plane.
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | RenderBoxModelObject.cpp | 525 CaretAlignment alignment = alignLeft; local 533 alignment = alignCenter; 537 alignment = alignRight; 542 alignment = alignRight; 546 alignment = alignRight; 553 switch (alignment) {
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
H A D | u_math.h | 684 align(int value, int alignment) argument 686 return (value + alignment - 1) & ~(alignment - 1); 693 util_align_npot(size_t value, size_t alignment) argument 695 if (value % alignment) 696 return value + (alignment - (value % alignment));
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
H A D | image.c | 105 GLint alignment; /* 1, 2 or 4 */ local 115 alignment = packing->Alignment; 145 bytes_per_row = alignment 146 * CEILING( comp_per_pixel*pixels_per_row, 8*alignment ); 165 remainder = bytes_per_row % alignment; 167 bytes_per_row += (alignment - remainder); 169 ASSERT(bytes_per_row % alignment == 0);
|
/external/chromium_org/third_party/skia/src/gpu/gl/debug/ |
H A D | GrGLCreateDebugInterface.cpp | 161 GrGLint alignment = 4; // the pack alignment (one of 1, 2, 4 or 8) local 176 if (componentSize >= alignment) { 181 static_cast<float>(alignment)); 182 rowStride = static_cast<GrGLint>(alignment * fTemp / componentSize);
|
/external/chromium_org/ui/views/bubble/ |
H A D | bubble_border.h | 156 // Get or set the bubble alignment. 157 void set_alignment(BubbleAlignment alignment) { alignment_ = alignment; } argument 158 BubbleAlignment alignment() const { return alignment_; } function in class:views::BubbleBorder
|