Home
last modified time | relevance | path

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

/openbmc/u-boot/tools/
H A Dgetline.c21 static int getstr(char **lineptr, size_t *n, FILE *stream, in getstr() argument
28 if (!lineptr || !n || !stream) in getstr()
31 if (!*lineptr) { in getstr()
33 *lineptr = malloc(*n); in getstr()
34 if (!*lineptr) in getstr()
39 read_pos = *lineptr + offset; in getstr()
48 assert(*n - nchars_avail == read_pos - *lineptr); in getstr()
55 nchars_avail = *n + *lineptr - read_pos; in getstr()
56 *lineptr = realloc(*lineptr, *n); in getstr()
57 if (!*lineptr) in getstr()
[all …]
H A Dgetline.h1 int getline(char **lineptr, size_t *n, FILE *stream);
/openbmc/u-boot/drivers/video/
H A Dbus_vcxk.c329 unsigned char *lineptr; in vcxk_draw_mono() local
333 lineptr = dataptr; in vcxk_draw_mono()
335 if ((*lineptr << (xcnt % 8)) & 0x80) in vcxk_draw_mono()
341 lineptr++; in vcxk_draw_mono()
/openbmc/u-boot/scripts/kconfig/
H A Dconfdata.c193 static int add_byte(int c, char **lineptr, size_t slen, size_t *n) in add_byte() argument
200 nline = xrealloc(*lineptr, new_size); in add_byte()
204 *lineptr = nline; in add_byte()
208 (*lineptr)[slen] = c; in add_byte()
213 static ssize_t compat_getline(char **lineptr, size_t *n, FILE *stream) in compat_getline() argument
215 char *line = *lineptr; in compat_getline()
230 *lineptr = line; in compat_getline()
243 *lineptr = line; in compat_getline()
/openbmc/openbmc/poky/meta/recipes-extended/gperf/gperf/
H A D0001-Make-the-code-C-17-compliant.patch18 @@ -55,7 +55,7 @@ getstr (char **lineptr, size_t *n, FILE *stream, char terminator, size_t offset)