HomeSort by relevance Sort by last modified time
    Searched refs:token (Results 1 - 25 of 4235) 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...]
  /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/compiler/glsl/glcpp/tests/
097-paste-with-non-function-macro.c 1 #define PASTE_MACRO one ## token
  /external/turbine/java/com/google/turbine/parse/
SavedToken.java 20 final Token token; field in class:SavedToken
24 SavedToken(Token token, String value, int position) {
25 this.token = token;
32 switch (token) {
40 return String.format("%s(%s)", token.name(), value);
44 return token.name();
  /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 22 // explicit random_device(const string& token = implementation-defined);
25 // value of the token parameter are implementation-defined". Implementations
40 bool is_valid_random_device(const std::string &token) {
43 return token == "/dev/urandom" || token == "/dev/random";
45 return token == "/dev/urandom";
49 void check_random_device_valid(const std::string &token) {
50 std::random_device r(token);
53 void check_random_device_invalid(const std::string &token) {
56 std::random_device r(token);
71 std::string token = "wrong file"; local
75 std::string token = "\/dev\/urandom"; local
82 std::string token = "\/dev\/random"; local
    [all...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/numerics/rand/rand.device/
ctor.pass.cpp 22 // explicit random_device(const string& token = implementation-defined);
25 // value of the token parameter are implementation-defined". Implementations
40 bool is_valid_random_device(const std::string &token) {
43 return token == "/dev/urandom" || token == "/dev/random";
45 return token == "/dev/urandom";
49 void check_random_device_valid(const std::string &token) {
50 std::random_device r(token);
53 void check_random_device_invalid(const std::string &token) {
56 std::random_device r(token);
71 std::string token = "wrong file"; local
75 std::string token = "\/dev\/urandom"; local
82 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...]
  /hardware/interfaces/radio/1.0/vts/functional/
sap_callback.cpp 21 Return<void> SapCallback::connectResponse(int32_t token, SapConnectRsp /*sapConnectRsp*/,
23 sapResponseToken = token;
24 parent.notify(token);
28 Return<void> SapCallback::disconnectResponse(int32_t token) {
29 sapResponseToken = token;
30 parent.notify(token);
34 Return<void> SapCallback::disconnectIndication(int32_t /*token*/,
39 Return<void> SapCallback::apduResponse(int32_t token, SapResultCode resultCode,
41 sapResponseToken = token;
43 parent.notify(token);
    [all...]
  /external/swiftshader/src/OpenGL/compiler/preprocessor/
DirectiveParser.cpp 26 #include "Token.h"
49 static DirectiveType getDirective(const pp::Token *token)
65 if (token->type != pp::Token::IDENTIFIER)
68 if (token->text == kDirectiveDefine)
70 else if (token->text == kDirectiveUndef)
72 else if (token->text == kDirectiveIf)
74 else if (token->text == kDirectiveIfdef)
76 else if (token->text == kDirectiveIfndef
609 stream << *token; local
    [all...]
DirectiveParser.h 40 void lex(Token *token) override;
45 void parseDirective(Token *token);
46 void parseDefine(Token *token);
47 void parseUndef(Token *token);
48 void parseIf(Token *token);
    [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);
  /system/libhidl/transport/token/1.0/
ITokenManager.hal 17 package android.hidl.token@1.0;
27 * to the interface until the token is destroyed by calling unregister.
29 * Must return empty token on failure.
31 * @param store Interface which can later be fetched with the returned token.
32 * @return token Opaque value which may be used as inputs to other functions.
34 createToken(interface store) generates (vec<uint8_t>token);
37 * Destory a token and the strong reference to the associated interface.
39 * @param token Token received from createToken
40 * @return success Whether or not the token was successfully unregistered
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/wm/
WindowTokenTests.java 51 final WindowTestUtils.TestWindowToken token = local
54 assertEquals(0, token.getWindowsCount());
56 final WindowState window1 = createWindow(null, TYPE_APPLICATION, token, "window1");
57 final WindowState window11 = createWindow(window1, FIRST_SUB_WINDOW, token, "window11");
58 final WindowState window12 = createWindow(window1, FIRST_SUB_WINDOW, token, "window12");
59 final WindowState window2 = createWindow(null, TYPE_APPLICATION, token, "window2");
60 final WindowState window3 = createWindow(null, TYPE_APPLICATION, token, "window3");
62 token.addWindow(window1);
63 // NOTE: Child windows will not be added to the token as window containers can only
65 token.addWindow(window11)
82 final WindowTestUtils.TestWindowToken token = WindowTestUtils.createTestWindowToken(0, dc); local
105 final WindowTestUtils.TestWindowToken token = WindowTestUtils.createTestWindowToken( local
    [all...]
  /external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/
TokenTextElement.java 29 private final JavaToken token; field in class:TokenTextElement
31 TokenTextElement(JavaToken token) {
32 this.token = token;
45 return token.getText();
50 return token.getText();
54 return token.getKind();
58 return token;
68 return token.equals(that.token);
    [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...]
  /hardware/interfaces/radio/1.0/
ISapCallback.hal 23 * @param token Id to match req-resp. Value must match the one in req.
28 oneway connectResponse(int32_t token, SapConnectRsp sapConnectRsp, int32_t maxMsgSize);
33 * @param token Id to match req-resp. Value must match the one in req.
35 oneway disconnectResponse(int32_t token);
40 * @param token Id to match req-resp. Value must match the one in req.
43 oneway disconnectIndication(int32_t token, SapDisconnectType disconnectType);
48 * @param token Id to match req-resp. Value must match the one in req.
59 oneway apduResponse(int32_t token,
66 * @param token Id to match req-resp. Value must match the one in req.
77 oneway transferAtrResponse(int32_t token, SapResultCode resultCode, vec<uint8_t> atr)
    [all...]

Completed in 1077 milliseconds

1 2 3 4 5 6 7 8 91011>>