Home
last modified time | relevance | path

Searched refs:AlignedMalloc (Results 1 – 25 of 37) sorted by relevance

12

/external/webrtc/rtc_base/memory/
Daligned_malloc_unittest.cc28 static_cast<char*>(AlignedMalloc(size, alignment))); in CorrectUsage()
36 TEST(AlignedMalloc, GetRightAlign) { in TEST() argument
41 static_cast<char*>(AlignedMalloc(size, alignment))); in TEST()
51 TEST(AlignedMalloc, IncorrectSize) { in TEST() argument
57 TEST(AlignedMalloc, IncorrectAlignment) { in TEST() argument
63 TEST(AlignedMalloc, AlignTo2Bytes) { in TEST() argument
69 TEST(AlignedMalloc, AlignTo32Bytes) { in TEST() argument
75 TEST(AlignedMalloc, AlignTo128Bytes) { in TEST() argument
Daligned_malloc.h33 void* AlignedMalloc(size_t size, size_t alignment);
45 T* AlignedMalloc(size_t size, size_t alignment) { in AlignedMalloc() function
46 return reinterpret_cast<T*>(AlignedMalloc(size, alignment)); in AlignedMalloc()
Daligned_malloc.cc53 void* AlignedMalloc(size_t size, size_t alignment) { in AlignedMalloc() function
/external/webrtc/common_audio/resampler/
Dsinc_resampler.cc151 AlignedMalloc(sizeof(float) * kKernelStorageSize, 32))), in SincResampler()
153 AlignedMalloc(sizeof(float) * kKernelStorageSize, 32))), in SincResampler()
155 AlignedMalloc(sizeof(float) * kKernelStorageSize, 32))), in SincResampler()
157 AlignedMalloc(sizeof(float) * input_buffer_size_, 32))), in SincResampler()
/external/webrtc/common_audio/
Dreal_fourier.cc43 AlignedMalloc(sizeof(float) * count, kFftBufferAlignment))); in AllocRealBuffer()
48 AlignedMalloc(sizeof(complex<float>) * count, kFftBufferAlignment))); in AllocCplxBuffer()
Dfir_filter_neon.cc30 AlignedMalloc(sizeof(float) * coefficients_length_, 16))), in FIRFilterNEON()
32 AlignedMalloc(sizeof(float) * (max_input_length + state_length_), in FIRFilterNEON()
Dfir_filter_sse.cc31 AlignedMalloc(sizeof(float) * coefficients_length_, 16))), in FIRFilterSSE2()
33 AlignedMalloc(sizeof(float) * (max_input_length + state_length_), in FIRFilterSSE2()
Dfir_filter_avx2.cc30 AlignedMalloc(sizeof(float) * coefficients_length_, 32))), in FIRFilterAVX2()
32 AlignedMalloc(sizeof(float) * (max_input_length + state_length_), in FIRFilterAVX2()
/external/webrtc/modules/audio_coding/codecs/opus/test/
Dlapped_transform.h32 static_cast<T**>(AlignedMalloc(rows_ * sizeof(*head_row_), alignment)); in AlignedArray()
35 AlignedMalloc(cols_ * sizeof(**head_row_), alignment)); in AlignedArray()
/external/tensorflow/tensorflow/tsl/platform/windows/
Dport.cc115 void* AlignedMalloc(size_t size, int minimum_alignment) { in AlignedMalloc() function
128 return AlignedMalloc(size, minimum_alignment); in NUMAMalloc()
/external/tensorflow/tensorflow/core/lib/core/
Darena.cc54 reinterpret_cast<char*>(port::AlignedMalloc(block_size_, sizeof(void*))); in Arena()
174 port::AlignedMalloc(adjusted_block_size, adjusted_alignment)); in AllocNewBlock()
/external/tensorflow/tensorflow/core/platform/
Dport_test.cc28 TEST(Port, AlignedMalloc) { in TEST() argument
30 void* p = AlignedMalloc(1, alignment); in TEST()
Dmem.h29 void* AlignedMalloc(size_t size, int minimum_alignment);
/external/tensorflow/tensorflow/core/kernels/
Dwhile_op_test.cc126 return tensorflow::port::AlignedMalloc(size, EIGEN_MAX_ALIGN_BYTES); in TEST_F()
139 mem->opaque = tensorflow::port::AlignedMalloc(size, EIGEN_MAX_ALIGN_BYTES); in TEST_F()
/external/tensorflow/tensorflow/core/profiler/utils/
Dbuffer_pool.cc50 port::AlignedMalloc(buffer_size_in_bytes_, kBufferAlignSize)); in GetOrCreateBuffer()
/external/tensorflow/tensorflow/tsl/platform/default/
Dport.cc257 void* AlignedMalloc(size_t size, int minimum_alignment) { in AlignedMalloc() function
297 return AlignedMalloc(size, minimum_alignment); in NUMAMalloc()
/external/tensorflow/tensorflow/compiler/xla/pjrt/
Dtracked_tfrt_cpu_device_buffer.h57 uint8_t* data = static_cast<uint8_t*>(tensorflow::port::AlignedMalloc( in AllocateShared()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_compilation_device.cc48 void* p = port::AlignedMalloc(sizeof(XlaExpression), alignment); in AllocateRaw()
/external/tensorflow/tensorflow/compiler/xla/stream_executor/tpu/
Dnoncopyable_buffer.h138 static_cast<uint8_t*>(port::AlignedMalloc(size, alignment)), in AlignedAlloc()
/external/webrtc/api/video/
Dnv12_buffer.cc40 AlignedMalloc(NV12DataSize(height_, stride_y_, stride_uv), in NV12Buffer()
Di444_buffer.cc51 AlignedMalloc(I444DataSize(height, stride_y, stride_u, stride_v), in I444Buffer()
/external/tensorflow/tensorflow/core/framework/
Dcpu_allocator_impl.cc87 void* p = port::AlignedMalloc(num_bytes, alignment); in AllocateRaw()
/external/tensorflow/tensorflow/core/common_runtime/
Dpool_allocator.cc266 ptr = port::AlignedMalloc(num_bytes, static_cast<int>(alignment)); in Alloc()
Dmkl_cpu_allocator.h65 void* ptr = port::AlignedMalloc(num_bytes, alignment); in AllocateRaw()
/external/tensorflow/tensorflow/core/util/tensor_bundle/
Dtensor_bundle.cc1155 inline char* AlignedMalloc(size_t size) { in AlignedMalloc() function
1156 char* buffer = static_cast<char*>(port::AlignedMalloc(size, 64)); in AlignedMalloc()
1165 buffer_ptr_ = AlignedMalloc(buffer_size); in FileOutputBuffer()
1214 buffer_ptr_ = closing ? nullptr : AlignedMalloc(buffer_size_); in FlushBuffer()

12