Home
last modified time | relevance | path

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

/external/python/cpython3/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 …]
/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/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 …]
/external/flac/src/share/getopt/
Dgetopt.c158 static char *nextchar; variable
411 nextchar = NULL;
554 if (nextchar == NULL || *nextchar == '\0')
627 nextchar = (argv[share__optind] + 1
658 for (nameend = nextchar; *nameend && *nameend != '='; nameend++)
664 if (!strncmp (p->name, nextchar, nameend - nextchar))
666 if ((size_t) (nameend - nextchar) == strlen (p->name))
690 nextchar += strlen (nextchar);
722 nextchar += strlen (nextchar);
738 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/marisa-trie/tools/
Dcmdopt.cc20 h->nextchar = NULL; in cmdopt_shift()
27 h->nextchar = NULL; in cmdopt_next()
50 if (*h->nextchar == '\0') { in cmdopt_getopt()
52 h->nextchar = h->argv[h->optind]; in cmdopt_getopt()
57 h->optarg = h->nextchar; in cmdopt_getopt()
69 h->optopt = *h->nextchar++; in cmdopt_search()
130 len = cmdopt_match_len(h->longopts[i].name, h->nextchar); in cmdopt_match()
133 h->nextchar -= len; in cmdopt_match()
146 h->nextchar += max; in cmdopt_match()
152 if (*h->nextchar == '=') { in cmdopt_getopt_long()
[all …]
Dcmdopt.h38 char *nextchar; // Next character. member
/external/perfetto/src/base/
Dgetopt_compat.cc36 char* nextchar = nullptr; variable
112 if (!nextchar) { in getopt_long()
154 nextchar = &arg[1]; in getopt_long()
158 if (nextchar) { in getopt_long()
164 const char cur_char = *nextchar; in getopt_long()
170 if (*(++nextchar) == '\0') { in getopt_long()
171 nextchar = nullptr; in getopt_long()
189 if (!nextchar) { in getopt_long()
200 optarg = nextchar; in getopt_long()
201 nextchar = nullptr; in getopt_long()
/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/llvm-project/mlir/examples/toy/Ch1/include/toy/
DLexer.h115 auto nextchar = curLineBuffer.front(); in getNextChar() local
119 if (nextchar == '\n') { in getNextChar()
123 return nextchar; in getNextChar()
/external/llvm-project/mlir/examples/toy/Ch2/include/toy/
DLexer.h115 auto nextchar = curLineBuffer.front(); in getNextChar() local
119 if (nextchar == '\n') { in getNextChar()
123 return nextchar; in getNextChar()
/external/llvm-project/mlir/examples/toy/Ch6/include/toy/
DLexer.h115 auto nextchar = curLineBuffer.front(); in getNextChar() local
119 if (nextchar == '\n') { in getNextChar()
123 return nextchar; in getNextChar()
/external/llvm-project/mlir/examples/toy/Ch7/include/toy/
DLexer.h116 auto nextchar = curLineBuffer.front(); in getNextChar() local
120 if (nextchar == '\n') { in getNextChar()
124 return nextchar; in getNextChar()
/external/llvm-project/mlir/examples/toy/Ch4/include/toy/
DLexer.h115 auto nextchar = curLineBuffer.front(); in getNextChar() local
119 if (nextchar == '\n') { in getNextChar()
123 return nextchar; in getNextChar()
/external/llvm-project/mlir/examples/toy/Ch5/include/toy/
DLexer.h115 auto nextchar = curLineBuffer.front(); in getNextChar() local
119 if (nextchar == '\n') { in getNextChar()
123 return nextchar; in getNextChar()
/external/llvm-project/mlir/examples/toy/Ch3/include/toy/
DLexer.h115 auto nextchar = curLineBuffer.front(); in getNextChar() local
119 if (nextchar == '\n') { in getNextChar()
123 return nextchar; in getNextChar()
/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()
/external/kotlinc/lib/
Dkotlin-compiler.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/backend-common. ...