Home
last modified time | relevance | path

Searched refs:memory_pointer (Results 1 – 4 of 4) sorted by relevance

/external/XNNPACK/src/xnnpack/
Dallocator.h35 void* memory_pointer = xnn_params.allocator.allocate(xnn_params.allocator.context, memory_size); in xnn_allocate_zero_memory() local
36 if (memory_pointer != NULL) { in xnn_allocate_zero_memory()
37 memset(memory_pointer, 0, memory_size); in xnn_allocate_zero_memory()
39 return memory_pointer; in xnn_allocate_zero_memory()
42 inline static void* xnn_reallocate_memory(void* memory_pointer, size_t memory_size) { in xnn_reallocate_memory() argument
43 return xnn_params.allocator.reallocate(xnn_params.allocator.context, memory_pointer, memory_size); in xnn_reallocate_memory()
46 inline static void xnn_release_memory(void* memory_pointer) { in xnn_release_memory() argument
47 xnn_params.allocator.deallocate(xnn_params.allocator.context, memory_pointer); in xnn_release_memory()
55 void* memory_pointer = xnn_params.allocator.aligned_allocate( in xnn_allocate_zero_simd_memory() local
57 if (memory_pointer != NULL) { in xnn_allocate_zero_simd_memory()
[all …]
/external/ltp/testcases/kernel/mem/page/
Dpage01.c77 int *memory_pointer; local
121 memory_pointer = malloc(memory_size * sizeof(int));
122 if (memory_pointer == 0) {
138 number_pointer = memory_pointer;
158 number_pointer = memory_pointer;
Dpage02.c75 int *memory_pointer; local
129 memory_pointer = malloc(memory_size * sizeof(int));
130 if (memory_pointer == 0) {
154 down_pointer = up_pointer = memory_pointer +
177 down_pointer = up_pointer = memory_pointer +
/external/webrtc/rtc_base/memory/
Daligned_malloc.cc65 void* memory_pointer = malloc(size + sizeof(uintptr_t) + alignment - 1); in AlignedMalloc() local
66 RTC_CHECK(memory_pointer) << "Couldn't allocate memory in AlignedMalloc"; in AlignedMalloc()
70 uintptr_t align_start_pos = reinterpret_cast<uintptr_t>(memory_pointer); in AlignedMalloc()
79 uintptr_t memory_start = reinterpret_cast<uintptr_t>(memory_pointer); in AlignedMalloc()