Searched refs:memory_ptr (Results 1 – 6 of 6) sorted by relevance
/external/libchrome/base/memory/ |
D | read_only_shared_memory_region.cc | 21 void* memory_ptr = nullptr; in Create() local 23 if (!handle.MapAt(0, handle.GetSize(), &memory_ptr, &mapped_size)) in Create() 26 WritableSharedMemoryMapping mapping(memory_ptr, size, mapped_size, in Create() 29 handle.ConvertToReadOnly(memory_ptr); in Create()
|
D | shared_memory_region_unittest.cc | 266 void* memory_ptr = const_cast<void*>(mapping.memory()); in TEST_F() local 267 EXPECT_DEATH_IF_SUPPORTED(memset(memory_ptr, 'G', kRegionSize), ""); in TEST_F() 276 void* memory_ptr = const_cast<void*>(mapping.memory()); in TEST_F() local 277 EXPECT_DEATH_IF_SUPPORTED(memset(memory_ptr, 'G', kRegionSize), ""); in TEST_F()
|
/external/XNNPACK/src/ |
D | allocator.c | 43 void* memory_ptr = NULL; in xnn_aligned_allocate() 44 if (posix_memalign(&memory_ptr, alignment, size) != 0) { in xnn_aligned_allocate() 47 return memory_ptr; in xnn_aligned_allocate()
|
/external/deqp-deps/amber/src/vulkan/ |
D | blas.cc | 188 void* memory_ptr = vertex_buffer_->HostAccessibleMemoryPtr(); in CreateBLAS() local 189 assert(memory_ptr != nullptr); in CreateBLAS() 199 std::memcpy(reinterpret_cast<char*>(memory_ptr) + in CreateBLAS()
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | memory_optimizer.cc | 515 bool SchedulingPass(Cluster* cluster, std::unique_ptr<GraphMemory>* memory_ptr, in SchedulingPass() argument 542 if ((*memory_ptr) == nullptr) { in SchedulingPass() 543 memory_ptr->reset(new GraphMemory(*item)); in SchedulingPass() 544 Status s = (*memory_ptr)->InferStatically(cluster->GetDevices()); in SchedulingPass() 546 memory_ptr->reset(); in SchedulingPass() 551 const GraphMemory& memory = **memory_ptr; in SchedulingPass() 982 std::unique_ptr<GraphMemory>* memory_ptr, in IdentifySwappingCandidates() argument 985 if ((*memory_ptr) == nullptr) { in IdentifySwappingCandidates() 986 memory_ptr->reset(new GraphMemory(*item)); in IdentifySwappingCandidates() 987 Status s = (*memory_ptr)->InferStatically(cluster->GetDevices()); in IdentifySwappingCandidates() [all …]
|
/external/openscreen/third_party/abseil/src/absl/container/internal/ |
D | inlined_vector.h | 70 void* memory_ptr = destroy_first; in DestroyElements() local 72 std::memset(memory_ptr, 0xab, memory_size); in DestroyElements()
|