HomeSort by relevance Sort by last modified time
    Searched refs:aligned_ptr (Results 1 - 3 of 3) sorted by null

  /bionic/benchmarks/tests/
benchmark_test.cpp 24 uintptr_t aligned_ptr = reinterpret_cast<uintptr_t>(GetAlignedMemory(buf.data(), alignment, local
26 ASSERT_EQ(aligned_ptr % alignment, or_mask);
27 ASSERT_EQ(aligned_ptr & alignment, alignment);
35 uintptr_t aligned_ptr = reinterpret_cast<uintptr_t>(GetAlignedPtr(&buf, alignment, 100)); local
36 ASSERT_EQ(aligned_ptr & alignment, alignment);
37 ASSERT_EQ(aligned_ptr & (alignment - 1), 0u);
  /external/libcxx/test/support/
controlled_allocators.hpp 368 char* aligned_ptr = (char*)::operator new(alloc_size(n*sizeof(T))); local
369 assert(is_max_aligned(aligned_ptr));
371 char* unaligned_ptr = aligned_ptr + alignof(T);
382 char* aligned_ptr = ((char*)p) - alignof(T); local
383 assert(is_max_aligned(aligned_ptr));
387 return ::operator delete(static_cast<void*>(aligned_ptr));
  /external/tensorflow/tensorflow/core/common_runtime/
pool_allocator.cc 80 size_t aligned_ptr = reinterpret_cast<size_t>(user_ptr) + alignment; local
81 user_ptr = reinterpret_cast<void*>(aligned_ptr & ~(alignment - 1));

Completed in 405 milliseconds