/external/valgrind/exp-sgcheck/ |
H A D | h_main.c | 304 SizeT size, SizeT alignment, Bool is_zeroed ) 310 p = (Addr)VG_(cli_malloc)(alignment, size); 303 alloc_and_new_mem_heap( ThreadId tid, SizeT size, SizeT alignment, Bool is_zeroed ) argument
|
/external/vboot_reference/futility/ |
H A D | vb1_helper.c | 86 /* Return the smallest integral multiple of [alignment] that is equal 90 static uint64_t roundup(uint64_t val, uint64_t alignment) argument 92 uint64_t rem = val % alignment; 94 return val + (alignment - rem);
|
/external/vixl/src/ |
H A D | utils-vixl.h | 455 inline bool IsAligned(T pointer, int alignment) { argument 456 VIXL_ASSERT(IsPowerOf2(alignment)); 457 return (pointer & (alignment - 1)) == 0; 460 // Pointer alignment 475 // Increment a pointer until it has the specified alignment. The alignment must 479 typename Unsigned<sizeof(T) * kBitsPerByte>::type alignment) { 480 VIXL_ASSERT(IsPowerOf2(alignment)); 488 size_t mask = alignment - 1; 495 // Decrement a pointer until it has the specified alignment 478 AlignUp(T pointer, typename Unsigned<sizeof(T) * kBitsPerByte>::type alignment) argument 498 AlignDown(T pointer, typename Unsigned<sizeof(T) * kBitsPerByte>::type alignment) argument [all...] |
/external/vixl/test/ |
H A D | test-pool-manager.cc | 53 // Restrict alignment due to buffer alignment. 61 // The alignment of an instruction is either 2 or 4. 91 TestObject(int size, int alignment, int id = 0) argument 92 : LocationBase(0 /*type*/, size, alignment), id_(id) {} 128 int alignment = RandomObjectAlignment(size); local 129 IF_VERBOSE(printf("Object %d -> size = %d, alignment = %d\n", 132 alignment)); 133 return new TestObject(size, alignment, id); 146 TestBranchObject(int size, int alignment, in argument 233 int alignment = size; local 345 CreateReference(int id, int32_t pc, int size, int32_t min_offset, int32_t max_offset, int alignment) argument 396 int32_t alignment = local 474 int32_t alignment = local 741 int alignment = 16; local [all...] |
/external/vulkan-validation-layers/demos/smoke/ |
H A D | Smoke.cpp | 431 const VkDeviceSize &alignment = physical_dev_props_.limits.minStorageBufferOffsetAlignment; local 432 if (object_data_size % alignment) object_data_size += alignment - (object_data_size % alignment); 451 if (frame_data_aligned_size_ % mem_reqs.alignment) 452 frame_data_aligned_size_ += mem_reqs.alignment - (frame_data_aligned_size_ % mem_reqs.alignment);
|
/external/vulkan-validation-layers/tests/ |
H A D | loader_validation_tests.cpp | 339 VKAPI_ATTR void *VKAPI_CALL AllocCallbackFunc(void *pUserData, size_t size, size_t alignment, argument 349 g_allocated_vector[iii].actual_size_bytes = size + (alignment - 1); 354 addr += (alignment - 1); 355 addr &= ~(alignment - 1); 378 VKAPI_ATTR void *VKAPI_CALL ReallocCallbackFunc(void *pUserData, void *pOriginal, size_t size, size_t alignment, argument 389 void *pNew = AllocCallbackFunc(pUserData, size, alignment, allocationScope); 404 return AllocCallbackFunc(pUserData, size, alignment, allocationScope);
|
/external/compiler-rt/lib/lsan/ |
H A D | lsan_common.cc | 150 const uptr alignment = flags()->pointer_alignment(); local 153 if (pp % alignment) 154 pp = pp + alignment - pp % alignment; 155 for (; pp + sizeof(void *) <= end; pp += alignment) { // NOLINT
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fTextureSpecificationTests.cpp | 412 int alignment, 421 , m_alignment (alignment) 499 int alignment, 514 , m_alignment (alignment) 725 int alignment = 4; local 726 int rowPitch = deAlign32(rowLength*pixelSize, alignment); 753 glPixelStorei(GL_UNPACK_ALIGNMENT, alignment); 878 int alignment; member in struct:deqp::gles31::Functional::__anon5475 912 parameterCases[ndx].alignment, 967 int alignment; member in struct:deqp::gles31::Functional::__anon5476 401 TexImageCubeArrayBufferCase(Context& context, const char* name, const char* desc, deUint32 internalFormat, int size, int depth, int imageHeight, int rowLength, int skipImages, int skipRows, int skipPixels, int alignment, int offset) argument 482 TexSubImageCubeArrayBufferCase(Context& context, const char* name, const char* desc, deUint32 internalFormat, int size, int depth, int subX, int subY, int subZ, int subW, int subH, int subD, int imageHeight, int rowLength, int skipImages, int skipRows, int skipPixels, int alignment, int offset) argument [all...] |
/external/deqp/modules/glshared/ |
H A D | glsTextureBufferCase.cpp | 1028 deInt32 alignment = 0; local 1030 gl.getIntegerv(GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT, &alignment); 1033 offset = m_offset * alignment;
|
/external/eigen/Eigen/src/Core/arch/AVX/ |
H A D | PacketMath.h | 116 template<> struct unpacket_traits<Packet8f> { typedef float type; typedef Packet4f half; enum {size=8, alignment=Aligned32}; }; enumerator in enum:Eigen::internal::unpacket_traits::__anon5926 117 template<> struct unpacket_traits<Packet4d> { typedef double type; typedef Packet2d half; enum {size=4, alignment=Aligned32}; }; enumerator in enum:Eigen::internal::unpacket_traits::__anon5927 118 template<> struct unpacket_traits<Packet8i> { typedef int type; typedef Packet4i half; enum {size=8, alignment=Aligned32}; }; enumerator in enum:Eigen::internal::unpacket_traits::__anon5928
|
/external/eigen/Eigen/src/Core/arch/SSE/ |
H A D | PacketMath.h | 161 template<> struct unpacket_traits<Packet4f> { typedef float type; enum {size=4, alignment=Aligned16}; typedef Packet4f half; }; enumerator in enum:Eigen::internal::unpacket_traits::__anon5999 162 template<> struct unpacket_traits<Packet2d> { typedef double type; enum {size=2, alignment=Aligned16}; typedef Packet2d half; }; enumerator in enum:Eigen::internal::unpacket_traits::__anon6000 163 template<> struct unpacket_traits<Packet4i> { typedef int type; enum {size=4, alignment=Aligned16}; typedef Packet4i half; }; enumerator in enum:Eigen::internal::unpacket_traits::__anon6001
|
/external/flatbuffers/src/ |
H A D | idl_gen_general.cpp | 1272 auto alignment = InlineAlignment(vector_type); local 1284 code += NumToString(alignment); 1305 code += ", numElems, " + NumToString(alignment);
|
/external/google-breakpad/src/common/mac/ |
H A D | macho_reader_unittest.cc | 272 .Append(3, '*'); // one byte short of a four-byte alignment 618 uint32_t alignment, uint32_t flags, 625 D32(alignment); 1351 Matcher<uint32_t> alignment, 1358 AllOf(Field(&Section::align, alignment), 613 AppendSectionEntry(const string §ion_name, const string &segment_name, uint32_t alignment, uint32_t flags, const LoadedSection &contents) argument 1342 MatchSection( Matcher<bool> bits_64, Matcher<const string &> section_name, Matcher<const string &> segment_name, Matcher<uint64_t> address, Matcher<uint32_t> alignment, Matcher<uint32_t> flags, Matcher<const ByteBuffer &> contents) argument
|
/external/jemalloc/include/jemalloc/internal/ |
H A D | jemalloc_internal.h | 203 * n: alignment 212 /* Use MALLOCX_ALIGN_GET() if alignment may not be specified in flags. */ 229 * Minimum allocation alignment is 2^LG_QUANTUM bytes (ignoring tiny size 282 # error "Unknown minimum alignment for architecture; specify via " 339 #define ALIGNMENT_ADDR2BASE(a, alignment) \ 340 ((void *)((uintptr_t)(a) & ((~(alignment)) + 1))) 343 #define ALIGNMENT_ADDR2OFFSET(a, alignment) \ 344 ((size_t)((uintptr_t)(a) & (alignment - 1))) 346 /* Return the smallest alignment multiple that is >= s. */ 347 #define ALIGNMENT_CEILING(s, alignment) \ 813 sa2u(size_t size, size_t alignment) argument 1078 ipallocztm(tsdn_t *tsdn, size_t usize, size_t alignment, bool zero, tcache_t *tcache, bool is_metadata, arena_t *arena) argument 1098 ipalloct(tsdn_t *tsdn, size_t usize, size_t alignment, bool zero, tcache_t *tcache, arena_t *arena) argument 1106 ipalloc(tsd_t *tsd, size_t usize, size_t alignment, bool zero) argument 1203 iralloct_realign(tsd_t *tsd, void *ptr, size_t oldsize, size_t size, size_t extra, size_t alignment, bool zero, tcache_t *tcache, arena_t *arena) argument 1236 iralloct(tsd_t *tsd, void *ptr, size_t oldsize, size_t size, size_t alignment, bool zero, tcache_t *tcache, arena_t *arena) argument 1258 iralloc(tsd_t *tsd, void *ptr, size_t oldsize, size_t size, size_t alignment, bool zero) argument 1267 ixalloc(tsdn_t *tsdn, void *ptr, size_t oldsize, size_t size, size_t extra, size_t alignment, bool zero) argument [all...] |
/external/libdrm/intel/ |
H A D | intel_bufmgr_fake.c | 208 unsigned int alignment; member in struct:_drm_intel_bo_fake 429 unsigned int align_log2 = ffs(bo_fake->alignment) - 1; 435 sz = (bo->size + bo_fake->alignment - 1) & ~(bo_fake->alignment - 1); 806 unsigned int alignment) 826 assert((alignment & (alignment - 1)) == 0); 827 if (alignment == 0) 828 alignment = 1; 829 bo_fake->alignment 803 drm_intel_fake_bo_alloc(drm_intel_bufmgr *bufmgr, const char *name, unsigned long size, unsigned int alignment) argument [all...] |
/external/llvm/lib/Transforms/Scalar/ |
H A D | LICM.cpp | 794 AliasSetTracker &ast, LoopInfo &li, DebugLoc dl, int alignment, 798 LI(li), DL(std::move(dl)), Alignment(alignment), AATags(AATags) {} 898 // We start with an alignment of one and try to find instructions that allow 899 // us to prove better alignment. 926 // different sizes. While we are at it, collect alignment and AA info. 967 // If the alignment of this instruction allows us to specify a more 968 // restrictive (and performant) alignment and if we are sure this 969 // instruction will be executed, update the alignment. 970 // Larger is better, with the exception of 0 being the best alignment. 790 LoopPromoter(Value *SP, ArrayRef<const Instruction *> Insts, SSAUpdater &S, SmallPtrSetImpl<Value *> &PMA, SmallVectorImpl<BasicBlock *> &LEB, SmallVectorImpl<Instruction *> &LIP, PredIteratorCache &PIC, AliasSetTracker &ast, LoopInfo &li, DebugLoc dl, int alignment, const AAMDNodes &AATags) argument
|
/external/ltp/lib/ |
H A D | safe_macros.c | 642 void (*cleanup_fn) (void), size_t alignment, size_t size) 646 rval = memalign(alignment, size); 641 safe_memalign(const char *file, const int lineno, void (*cleanup_fn) (void), size_t alignment, size_t size) argument
|
/external/mesa3d/src/gallium/drivers/ilo/ |
H A D | ilo_transfer.c | 249 const unsigned alignment = 64; local 253 align(util_format_get_stride(format, box->width), alignment); 258 align_malloc(xfer->base.layer_stride * box->depth, alignment);
|
/external/mesa3d/src/gallium/drivers/radeon/ |
H A D | radeon_uvd.c | 350 unsigned alignment = 64, num_dpb_buffer; local 353 alignment = 256; 385 dpb_size += max_references * align(width_in_mb * height_in_mb * 192, alignment); 386 dpb_size += align(width_in_mb * height_in_mb * 32, alignment);
|
/external/mesa3d/src/glx/ |
H A D | glxclient.h | 190 GLuint alignment; member in struct:__GLXpixelStoreModeRec
|
/external/mesa3d/src/intel/vulkan/ |
H A D | anv_batch_chain.c | 632 uint32_t size, uint32_t alignment) 635 size, alignment); 1010 obj->alignment = 0; 631 anv_cmd_buffer_alloc_dynamic_state(struct anv_cmd_buffer *cmd_buffer, uint32_t size, uint32_t alignment) argument
|
H A D | anv_cmd_buffer.c | 589 const void *data, uint32_t size, uint32_t alignment) 593 state = anv_cmd_buffer_alloc_dynamic_state(cmd_buffer, size, alignment); 607 uint32_t dwords, uint32_t alignment) 613 dwords * 4, alignment); 588 anv_cmd_buffer_emit_dynamic(struct anv_cmd_buffer *cmd_buffer, const void *data, uint32_t size, uint32_t alignment) argument 605 anv_cmd_buffer_merge_dynamic(struct anv_cmd_buffer *cmd_buffer, uint32_t *a, uint32_t *b, uint32_t dwords, uint32_t alignment) argument
|
/external/mesa3d/src/mesa/main/ |
H A D | macros.h | 670 * Align a value up to an alignment value 672 * If \c value is not already aligned to the requested alignment value, it 676 * \param alignment Alignment value to be used. This must be a power of two. 681 ALIGN(uintptr_t value, int32_t alignment) argument 683 assert((alignment > 0) && _mesa_is_pow_two(alignment)); 684 return (((value) + (alignment) - 1) & ~((alignment) - 1)); 688 * Like ALIGN(), but works with a non-power-of-two alignment. 691 ALIGN_NPOT(uintptr_t value, int32_t alignment) argument 709 ROUND_DOWN_TO(uintptr_t value, int32_t alignment) argument [all...] |
/external/pdfium/xfa/fde/ |
H A D | cfde_texteditengine.cpp | 662 void CFDE_TextEditEngine::SetAlignment(uint32_t alignment) { argument 663 if (alignment == character_alignment_) 666 character_alignment_ = alignment; 667 text_break_.SetAlignment(alignment);
|
/external/python/cpython2/Lib/ctypes/ |
H A D | __init__.py | 140 from _ctypes import sizeof, byref, addressof, alignment, resize namespace
|