Home
last modified time | relevance | path

Searched refs:next_token (Results 1 – 25 of 38) 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 …]
Dsyn-pred.rb27 token = lexer.next_token
/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()
156 next_token(ctx, &imm->u[i].Float); in tgsi_parse_token()
[all …]
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_parse.c83 next_token( in next_token() function
100 next_token( ctx, &token ); in tgsi_parse_token()
110 next_token( ctx, &decl->Range ); in tgsi_parse_token()
113 next_token(ctx, &decl->Dim); in tgsi_parse_token()
117 next_token( ctx, &decl->Interp ); in tgsi_parse_token()
121 next_token( ctx, &decl->Semantic ); in tgsi_parse_token()
125 next_token(ctx, &decl->Image); in tgsi_parse_token()
129 next_token(ctx, &decl->SamplerView); in tgsi_parse_token()
133 next_token(ctx, &decl->Array); in tgsi_parse_token()
153 next_token(ctx, &imm->u[i].Float); in tgsi_parse_token()
[all …]
/external/yapf/yapf/yapflib/
Dformat_decision_state.py68 self.next_token = line.first
84 new.next_token = self.next_token
102 return (self.next_token == other.next_token and
115 return hash((self.next_token, self.column, self.paren_level,
120 (self.column, repr(self.next_token), self.paren_level,
132 current = self.next_token
171 current = self.next_token
240 return not token.next_token
242 token = token.matching_bracket.next_token
244 token = token.next_token
[all …]
Dreformatter.py84 while state.next_token:
177 while state.next_token:
178 previous_token = state.next_token.previous_token
188 prev_lineno is not None and state.next_token.lineno > previous_lineno)
190 prev_lineno = state.next_token.lineno
260 if (not tok.next_token.whitespace_prefix.startswith('\n') and
261 not tok.next_token.whitespace_prefix.startswith(' ')):
263 tok.next_token.value not in ',}])'):
336 if not node.state.next_token:
Dunwrapped_line.py58 self._tokens[index].next_token = tok
109 uwline.last.next_token = None
121 self.last.next_token = token
/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/openssh/openbsd-compat/
Drealpath.c68 char left[PATH_MAX], next_token[PATH_MAX], symlink[PATH_MAX]; in realpath() local
119 if (s - left >= (ptrdiff_t)sizeof(next_token)) { in realpath()
123 memcpy(next_token, left, s - left); in realpath()
124 next_token[s - left] = '\0'; in realpath()
136 if (next_token[0] == '\0') in realpath()
138 else if (strcmp(next_token, ".") == 0) in realpath()
140 else if (strcmp(next_token, "..") == 0) { in realpath()
159 resolved_len = strlcat(resolved, next_token, PATH_MAX); in realpath()
/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/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.py934 next_token = GetNextToken()
937 while (next_token.token_type == tokenize.NAME or
938 (next_token.token_type == tokenize.SYNTAX and
939 next_token.name in ('::', '<'))):
942 if last_token_was_name and next_token.token_type == tokenize.NAME:
944 last_token_was_name = next_token.token_type == tokenize.NAME
945 tokens.append(next_token)
947 if next_token.name == '<':
950 next_token = GetNextToken()
951 return tokens, next_token
[all …]
/external/google-breakpad/src/testing/scripts/generator/cpp/
Dast.py933 next_token = GetNextToken()
936 while (next_token.token_type == tokenize.NAME or
937 (next_token.token_type == tokenize.SYNTAX and
938 next_token.name in ('::', '<'))):
941 if last_token_was_name and next_token.token_type == tokenize.NAME:
943 last_token_was_name = next_token.token_type == tokenize.NAME
944 tokens.append(next_token)
946 if next_token.name == '<':
949 next_token = GetNextToken()
950 return tokens, next_token
[all …]
/external/ImageMagick/MagickCore/
Ddraw.c2403 *next_token, in RenderMVGContent() local
2582 affine.sx=StringToDouble(token,&next_token); in RenderMVGContent()
2583 if (token == next_token) in RenderMVGContent()
2588 affine.rx=StringToDouble(token,&next_token); in RenderMVGContent()
2589 if (token == next_token) in RenderMVGContent()
2594 affine.ry=StringToDouble(token,&next_token); in RenderMVGContent()
2595 if (token == next_token) in RenderMVGContent()
2600 affine.sy=StringToDouble(token,&next_token); in RenderMVGContent()
2601 if (token == next_token) in RenderMVGContent()
2606 affine.tx=StringToDouble(token,&next_token); in RenderMVGContent()
[all …]
/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
Dtest-recognizers.rb21 def next_token method in TestTokenSource.TestSource
/external/python/google-api-python-client/samples/audit/
Daudit.py66 next_token = match.group(0)
72 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.c390 *next_token, in GetUserSpaceCoordinateValue() local
403 value=StringToDouble(token,&next_token); in GetUserSpaceCoordinateValue()
1239 *next_token, in SVGStartElement() local
1879 affine.rx=StringToDouble(token,&next_token); in SVGStartElement()
1883 affine.ry=StringToDouble(token,&next_token); in SVGStartElement()
1887 affine.sy=StringToDouble(token,&next_token); in SVGStartElement()
1891 affine.tx=StringToDouble(token,&next_token); in SVGStartElement()
1895 affine.ty=StringToDouble(token,&next_token); in SVGStartElement()
2277 affine.rx=StringToDouble(token,&next_token); in SVGStartElement()
2281 affine.ry=StringToDouble(token,&next_token); in SVGStartElement()
[all …]
/external/chromium-trace/catapult/common/py_utils/py_utils/refactor/
Doffset_token.py69 for prev_token, next_token in _Pairwise(tokenize_tokens):
70 token_type, string, (srow, scol), _, _ = next_token
/external/antlr/runtime/Perl5/examples/zero-one/
Dt.pl16 my $token = $lexer->next_token();
Dt-error.pl16 my $token = eval { $lexer->next_token(); };
/external/antlr/runtime/Perl5/examples/id/
Did.pl16 my $token = $lexer->next_token();
/external/antlr/runtime/Ruby/lib/antlr3/modes/
Dfilter.rb19 def next_token method
/external/antlr/runtime/Perl5/lib/ANTLR/Runtime/
DCommonTokenStream.pm78 my $t = $self->token_source->next_token();
101 $t = $self->token_source->next_token();

12