Searched defs:aligned (Results 1 - 25 of 31) sorted by relevance

12

/external/llvm/test/MC/ARM/
H A Ddirective-align.s13 aligned: label
17 @ CHECK-LABEL: aligned
/external/compiler-rt/test/asan/TestCases/Darwin/
H A Dmalloc_set_zone_name-mprotect.cc4 // page-aligned address, so we can only test on a best-effort basis.
23 // Try to allocate a page-aligned malloc zone. Otherwise the mprotect() call
26 bool aligned = false; local
30 aligned = true;
34 if (!aligned) {
35 printf("Warning: couldn't allocate a page-aligned zone.");
/external/clang/test/SemaCXX/
H A Dcxx11-gnu-attrs.cpp21 [[gnu::aligned(8)]] int aligned; variable
22 void aligned_fn [[gnu::aligned(32)]] ();
23 struct [[gnu::aligned(8)]] aligned_struct {};
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_pointer.h82 * Return a pointer aligned to next multiple of N bytes.
87 uintptr_t aligned = (pointer_to_uintptr( unaligned ) + alignment - 1) & ~(alignment - 1); local
88 return uintptr_to_pointer( aligned );
93 * Return a pointer aligned to next multiple of 16 bytes.
/external/google-breakpad/src/common/dwarf/
H A Dbytereader.cc112 // agree that aligned pointers are always absolute, machine-sized,
118 // need to find the next position in our buffer that would be aligned
122 // aligned.
124 // First, find the offset to START from the closest prior aligned
127 // Now find the offset from that aligned address to buffer.
130 uint64 aligned = (offset + AddressSize() - 1) & -AddressSize(); local
132 const char *aligned_buffer = buffer_base_ + (aligned - skew);
/external/deqp/modules/gles2/stress/
H A Des2sVertexArrayTests.cpp88 const bool aligned = (stride % Array::inputTypeSize(inputTypes[inputTypeNdx])) == 0; local
108 if (!aligned)
228 const bool aligned = ((stride % Array::inputTypeSize(inputTypes[inputTypeNdx])) == 0) && (offsets[offsetNdx] % Array::inputTypeSize(inputTypes[inputTypeNdx]) == 0); local
248 if (!aligned)
296 const bool aligned = ((stride % Array::inputTypeSize(inputTypes[inputTypeNdx])) == 0) && ((offsets[offsetNdx] % Array::inputTypeSize(inputTypes[inputTypeNdx])) == 0); local
316 if (!aligned)
H A Des2sDrawTests.cpp111 bool aligned; member in struct:deqp::gles2::Stress::__anon3264::IndexTest
133 DE_ASSERT(!indexTest.aligned);
/external/e2fsprogs/e2fsck/
H A Dmtrace.h177 __ptr_t aligned; /* The address that memaligned returned. */ member in struct:alignlist
/external/eigen/unsupported/Eigen/src/FFT/
H A Dei_fftw_impl.h242 bool aligned = ( (reinterpret_cast<size_t>(src)&15) | (reinterpret_cast<size_t>(dst)&15) ) == 0; local
243 int64_t key = ( (nfft<<3 ) | (inverse<<2) | (inplace<<1) | aligned ) << 1;
251 bool aligned = ( (reinterpret_cast<size_t>(src)&15) | (reinterpret_cast<size_t>(dst)&15) ) == 0; local
252 int64_t key = ( ( (((int64_t)n0) << 30)|(n1<<3 ) | (inverse<<2) | (inplace<<1) | aligned ) << 1 ) + 1;
/external/deqp/framework/common/
H A DtcuFloatFormat.cpp244 const deUint64 aligned = fraction << (numDigits * 4 - m_fractionBits); local
249 << std::hex << std::setw(numDigits) << std::setfill('0') << aligned
/external/deqp/framework/referencerenderer/
H A DrrVertexAttrib.cpp62 SrcScalarType aligned[4]; local
63 deMemcpy(aligned, ptr, size * sizeof(SrcScalarType));
65 dst[Order::T0] = DstScalarType(aligned[0]);
66 if (size >= 2) dst[Order::T1] = DstScalarType(aligned[1]);
67 if (size >= 3) dst[Order::T2] = DstScalarType(aligned[2]);
68 if (size >= 4) dst[Order::T3] = DstScalarType(aligned[3]);
76 SrcScalarType aligned[4]; local
77 deMemcpy(aligned, ptr, size * sizeof(SrcScalarType));
79 dst[Order::T0] = float(aligned[0]) / float(range);
80 if (size >= 2) dst[Order::T1] = float(aligned[
91 SrcScalarType aligned[4]; local
106 SrcScalarType aligned[4]; local
117 deUint16 aligned[4]; local
128 deInt32 aligned[4]; local
139 double aligned[4]; local
157 deUint32 aligned; local
169 deUint32 aligned; local
184 deUint32 aligned; local
200 deUint32 aligned; local
216 deUint32 aligned; local
[all...]
/external/deqp/modules/gles3/stress/
H A Des3sVertexArrayTests.cpp87 const bool aligned = (stride % Array::inputTypeSize(inputTypes[inputTypeNdx])) == 0; local
107 if (!aligned)
295 const bool aligned = ((stride % alignment) == 0) && ((offsets[offsetNdx] % alignment) == 0); local
315 if (!aligned)
396 const bool aligned = ((stride % alignment) == 0) && ((offsets[offsetNdx] % alignment) == 0); local
416 if (!aligned)
H A Des3sDrawTests.cpp292 bool aligned; member in struct:deqp::gles3::Stress::__anon3550::IndexTest
316 DE_ASSERT(!indexTest.aligned);
/external/openfst/src/test/
H A Dfst_test.h212 const string aligned = FLAGS_tmpdir + "/aligned.fst"; local
239 // check mmaping by first writing the file with the aligned attribute set
241 ofstream ostr(aligned.c_str());
243 opts.source = aligned;
247 ifstream istr(aligned.c_str());
250 opts.source = aligned;
260 ofstream ostr(aligned.c_str());
262 opts.source = aligned;
266 ifstream istr(aligned
[all...]
/external/deqp/modules/gles2/functional/
H A Des2fVertexArrayTest.cpp87 const bool aligned = (stride % Array::inputTypeSize(inputTypes[inputTypeNdx])) == 0; local
107 if (aligned)
227 const bool aligned = ((stride % Array::inputTypeSize(inputTypes[inputTypeNdx])) == 0) && (offsets[offsetNdx] % Array::inputTypeSize(inputTypes[inputTypeNdx]) == 0); local
247 if (aligned)
295 const bool aligned = ((stride % Array::inputTypeSize(inputTypes[inputTypeNdx])) == 0) && ((offsets[offsetNdx] % Array::inputTypeSize(inputTypes[inputTypeNdx])) == 0); local
315 if (aligned)
H A Des2fDrawTests.cpp313 bool aligned; member in struct:deqp::gles2::Functional::__anon3168::IndexTest
344 ? ((indexTest.aligned) ? (userPtrGroup) : (unalignedUserPtrGroup))
345 : ((indexTest.aligned) ? (bufferGroup) : (DE_NULL));
677 // Only aligned cases
/external/llvm/include/llvm/Support/
H A DEndian.h26 enum {aligned = 0, unaligned = 1}; enumerator in enum:llvm::support::__anon10268
145 <uint16_t, little, aligned> aligned_ulittle16_t;
147 <uint32_t, little, aligned> aligned_ulittle32_t;
149 <uint64_t, little, aligned> aligned_ulittle64_t;
152 <int16_t, little, aligned> aligned_little16_t;
154 <int32_t, little, aligned> aligned_little32_t;
156 <int64_t, little, aligned> aligned_little64_t;
173 <uint16_t, big, aligned> aligned_ubig16_t;
175 <uint32_t, big, aligned> aligned_ubig32_t;
177 <uint64_t, big, aligned> aligned_ubig64_
[all...]
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dvg_context.h185 void *aligned = align_pointer(ptr, alignment); local
186 return (ptr == aligned) ? VG_TRUE : VG_FALSE;
/external/deqp/modules/gles3/functional/
H A Des3fVertexArrayTest.cpp84 const bool aligned = (stride % Array::inputTypeSize(inputTypes[inputTypeNdx])) == 0; local
104 if (aligned)
292 const bool aligned = ((stride % alignment) == 0) && ((offsets[offsetNdx] % alignment) == 0); local
312 if (aligned)
393 const bool aligned = ((stride % alignment) == 0) && ((offsets[offsetNdx] % alignment) == 0); local
413 if (aligned)
H A Des3fDrawTests.cpp411 bool aligned; member in struct:deqp::gles3::Functional::__anon3299::IndexTest
445 ? ((indexTest.aligned) ? (userPtrGroup) : (unalignedUserPtrGroup))
446 : ((indexTest.aligned) ? (bufferGroup) : (DE_NULL));
1103 // Only properly aligned and not blacklisted cases
/external/skia/src/pathops/
H A DSkOpSpan.h129 bool aligned() const { function in class:SkOpSpanBase
/external/compiler-rt/lib/msan/
H A Dmsan.cc39 // aligned address.
541 uptr aligned = x & ~3ULL; local
542 uptr origin_ptr = MEM_TO_ORIGIN(aligned);
/external/eigen/Eigen/src/Core/util/
H A DMemory.h16 *** Platform checks for aligned malloc functions ***
24 // Try to determine automatically if malloc is already aligned.
26 // On 64-bit systems, glibc's malloc returns 16-byte-aligned pointers, see:
40 // FreeBSD 6 seems to have 16-byte aligned malloc
42 // FreeBSD 7 seems to have 16-byte aligned malloc except on ARM and MIPS architectures
96 *** Implementation of handmade aligned functions ***
99 /* ----- Hand made implementations of aligned malloc/free and realloc ----- */
101 /** \internal Like malloc, but the returned pointer is guaranteed to be 16-byte aligned.
108 void *aligned = reinterpret_cast<void*>((reinterpret_cast<std::size_t>(original) & ~(std::size_t(15))) + 16); local
109 *(reinterpret_cast<void**>(aligned)
131 void *aligned = reinterpret_cast<void*>((reinterpret_cast<std::size_t>(original) & ~(std::size_t(15))) + 16); local
[all...]
/external/valgrind/coregrind/
H A Dm_machine.c534 * instructions don't raise a SIGILL, that they will zero an aligned,
543 char *aligned = test_block; local
547 aligned = (char *)(((HWord)aligned + MAX_DCBZL_SZB) & ~(MAX_DCBZL_SZB - 1));
548 vg_assert((aligned + MAX_DCBZL_SZB) <= &test_block[sizeof(test_block)]);
555 : "r" (aligned) /*in*/
573 : "r" (aligned) /*in*/
/external/v8/src/ia32/
H A Dmacro-assembler-ia32.cc1446 // safe in new-space because the limit of the heap is aligned there.
1450 Label aligned; local
1452 j(zero, &aligned, Label::kNear);
1460 bind(&aligned);
1523 // safe in new-space because the limit of the heap is aligned there.
1527 Label aligned; local
1529 j(zero, &aligned, Label::kNear);
1537 bind(&aligned);
1598 // safe in new-space because the limit of the heap is aligned there.
1602 Label aligned; local
[all...]

Completed in 1435 milliseconds

12