Lines Matching refs:line_buf
47 LineBuffer line_buf(tmp_file_->fd, buffer, sizeof(buffer)); in TEST_F() local
51 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
55 ASSERT_FALSE(line_buf.GetLine(&line, &line_len)); in TEST_F()
66 LineBuffer line_buf(tmp_file_->fd, buffer, sizeof(buffer)); in TEST_F() local
70 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
74 ASSERT_FALSE(line_buf.GetLine(&line, &line_len)); in TEST_F()
87 LineBuffer line_buf(tmp_file_->fd, buffer, sizeof(buffer)); in TEST_F() local
91 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
95 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
99 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
103 ASSERT_FALSE(line_buf.GetLine(&line, &line_len)); in TEST_F()
116 LineBuffer line_buf(tmp_file_->fd, buffer, sizeof(buffer)); in TEST_F() local
120 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
124 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
128 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
132 ASSERT_FALSE(line_buf.GetLine(&line, &line_len)); in TEST_F()
146 LineBuffer line_buf(tmp_file_->fd, buffer, sizeof(buffer)); in TEST_F() local
150 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
154 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
158 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
163 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
167 ASSERT_FALSE(line_buf.GetLine(&line, &line_len)); in TEST_F()
181 LineBuffer line_buf(tmp_file_->fd, buffer, sizeof(buffer)); in TEST_F() local
185 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
189 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
193 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
198 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
202 ASSERT_FALSE(line_buf.GetLine(&line, &line_len)); in TEST_F()
216 LineBuffer line_buf(tmp_file_->fd, buffer, sizeof(buffer)); in TEST_F() local
220 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
224 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
228 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
231 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
236 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F()
240 ASSERT_FALSE(line_buf.GetLine(&line, &line_len)); in TEST_F()