Searched defs:align (Results 1 - 25 of 259) sorted by relevance

1234567891011

/external/e2fsprogs/lib/ext2fs/
H A Ddupfs.c106 int align = ext2fs_get_dio_alignment(src->mmp_fd); local
108 retval = ext2fs_get_memalign(src->blocksize, align,
H A Dgetsectsize.c68 int align = 0; local
71 if (ioctl(fd, BLKSSZGET, &align) < 0)
72 align = 0;
76 if (align <= 0)
77 align = sysconf(_SC_PAGESIZE);
80 if (align <= 0)
81 align = getpagesize();
83 if (align <= 0)
84 align = 4096;
86 return align;
[all...]
H A Dinline.c45 unsigned long align, void *ptr)
50 if (align < 8)
51 align = 8;
53 retval = posix_memalign(p, align, size);
61 *p = memalign(align, size);
70 if (align > sizeof(long long))
75 if ((unsigned long) *p & (align - 1)) {
87 static int isaligned(void *ptr, unsigned long align) argument
89 return (((unsigned long) ptr & (align - 1)) == 0);
92 static errcode_t test_memalign(unsigned long align) argument
44 ext2fs_get_memalign(unsigned long size, unsigned long align, void *ptr) argument
[all...]
/external/elfutils/0.153/libelf/
H A Delf_getdata_rawchunk.c131 size_t align = __libelf_type_align (elf->class, type); local
135 if (((uintptr_t) rawchunk & (align - 1)) == 0)
184 chunk->data.d.d_align = align;
/external/clang/test/CodeGen/
H A Dc-strings.c7 // CHECK: @align = global i8 [[ALIGN:[0-9]+]]
9 // MSABI: @"\01??_C@_05CJBACGMB@hello?$AA@" = linkonce_odr unnamed_addr constant [6 x i8] c"hello\00", align 1
12 // CHECK: @f2.x = internal global [6 x i8] c"hello\00", align [[ALIGN]]
13 // CHECK: @f3.x = internal global [8 x i8] c"hello\00\00\00", align [[ALIGN]]
16 // CHECK: @x = global [3 x i8] c"ola", align [[ALIGN]]
19 unsigned char align = 2; variable
21 unsigned char align = 1; variable
/external/libnl/include/netlink/route/
H A Dpktloc.h28 uint8_t align:4; member in struct:rtnl_pktloc
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGPreserveAspectRatioTearOff.cpp40 void SVGPreserveAspectRatioTearOff::setAlign(unsigned short align, ExceptionState& exceptionState) argument
42 if (align == SVG_PRESERVEASPECTRATIO_UNKNOWN || align > SVG_PRESERVEASPECTRATIO_XMAXYMAX) {
51 target()->setAlign(static_cast<SVGPreserveAspectRatio::SVGPreserveAspectRatioType>(align));
H A DSVGPreserveAspectRatioTearOff.h69 unsigned short align() { return target()->align(); } function in class:blink::FINAL
/external/chromium_org/third_party/leveldatabase/src/util/
H A Darena.cc43 const int align = (sizeof(void*) > 8) ? sizeof(void*) : 8; local
44 assert((align & (align-1)) == 0); // Pointer size should be a power of 2
45 size_t current_mod = reinterpret_cast<uintptr_t>(alloc_ptr_) & (align-1);
46 size_t slop = (current_mod == 0 ? 0 : align - current_mod);
57 assert((reinterpret_cast<uintptr_t>(result) & (align-1)) == 0);
/external/chromium_org/third_party/re2/util/
H A Darena.cc101 void* UnsafeArena::GetMemoryFallback(const size_t size, const int align) { argument
105 assert(align > 0 && 0 == (align & (align - 1))); // must be power of 2
111 assert(align <= kDefaultAlignment); // because that's what new gives us
118 (reinterpret_cast<uintptr_t>(freestart_) & (align-1));
120 const int waste = align - overage;
136 assert((reinterpret_cast<uintptr_t>(last_alloc_) & (align-1)) == 0);
/external/chromium_org/third_party/smhasher/src/
H A DMurmurHash1.cpp85 int align = (uint64_t)data & 3; local
87 if(align && (len >= 4))
93 switch(align)
100 t <<= (8 * align);
102 data += 4-align;
103 len -= 4-align;
105 int sl = 8 * (4-align);
106 int sr = 8 * align;
125 int pack = len < align ? len : align;
[all...]
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/genperf/
H A Dstandard.h23 #ifndef align
24 # define align(a) (((ub4)a+(sizeof(void *)-1))&(~(sizeof(void *)-1))) macro
25 #endif /* align */
/external/elfutils/0.153/libdw/
H A Dlibdw_alloc.c63 __libdw_allocate (Dwarf *dbg, size_t minsize, size_t align) argument
66 (align - 1 +
72 uintptr_t result = ((uintptr_t) newp->mem + align - 1) & ~(align - 1);
H A Dencoded-value.h141 size_t align = ((cache->frame_vaddr local
144 if (align != 0)
145 *p += size - align;
/external/iproute2/include/linux/tc_ematch/
H A Dtc_em_cmp.h11 __u8 align:4; member in struct:tcf_em_cmp
/external/kernel-headers/original/uapi/linux/tc_ematch/
H A Dtc_em_cmp.h11 __u8 align:4; member in struct:tcf_em_cmp
/external/regex-re2/util/
H A Darena.cc101 void* UnsafeArena::GetMemoryFallback(const size_t size, const int align) { argument
105 assert(align > 0 && 0 == (align & (align - 1))); // must be power of 2
111 assert(align <= kDefaultAlignment); // because that's what new gives us
118 (reinterpret_cast<uintptr_t>(freestart_) & (align-1));
120 const int waste = align - overage;
136 assert((reinterpret_cast<uintptr_t>(last_alloc_) & (align-1)) == 0);
/external/valgrind/main/coregrind/m_replacemalloc/
H A Dreplacemalloc_core.c87 void* VG_(cli_malloc) ( SizeT align, SizeT nbytes ) argument
89 // 'align' should be valid (ie. big enough and a power of two) by now.
91 if (VG_MIN_MALLOC_SZB == align)
96 align, nbytes );
/external/iproute2/tc/
H A Dem_u32.c40 int align, nh_len; local
53 align = 1;
55 align = 2;
57 align = 4;
105 switch (align) {
/external/wpa_supplicant_8/hostapd/src/utils/
H A Dradiotap.c22 [IEEE80211_RADIOTAP_TSFT] = { .align = 8, .size = 8, },
23 [IEEE80211_RADIOTAP_FLAGS] = { .align = 1, .size = 1, },
24 [IEEE80211_RADIOTAP_RATE] = { .align = 1, .size = 1, },
25 [IEEE80211_RADIOTAP_CHANNEL] = { .align = 2, .size = 4, },
26 [IEEE80211_RADIOTAP_FHSS] = { .align = 2, .size = 2, },
27 [IEEE80211_RADIOTAP_DBM_ANTSIGNAL] = { .align = 1, .size = 1, },
28 [IEEE80211_RADIOTAP_DBM_ANTNOISE] = { .align = 1, .size = 1, },
29 [IEEE80211_RADIOTAP_LOCK_QUALITY] = { .align = 2, .size = 2, },
30 [IEEE80211_RADIOTAP_TX_ATTENUATION] = { .align = 2, .size = 2, },
31 [IEEE80211_RADIOTAP_DB_TX_ATTENUATION] = { .align
185 find_override(struct ieee80211_radiotap_iterator *iterator, int *align, int *size) argument
236 int pad, align, size, subns; local
[all...]
/external/wpa_supplicant_8/src/utils/
H A Dradiotap.c22 [IEEE80211_RADIOTAP_TSFT] = { .align = 8, .size = 8, },
23 [IEEE80211_RADIOTAP_FLAGS] = { .align = 1, .size = 1, },
24 [IEEE80211_RADIOTAP_RATE] = { .align = 1, .size = 1, },
25 [IEEE80211_RADIOTAP_CHANNEL] = { .align = 2, .size = 4, },
26 [IEEE80211_RADIOTAP_FHSS] = { .align = 2, .size = 2, },
27 [IEEE80211_RADIOTAP_DBM_ANTSIGNAL] = { .align = 1, .size = 1, },
28 [IEEE80211_RADIOTAP_DBM_ANTNOISE] = { .align = 1, .size = 1, },
29 [IEEE80211_RADIOTAP_LOCK_QUALITY] = { .align = 2, .size = 2, },
30 [IEEE80211_RADIOTAP_TX_ATTENUATION] = { .align = 2, .size = 2, },
31 [IEEE80211_RADIOTAP_DB_TX_ATTENUATION] = { .align
185 find_override(struct ieee80211_radiotap_iterator *iterator, int *align, int *size) argument
236 int pad, align, size, subns; local
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Dradiotap.c22 [IEEE80211_RADIOTAP_TSFT] = { .align = 8, .size = 8, },
23 [IEEE80211_RADIOTAP_FLAGS] = { .align = 1, .size = 1, },
24 [IEEE80211_RADIOTAP_RATE] = { .align = 1, .size = 1, },
25 [IEEE80211_RADIOTAP_CHANNEL] = { .align = 2, .size = 4, },
26 [IEEE80211_RADIOTAP_FHSS] = { .align = 2, .size = 2, },
27 [IEEE80211_RADIOTAP_DBM_ANTSIGNAL] = { .align = 1, .size = 1, },
28 [IEEE80211_RADIOTAP_DBM_ANTNOISE] = { .align = 1, .size = 1, },
29 [IEEE80211_RADIOTAP_LOCK_QUALITY] = { .align = 2, .size = 2, },
30 [IEEE80211_RADIOTAP_TX_ATTENUATION] = { .align = 2, .size = 2, },
31 [IEEE80211_RADIOTAP_DB_TX_ATTENUATION] = { .align
185 find_override(struct ieee80211_radiotap_iterator *iterator, int *align, int *size) argument
236 int pad, align, size, subns; local
[all...]
/external/chromium_org/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
H A DBindingsHelper.java39 public static int align(int size) { method in class:BindingsHelper
69 public static long align(long size) { method in class:BindingsHelper
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DPageAllocator.cpp128 void* allocPages(void* addr, size_t len, size_t align) argument
132 ASSERT(align >= kPageAllocationGranularity);
133 ASSERT(!(align & kPageAllocationGranularityOffsetMask));
135 size_t alignOffsetMask = align - 1;
155 size_t tryLen = len + (align - kPageAllocationGranularity);
/external/chromium_org/third_party/boringssl/src/crypto/cipher/
H A De_des.c68 double align; member in union:__anon11621::__anon11622
113 double align; member in union:__anon11623::__anon11624

Completed in 3740 milliseconds

1234567891011