Home
last modified time | relevance | path

Searched refs:AlignedMalloc (Results 1 – 25 of 41) 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.cc157 AlignedMalloc(sizeof(float) * kKernelStorageSize, 16))), in SincResampler()
159 AlignedMalloc(sizeof(float) * kKernelStorageSize, 16))), in SincResampler()
161 AlignedMalloc(sizeof(float) * kKernelStorageSize, 16))), in SincResampler()
163 AlignedMalloc(sizeof(float) * input_buffer_size_, 16))), 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()
/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/core/platform/windows/
Dport.cc113 void* AlignedMalloc(size_t size, int minimum_alignment) { in AlignedMalloc() function
126 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/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dringbuffer.h47 mpRingBuffer = (T*)AlignedMalloc(sizeof(T) * numEntries, 64); in Init()
Dtileset.h85 size_t* newBits = (size_t*)AlignedMalloc(sizeof(size_t) * num_words, 64); in _grow()
Dtilemgr.h337 p = AlignedMalloc(size, align); in AllocHotTileMem()
Dapi.cpp68 void* pContextMem = AlignedMalloc(sizeof(SWR_CONTEXT), KNOB_SIMD_WIDTH * 4); in SwrCreateContext()
100 (MacroTileMgr*)AlignedMalloc(sizeof(MacroTileMgr) * pContext->MAX_DRAWS_IN_FLIGHT, 64); in SwrCreateContext()
102 (DispatchQueue*)AlignedMalloc(sizeof(DispatchQueue) * pContext->MAX_DRAWS_IN_FLIGHT, 64); in SwrCreateContext()
164 (SWR_STATS*)AlignedMalloc(sizeof(SWR_STATS) * pContext->NumWorkerThreads, 64); in SwrCreateContext()
194 (uint8_t*)AlignedMalloc(KNOB_WORKER_SCRATCH_SPACE_SIZE, KNOB_SIMD_WIDTH * 4); in SwrCreateContext()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/common/
Dos.h86 static inline void* AlignedMalloc(size_t _Size, size_t _Alignment) in AlignedMalloc() function
251 inline void* AlignedMalloc(size_t size, size_t alignment) in AlignedMalloc() function
/external/tensorflow/tensorflow/core/platform/default/
Dport.cc231 void* AlignedMalloc(size_t size, int minimum_alignment) { in AlignedMalloc() function
271 return AlignedMalloc(size, minimum_alignment); in NUMAMalloc()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_scratch.cpp59 space->base = (uint8_t *)AlignedMalloc(space->current_size, in swr_copy_to_scratch_space()
Dswr_query.cpp48 pq = (struct swr_query *) AlignedMalloc(sizeof(struct swr_query), 64); in swr_create_query()
/external/tensorflow/tensorflow/core/framework/
Dcpu_allocator_impl.cc85 void* p = port::AlignedMalloc(num_bytes, alignment); in AllocateRaw()
/external/tensorflow/tensorflow/stream_executor/tpu/
Dnoncopyable_buffer.h124 static_cast<uint8_t*>(port::AlignedMalloc(size, alignment)), in AlignedAlloc()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_compilation_device.cc48 void* p = port::AlignedMalloc(sizeof(XlaExpression), alignment); in AllocateRaw()
/external/tensorflow/tensorflow/core/kernels/neon/
Dneon_depthwise_conv_op.cc131 float* bias_ptr = static_cast<float*>(port::AlignedMalloc( in Compute()
/external/tensorflow/tensorflow/core/common_runtime/
Dpool_allocator.cc266 ptr = port::AlignedMalloc(num_bytes, static_cast<int>(alignment)); in Alloc()

12