Home
last modified time | relevance | path

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

12

/external/webrtc/webrtc/system_wrappers/source/
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.cc53 void* AlignedMalloc(size_t size, size_t alignment) { in AlignedMalloc() function
/external/webrtc/webrtc/system_wrappers/include/
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_array.h27 head_row_ = static_cast<T**>(AlignedMalloc(rows_ * sizeof(*head_row_), in AlignedArray()
30 head_row_[i] = static_cast<T*>(AlignedMalloc(cols_ * sizeof(**head_row_), in AlignedArray()
/external/webrtc/webrtc/common_audio/resampler/
Dsinc_resampler.cc160 AlignedMalloc(sizeof(float) * kKernelStorageSize, 16))), in SincResampler()
162 AlignedMalloc(sizeof(float) * kKernelStorageSize, 16))), in SincResampler()
164 AlignedMalloc(sizeof(float) * kKernelStorageSize, 16))), in SincResampler()
166 AlignedMalloc(sizeof(float) * input_buffer_size_, 16))), in SincResampler()
/external/webrtc/webrtc/common_audio/
Dreal_fourier.cc48 AlignedMalloc(sizeof(float) * count, kFftBufferAlignment))); in AllocRealBuffer()
53 AlignedMalloc(sizeof(complex<float>) * count, kFftBufferAlignment))); in AllocCplxBuffer()
Dfir_filter_neon.cc28 AlignedMalloc(sizeof(float) * coefficients_length_, 16))), in FIRFilterNEON()
30 AlignedMalloc(sizeof(float) * (max_input_length + state_length_), in FIRFilterNEON()
Dfir_filter_sse.cc28 AlignedMalloc(sizeof(float) * coefficients_length_, 16))), in FIRFilterSSE2()
30 AlignedMalloc(sizeof(float) * (max_input_length + state_length_), in FIRFilterSSE2()
/external/tensorflow/tensorflow/core/platform/
Dport_test.cc26 TEST(Port, AlignedMalloc) { in TEST() argument
28 void* p = AlignedMalloc(1, alignment); in TEST()
Dmem.h29 void* AlignedMalloc(size_t size, int minimum_alignment);
/external/tensorflow/tensorflow/core/platform/windows/
Dport.cc93 void* AlignedMalloc(size_t size, int minimum_alignment) { in AlignedMalloc() function
106 return AlignedMalloc(size, minimum_alignment); in NUMAMalloc()
/external/webrtc/webrtc/modules/audio_conference_mixer/source/
Dmemory_pool_win.h149 _pListHead = (PSLIST_HEADER)AlignedMalloc(sizeof(SLIST_HEADER), in Initialize()
180 AlignedMalloc(sizeof(MemoryPoolItem<MemoryType>), in CreateMemory()
/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/mesa3d/src/gallium/drivers/swr/rasterizer/common/
Dos.h72 static inline void *AlignedMalloc(size_t _Size, size_t _Alignment) in AlignedMalloc() function
213 void *AlignedMalloc(size_t size, size_t alignment) in AlignedMalloc() function
/external/tensorflow/tensorflow/core/platform/posix/
Dport.cc211 void* AlignedMalloc(size_t size, int minimum_alignment) { in AlignedMalloc() function
251 return AlignedMalloc(size, minimum_alignment); in NUMAMalloc()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dringbuffer.h51 mpRingBuffer = (T*)AlignedMalloc(sizeof(T)*numEntries, 64); in Init()
Dapi.cpp71 void* pContextMem = AlignedMalloc(sizeof(SWR_CONTEXT), KNOB_SIMD_WIDTH * 4); in SwrCreateContext()
86 …pContext->pMacroTileManagerArray = (MacroTileMgr*)AlignedMalloc(sizeof(MacroTileMgr) * pContext->M… in SwrCreateContext()
87 …pContext->pDispatchQueueArray = (DispatchQueue*)AlignedMalloc(sizeof(DispatchQueue) * pContext->MA… in SwrCreateContext()
138 … pContext->pStats = (SWR_STATS*)AlignedMalloc(sizeof(SWR_STATS) * pContext->NumWorkerThreads, 64); in SwrCreateContext()
158 … pContext->ppScratch[i] = (uint8_t*)AlignedMalloc(32 * sizeof(KILOBYTE), KNOB_SIMD_WIDTH * 4); in SwrCreateContext()
Dtilemgr.h328 p = AlignedMalloc(size, align); in AllocHotTileMem()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_scratch.cpp56 space->base = (uint8_t *)AlignedMalloc(space->current_size, in swr_copy_to_scratch_space()
/external/webrtc/webrtc/test/channel_transport/
Dudp_socket2_manager_win.cc432 _pListHead = (PSLIST_HEADER)AlignedMalloc(sizeof(SLIST_HEADER), in Init()
454 AlignedMalloc( in PopIoContext()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_compilation_device.cc47 void* p = port::AlignedMalloc(sizeof(XlaExpression), alignment); in AllocateRaw()
/external/webrtc/talk/app/webrtc/java/jni/
Dnative_handle_impl.cc125 static_cast<uint8_t*>(webrtc::AlignedMalloc(size, kBufferAlignment))); in NativeToI420Buffer()
/external/webrtc/webrtc/common_video/
Dvideo_frame_buffer.cc42 data_(static_cast<uint8_t*>(AlignedMalloc( in I420Buffer()
/external/tensorflow/tensorflow/core/framework/
Dallocator.cc121 void* p = port::AlignedMalloc(num_bytes, alignment); in AllocateRaw()
/external/tensorflow/tensorflow/core/kernels/neon/
Dneon_depthwise_conv_op.cc131 float* bias_ptr = static_cast<float*>(port::AlignedMalloc( in Compute()

12