/external/chromium/chrome/browser/themes/ |
H A D | theme_service_unittest.cc | 13 int alignment = ThemeService::StringToAlignment(top_left); local 15 alignment); 16 EXPECT_EQ(top_left, ThemeService::AlignmentToString(alignment)); 18 alignment = ThemeService::StringToAlignment("top"); 19 EXPECT_EQ(ThemeService::ALIGN_TOP, alignment); 20 EXPECT_EQ("top", ThemeService::AlignmentToString(alignment)); 22 alignment = ThemeService::StringToAlignment("left"); 23 EXPECT_EQ(ThemeService::ALIGN_LEFT, alignment); 24 EXPECT_EQ("left", ThemeService::AlignmentToString(alignment)); 26 alignment 37 int alignment = ThemeService::StringToAlignment("right bottom"); local [all...] |
/external/clang/test/CodeGen/ |
H A D | 2005-07-26-UnionInitCrash.c | 3 union { char bytes[8]; double alignment; }EQ1 = {0,0,0,0,0,0,0,0}; member in union:__anon4294
|
/external/chromium/chrome/browser/chromeos/login/ |
H A D | language_switch_menu.h | 33 // Sets menu's alignment. 34 void set_menu_alignment(views::Menu2::Alignment alignment) { argument 35 menu_alignment_ = alignment; 74 // Menu alignment.
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/ |
H A D | AlignmentUtils.java | 32 public static int alignOffset(int offset, int alignment) { argument 33 int mask = alignment - 1; 34 assert (alignment >= 0) && ((mask & alignment) == 0); 38 public static boolean isAligned(int offset, int alignment) { argument 39 return (offset % alignment) == 0;
|
H A D | Input.java | 159 * Skip extra bytes if necessary to force alignment of the output 162 * @param alignment > 0; the alignment; must be a power of two 164 public void alignTo(int alignment); argument
|
H A D | Output.java | 136 * force alignment of the output cursor as given. 138 * @param alignment > 0; the alignment; must be a power of two 140 public void alignTo(int alignment); argument
|
/external/chromium/chrome/browser/ |
H A D | ntp_background_util.cc | 18 gfx::Canvas* canvas, SkBitmap* ntp_background, int tiling, int alignment, 25 if (alignment & ThemeService::ALIGN_BOTTOM) 28 if (alignment & ThemeService::ALIGN_RIGHT) { 30 } else if (alignment & ThemeService::ALIGN_LEFT) { 70 int alignment; local 72 &alignment)) { 76 canvas, ntp_background, tiling, alignment, area, tab_contents_height); 17 PaintThemeBackground( gfx::Canvas* canvas, SkBitmap* ntp_background, int tiling, int alignment, const gfx::Rect& area, int tab_contents_height) argument
|
/external/tcpdump/ |
H A D | cpack.c | 42 cpack_next_boundary(u_int8_t *buf, u_int8_t *p, size_t alignment) argument 44 size_t misalignment = (size_t)(p - buf) % alignment; 49 return p + (alignment - misalignment); 61 /* Ensure alignment. */
|
/external/webrtc/src/system_wrappers/source/ |
H A D | aligned_malloc.cc | 34 // Ok reference on memory alignment: 35 // http://stackoverflow.com/questions/227897/solve-the-memory-alignment-in-c-interview-question-that-stumped-me 48 void* AlignedMalloc(size_t size, size_t alignment) argument 50 if(alignment == 0) 52 // Don't allow alignment 0 since it's undefined. 55 // Make sure that the alignment is an integer power of two or fail. 56 if(alignment & (alignment - 1)) 68 // alignment - 1 bytes needs to be allocated. 72 alignment [all...] |
/external/chromium/chrome/browser/extensions/ |
H A D | browser_action_test_util_gtk.cc | 24 GtkWidget* alignment = local 26 button = gtk_bin_get_child(GTK_BIN(alignment));
|
/external/clang/lib/AST/ |
H A D | RecordLayout.cpp | 32 CharUnits alignment, CharUnits datasize, 35 : Size(size), DataSize(datasize), Alignment(alignment), FieldOffsets(0), 45 CharUnits size, CharUnits alignment, 57 : Size(size), DataSize(datasize), Alignment(alignment), FieldOffsets(0), 31 ASTRecordLayout(const ASTContext &Ctx, CharUnits size, CharUnits alignment, CharUnits datasize, const uint64_t *fieldoffsets, unsigned fieldcount) argument 44 ASTRecordLayout(const ASTContext &Ctx, CharUnits size, CharUnits alignment, bool hasOwnVFPtr, CharUnits vbptroffset, CharUnits datasize, const uint64_t *fieldoffsets, unsigned fieldcount, CharUnits nonvirtualsize, CharUnits nonvirtualalign, CharUnits SizeOfLargestEmptySubobject, const CXXRecordDecl *PrimaryBase, bool IsPrimaryBaseVirtual, const BaseOffsetsMapTy& BaseOffsets, const VBaseOffsetsMapTy& VBaseOffsets) argument
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
H A D | UniformItemSection.java | 36 * @param alignment {@code > 0;} alignment requirement for the final output; 39 public UniformItemSection(String name, DexFile file, int alignment) { argument 40 super(name, file, alignment); 84 int alignment = getAlignment(); 88 out.alignTo(alignment);
|
H A D | OffsettedItem.java | 27 /** {@code > 0;} alignment requirement */ 28 private final int alignment; field in class:OffsettedItem 65 * @param alignment {@code > 0;} output alignment requirement; must be a 70 public OffsettedItem(int alignment, int writeSize) { argument 71 Section.validateAlignment(alignment); 77 this.alignment = alignment; 165 out.alignTo(alignment); 221 * in order to meet its alignment constrain [all...] |
H A D | MixedItemSection.java | 39 * have a larger alignment requirement than the alignment of this instance. 84 * @param alignment {@code > 0;} alignment requirement for the final output; 88 public MixedItemSection(String name, DexFile file, int alignment, argument 90 super(name, file, alignment); 175 "incompatible item alignment");
|
/external/qemu/ |
H A D | oslib-win32.c | 43 void *qemu_memalign(size_t alignment, size_t size) argument 51 //trace_qemu_memalign(alignment, size, ptr);
|
H A D | oslib-posix.c | 43 void *qemu_memalign(size_t alignment, size_t size) argument 48 ret = posix_memalign(&ptr, alignment, size); 57 ptr = qemu_oom_check(memalign(alignment, size)); 59 //trace_qemu_memalign(alignment, size, ptr);
|
/external/skia/gm/ |
H A D | verttext2.cpp | 71 SkTypeface* family, SkPaint::Align alignment) { 76 paint.setTextAlign(alignment); 81 SkIntToScalar(alignment == SkPaint::kLeft_Align ? 10 : 240), 70 drawText(SkCanvas* canvas, const SkString& string, SkTypeface* family, SkPaint::Align alignment) argument
|
/external/webkit/Source/JavaScriptCore/wtf/ |
H A D | PageAllocationAligned.cpp | 31 PageAllocationAligned PageAllocationAligned::allocate(size_t size, size_t alignment, OSAllocator::Usage usage, bool writable, bool executable) argument 34 ASSERT(isPageAligned(alignment)); 35 ASSERT(isPowerOfTwo(alignment)); 36 ASSERT(size >= alignment); 37 size_t alignmentMask = alignment - 1; 53 size_t alignmentDelta = alignment - pageSize(); 61 ? reinterpret_cast<void*>((reinterpret_cast<uintptr_t>(reservationBase) & ~alignmentMask) + alignment)
|
/external/dexmaker/src/dx/java/com/android/dx/util/ |
H A D | Output.java | 124 * force alignment of the output cursor as given. 126 * @param alignment {@code > 0;} the alignment; must be a power of two 128 public void alignTo(int alignment); argument
|
/external/libffi/src/arm/ |
H A D | ffi.c | 58 if (((*p_arg)->alignment - 1) & (unsigned) argp) { 59 argp = (char *) ALIGN(argp, (*p_arg)->alignment); 253 size_t alignment = (*p_arg)->alignment; local 254 if (alignment < 4) 255 alignment = 4; 257 if ((alignment - 1) & (unsigned) argp) { 258 argp = (char *) ALIGN(argp, alignment);
|
/external/webkit/Source/WebCore/page/ |
H A D | SpatialNavigation.h | 109 , alignment(None) 131 RectsAlignment alignment; member in struct:WebCore::FocusCandidate
|
/external/chromium/base/ |
H A D | pickle.h | 213 // Aligns 'i' by rounding it up to the next multiple of 'alignment' 214 static size_t AlignInt(size_t i, int alignment) { argument 215 return i + (alignment - (i % alignment)) % alignment;
|
/external/chromium/chrome/browser/ui/gtk/ |
H A D | constrained_window_gtk.cc | 47 GtkWidget* alignment = gtk_alignment_new(0.0, 0.0, 1.0, 1.0); local 49 gtk_alignment_set_padding(GTK_ALIGNMENT(alignment), 62 gtk_widget_reparent(dialog, alignment); 64 gtk_container_add(GTK_CONTAINER(alignment), dialog); 66 gtk_container_add(GTK_CONTAINER(frame), alignment); local
|
/external/compiler-rt/lib/msan/ |
H A D | msan_allocator.cc | 49 uptr alignment, bool zeroise) { 51 void *res = allocator.Allocate(&cache, size, alignment, false); 81 uptr alignment, bool zeroise) { 83 return MsanAllocate(stack, new_size, alignment, zeroise); 99 void *new_p = MsanAllocate(stack, new_size, alignment, zeroise); 48 MsanAllocate(StackTrace *stack, uptr size, uptr alignment, bool zeroise) argument 80 MsanReallocate(StackTrace *stack, void *old_p, uptr new_size, uptr alignment, bool zeroise) argument
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_allocator_testlib.cc | 111 void *memalign(size_t alignment, size_t size) { argument 114 void *p = allocator.Allocate(&cache, size, alignment); 119 int posix_memalign(void **memptr, size_t alignment, size_t size) { argument 122 *memptr = allocator.Allocate(&cache, size, alignment); 139 void *__libc_memalign(size_t alignment, size_t size) ALIAS("memalign");
|