/external/mesa3d/src/gallium/state_trackers/xvmc/tests/ |
H A D | testlib.c | 115 unsigned int align(unsigned int value, unsigned int alignment) argument 117 return (value + alignment - 1) & ~(alignment - 1);
|
/external/mesa3d/src/gallium/winsys/sw/android/ |
H A D | android_sw_winsys.cpp | 87 unsigned alignment, 83 android_displaytarget_create(struct sw_winsys *ws, unsigned tex_usage, enum pipe_format format, unsigned width, unsigned height, unsigned alignment, unsigned *stride) argument
|
/external/mesa3d/src/gallium/winsys/sw/dri/ |
H A D | dri_sw_winsys.c | 85 unsigned alignment, 100 dri_sw_dt->stride = align(format_stride, alignment); 105 dri_sw_dt->data = align_malloc(size, alignment); 81 dri_sw_displaytarget_create(struct sw_winsys *winsys, unsigned tex_usage, enum pipe_format format, unsigned width, unsigned height, unsigned alignment, unsigned *stride) argument
|
/external/mesa3d/src/gallium/winsys/sw/fbdev/ |
H A D | fbdev_sw_winsys.c | 162 unsigned alignment, 177 fbdt->stride = align(format_stride, alignment); 182 fbdt->data = align_malloc(size, alignment); 158 fbdev_displaytarget_create(struct sw_winsys *ws, unsigned tex_usage, enum pipe_format format, unsigned width, unsigned height, unsigned alignment, unsigned *stride) argument
|
/external/mesa3d/src/gallium/winsys/sw/gdi/ |
H A D | gdi_sw_winsys.c | 126 unsigned alignment, 144 gdt->stride = align(width * cpp, alignment); 147 gdt->data = align_malloc(gdt->size, alignment); 122 gdi_sw_displaytarget_create(struct sw_winsys *winsys, unsigned tex_usage, enum pipe_format format, unsigned width, unsigned height, unsigned alignment, unsigned *stride) argument
|
/external/mesa3d/src/gallium/winsys/sw/wayland/ |
H A D | wayland_sw_winsys.c | 157 unsigned alignment, 178 wldt->stride = align(format_stride, alignment); 153 wayland_displaytarget_create(struct sw_winsys *ws, unsigned tex_usage, enum pipe_format format, unsigned width, unsigned height, unsigned alignment, unsigned *stride) argument
|
/external/mesa3d/src/gallium/winsys/sw/wrapper/ |
H A D | wrapper_sw_winsys.c | 136 unsigned alignment, 155 /* XXX alignment: we can't do anything about this */ 132 wsw_dt_create(struct sw_winsys *ws, unsigned bind, enum pipe_format format, unsigned width, unsigned height, unsigned alignment, unsigned *stride) argument
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/ |
H A D | ByteArrayInput.java | 303 public void alignTo(int alignment) { argument 304 cursor = AlignmentUtils.alignOffset(cursor, alignment);
|
/external/aac/libFDK/src/ |
H A D | FDK_bitbuffer.cpp | 331 INT alignment = hBitBuf->BitCnt & 0x07 ; local 333 if (alignment) 336 FDK_pushForward (hBitBuf, 8 - alignment, config) ; /* BS_READER */ 338 FDK_put (hBitBuf,0 , 8 - alignment) ; /* BS_WRITER */
|
/external/bison/lib/ |
H A D | obstack.c | 54 /* Determine default alignment. */ 143 int size, int alignment, 149 if (alignment == 0) 150 alignment = DEFAULT_ALIGNMENT; 171 h->alignment_mask = alignment - 1; 178 alignment - 1); 189 _obstack_begin_1 (struct obstack *h, int size, int alignment, 196 if (alignment == 0) 197 alignment = DEFAULT_ALIGNMENT; 218 h->alignment_mask = alignment 141 _obstack_begin(struct obstack *h, int size, int alignment, void *(*chunkfun) (long), void (*freefun) (void *)) argument 188 _obstack_begin_1(struct obstack *h, int size, int alignment, void *(*chunkfun) (void *, long), void (*freefun) (void *, void *), void *arg) argument [all...] |
/external/chromium_org/ash/launcher/ |
H A D | launcher.cc | 78 void Launcher::SetAlignment(ShelfAlignment alignment) { argument 79 alignment_ = alignment;
|
/external/chromium_org/ash/system/chromeos/network/ |
H A D | tray_network.cc | 93 void UpdateAlignment(ShelfAlignment alignment) { argument 95 alignment == SHELF_ALIGNMENT_BOTTOM ? 323 void TrayNetwork::UpdateAfterShelfAlignmentChange(ShelfAlignment alignment) { argument 325 SetTrayImageItemBorder(tray_, alignment); 326 tray_->UpdateAlignment(alignment);
|
/external/chromium_org/ash/system/chromeos/power/ |
H A D | tray_power.cc | 164 void TrayPower::UpdateAfterShelfAlignmentChange(ShelfAlignment alignment) { argument 165 SetTrayImageItemBorder(power_tray_, alignment);
|
/external/chromium_org/ash/system/chromeos/screen_security/ |
H A D | screen_tray_item.cc | 199 void ScreenTrayItem::UpdateAfterShelfAlignmentChange(ShelfAlignment alignment) { argument 205 (alignment == ash::SHELF_ALIGNMENT_BOTTOM || 206 alignment == ash::SHELF_ALIGNMENT_TOP)
|
/external/chromium_org/ash/system/ime/ |
H A D | tray_ime.cc | 295 void TrayIME::UpdateAfterShelfAlignmentChange(ShelfAlignment alignment) { argument 296 SetTrayLabelItemBorder(tray_label_, alignment);
|
/external/chromium_org/ash/system/session_length_limit/ |
H A D | tray_session_length_limit.cc | 308 ShelfAlignment alignment) { 310 tray_view_->UpdateClockLayout(alignment); 307 UpdateAfterShelfAlignmentChange( ShelfAlignment alignment) argument
|
/external/chromium_org/base/allocator/ |
H A D | allocator_shim.cc | 323 void* _aligned_malloc(size_t size, size_t alignment) { argument 328 DCHECK_EQ(alignment & (alignment - 1), 0U); 329 DCHECK_EQ(alignment % sizeof(void*), 0U); 335 ptr = je_memalign(alignment, size); 339 ptr = win_heap_memalign(alignment, size); 343 ptr = tc_memalign(alignment, size); 348 // Sanity check alignment. 349 DCHECK_EQ(reinterpret_cast<uintptr_t>(ptr) & (alignment - 1), 0U);
|
/external/chromium_org/chrome/browser/search/ |
H A D | instant_service.cc | 386 // Set theme background image horizontal alignment. 387 int alignment = theme_service->GetDisplayProperty( local 389 if (alignment & ThemeProperties::ALIGN_LEFT) 391 else if (alignment & ThemeProperties::ALIGN_RIGHT) 396 // Set theme background image vertical alignment. 397 if (alignment & ThemeProperties::ALIGN_TOP) 399 else if (alignment & ThemeProperties::ALIGN_BOTTOM)
|
/external/chromium_org/chrome/browser/themes/ |
H A D | theme_properties.cc | 97 // Strings used in alignment properties. 136 int ThemeProperties::StringToAlignment(const std::string& alignment) { argument 138 base::SplitStringAlongWhitespace(alignment, &split); 170 std::string ThemeProperties::AlignmentToString(int alignment) { argument 175 if (alignment & ALIGN_TOP) 177 else if (alignment & ALIGN_BOTTOM) 180 if (alignment & ALIGN_LEFT) 182 else if (alignment & ALIGN_RIGHT)
|
/external/chromium_org/chrome/browser/thumbnails/ |
H A D | content_analysis_unittest.cc | 681 int alignment = line % 2; local 685 alignment * body_rect.width() / 2 + margin_vertical;
|
/external/chromium_org/chrome/browser/ui/gtk/ |
H A D | fullscreen_exit_bubble_gtk.cc | 135 GtkWidget* alignment = gtk_alignment_new(0.0, 0.0, 1.0, 1.0); local 136 gtk_alignment_set_padding(GTK_ALIGNMENT(alignment), 5, 0, 0, 0); 137 gtk_container_add(GTK_CONTAINER(alignment), bubble_); 138 ui_container_.Own(alignment);
|
H A D | zoom_bubble_gtk.cc | 116 GtkWidget* alignment = gtk_alignment_new(0, 0, 1, 1); local 117 gtk_alignment_set_padding(GTK_ALIGNMENT(alignment), 122 gtk_container_add(GTK_CONTAINER(alignment), set_default_button); 124 gtk_box_pack_start(GTK_BOX(container), alignment, FALSE, FALSE, 0); local
|
/external/chromium_org/gpu/command_buffer/client/ |
H A D | transfer_buffer.cc | 42 unsigned int alignment, 48 alignment_ = alignment; 37 Initialize( unsigned int default_buffer_size, unsigned int result_size, unsigned int min_buffer_size, unsigned int max_buffer_size, unsigned int alignment, unsigned int size_to_flush) argument
|
H A D | transfer_buffer.h | 23 unsigned int alignment, 30 alignment_(alignment), 64 unsigned int alignment, 99 unsigned int alignment, 137 // alignment for allocations 22 AlignedRingBuffer( unsigned int alignment, int32 shm_id, RingBuffer::Offset base_offset, unsigned int size, CommandBufferHelper* helper, void* base) argument
|
/external/chromium_org/sandbox/win/src/ |
H A D | crosscall_params.h | 20 // alignment. Returns the increased value. 22 uint32 alignment = sizeof(int64); local 23 return ((value + alignment - 1) / alignment) * alignment;
|