Lines Matching refs:bytes_read
108 size_t bytes_read = 0; in TEST_F() local
112 bytes_read = mem_cache.Read(0x1000, data_sp->GetBytes(), in TEST_F()
114 ASSERT_TRUE(bytes_read == 0); in TEST_F()
118 bytes_read = mem_cache.Read(0x1000, data_sp->GetBytes(), in TEST_F()
120 ASSERT_TRUE(bytes_read == 0); in TEST_F()
125 bytes_read = mem_cache.Read(0x1000, data_sp->GetBytes(), in TEST_F()
127 ASSERT_TRUE(bytes_read == data_sp->GetByteSize()); in TEST_F()
132 bytes_read = mem_cache.Read(0x1000, data_sp->GetBytes(), in TEST_F()
134 ASSERT_TRUE(bytes_read == data_sp->GetByteSize()); in TEST_F()
142 bytes_read = mem_cache.Read(0x2000, data_sp->GetBytes(), in TEST_F()
144 ASSERT_TRUE(bytes_read == data_sp->GetByteSize()); in TEST_F()
150 bytes_read = mem_cache.Read(0x2001, data_sp->GetBytes(), in TEST_F()
152 ASSERT_TRUE(bytes_read == data_sp->GetByteSize()); in TEST_F()
160 bytes_read = mem_cache.Read(0x3000, data_sp->GetBytes(), in TEST_F()
162 ASSERT_TRUE(bytes_read == l2_cache_size - 10); in TEST_F()
168 bytes_read = mem_cache.Read(0x3000 + l2_cache_size - 10, data_sp->GetBytes(), in TEST_F()
170 ASSERT_TRUE(bytes_read == 0); // The last 10 bytes from this line are in TEST_F()
177 bytes_read = mem_cache.Read(0x4001, data_sp->GetBytes(), in TEST_F()
179 ASSERT_TRUE(bytes_read == l2_cache_size); in TEST_F()
186 bytes_read = mem_cache.Read(0x5005, data_sp->GetBytes(), in TEST_F()
188 ASSERT_TRUE(bytes_read == l2_cache_size - 6); // Ignoring the first 5 bytes, in TEST_F()
197 bytes_read = mem_cache.Read(0x6000, data_sp->GetBytes(), in TEST_F()
199 ASSERT_TRUE(bytes_read == 0); in TEST_F()
207 bytes_read = mem_cache.Read(0x7000, data_sp->GetBytes(), in TEST_F()
209 ASSERT_TRUE(bytes_read == 0); in TEST_F()
214 bytes_read = mem_cache.Read(0x7000, data_sp->GetBytes(), in TEST_F()
216 ASSERT_TRUE(bytes_read == l2_cache_size); in TEST_F()
222 bytes_read = mem_cache.Read(0x7000, data_sp->GetBytes(), in TEST_F()
224 ASSERT_TRUE(bytes_read == l2_cache_size); in TEST_F()