Lines Matching refs:new_length
123 int64_t new_length = 2;
124 ASSERT_EQ(0, file->SetLength(new_length));
125 ASSERT_EQ(new_length, file->GetLength());
131 new_length = file->GetLength() + 1;
132 ASSERT_EQ(0, file->SetLength(new_length));
133 ASSERT_EQ(new_length, file->GetLength());
135 ASSERT_EQ('\0', new_content[new_length - 1]);
166 int64_t new_length = 2*content.size() + 1;
167 ASSERT_EQ(file->GetLength(), new_length);
169 ASSERT_EQ(std::string("hello\0hello", new_length), new_content);