Searched refs:getdelim (Results 1 – 5 of 5) sorted by relevance
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | getline.c | 36 return getdelim(buf, buflen, '\n', fp); in getline()
|
D | getdelim.c | 45 getdelim(char **__restrict buf, size_t *__restrict buflen, in getdelim() function
|
/bionic/tests/ |
D | stdio_test.cpp | 92 TEST(stdio, getdelim) { in TEST() argument 108 …ASSERT_EQ(getdelim(&word_read, &allocated_length, ' ', fp), static_cast<int>(strlen(expected[i]))); in TEST() 119 ASSERT_EQ(getdelim(&word_read, &allocated_length, ' ', fp), -1); in TEST() 136 ASSERT_EQ(getdelim(NULL, &buffer_length, ' ', fp), -1); in TEST() 141 ASSERT_EQ(getdelim(&buffer, NULL, ' ', fp), -1); in TEST() 147 ASSERT_EQ(getdelim(&buffer, &buffer_length, ' ', fp), -1); in TEST()
|
/bionic/libc/include/ |
D | stdio.h | 233 ssize_t getdelim(char ** __restrict, size_t * __restrict, int,
|
/bionic/libc/ |
D | Android.mk | 414 upstream-openbsd/lib/libc/stdio/getdelim.c \
|