Home
last modified time | relevance | path

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

/bionic/tests/
Dstdio_test.cpp165 size_t allocated_length = 0; in TEST() local
170 …ASSERT_EQ(getdelim(&word_read, &allocated_length, ' ', fp), static_cast<int>(strlen(expected[i]))); in TEST()
171 ASSERT_GE(allocated_length, strlen(expected[i])); in TEST()
181 ASSERT_EQ(getdelim(&word_read, &allocated_length, ' ', fp), -1); in TEST()
212 size_t allocated_length; in TEST() local
213 ASSERT_EQ(-1, getdelim(&word_read, &allocated_length, ' ', fp)); in TEST()
232 size_t allocated_length = 0; in TEST() local
236 while ((read_char_count = getline(&line_read, &allocated_length, fp)) != -1) { in TEST()
238 ASSERT_GE(allocated_length, strlen(line_written)); in TEST()
251 ASSERT_EQ(getline(&line_read, &allocated_length, fp), -1); in TEST()