Home
last modified time | relevance | path

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

/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dgetline.c36 return getdelim(buf, buflen, '\n', fp); in getline()
Dgetdelim.c45 getdelim(char **__restrict buf, size_t *__restrict buflen, in getdelim() function
/bionic/tests/
Dstdio_test.cpp92 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/
Dstdio.h233 ssize_t getdelim(char ** __restrict, size_t * __restrict, int,
/bionic/libc/
DAndroid.mk414 upstream-openbsd/lib/libc/stdio/getdelim.c \