Searched refs:lineptr (Results 1 – 5 of 5) sorted by relevance
| /openbmc/u-boot/tools/ |
| H A D | getline.c | 21 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 D | getline.h | 1 int getline(char **lineptr, size_t *n, FILE *stream);
|
| /openbmc/u-boot/drivers/video/ |
| H A D | bus_vcxk.c | 329 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 D | confdata.c | 193 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 D | 0001-Make-the-code-C-17-compliant.patch | 18 @@ -55,7 +55,7 @@ getstr (char **lineptr, size_t *n, FILE *stream, char terminator, size_t offset)
|