Searched refs:allocated_length (Results 1 - 1 of 1) sorted by relevance

/bionic/tests/
H A Dstdio_test.cpp86 size_t allocated_length = 0; local
91 ASSERT_EQ(getdelim(&word_read, &allocated_length, ' ', fp), static_cast<int>(strlen(expected[i])));
92 ASSERT_GE(allocated_length, strlen(expected[i]));
102 ASSERT_EQ(getdelim(&word_read, &allocated_length, ' ', fp), -1);
150 size_t allocated_length = 0; local
154 while ((read_char_count = getline(&line_read, &allocated_length, fp)) != -1) {
156 ASSERT_GE(allocated_length, strlen(line_written));
169 ASSERT_EQ(getline(&line_read, &allocated_length, fp), -1);

Completed in 44 milliseconds