Home | History | Annotate | Download | only in common

Lines Matching refs:subrange

44 // Test vectors for verifying Covers, GetData, and Subrange.
134 MemoryRange subrange = range.Subrange(0, 10);
135 EXPECT_EQ(NULL, subrange.data());
136 EXPECT_EQ(0U, subrange.length());
148 MemoryRange subrange = range.Subrange(sub_offset, sub_length);
153 EXPECT_EQ(kBufferPointer + sub_offset, subrange.data());
154 EXPECT_EQ(sub_length, subrange.length());
158 EXPECT_EQ(NULL, subrange.data());
159 EXPECT_EQ(0U, subrange.length());