Home
last modified time | relevance | path

Searched refs:AlignedAlloc (Results 1 – 25 of 56) sorted by relevance

123

/external/libchrome/base/memory/
Daligned_memory_unittest.cc18 void* p = AlignedAlloc(8, 8); in TEST()
23 p = AlignedAlloc(8, 16); in TEST()
28 p = AlignedAlloc(8, 256); in TEST()
33 p = AlignedAlloc(8, 4096); in TEST()
41 static_cast<float*>(AlignedAlloc(8, 8))); in TEST()
Daligned_memory.h38 BASE_EXPORT void* AlignedAlloc(size_t size, size_t alignment);
Daligned_memory.cc16 void* AlignedAlloc(size_t size, size_t alignment) { in AlignedAlloc() function
/external/angle/src/common/
Daligned_memory_unittest.cpp24 void *p = AlignedAlloc(8, 8); in TEST()
29 p = AlignedAlloc(8, 16); in TEST()
34 p = AlignedAlloc(8, 256); in TEST()
39 p = AlignedAlloc(8, 4096); in TEST()
Daligned_memory.h18 void *AlignedAlloc(size_t size, size_t alignment);
Daligned_memory.cpp23 void *AlignedAlloc(size_t size, size_t alignment) in AlignedAlloc() function
/external/cronet/base/memory/
Daligned_memory_unittest.cc15 void* p = AlignedAlloc(8, 8); in TEST()
20 p = AlignedAlloc(8, 16); in TEST()
25 p = AlignedAlloc(8, 256); in TEST()
30 p = AlignedAlloc(8, 4096); in TEST()
38 static_cast<float*>(AlignedAlloc(8, 8))); in TEST()
Daligned_memory.cc17 void* AlignedAlloc(size_t size, size_t alignment) { in AlignedAlloc() function
Daligned_memory.h41 BASE_EXPORT void* AlignedAlloc(size_t size, size_t alignment);
/external/libgav1/src/utils/
Dmemory.h60 inline void* AlignedAlloc(size_t alignment, size_t size) { in AlignedAlloc() function
68 inline void* AlignedAlloc(size_t alignment, size_t size) { in AlignedAlloc() function
126 static_cast<T*>(AlignedAlloc(alignment, count * sizeof(T)))); in MakeAlignedUniquePtr()
190 return AlignedAlloc(kMaxAlignment, size); in new()
199 return AlignedAlloc(kMaxAlignment, size);
/external/cronet/base/allocator/partition_allocator/
Dhardening_unittest.cc31 PartitionOptions::AlignedAlloc::kAllowed, in TEST()
62 PartitionOptions::AlignedAlloc::kAllowed, in TEST()
89 PartitionOptions::AlignedAlloc::kAllowed, in TEST()
122 PartitionOptions::AlignedAlloc::kAllowed, in TEST()
/external/pdfium/third_party/libopenjpeg/
Dopj_malloc.cc22 return size ? pdfium::base::AlignedAlloc(size, 16) : nullptr; in opj_aligned_malloc()
30 return size ? pdfium::base::AlignedAlloc(size, 32) : nullptr; in opj_aligned_32_malloc()
D0034-opj_malloc.patch27 + return size ? pdfium::base::AlignedAlloc(size, 16) : nullptr;
35 + return size ? pdfium::base::AlignedAlloc(size, 32) : nullptr;
/external/cronet/base/profiler/
Dstack_buffer.cc56 buffer_(static_cast<uintptr_t*>(AlignedAlloc(size_, GetPageSize()))) { in StackBuffer()
64 AlignedAlloc(size_, kPlatformStackAlignment))) {
/external/perfetto/include/perfetto/ext/base/
Dutils.h129 void* AlignedAlloc(size_t alignment, size_t size);
149 static_cast<TU*>(AlignedAlloc(alignof(TU), sizeof(TU) * n_membs))); in AlignedAllocTyped()
/external/libchrome/mojo/core/
Dchannel.cc119 base::AlignedAlloc(capacity_, kChannelMessageAlignment)); in Message()
284 void* new_data = base::AlignedAlloc(new_capacity, kChannelMessageAlignment); in ExtendPayload()
507 static_cast<char*>(base::AlignedAlloc(size_, kChannelMessageAlignment)); in ReadBuffer()
526 void* new_data = base::AlignedAlloc(size_, kChannelMessageAlignment); in Reserve()
560 base::AlignedAlloc(size_, kChannelMessageAlignment)); in Discard()
576 base::AlignedAlloc(size_, kChannelMessageAlignment)); in Discard()
/external/cronet/base/allocator/partition_allocator/starscan/
Dpcscan_unittest.cc60 PartitionOptions::AlignedAlloc::kAllowed, in PartitionAllocPCScanTestBase()
467 PartitionOptions::AlignedAlloc::kDisallowed, in TEST_F()
477 PartitionOptions::AlignedAlloc::kDisallowed, in TEST_F()
504 PartitionOptions::AlignedAlloc::kDisallowed, in TEST_F()
514 PartitionOptions::AlignedAlloc::kDisallowed, in TEST_F()
541 PartitionOptions::AlignedAlloc::kDisallowed, in TEST_F()
551 PartitionOptions::AlignedAlloc::kDisallowed, in TEST_F()
Dmetadata_allocator.cc16 PartitionOptions::AlignedAlloc::kDisallowed,
/external/tensorflow/tensorflow/compiler/xla/stream_executor/tpu/
Dnoncopyable_buffer.h114 : NoncopyableBuffer(AlignedAlloc(size_, alignment), size_);
136 static OwnedDataPtr AlignedAlloc(size_t size, size_t alignment) { in AlignedAlloc() function
/external/libchrome/base/process/
Dmemory_unittest.cc198 TEST_F(OutOfMemoryDeathTest, AlignedAlloc) { in TEST_F() argument
201 value_ = base::AlignedAlloc(test_size_, 8); in TEST_F()
279 value_ = base::AlignedAlloc(insecure_test_size_, 8); in TEST_F()
/external/pdfium/third_party/base/memory/
Daligned_memory.cc17 void* AlignedAlloc(size_t size, size_t alignment) { in AlignedAlloc() function
Daligned_memory.h42 BASE_EXPORT void* AlignedAlloc(size_t size, size_t alignment);
/external/cronet/base/allocator/partition_allocator/shim/
Dallocator_shim_default_dispatch_to_partition_alloc.cc159 partition_alloc::PartitionOptions::AlignedAlloc::kAllowed, in New()
594 ? partition_alloc::PartitionOptions::AlignedAlloc::kAllowed in ConfigurePartitions()
595 : partition_alloc::PartitionOptions::AlignedAlloc::kDisallowed, in ConfigurePartitions()
620 partition_alloc::PartitionOptions::AlignedAlloc::kAllowed, in ConfigurePartitions()
/external/cronet/base/process/
Dmemory_unittest.cc244 TEST_F(OutOfMemoryDeathTest, AlignedAlloc) { in TEST_F() argument
250 value_ = base::AlignedAlloc(test_size_, 8); in TEST_F()
352 value_ = base::AlignedAlloc(insecure_test_size_, 8); in TEST_F()
/external/tensorflow/tensorflow/compiler/xla/runtime/
Dasync_runtime.cc42 using tfrt::AlignedAlloc;
89 if (!is_inline) allocated_buffer = AlignedAlloc(alignment, size); in Storage()

123