Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/
Dshlex.py134 nextchar = self._pushback_chars.pop()
136 nextchar = self.instream.read(1)
137 if nextchar == '\n':
141 nextchar))
146 if not nextchar:
149 elif nextchar in self.whitespace:
156 elif nextchar in self.commenters:
159 elif self.posix and nextchar in self.escape:
161 self.state = nextchar
162 elif nextchar in self.wordchars:
[all …]
/external/python/cpython2/Lib/
Dshlex.py124 nextchar = self.instream.read(1)
125 if nextchar == '\n':
129 "I see character:", repr(nextchar)
134 if not nextchar:
137 elif nextchar in self.whitespace:
144 elif nextchar in self.commenters:
147 elif self.posix and nextchar in self.escape:
149 self.state = nextchar
150 elif nextchar in self.wordchars:
151 self.token = nextchar
[all …]
/external/libusb/examples/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 …]
/external/python/cpython2/Lib/json/
Ddecoder.py155 nextchar = s[end:end + 1]
157 if nextchar != '"':
158 if nextchar in _ws:
160 nextchar = s[end:end + 1]
162 if nextchar == '}':
170 elif nextchar != '"':
200 nextchar = s[end]
201 if nextchar in _ws:
203 nextchar = s[end]
205 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':
/external/python/cpython3/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':
/external/python/dateutil/dateutil/parser/
D_parser.py110 nextchar = self.charstack.pop(0)
112 nextchar = self.instream.read(1)
113 while nextchar == '\x00':
114 nextchar = self.instream.read(1)
116 if not nextchar:
122 token = nextchar
123 if self.isword(nextchar):
125 elif self.isnum(nextchar):
127 elif self.isspace(nextchar):
136 if self.isword(nextchar):
[all …]
/external/nist-sip/java/gov/nist/core/
DLexerCore.java727 char nextchar = lookAhead(0); in getString() local
728 if (nextchar == '\0') { in getString()
734 retval.append(nextchar); in getString()