HomeSort by relevance Sort by last modified time
    Searched refs:token (Results 1 - 25 of 2084) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /cts/tools/dasm/src/java_cup/runtime/
token.java 13 public class token extends symbol { class in inherits:symbol
16 public token(int term_num) method in class:token
  /frameworks/base/core/java/android/content/pm/
KeySet.java 24 private Binder token; field in class:KeySet
27 public KeySet(Binder token) {
28 this.token = token;
32 return token;
  /external/antlr/antlr-3.4/runtime/Python/tests/
t004lexer.py 27 token = lexer.nextToken()
28 assert token.type == self.lexerModule.FOO
29 assert token.start == 0, token.start
30 assert token.stop == 0, token.stop
31 assert token.text == 'f', token.text
33 token = lexer.nextToken()
34 assert token.type == self.lexerModule.FO
    [all...]
t010lexer.py 27 token = lexer.nextToken()
28 assert token.type == self.lexerModule.IDENTIFIER
29 assert token.start == 0, token.start
30 assert token.stop == 5, token.stop
31 assert token.text == 'foobar', token.text
33 token = lexer.nextToken()
34 assert token.type == self.lexerModule.W
    [all...]
t011lexer.py 27 token = lexer.nextToken()
28 assert token.type == self.lexerModule.IDENTIFIER
29 assert token.start == 0, token.start
30 assert token.stop == 5, token.stop
31 assert token.text == 'foobar', token.text
33 token = lexer.nextToken()
34 assert token.type == self.lexerModule.W
    [all...]
t008lexer.py 27 token = lexer.nextToken()
28 assert token.type == self.lexerModule.FOO
29 assert token.start == 0, token.start
30 assert token.stop == 0, token.stop
31 assert token.text == 'f', token.text
33 token = lexer.nextToken()
34 assert token.type == self.lexerModule.FO
    [all...]
t009lexer.py 27 token = lexer.nextToken()
28 assert token.type == self.lexerModule.DIGIT
29 assert token.start == 0, token.start
30 assert token.stop == 0, token.stop
31 assert token.text == '0', token.text
33 token = lexer.nextToken()
34 assert token.type == self.lexerModule.DIGI
    [all...]
  /external/chromium_org/third_party/angle_dx11/tests/preprocessor_tests/
token_test.cpp 9 #include "Token.h"
13 pp::Token token; local
14 EXPECT_EQ(0, token.type);
15 EXPECT_EQ(0, token.flags);
16 EXPECT_EQ(0, token.location.line);
17 EXPECT_EQ(0, token.location.file);
18 EXPECT_EQ("", token.text);
23 pp::Token token; local
40 pp::Token token; local
68 pp::Token token; local
78 pp::Token token; local
81 out1 << token; local
87 out2 << token; local
    [all...]
  /external/chromium_org/third_party/mesa/src/src/glsl/glcpp/tests/
097-paste-with-non-function-macro.c 1 #define PASTE_MACRO one ## token
040-token-pasting.c 2 paste(one , token)
  /external/mesa3d/src/glsl/glcpp/tests/
097-paste-with-non-function-macro.c 1 #define PASTE_MACRO one ## token
040-token-pasting.c 2 paste(one , token)
  /external/antlr/antlr-3.4/runtime/C/src/
antlr3commontoken.c 2 * Contains the default implementation of the common token used within
38 /* Token API
40 static pANTLR3_STRING getText (pANTLR3_COMMON_TOKEN token);
41 static void setText (pANTLR3_COMMON_TOKEN token, pANTLR3_STRING text);
42 static void setText8 (pANTLR3_COMMON_TOKEN token, pANTLR3_UINT8 text);
43 static ANTLR3_UINT32 getType (pANTLR3_COMMON_TOKEN token);
44 static void setType (pANTLR3_COMMON_TOKEN token, ANTLR3_UINT32 type);
45 static ANTLR3_UINT32 getLine (pANTLR3_COMMON_TOKEN token);
46 static void setLine (pANTLR3_COMMON_TOKEN token, ANTLR3_UINT32 line);
47 static ANTLR3_INT32 getCharPositionInLine (pANTLR3_COMMON_TOKEN token);
75 pANTLR3_COMMON_TOKEN token; local
193 pANTLR3_COMMON_TOKEN token; local
247 ANTLR3_UINT32 token; local
306 pANTLR3_COMMON_TOKEN token; local
    [all...]
  /external/jsilver/src/com/google/clearsilver/jsilver/syntax/parser/
ParserException.java 10 Token token; field in class:ParserException
12 public ParserException(@SuppressWarnings("hiding") Token token, String message)
15 this.token = token;
18 public Token getToken()
20 return this.token;
  /external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/
tokenutil.py 17 """Token utility functions."""
32 def GetFirstTokenInSameLine(token):
33 """Returns the first token in the same line as token.
36 token: Any token in the line.
39 The first token in the same line as token.
41 while not token.IsFirstInLine():
42 token = token.previou
    [all...]
  /external/chromium_org/third_party/closure_linter/closure_linter/
tokenutil.py 17 """Token utility functions."""
32 def GetFirstTokenInSameLine(token):
33 """Returns the first token in the same line as token.
36 token: Any token in the line.
39 The first token in the same line as token.
41 while not token.IsFirstInLine():
42 token = token.previou
    [all...]
  /external/chromium_org/third_party/WebKit/Source/web/tests/
WebUserGestureTokenTest.cpp 47 WebUserGestureToken token; local
48 EXPECT_FALSE(token.hasGestures());
51 WebScopedUserGesture indicator(token);
58 token = WebUserGestureIndicator::currentUserGestureToken();
61 EXPECT_TRUE(token.hasGestures());
65 WebScopedUserGesture indicator(token);
71 EXPECT_FALSE(token.hasGestures());
74 WebScopedUserGesture indicator(token);
  /external/chromium_org/third_party/angle_dx11/src/compiler/preprocessor/
DirectiveParser.h 30 virtual void lex(Token* token);
35 void parseDirective(Token* token);
36 void parseDefine(Token* token);
37 void parseUndef(Token* token);
38 void parseIf(Token* token);
    [all...]
DirectiveParser.cpp 17 #include "Token.h"
40 static DirectiveType getDirective(const pp::Token* token)
56 if (token->type != pp::Token::IDENTIFIER)
59 if (token->text == kDirectiveDefine)
61 else if (token->text == kDirectiveUndef)
63 else if (token->text == kDirectiveIf)
65 else if (token->text == kDirectiveIfdef)
67 else if (token->text == kDirectiveIfndef
567 stream << *token; local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/parser/
HTMLTreeBuilder.cpp 155 explicit CharacterTokenBuffer(AtomicHTMLToken* token)
156 : m_characters(token->characters().impl())
158 , m_end(token->characters().length())
369 void HTMLTreeBuilder::constructTree(AtomicHTMLToken* token)
371 if (shouldProcessTokenInForeignContent(token))
372 processTokenInForeignContent(token);
374 processToken(token);
390 void HTMLTreeBuilder::processToken(AtomicHTMLToken* token)
392 switch (token->type()) {
398 processDoctypeToken(token);
    [all...]
  /external/chromium_org/cloud_print/gcp20/prototype/
x_privet_token_unittest.cc 34 std::string token = base64_val + ":" + issue_time_str; local
36 ASSERT_EQ(token, xtoken.GenerateXTokenWithTime(issue_time));
46 std::string token = xtoken.GenerateXTokenWithTime(gen_time.ToTimeT()); local
47 EXPECT_TRUE(xtoken.CheckValidXToken(token));
49 token = xtoken.GenerateXTokenWithTime(gen_time.ToTimeT() + 1);
50 EXPECT_TRUE(xtoken.CheckValidXToken(token));
52 token = xtoken.GenerateXTokenWithTime(gen_time.ToTimeT() + 55);
53 EXPECT_TRUE(xtoken.CheckValidXToken(token));
55 token = xtoken.GenerateXTokenWithTime(gen_time.ToTimeT() + 60*60 - 5);
56 EXPECT_TRUE(xtoken.CheckValidXToken(token));
71 std::string token = "CEEA1AD9CEEA1AD9CEEA1AD9CEEA1AD"; local
    [all...]
  /external/antlr/antlr-3.4/runtime/Ruby/test/functional/lexer/
basic.rb 20 token = lexer.next_token
21 token.name.should == 'ZERO'
23 token = lexer.next_token
24 token.name.should == '<EOF>'
30 token_types = lexer.map { |token| token.name }
34 example "mismatched token" do
38 token = lexer.next_token
62 token = lexer.next_token
63 token.name.should == 'ZERO
    [all...]
  /cts/tools/dasm/src/dasm/
ReservedWords.java 21 import java_cup.runtime.token;
24 static Hashtable<String, token> reserved_words;
26 public static token get(String name) {
27 return (token) reserved_words.get(name);
35 reserved_words = new Hashtable<String, token>();
38 reserved_words.put(".annotation", new token(sym.DANNOTATION));
39 reserved_words.put(".attribute", new token(sym.DATTRIBUTE));
40 reserved_words.put(".bytecode", new token(sym.DBYTECODE));
41 reserved_words.put(".catch", new token(sym.DCATCH));
42 reserved_words.put(".class", new token(sym.DCLASS))
    [all...]
  /external/srec/tools/cmd/
srecres2utd.pl 51 if(defined %token) {
52 process(\%token, \%results);
53 dump_record($hUTD, \%token);
57 undef %token;
58 $token{file} = $file;
60 $token{gender} = $gender{$1};
61 $token{"snr"} = get_snr($file) if($additional_fieldh{"snr"});
62 $token{"snrr"} = sprintf("%.2d",int(get_snr($file)/5+0.5)*5) if($additional_fieldh{"snrr"});
64 $token{ortho} = normalize($1);
68 $token{parsed_ortho} = $augval
    [all...]
  /external/antlr/antlr-3.4/runtime/Perl5/examples/id/
id.pl 16 my $token = $lexer->next_token();
17 last if $token->get_type() == IDLexer->EOF;
19 print "text: ", $token->get_text(), "\n";
20 print "type: ", $token->get_type(), "\n";
21 print "pos: ", $token->get_line(), ':', $token->get_char_position_in_line(), "\n";
22 print "channel: ", $token->get_channel(), "\n";
23 print "token index: ", $token->get_token_index(), "\n";

Completed in 553 milliseconds

1 2 3 4 5 6 7 8 91011>>