stdio_test.cpp | 116 char* word_read = NULL; local 122 ASSERT_EQ(getdelim(&word_read, &allocated_length, ' ', fp), static_cast<int>(strlen(expected[i]))); 124 ASSERT_STREQ(expected[i], word_read); 133 ASSERT_EQ(getdelim(&word_read, &allocated_length, ' ', fp), -1); 137 free(word_read); 169 char* word_read; local 171 ASSERT_EQ(-1, getdelim(&word_read, &allocated_length, ' ', fp)); [all...] |