Home | History | Annotate | Download | only in tests

Lines Matching defs:allocated_length

117   size_t allocated_length = 0;
122 ASSERT_EQ(getdelim(&word_read, &allocated_length, ' ', fp), static_cast<int>(strlen(expected[i])));
123 ASSERT_GE(allocated_length, strlen(expected[i]));
133 ASSERT_EQ(getdelim(&word_read, &allocated_length, ' ', fp), -1);
170 size_t allocated_length;
171 ASSERT_EQ(-1, getdelim(&word_read, &allocated_length, ' ', fp));
190 size_t allocated_length = 0;
194 while ((read_char_count = getline(&line_read, &allocated_length, fp)) != -1) {
196 ASSERT_GE(allocated_length, strlen(line_written));
209 ASSERT_EQ(getline(&line_read, &allocated_length, fp), -1);