HomeSort by relevance Sort by last modified time
    Searched refs:token (Results 1 - 25 of 3001) 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
  /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...]
t005lexer.py 27 token = lexer.nextToken()
28 assert token.type == self.lexerModule.FOO
29 assert token.start == 0, token.start
30 assert token.stop == 1, token.stop
31 assert token.text == 'fo', token.text
33 token = lexer.nextToken()
34 assert token.type == self.lexerModule.FO
    [all...]
  /external/compiler-rt/lib/sanitizer_common/tests/
sanitizer_symbolizer_test.cc 21 char *token; local
24 rest = ExtractToken("a;b;c", ";", &token);
25 EXPECT_STREQ("a", token);
27 InternalFree(token);
29 rest = ExtractToken("aaa-bbb.ccc", ";.-*", &token);
30 EXPECT_STREQ("aaa", token);
32 InternalFree(token);
36 int token; local
37 const char *rest = ExtractInt("123,456;789", ";,", &token);
38 EXPECT_EQ(123, token);
43 uptr token; local
50 char *token; local
    [all...]
  /prebuilts/go/darwin-x86/src/go/types/
token_test.go 5 // This file checks invariants of token.Token ordering that we rely on
6 // since package go/token doesn't provide any guarantees at the moment.
11 "go/token"
15 var assignOps = map[token.Token]token.Token{
16 token.ADD_ASSIGN: token.ADD
    [all...]
  /prebuilts/go/linux-x86/src/go/types/
token_test.go 5 // This file checks invariants of token.Token ordering that we rely on
6 // since package go/token doesn't provide any guarantees at the moment.
11 "go/token"
15 var assignOps = map[token.Token]token.Token{
16 token.ADD_ASSIGN: token.ADD
    [all...]
  /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/libcxx/test/std/numerics/rand/rand.device/
ctor.pass.cpp 14 // explicit random_device(const string& token = implementation-defined);
17 // value of the token parameter are implementation-defined". Implementations
25 bool is_valid_random_device(const std::string &token) {
28 return token == "/dev/urandom" || token == "/dev/random";
30 return token == "/dev/urandom";
34 void check_random_device_valid(const std::string &token) {
35 std::random_device r(token);
38 void check_random_device_invalid(const std::string &token) {
40 std::random_device r(token);
61 std::string token = "wrong file"; local
69 std::string token = "\/dev\/urandom"; local
77 std::string token = "\/dev\/random"; local
    [all...]
  /external/autotest/client/site_tests/platform_Pkcs11Events/
platform_Pkcs11Events.py 14 # Setup some token directories.
18 for token in token_list:
19 shutil.rmtree(token, ignore_errors=True)
20 pkcs11.copytree_with_ownership(pkcs11.TMP_CHAPS_DIR, token)
22 # Setup a key on each token.
23 for token in token_list:
25 (token, token))
27 utils.system('chaps_client --unload --path=%s' % token)
30 for token in token_list
    [all...]
  /frameworks/base/media/java/android/media/tv/
ITvRemoteServiceInput.aidl 24 void openInputBridge(IBinder token, String name, int width, int height, int maxPointers);
25 void closeInputBridge(IBinder token);
26 void clearInputBridge(IBinder token);
27 void sendTimestamp(IBinder token, long timestamp);
28 void sendKeyDown(IBinder token, int keyCode);
29 void sendKeyUp(IBinder token, int keyCode);
30 void sendPointerDown(IBinder token, int pointerId, int x, int y);
31 void sendPointerUp(IBinder token, int pointerId);
32 void sendPointerSync(IBinder token);
  /external/chromium-trace/catapult/third_party/closure_linter/closure_linter/
tokenutil.py 17 """Token utility functions."""
33 def GetFirstTokenInSameLine(token):
34 """Returns the first token in the same line as token.
37 token: Any token in the line.
40 The first token in the same line as token.
42 while not token.IsFirstInLine():
43 token = token.previou
    [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/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";
  /frameworks/base/core/java/android/os/
IUpdateLock.aidl 25 void acquireUpdateLock(IBinder token, String tag);
26 void releaseUpdateLock(IBinder token);
  /external/doclava/src/com/google/doclava/apicheck/
ApiFile.java 73 String token = tokenizer.getToken(); local
74 if (token == null) {
77 if ("package".equals(token)) {
80 throw new ApiParseException("expected package got " + token, tokenizer.getLine());
92 String token; local
96 token = tokenizer.requireToken();
97 assertIdent(tokenizer, token);
98 name = token;
100 token = tokenizer.requireToken();
101 if (!"{".equals(token)) {
513 String token = tokenizer.requireToken(); local
602 final String token = getToken(parenIsSep); local
    [all...]
  /external/ImageMagick/MagickWand/tests/
Makefile 16 script-token-test: script-token-test.c ../script-token.[ch]
17 $(CC) -o script-token-test script-token-test.c
23 script-token-test.sh | diff script-token-test-results.txt -
  /external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/
OutputTest.java 30 import org.antlr.runtime.Token;
36 private final Token token; field in class:OutputTest
38 public OutputTest(Token token) {
39 this.token = token;
44 return token.getText();
49 return token.getType();
65 return token.getText()
    [all...]

Completed in 521 milliseconds

1 2 3 4 5 6 7 8 91011>>