Home
last modified time | relevance | path

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

/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/libchrome/base/memory/
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 …]