Home
last modified time | relevance | path

Searched refs:memory2 (Results 1 – 5 of 5) sorted by relevance

/external/libchrome/base/memory/
Ddiscardable_shared_memory_unittest.cc55 TestDiscardableSharedMemory memory2(std::move(shared_region)); in TEST() local
56 rv = memory2.Map(kDataSize); in TEST()
58 EXPECT_TRUE(memory2.IsMemoryLocked()); in TEST()
87 TestDiscardableSharedMemory memory2(std::move(shared_region)); in TEST() local
88 rv = memory2.Map(kDataSize); in TEST()
92 memory2.SetNow(Time::FromDoubleT(3)); in TEST()
93 memory2.Unlock(0, 0); in TEST()
96 EXPECT_FALSE(memory2.IsMemoryLocked()); in TEST()
100 lock_rv = memory2.Lock(0, 0); in TEST()
123 TestDiscardableSharedMemory memory2(std::move(shared_region)); in TEST() local
[all …]
Dshared_memory_unittest.cc157 SharedMemory memory2; in TEST_P() local
158 rv = memory2.Open(test_name, false); in TEST_P()
160 rv = memory2.Map(kDataSize); in TEST_P()
162 EXPECT_NE(memory1.memory(), memory2.memory()); // Compare the pointers. in TEST_P()
166 ASSERT_NE(memory2.memory(), static_cast<void*>(nullptr)); in TEST_P()
170 EXPECT_EQ(memcmp(memory1.memory(), memory2.memory(), kDataSize), 0); in TEST_P()
174 char* start_ptr = static_cast<char*>(memory2.memory()); in TEST_P()
180 memory2.Close(); in TEST_P()
184 rv = memory2.Delete(test_name); in TEST_P()
217 SharedMemory memory2; in TEST_P() local
[all …]
/external/tensorflow/tensorflow/core/lib/core/
Darena_test.cc83 char* memory2 = a.Alloc(1024); in TEST() local
84 ASSERT_NE(memory2, nullptr); in TEST()
85 TestMemory(memory2, 1024); in TEST()
99 char* memory2 = a.Alloc(768); in TEST() local
100 ASSERT_NE(memory2, nullptr); in TEST()
101 TestMemory(memory2, 768); in TEST()
113 char* memory2 = a.Alloc(1234); in TEST() local
114 ASSERT_NE(memory2, nullptr); in TEST()
115 TestMemory(memory2, 1234); in TEST()
/external/llvm-project/polly/test/GPGPU/
Dcheck-unused-fortran-array-size-param-offloaded-to-kernel.ll45 ; Check that we have writes *only* into memory2, not into memory.
89 …%memory2 = load double*, double** bitcast (%"struct.array1_real(kind=8)"* @global_arr to double**)…
92 %slot2 = getelementptr double, double* %memory2, i64 %idx2
/external/libchrome/base/trace_event/
Dprocess_memory_dump_unittest.cc498 void* memory2 = Map(kVeryLargeMemorySize); in TEST() local
499 memset(memory2, 0, kVeryLargeMemorySize); in TEST()
501 ProcessMemoryDump::CountResidentBytes(memory2, kVeryLargeMemorySize); in TEST()
503 Unmap(memory2, kVeryLargeMemorySize); in TEST()