Searched refs:tokens (Results 226 - 250 of 796) sorted by relevance

1234567891011>>

/external/skia/bin/
H A Dcompare27 tokens = line.split() variable
28 if tokens[0] != "Samples:":
30 samples = tokens[1:-1]
31 label = tokens[-1]
/external/skqp/bin/
H A Dcompare27 tokens = line.split() variable
28 if tokens[0] != "Samples:":
30 samples = tokens[1:-1]
31 label = tokens[-1]
/external/smali/smali/src/main/java/org/jf/smali/
H A DSmaliTestUtils.java58 CommonTokenStream tokens;
65 tokens = new CommonTokenStream((TokenSource)lexer);
67 smaliParser parser = new smaliParser(tokens);
81 treeStream.setTokenStream(tokens);
/external/trappy/tests/trappy/stats/
H A Dgrammar.py32 def parse_num(tokens):
35 :param tokens: The grammar tokens
36 :type tokens: list
38 return float(tokens[0])
96 def eval_unary_op(tokens):
99 :param tokens: The grammar tokens
100 :type tokens: list
103 params = tokens[
[all...]
/external/trappy/trappy/stats/
H A Dgrammar.py32 def parse_num(tokens):
35 :param tokens: The grammar tokens
36 :type tokens: list
38 return float(tokens[0])
96 def eval_unary_op(tokens):
99 :param tokens: The grammar tokens
100 :type tokens: list
103 params = tokens[
[all...]
/external/antlr/antlr-3.4/runtime/Ruby/test/unit/
H A Dtest-streams.rb245 attr_accessor :tokens
247 @tokens = []
250 @tokens.shift
264 @source2.tokens << new_token( 10, :channel => ANTLR3::HIDDEN ) << new_token( 11 )
268 @stream.tokens.length.should == 0
273 @stream.tokens.should have( 2 ).things
284 @source.tokens << new_token(12)
292 @source.tokens << new_token(12, :channel => ANTLR3::HIDDEN_CHANNEL) <<
300 @source.tokens << new_token(12) <<
309 @source.tokens << new_toke
[all...]
/external/mesa3d/src/gallium/drivers/r300/
H A Dr300_vs_draw.c318 const uint newLen = tgsi_num_tokens(vs->state.tokens) + 100 /* XXX */;
321 tgsi_scan_shader(vs->state.tokens, &info);
323 new_vs.tokens = tgsi_alloc_tokens(newLen);
324 if (new_vs.tokens == NULL)
351 tgsi_transform_shader(vs->state.tokens,
352 (struct tgsi_token*)new_vs.tokens,
357 tgsi_dump(vs->state.tokens, 0);
359 tgsi_dump(new_vs.tokens, 0);
363 /* Free old tokens. */
364 FREE((void*)vs->state.tokens);
[all...]
/external/owasp/sanitizer/src/tests/org/owasp/html/
H A DCssFuzzerTest.java117 CssTokens tokens = CssTokens.lex(randomCss);
120 String renormalized = CssTokens.lex(tokens.normalizedCss).normalizedCss;
121 if (!renormalized.equals(tokens.normalizedCss)) {
122 if (!renormalized.equals(fixDigitSpaceUnit(tokens))) {
123 for (CssTokens.TokenIterator it = tokens.iterator(); it.hasNext();
129 tokens.normalizedCss,
134 // Test normalized CSS does not contain HTML/XML breaking tokens.
138 tokens.normalizedCss.contains(disallowed));
141 // Test that tokens are roughly well-formed.
143 for (CssTokens.TokenIterator it = tokens
255 fixDigitSpaceUnit(CssTokens tokens) argument
[all...]
H A DCssGrammarTest.java43 CssTokens tokens = CssTokens.lex(Joiner.on('\n').join(
54 for (CssTokens.TokenIterator it = tokens.iterator(); it.hasNext();) {
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/runner/
H A DgUnitAdapter.java64 final CommonTokenStream tokens = new CommonTokenStream(lexer);
66 final gUnitParser parser = new gUnitParser(tokens, grammarInfo);
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/BuildOptions/
H A DDebugGrammar.g342 tokens
87 // START:tokens
100 // END:tokens
H A DProfileGrammar.g342 tokens
87 // START:tokens
100 // END:tokens
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/
H A DTestDotTreeGenerator.cs48 CommonTokenStream tokens = new CommonTokenStream( lexer );
49 SimpleExpressionParser parser = new SimpleExpressionParser( tokens );
/external/antlr/antlr-3.4/runtime/Perl5/examples/tweak/
H A DT.g3 * extra text into a stream of tokens and how to replace a token
42 $tokens->insert_after($lcurly, "\nint $id;");
/external/antlr/antlr-3.4/runtime/Python/antlr3/
H A Dstreams.py37 from antlr3.tokens import Token, CommonToken
246 @brief A stream of tokens accessing tokens from a TokenSource
258 i<0 indicates tokens in the past. So -1 is previous token and -2 is
259 two tokens ago. LT(0) is undefined. For i>=n, return Token.EOFToken.
280 If you don't want to buffer up tokens, then this method makes no
291 Where is this stream pulling tokens from? This is not the name, but
300 Return the text of all tokens from start to stop, inclusive.
301 If the stream does not buffer all the tokens then it can just
609 @brief The most common stream of tokens
[all...]
/external/antlr/antlr-3.4/runtime/Python/
H A Dmkdoxy.sh10 for f in __init__ exceptions constants dfa tokens streams recognizers; do
/external/autotest/server/site_tests/brillo_Invariants/
H A Dbrillo_Invariants.py37 tokens = self.host.run_output('ls -LZ %s' % path).split()
38 path_ctx = tokens[0]
/external/libnl/src/lib/
H A Droute.c97 static char *const tokens[] = { local
117 int ret = getsubopt(&subopts, tokens, &arg);
122 nl_cli_fatal(EINVAL, "Invalid metric \"%s\"", tokens[ret]);
125 nl_cli_fatal(EINVAL, "Metric \"%s\", no value given", tokens[ret]);
129 nl_cli_fatal(EINVAL, "Metric \"%s\", value not numeric", tokens[ret]);
145 static char *const tokens[] = { local
161 int ret = getsubopt(&subopts, tokens, &arg);
167 tokens[ret]);
/external/mesa3d/src/gallium/auxiliary/tgsi/
H A Dtgsi_iterate.c33 const struct tgsi_token *tokens,
38 if (tgsi_parse_init( &parse, tokens ) != TGSI_PARSE_OK)
32 tgsi_iterate_shader( const struct tgsi_token *tokens, struct tgsi_iterate_context *ctx ) argument
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
H A DDrawableResourceLoader.java54 String[] tokens = name.split("\\.9\\.png$");
55 shortName = tokens[0];
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/tokens/
H A DTagTokenTest.java16 package org.yaml.snakeyaml.tokens;
22 import org.yaml.snakeyaml.tokens.Token.ID;
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
H A DTokenRewriteStream.as38 * all the time. As the buffer of tokens is converted to strings, the
46 * index i does not change the index values for tokens i+1..n-1.
56 * var tokens:TokenRewriteStream = new TokenRewriteStream(lex);
57 * var parser:T = new T(tokens);
65 * trace(tokens.toString());
75 * tokens.insertAfter("pass1", t, "text to put after t");}
76 * tokens.insertAfter("pass2", u, "text after u");}
77 * trace(tokens.toString("pass1"));
78 * trace(tokens.toString("pass2"));
142 if ( fromIndex > toIndex || fromIndex<0 || toIndex<0 || toIndex >= tokens
[all...]
/external/deqp/framework/delibs/decpp/
H A DdeStringUtil.cpp87 //! Split a string into tokens. If `delim` is `'\0'`, separate by spans of
167 vector <string> tokens(splitString(" foo bar\n\tbaz "));
168 DE_TEST_ASSERT(tokens.size() == 3);
169 DE_TEST_ASSERT(tokens[0] == "foo");
170 DE_TEST_ASSERT(tokens[1] == "bar");
171 DE_TEST_ASSERT(tokens[2] == "baz");
/external/tensorflow/tensorflow/contrib/text/kernels/
H A Dskip_gram_kernels.cc71 std::vector<T> tokens; variable
90 tokens.push_back(input(i));
98 "tokens", TensorShape({static_cast<int>(tokens.size())}),
115 for (int i = 0; i < tokens.size(); ++i) {
116 tokens_output->vec<T>()(i) = tokens[i];
/external/tensorflow/tensorflow/core/kernels/
H A Dstring_split_op.cc79 std::vector<string> tokens; variable
80 // Guess that we'll be unpacking a handful of tokens per example.
82 tokens.reserve(batch_size * kReserveSize);
93 tokens.insert(tokens.end(), parts.begin(), parts.end());
115 sp_tokens(c) = tokens[c];

Completed in 1252 milliseconds

1234567891011>>