Home
last modified time | relevance | path

Searched refs:rw_mapping (Results 1 – 2 of 2) sorted by relevance

/external/libchrome/base/memory/
Dref_counted_memory_unittest.cc97 WritableSharedMemoryMapping rw_mapping = std::move(region.mapping); in TEST() local
98 ASSERT_TRUE(rw_mapping.IsValid()); in TEST()
99 memcpy(rw_mapping.memory(), kData, sizeof(kData)); in TEST()
111 WritableSharedMemoryMapping rw_mapping = std::move(region.mapping); in TEST() local
112 ASSERT_TRUE(rw_mapping.IsValid()); in TEST()
113 memcpy(rw_mapping.memory(), kData, sizeof(kData)); in TEST()
Dshared_memory_region_unittest.cc161 WritableSharedMemoryMapping rw_mapping; in TYPED_TEST() local
162 std::tie(region, rw_mapping) = CreateMappedRegion<TypeParam>(kDataSize); in TYPED_TEST()
164 ASSERT_TRUE(rw_mapping.IsValid()); in TYPED_TEST()
165 uint32_t* ptr = static_cast<uint32_t*>(rw_mapping.memory()); in TYPED_TEST()
170 rw_mapping = WritableSharedMemoryMapping(); in TYPED_TEST()
187 WritableSharedMemoryMapping rw_mapping; in TYPED_TEST() local
188 std::tie(region, rw_mapping) = CreateMappedRegion<TypeParam>(kDataSize); in TYPED_TEST()
190 ASSERT_TRUE(rw_mapping.IsValid()); in TYPED_TEST()