Searched refs:tokens (Results 176 - 200 of 796) sorted by relevance

1234567891011>>

/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/model/
H A DTestSuite.java38 protected CommonTokenStream tokens; field in class:TestSuite
84 public CommonTokenStream getTokens() { return tokens; }
86 public void setTokens(CommonTokenStream ts) { tokens = ts; }
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/token-rewrite/
H A Dvia-parser.rb92 tokens = ANTLR3::TokenRewriteStream.new( lexer )
93 parser = TokenRewrites::Parser.new( tokens )
96 tokens.render.strip.should == expected_output
/external/deqp/framework/randomshaders/
H A DrsgPrettyPrinter.cpp129 void PrettyPrinter::append (const TokenStream& tokens) argument
131 for (int ndx = 0; ndx < tokens.getSize(); ndx++)
132 processToken(tokens[ndx]);
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_state_gs.c56 tgsi_dump(templ->tokens, 0);
60 state->no_tokens = !templ->tokens;
63 if (templ->tokens) {
/external/nist-sip/java/gov/nist/javax/sip/header/
H A DUserAgent.java50 /** Product tokens.
60 StringBuffer tokens = new StringBuffer();
64 tokens.append((String) it.next());
67 return tokens.toString();
/external/google-breakpad/src/processor/
H A Dbasic_source_line_resolver.cc470 vector<char*> tokens; local
471 if (!Tokenize(file_line, kWhitespace, 2, &tokens)) {
476 *index = strtol(tokens[0], &after_number, 10);
482 *filename = tokens[1];
498 vector<char*> tokens; local
499 if (!Tokenize(function_line, kWhitespace, 4, &tokens)) {
504 *address = strtoull(tokens[0], &after_number, 16);
509 *size = strtoull(tokens[1], &after_number, 16);
514 *stack_param_size = strtol(tokens[2], &after_number, 16);
520 *name = tokens[
530 vector<char*> tokens; local
579 vector<char*> tokens; local
[all...]
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
H A Dstreams.rb72 parsers with the means to sequential walk through series of tokens.
79 In a similar fashion to CommonTokenStream, CommonTreeNodeStream feeds tokens
82 the two-dimensional shape of the tree using special UP and DOWN tokens. The
99 is the <i>integer token type of the token</i> <tt>k</tt> tokens ahead of the
108 <b>TokenStreams</b>, this is the <i>full token structure</i> <tt>k</tt> tokens
282 sequence of tokens. Unlike simple character-based streams, such as StringStream,
287 <i>channel</i> feature, which allows you to hold on to all tokens of interest
288 while only presenting a specific set of interesting tokens to a parser. For
291 whitespace to channel value HIDDEN as it creates the tokens.
295 yield tokens tha
1044 def tokens( start = nil, stop = nil ) method in class:ANTLR3.that.CommonTokenStream
[all...]
/external/toybox/toys/pending/
H A Dcrontab.c121 char *name, *val, *tokens[5] = {0,}, *ptr = line; local
136 tokens[count++] = ptr;
143 name = tokens[0];
151 name = tokens[0];
154 val = tokens[1];
156 if (*(tokens[1]) != '=') {
160 val = tokens[1] + 1;
168 name = tokens[0];
169 val = tokens[2];
170 if (*(tokens[
[all...]
/external/tensorflow/tensorflow/contrib/text/python/ops/
H A Dskip_gram_ops_test.py40 tokens = [x[0] for x in output]
42 return tokens, labels
48 tokens, labels = text.skip_gram_sample(
67 self.assertAllEqual(expected_tokens, tokens.eval())
74 tokens, labels = text.skip_gram_sample(
98 self.assertAllEqual(expected_tokens, tokens.eval())
106 tokens, labels = text.skip_gram_sample(
109 self.assertEqual(0, tokens.eval().size)
113 tokens, labels = text.skip_gram_sample(
121 self.assertAllEqual(expected_tokens, tokens
[all...]
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
H A DCommonTreeNodeStream.java45 protected TokenStream tokens; field in class:CommonTreeNodeStream
108 public TokenStream getTokenStream() { return tokens; }
110 public void setTokenStream(TokenStream tokens) { this.tokens = tokens; } argument
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/util/
H A DPortParser.java50 String[] tokens = parameter.split("\\" + delimiter);
52 if (tokens.length < 4) {
56 int port = Integer.parseInt(tokens[3]);
60 host = InetAddress.getByName(tokens[2]);
63 throw new CommandSyntaxException("Error parsing host [" + tokens[2] + "]", e);
/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/core/util/
H A DPortParser.java50 String[] tokens = parameter.split("\\" + delimiter);
52 if (tokens.length < 4) {
56 int port = Integer.parseInt(tokens[3]);
60 host = InetAddress.getByName(tokens[2]);
63 throw new CommandSyntaxException("Error parsing host [" + tokens[2] + "]", e);
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/core/util/
H A DPortParser.java50 String[] tokens = parameter.split("\\" + delimiter);
52 if (tokens.length < 4) {
56 int port = Integer.parseInt(tokens[3]);
60 host = InetAddress.getByName(tokens[2]);
63 throw new CommandSyntaxException("Error parsing host [" + tokens[2] + "]", e);
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/core/util/
H A DPortParser.java50 String[] tokens = parameter.split("\\" + delimiter);
52 if (tokens.length < 4) {
56 int port = Integer.parseInt(tokens[3]);
60 host = InetAddress.getByName(tokens[2]);
63 throw new CommandSyntaxException("Error parsing host [" + tokens[2] + "]", e);
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/core/util/
H A DPortParser.java50 String[] tokens = parameter.split("\\" + delimiter);
52 if (tokens.length < 4) {
56 int port = Integer.parseInt(tokens[3]);
60 host = InetAddress.getByName(tokens[2]);
63 throw new CommandSyntaxException("Error parsing host [" + tokens[2] + "]", e);
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/core/util/
H A DPortParser.java50 String[] tokens = parameter.split("\\" + delimiter);
52 if (tokens.length < 4) {
56 int port = Integer.parseInt(tokens[3]);
60 host = InetAddress.getByName(tokens[2]);
63 throw new CommandSyntaxException("Error parsing host [" + tokens[2] + "]", e);
/external/antlr/antlr-3.4/runtime/Python/unittests/
H A Dtesttreewizard.py138 self.tokens = [
141 self.wizard = TreeWizard(self.adaptor, tokenNames=self.tokens)
240 self.tokens = [
265 tokenNames=self.tokens
284 wiz = TreeWizard(self.adaptor, self.tokens)
292 wiz = TreeWizard(self.adaptor, self.tokens)
300 wiz = TreeWizard(self.adaptor, self.tokens)
308 wiz = TreeWizard(self.adaptor, self.tokens)
316 wiz = TreeWizard(self.adaptor, self.tokens)
324 wiz = TreeWizard(self.adaptor, self.tokens)
[all...]
/external/autotest/client/site_tests/platform_Perf/
H A Dplatform_Perf.py97 tokens = line.split()
98 if len(tokens) < 2:
101 dso_name = tokens[1]
113 tokens = line.split()
114 if len(tokens) < 2:
119 dso_to_build_ids[os.path.basename(tokens[1])] = tokens[0]
/external/owasp/sanitizer/src/tests/org/owasp/html/
H A DCssTokensTest.java46 CssTokens tokens = CssTokens.lex(s);
50 tokens.normalizedCss,
51 CssTokens.lex(tokens.normalizedCss).normalizedCss);
52 return tokens;
57 CssTokens tokens = lex("([foo[[||]])");
58 assertEquals("([foo[[||]]])", tokens.normalizedCss);
63 for (CssTokens.TokenIterator it = tokens.iterator(); it.hasNext();) {
65 partners.add(tokens.brackets.partner(it.tokenIndex()));
118 CssTokens tokens = lex(input);
119 assertEquals(input, golden != null ? golden : "", tokens
[all...]
/external/mesa3d/src/mesa/state_tracker/
H A Dst_program.c78 if (((vpv->tgsi.type == PIPE_SHADER_IR_TGSI)) && vpv->tgsi.tokens)
79 ureg_free_tokens(vpv->tgsi.tokens);
103 if ((stvp->tgsi.type == PIPE_SHADER_IR_TGSI) && stvp->tgsi.tokens) {
104 tgsi_free_tokens(stvp->tgsi.tokens);
105 stvp->tgsi.tokens = NULL;
140 if ((stfp->tgsi.type == PIPE_SHADER_IR_TGSI) && stfp->tgsi.tokens) {
141 ureg_free_tokens(stfp->tgsi.tokens);
142 stfp->tgsi.tokens = NULL;
196 if (tgsi->tokens) {
197 ureg_free_tokens(tgsi->tokens);
503 const struct tgsi_token *tokens; local
1036 const struct tgsi_token *tokens = st_fixup_atifs(tgsi.tokens, key); local
1046 const struct tgsi_token *tokens; local
1063 const struct tgsi_token *tokens; local
1084 const struct tgsi_token *tokens; local
1121 const struct tgsi_token *tokens; local
[all...]
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_simple_shaders.c124 struct tgsi_token tokens[1000]; local
127 if (!tgsi_text_translate(text, tokens, ARRAY_SIZE(tokens))) {
131 pipe_shader_state_from_tgsi(&state, tokens);
153 struct tgsi_token tokens[1000]; local
156 if (!tgsi_text_translate(text, tokens, ARRAY_SIZE(tokens))) {
160 pipe_shader_state_from_tgsi(&state, tokens);
197 struct tgsi_token tokens[1000]; local
200 if (!tgsi_text_translate(text, tokens, ARRAY_SIZ
500 struct tgsi_token tokens[1000]; local
593 struct tgsi_token tokens[1000]; local
711 struct tgsi_token tokens[1000]; local
[all...]
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/tree-parser/
H A Dbasic.rb33 tokens = ANTLR3::CommonTokenStream.new( lexer )
34 parser = FlatList::Parser.new( tokens )
38 nodes.token_stream = tokens
69 tokens = ANTLR3::CommonTokenStream.new( lexer )
70 parser = SimpleTree::Parser.new( tokens )
74 nodes.token_stream = tokens
108 tokens = ANTLR3::CommonTokenStream.new( lexer )
109 parser = FlatVsTreeDecision::Parser.new( tokens )
113 nodes.token_stream = tokens
146 tokens
[all...]
/external/webrtc/webrtc/base/
H A Dlinux.cc215 std::vector<std::string> tokens; local
216 if (2 != split(line, ':', &tokens)) {
220 size_t pos = tokens[0].length() - 1;
221 while ((pos > 0) && isspace(tokens[0][pos])) {
224 tokens[0].erase(pos + 1);
227 while (pos < tokens[1].length() && isspace(tokens[1][pos])) {
230 tokens[1].erase(0, pos);
231 *key = tokens[0];
232 *value = tokens[
[all...]
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/scanner/
H A DScannerImpl.java31 import org.yaml.snakeyaml.tokens.AliasToken;
32 import org.yaml.snakeyaml.tokens.AnchorToken;
33 import org.yaml.snakeyaml.tokens.BlockEndToken;
34 import org.yaml.snakeyaml.tokens.BlockEntryToken;
35 import org.yaml.snakeyaml.tokens.BlockMappingStartToken;
36 import org.yaml.snakeyaml.tokens.BlockSequenceStartToken;
37 import org.yaml.snakeyaml.tokens.DirectiveToken;
38 import org.yaml.snakeyaml.tokens.DocumentEndToken;
39 import org.yaml.snakeyaml.tokens.DocumentStartToken;
40 import org.yaml.snakeyaml.tokens
166 private List<Token> tokens; field in class:ScannerImpl
[all...]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
H A DMachineProbe.java102 List<String> tokens = new ArrayList<String>();
104 tokens.add(label.toString(g));
105 return tokens.toString();
110 * tokens (from grammar) associated with path through NFA following the
117 List<Token> tokens = new ArrayList<Token>();
137 tokens.add(token);
145 return tokens;

Completed in 2726 milliseconds

1234567891011>>