/external/protobuf/src/google/protobuf/ |
H A D | dynamic_message.cc | 148 inline int AlignTo(int offset, int alignment) { argument 149 return DivideRoundingUp(offset, alignment) * alignment; 528 // alignment is not necessary.
|
/external/chromium/base/ |
H A D | process_util_linux.cc | 621 void* __libc_memalign(size_t alignment, size_t size); 680 int posix_memalign(void** ptr, size_t alignment, size_t size) 683 int posix_memalign(void** ptr, size_t alignment, size_t size) { argument 685 *ptr = memalign(alignment, size);
|
/external/libffi/testsuite/libffi.call/ |
H A D | cls_24byte.c | 73 cls_struct_type.alignment = 0;
|
H A D | cls_64byte.c | 78 cls_struct_type.alignment = 0;
|
H A D | cls_6_1_byte.c | 72 cls_struct_type.alignment = 0;
|
H A D | cls_7_1_byte.c | 74 cls_struct_type.alignment = 0;
|
/external/qemu/ |
H A D | osdep.h | 91 void *qemu_memalign(size_t alignment, size_t size);
|
/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-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-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);
|
/external/dbus/dbus/ |
H A D | dbus-string.c | 69 * alignment but probably lots of them, are no longer used by the 922 int alignment, 930 _dbus_assert (alignment >= 1); 931 _dbus_assert (alignment <= 8); /* it has to be a bug if > 8 */ 937 gap_pos = _DBUS_ALIGN_VALUE (insert_at, alignment); 970 int alignment, 979 alignment, then_lengthen_by); 983 * Align the length of a string to a specific alignment (typically 4 or 8) 987 * @param alignment the alignment 920 align_insert_point_then_open_gap(DBusString *str, int *insert_at_p, int alignment, int gap_size) argument 969 align_length_then_lengthen(DBusString *str, int alignment, int then_lengthen_by) argument 991 _dbus_string_align_length(DBusString *str, int alignment) argument 1224 _dbus_string_insert_alignment(DBusString *str, int *insert_at, int alignment) argument [all...] |
H A D | dbus-string.h | 142 int alignment); 181 int alignment);
|
H A D | dbus-marshal-recursive.c | 181 /* struct and dict entry have 8 byte alignment */ 230 int alignment; local 241 alignment = element_type_get_alignment (sub->type_str, 244 sub->value_pos = _DBUS_ALIGN_VALUE (sub->value_pos, alignment); 918 int alignment; local 930 alignment = _dbus_type_get_alignment (element_type); 953 *n_elements = remaining_len / alignment; 954 _dbus_assert ((remaining_len % alignment) == 0); 1122 DBusString replacement; /**< Marshaled value including alignment padding */ 1231 /* In the variable-length case, we have to fix alignment afte 1804 int alignment; local [all...] |
/external/aac/libSYS/include/ |
H A D | genericStds.h | 146 * aligned memory addresses (beyond the natural alignment of its type). The preprocesor macro 270 * \param alignment Alignment of requested memory in bytes. 273 void *FDKaalloc (const UINT size, const UINT alignment); 303 void *FDKaalloc_L(const UINT size, const UINT alignment, MEMORY_SECTION s); 464 * 4-byte alignment is enforced for 24 bit data, at 32 bit full scale.
|
/external/kernel-headers/original/linux/ |
H A D | msm_vidc_enc.h | 475 unsigned long alignment; member in struct:venc_allocatorproperty 618 int alignment; member in struct:venc_recon_buff_size
|
/external/clang/lib/Sema/ |
H A D | SemaAttr.cpp | 30 // alignment. 42 /// Alignment - The current user specified alignment. 55 /// push - Push the current alignment onto the stack, optionally 63 /// alignment to the previous value. If \arg Name is non-zero then 79 // Otherwise, it is an error only if some alignment has been set. 83 // Otherwise, reset to the default alignment. 121 // Otherwise, check to see if we need a max field alignment attribute. 146 // Reset just pops the top of the stack, or resets the current alignment to 192 Expr *alignment, SourceLocation PragmaLoc, 194 Expr *Alignment = static_cast<Expr *>(alignment); 191 ActOnPragmaPack(PragmaPackKind Kind, IdentifierInfo *Name, Expr *alignment, SourceLocation PragmaLoc, SourceLocation LParenLoc, SourceLocation RParenLoc) argument [all...] |
/external/chromium/chrome/browser/ui/gtk/ |
H A D | find_bar_gtk.cc | 154 // Like gtk_util::CreateGtkBorderBin, but allows control over the alignment and 155 // returns both the event box and the alignment so we can modify it during its 161 GtkWidget** ebox, GtkWidget** alignment) { 164 *alignment = gtk_alignment_new(0.5, 0.5, 0.0, 0.0); 166 *alignment = gtk_alignment_new(0.0, 0.0, 1.0, 1.0); 167 gtk_alignment_set_padding(GTK_ALIGNMENT(*alignment), 170 gtk_container_add(GTK_CONTAINER(*alignment), child); 171 gtk_container_add(GTK_CONTAINER(*ebox), *alignment); 223 // alignment and a gtk event box to get the padding and light blue 298 // This alignment is 157 BuildBorder(GtkWidget* child, bool center, int padding_top, int padding_bottom, int padding_left, int padding_right, GtkWidget** ebox, GtkWidget** alignment) argument [all...] |
/external/flac/libFLAC/ppc/as/ |
H A D | lpc_asm.s | 101 lvsl v17,0,r5 ; v17: coefficient alignment permutation vector 102 vperm v17,v17,v17,v0 ; v17: reversal coefficient alignment permutation vector 105 lvsl v16,0,r11 ; v16: history alignment permutation vector 350 lvsl v5,0,r5 ; v5: coefficient alignment permutation vector 351 vperm v5,v5,v5,v0 ; v5: reversal coefficient alignment permutation vector 354 lvsl v4,0,r11 ; v4: history alignment permutation vector
|
/external/flac/libFLAC/ppc/gas/ |
H A D | lpc_asm.s | 103 lvsl v17,0,r5 # v17: coefficient alignment permutation vector 104 vperm v17,v17,v17,v0 # v17: reversal coefficient alignment permutation vector 107 lvsl v16,0,r11 # v16: history alignment permutation vector 352 lvsl v5,0,r5 # v5: coefficient alignment permutation vector 353 vperm v5,v5,v5,v0 # v5: reversal coefficient alignment permutation vector 356 lvsl v4,0,r11 # v4: history alignment permutation vector
|
/external/libvpx/vp8/common/ppc/ |
H A D | filter_bilinear_altivec.asm | 48 ;# v14 permutation value for alignment 93 lvsl v17, 0, r3 ;# permutate value for alignment 109 lvsl v17, 0, r3 ;# permutate value for alignment 460 lvsl v17, 0, r3 ;# permutate value for alignment 500 lvsl v17, 0, r3 ;# permutate value for alignment
|
/external/compiler-rt/lib/asan/tests/ |
H A D | asan_test.cc | 90 NOINLINE void *memalign_fff(size_t alignment, size_t size) { argument 91 void *res = memalign/**/(alignment, size); break_optimization(0); return res;} 92 NOINLINE void *memalign_eee(size_t alignment, size_t size) { argument 93 void *res = memalign_fff(alignment, size); break_optimization(0); return res;} 94 NOINLINE void *memalign_ddd(size_t alignment, size_t size) { argument 95 void *res = memalign_eee(alignment, size); break_optimization(0); return res;} 96 NOINLINE void *memalign_ccc(size_t alignment, size_t size) { argument 97 void *res = memalign_ddd(alignment, size); break_optimization(0); return res;} 98 NOINLINE void *memalign_bbb(size_t alignment, size_t size) { argument 99 void *res = memalign_ccc(alignment, siz 100 memalign_aaa(size_t alignment, size_t size) argument 384 size_t alignment = 1 << (my_rand(&seed) % 7 + 3); local [all...] |
/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...] |
/external/clang/lib/CodeGen/ |
H A D | CGDecl.cpp | 788 CharUnits alignment = getContext().getDeclAlign(&D); local 789 emission.Alignment = alignment; 863 CharUnits allocaAlignment = alignment; 904 vla->setAlignment(alignment.getQuantity()); 1026 CharUnits alignment = emission.Alignment; 1043 LValue lv = MakeAddrLValue(Loc, type, alignment); 1065 alignment.getQuantity(), isVolatile); 1079 GV->setAlignment(alignment.getQuantity()); 1086 Builder.CreateMemCpy(Loc, SrcPtr, SizeVal, alignment.getQuantity(), 1100 /// \param alignment th [all...] |
/external/libffi/src/ |
H A D | dlmalloc.c | 213 Controls the minimum alignment for malloc'ed chunks. It must be a 217 the case of 8-byte alignment. 719 memalign(size_t alignment, size_t n); 721 in accord with the alignment argument. 723 The alignment argument should be a power of two. If the argument is 725 8-byte alignment is guaranteed by normal malloc calls, so don't 960 often not) due to alignment and minimum size constraints. 979 because of alignment and bookkeeping overhead. Because it includes 980 alignment wastage as being in use, this figure may be greater than 1071 void* mspace_memalign(mspace msp, size_t alignment, size_ 3843 internal_memalign(mstate m, size_t alignment, size_t bytes) argument 4331 dlmemalign(size_t alignment, size_t bytes) argument 4735 mspace_memalign(mspace msp, size_t alignment, size_t bytes) argument [all...] |
/external/qemu/distrib/sdl-1.2.15/src/stdlib/ |
H A D | SDL_malloc.c | 249 Controls the minimum alignment for malloc'ed chunks. It must be a 253 the case of 8-byte alignment. 763 memalign(size_t alignment, size_t n); 765 in accord with the alignment argument. 767 The alignment argument should be a power of two. If the argument is 769 8-byte alignment is guaranteed by normal malloc calls, so don't 1004 often not) due to alignment and minimum size constraints. 1023 because of alignment and bookkeeping overhead. Because it includes 1024 alignment wastage as being in use, this figure may be greater than 1115 void* mspace_memalign(mspace msp, size_t alignment, size_ 3853 internal_memalign(mstate m, size_t alignment, size_t bytes) argument 4341 dlmemalign(size_t alignment, size_t bytes) argument 4745 mspace_memalign(mspace msp, size_t alignment, size_t bytes) argument [all...] |