Home
last modified time | relevance | path

Searched refs:next_token (Results 1 – 25 of 50) sorted by relevance

12

/external/antlr/runtime/Ruby/test/functional/lexer/
Dbasic.rb20 token = lexer.next_token
23 token = lexer.next_token
38 token = lexer.next_token
62 token = lexer.next_token
65 token = lexer.next_token
68 token = lexer.next_token
75 b = lambda { token = lexer.next_token }
100 token = lexer.next_token
103 token = lexer.next_token
106 token = lexer.next_token
[all …]
/external/virglrenderer/src/gallium/auxiliary/tgsi/
Dtgsi_parse.c87 next_token( in next_token() function
104 next_token( ctx, &token ); in tgsi_parse_token()
114 next_token( ctx, &decl->Range ); in tgsi_parse_token()
117 next_token(ctx, &decl->Dim); in tgsi_parse_token()
121 next_token( ctx, &decl->Interp ); in tgsi_parse_token()
125 next_token( ctx, &decl->Semantic ); in tgsi_parse_token()
129 next_token(ctx, &decl->Image); in tgsi_parse_token()
133 next_token(ctx, &decl->SamplerView); in tgsi_parse_token()
137 next_token(ctx, &decl->Array); in tgsi_parse_token()
157 next_token(ctx, &imm->u[i].Float); in tgsi_parse_token()
[all …]
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_parse.c87 next_token( in next_token() function
104 next_token( ctx, &token ); in tgsi_parse_token()
114 next_token( ctx, &decl->Range ); in tgsi_parse_token()
117 next_token(ctx, &decl->Dim); in tgsi_parse_token()
121 next_token( ctx, &decl->Interp ); in tgsi_parse_token()
125 next_token( ctx, &decl->Semantic ); in tgsi_parse_token()
129 next_token(ctx, &decl->Image); in tgsi_parse_token()
133 next_token(ctx, &decl->SamplerView); in tgsi_parse_token()
137 next_token(ctx, &decl->Array); in tgsi_parse_token()
157 next_token(ctx, &imm->u[i].Float); in tgsi_parse_token()
[all …]
/external/yapf/yapf/yapflib/
Dformat_decision_state.py70 self.next_token = line.first
85 new.next_token = self.next_token
102 return (self.next_token == other.next_token and
116 return hash((self.next_token, self.column, self.paren_level,
121 (self.column, repr(self.next_token), self.paren_level,
133 current = self.next_token
170 current = self.next_token
263 return not token.next_token
265 token = token.matching_bracket.next_token
267 token = token.next_token
[all …]
Dobject_state.py56 return self.expr_token.next_token.value == 'for'
121 return self.closing_bracket.next_token.value == '->'
133 return self.parameters[-1].last_token.next_token.value == ','
139 while not token.is_comment and token.next_token:
140 token = token.next_token
216 tok = tok.matching_bracket if tok.OpensScope() else tok.next_token
Dreformatter.py89 while state.next_token:
190 while state.next_token:
191 previous_token = state.next_token.previous_token
200 newline = state.next_token.lineno > previous_lineno
405 elif (not tok.next_token.whitespace_prefix.startswith('\n') and
406 not tok.next_token.whitespace_prefix.startswith(' ')):
408 tok.next_token.value not in ',}])'):
481 if not node.state.next_token:
603 return (tok.next_token and tok.value == 'async' and
604 tok.next_token.value == 'def')
Dlogical_line.py61 self._tokens[index].next_token = tok
123 lline.last.next_token = None
135 self.last.next_token = token
603 if open_tok.next_token == close_tok:
606 assert open_tok.next_token.node
607 assert open_tok.next_token.node.parent
609 return open_tok.next_token.node.parent.type in [
/external/yapf/yapftests/
Dformat_decision_state_test.py45 self.assertEqual('f', state.next_token.value)
50 self.assertEqual('(', state.next_token.value)
56 self.assertEqual('a', state.next_token.value)
62 self.assertEqual(',', state.next_token.value)
68 self.assertEqual('b', state.next_token.value)
74 self.assertEqual(')', state.next_token.value)
80 self.assertEqual(':', state.next_token.value)
99 self.assertEqual('f', state.next_token.value)
104 self.assertEqual('(', state.next_token.value)
109 self.assertEqual('a', state.next_token.value)
[all …]
/external/rust/crates/serde_test/src/
Dde.rs69 fn next_token(&mut self) -> Token { in next_token() method
132 let token = self.next_token(); in deserialize_any()
164 let variant = self.next_token(); in deserialize_any()
168 self.next_token(); in deserialize_any()
172 self.next_token(); in deserialize_any()
176 self.next_token(); in deserialize_any()
180 self.next_token(); in deserialize_any()
184 self.next_token(); in deserialize_any()
188 self.next_token(); in deserialize_any()
192 self.next_token(); in deserialize_any()
[all …]
Dser.rs20 fn next_token(&mut self) -> Option<Token> { in next_token() method
64 match $ser.next_token() {
185 self.next_token(); in serialize_unit_variant()
213 self.next_token(); in serialize_newtype_variant()
257 self.next_token(); in serialize_tuple_variant()
292 self.next_token(); in serialize_struct_variant()
/external/python/cffi/c/
Dparse_c_type.c113 static void next_token(token_t *tok) in next_token() function
243 next_token(tok); in parse_sequel()
247 next_token(tok); in parse_sequel()
251 next_token(tok); in parse_sequel()
257 next_token(tok); in parse_sequel()
265 next_token(tok); /* skip a potential variable name */ in parse_sequel()
273 next_token(tok); in parse_sequel()
277 next_token(tok); in parse_sequel()
307 next_token(tok); in parse_sequel()
334 next_token(tok); in parse_sequel()
[all …]
/external/rust/crates/protobuf-support/src/lexer/
Dtokenizer.rs46 next_token: Option<TokenWithLocation>, field
54 next_token: None, in new()
61 self.next_token in loc()
77 Ok(match self.next_token { in lookahead()
80 self.next_token = self.lexer.next_token()?; in lookahead()
81 self.last_token_loc = self.next_token.as_ref().map(|t| t.loc.clone()); in lookahead()
82 match self.next_token { in lookahead()
100 .next_token in next()
114 self.next_token in advance()
130 let v = match self.next_token { in next_token_if_map()
[all …]
/external/antlr/runtime/Ruby/lib/antlr3/tree/
Dwizard.rb152 def next_token method in ANTLR3.AST.Wizard.PatternLexer
197 @token_type = tokenizer.next_token
215 @token_type = @tokenizer.next_token
230 @token_type = @tokenizer.next_token
237 ( @token_type = @tokenizer.next_token ) == :identifier or return nil
239 ( @token_type = @tokenizer.next_token ) == :colon or return nil
240 @token_type = @tokenizer.next_token
244 @token_type = @tokenizer.next_token
253 @token_type = @tokenizer.next_token
261 @token_type = @tokenizer.next_token
/external/cronet/net/http/
Dhttp_auth_ntlm_mechanism.cc49 const std::vector<uint8_t>& next_token) { in SetAuthTokenFromBinaryToken() argument
50 if (next_token.empty()) in SetAuthTokenFromBinaryToken()
55 base::StringPiece(reinterpret_cast<const char*>(next_token.data()), in SetAuthTokenFromBinaryToken()
56 next_token.size()), in SetAuthTokenFromBinaryToken()
155 auto next_token = ntlm_client_.GenerateAuthenticateMessage( in GenerateAuthToken() local
160 return SetAuthTokenFromBinaryToken(auth_token, next_token); in GenerateAuthToken()
/external/oj-libjdwp/src/solaris/back/
Dlinker_md.c59 char *path, *paths_copy, *next_token; in dll_build_name() local
66 next_token = NULL; in dll_build_name()
67 path = strtok_r(paths_copy, PATH_SEPARATOR, &next_token); in dll_build_name()
75 path = strtok_r(NULL, PATH_SEPARATOR, &next_token); in dll_build_name()
/external/googletest/googlemock/scripts/generator/cpp/
Dast.py974 next_token = GetNextToken()
977 while (next_token.token_type == tokenize.NAME or
978 (next_token.token_type == tokenize.SYNTAX and
979 next_token.name in ('::', '<'))):
982 if last_token_was_name and next_token.token_type == tokenize.NAME:
984 last_token_was_name = next_token.token_type == tokenize.NAME
985 tokens.append(next_token)
987 if next_token.name == '<':
990 next_token = GetNextToken()
991 return tokens, next_token
[all …]
/external/ltp/metadata/
Dmetaparse.c215 static char *next_token(FILE *f, struct data_node *doc) in next_token() function
294 if (!(token = next_token(f, NULL))) in parse_array()
350 if (!(token = next_token(f, NULL))) in parse_get_array_len()
357 if (!(token = next_token(f, NULL))) in parse_get_array_len()
416 if (!(token = next_token(f, NULL))) in parse_array_size()
422 if (!(token = next_token(f, NULL))) in parse_array_size()
442 if (!(token = next_token(f, NULL))) in parse_array_size()
483 if (!(token = next_token(f, doc))) in parse_test_struct()
651 while ((token = next_token(inc, NULL))) { in parse_include_macros()
686 while ((token = next_token(f, doc))) { in parse_file()
[all …]
/external/ImageMagick/MagickCore/
Ddraw.c2461 *next_token, in RenderMVGContent() local
2640 affine.sx=GetDrawValue(token,&next_token); in RenderMVGContent()
2641 if (token == next_token) in RenderMVGContent()
2646 affine.rx=GetDrawValue(token,&next_token); in RenderMVGContent()
2647 if (token == next_token) in RenderMVGContent()
2652 affine.ry=GetDrawValue(token,&next_token); in RenderMVGContent()
2653 if (token == next_token) in RenderMVGContent()
2658 affine.sy=GetDrawValue(token,&next_token); in RenderMVGContent()
2659 if (token == next_token) in RenderMVGContent()
2664 affine.tx=GetDrawValue(token,&next_token); in RenderMVGContent()
[all …]
/external/google-breakpad/src/processor/
Dbasic_source_line_resolver.cc546 int next_token = *is_multiple ? 1 : 0; in ParseFunction() local
549 *address = strtoull(tokens[next_token++], &after_number, 16); in ParseFunction()
554 *size = strtoull(tokens[next_token++], &after_number, 16); in ParseFunction()
559 *stack_param_size = strtol(tokens[next_token++], &after_number, 16); in ParseFunction()
565 *name = tokens[next_token++]; in ParseFunction()
630 int next_token = *is_multiple ? 1 : 0; in ParsePublicSymbol() local
633 *address = strtoull(tokens[next_token++], &after_number, 16); in ParsePublicSymbol()
638 *stack_param_size = strtol(tokens[next_token++], &after_number, 16); in ParsePublicSymbol()
644 *name = tokens[next_token++]; in ParsePublicSymbol()
/external/antlr/runtime/Ruby/test/unit/
Dtest-tree-wizard.rb18 type = lexer.next_token
26 type = lexer.next_token
34 type = lexer.next_token
42 type = lexer.next_token
50 type = lexer.next_token
58 type = lexer.next_token
66 type = lexer.next_token
74 type = lexer.next_token
/external/toybox/toys/pending/
Dtftpd.c89 static char *next_token(char *at, char *end) in next_token() function
295 buf = next_token(buf, end); in tftpd_main()
303 for (buf = next_token(buf, end); buf != NULL; buf = next_token(buf, end)) { in tftpd_main()
305 buf = next_token(buf, end); in tftpd_main()
/external/python/google-api-python-client/samples/audit/
Daudit.py67 next_token = match.group(0)
73 continuationToken=next_token).execute()
/external/antlr/runtime/Perl5/t/
Dlexer.t39 while ((my $_ = $lexer->next_token())) {
66 my $token = $lexer->next_token();
118 while ((my $_ = $lexer->next_token())) {
/external/ImageMagick/coders/
Dsvg.c682 *next_token, in GetUserSpaceCoordinateValue() local
695 value=StringToDouble(token,&next_token); in GetUserSpaceCoordinateValue()
1535 *next_token, in SVGStartElement() local
2162 affine.rx=StringToDouble(token,&next_token); in SVGStartElement()
2166 affine.ry=StringToDouble(token,&next_token); in SVGStartElement()
2170 affine.sy=StringToDouble(token,&next_token); in SVGStartElement()
2174 affine.tx=StringToDouble(token,&next_token); in SVGStartElement()
2178 affine.ty=StringToDouble(token,&next_token); in SVGStartElement()
2560 affine.rx=StringToDouble(token,&next_token); in SVGStartElement()
2564 affine.ry=StringToDouble(token,&next_token); in SVGStartElement()
[all …]
/external/chromium-trace/catapult/common/py_utils/py_utils/refactor/
Doffset_token.py74 for prev_token, next_token in _Pairwise(tokenize_tokens):
75 token_type, string, (srow, scol), _, _ = next_token

12