Home
last modified time | relevance | path

Searched refs:nextchar (Results 1 – 7 of 7) sorted by relevance

/third_party/python/Lib/
Dshlex.py138 nextchar = self._pushback_chars.pop()
140 nextchar = self.instream.read(1)
141 if nextchar == '\n':
145 nextchar))
150 if not nextchar:
153 elif nextchar in self.whitespace:
160 elif nextchar in self.commenters:
163 elif self.posix and nextchar in self.escape:
165 self.state = nextchar
166 elif nextchar in self.wordchars:
[all …]
/third_party/libusb/msvc/getopt/
Dgetopt.c143 static char *nextchar; variable
400 nextchar = NULL;
548 if (nextchar == NULL || *nextchar == '\0')
621 nextchar = (argv[optind] + 1
652 for (nameend = nextchar; *nameend && *nameend != '='; nameend++)
658 if (!strncmp (p->name, nextchar, nameend - nextchar))
660 if ((unsigned int) (nameend - nextchar)
688 nextchar += strlen (nextchar);
720 nextchar += strlen (nextchar);
736 nextchar += strlen (nextchar);
[all …]
/third_party/python/Lib/json/
Ddecoder.py147 nextchar = s[end:end + 1]
149 if nextchar != '"':
150 if nextchar in _ws:
152 nextchar = s[end:end + 1]
154 if nextchar == '}':
162 elif nextchar != '"':
191 nextchar = s[end]
192 if nextchar in _ws:
194 nextchar = s[end]
196 nextchar = ''
[all …]
Dscanner.py30 nextchar = string[idx]
34 if nextchar == '"':
36 elif nextchar == '{':
39 elif nextchar == '[':
41 elif nextchar == 'n' and string[idx:idx + 4] == 'null':
43 elif nextchar == 't' and string[idx:idx + 4] == 'true':
45 elif nextchar == 'f' and string[idx:idx + 5] == 'false':
56 elif nextchar == 'N' and string[idx:idx + 3] == 'NaN':
58 elif nextchar == 'I' and string[idx:idx + 8] == 'Infinity':
60 elif nextchar == '-' and string[idx:idx + 9] == '-Infinity':
/third_party/glib/glib/
Dgiochannel.c1589 gchar *nextchar, *lastchar; in g_io_channel_fill_buffer() local
1593 nextchar = channel->read_buf->str; in g_io_channel_fill_buffer()
1596 while (nextchar < lastchar) in g_io_channel_fill_buffer()
1600 val_char = g_utf8_get_char_validated (nextchar, lastchar - nextchar); in g_io_channel_fill_buffer()
1606 lastchar = nextchar; in g_io_channel_fill_buffer()
1618 lastchar = nextchar; in g_io_channel_fill_buffer()
1621 nextchar = g_utf8_next_char (nextchar); in g_io_channel_fill_buffer()
1776 gchar *nextchar, *lastchar; in g_io_channel_read_line_backend() local
1828 for (nextchar = use_buf->str + checked_to; nextchar < lastchar; in g_io_channel_read_line_backend()
1829 channel->encoding ? nextchar = g_utf8_next_char (nextchar) : nextchar++) in g_io_channel_read_line_backend()
[all …]
/third_party/ltp/tools/sparse/sparse-src/
Dtokenize.c440 static inline int nextchar(stream_t *stream) in nextchar() function
558 next = nextchar(stream); in get_one_number()
563 next = nextchar(stream); in get_one_number()
595 for (escape = 0; escape || next != delim; next = nextchar(stream)) { in eat_string()
644 return nextchar(stream); in eat_string()
651 switch (nextchar(stream)) { in drop_stream_eoln()
655 return nextchar(stream); in drop_stream_eoln()
667 next = nextchar(stream); in drop_stream_comment()
674 next = nextchar(stream); in drop_stream_comment()
679 return nextchar(stream); in drop_stream_comment()
[all …]
/third_party/ejdb/src/util/
Dlwre.c722 goto nextchar; in re_program_run()
729 nextchar: in re_program_run()