Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/powerpc/xmon/
Dnonstdio.c93 static char *lineptr; variable
101 lineptr = line; in xmon_getchar()
107 *lineptr++ = '\n'; in xmon_getchar()
114 if (lineptr > line) { in xmon_getchar()
118 --lineptr; in xmon_getchar()
122 while (lineptr > line) { in xmon_getchar()
126 --lineptr; in xmon_getchar()
130 if (lineptr >= &line[sizeof(line) - 1]) in xmon_getchar()
134 *lineptr++ = c; in xmon_getchar()
138 lineleft = lineptr - line; in xmon_getchar()
[all …]
Dxmon.c3562 static char *lineptr; variable
3567 lineptr = NULL; in flush_input()
3573 if (lineptr == NULL || *lineptr == 0) { in inchar()
3575 lineptr = NULL; in inchar()
3578 lineptr = line; in inchar()
3580 return *lineptr++; in inchar()
3586 lineptr = str; in take_input()
/kernel/linux/linux-5.10/scripts/kconfig/
Dconfdata.c296 static int add_byte(int c, char **lineptr, size_t slen, size_t *n) in add_byte() argument
303 nline = xrealloc(*lineptr, new_size); in add_byte()
307 *lineptr = nline; in add_byte()
311 (*lineptr)[slen] = c; in add_byte()
316 static ssize_t compat_getline(char **lineptr, size_t *n, FILE *stream) in compat_getline() argument
318 char *line = *lineptr; in compat_getline()
333 *lineptr = line; in compat_getline()
346 *lineptr = line; in compat_getline()