/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
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/numerics/rand/rand.device/ |
ctor.pass.cpp | 15 // explicit random_device(const string& token = implementation-defined); 18 // value of the token parameter are implementation-defined". Implementations 31 bool is_valid_random_device(const std::string &token) { 34 return token == "/dev/urandom" || token == "/dev/random"; 36 return token == "/dev/urandom"; 40 void check_random_device_valid(const std::string &token) { 41 std::random_device r(token); 44 void check_random_device_invalid(const std::string &token) { 46 std::random_device r(token); 58 std::string token = "wrong file"; local 62 std::string token = "\/dev\/urandom"; local 69 std::string token = "\/dev\/random"; local [all...] |
/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/glsl/glcpp/tests/ |
097-paste-with-non-function-macro.c | 1 #define PASTE_MACRO 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 32 bool is_valid_random_device(const std::string &token) { 35 return token == "/dev/urandom" || token == "/dev/random"; 37 return token == "/dev/urandom"; 41 void check_random_device_valid(const std::string &token) { 42 std::random_device r(token); 45 void check_random_device_invalid(const std::string &token) { 48 std::random_device r(token); 63 std::string token = "wrong file"; local 67 std::string token = "\/dev\/urandom"; local 74 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...] |
/external/swiftshader/src/OpenGL/compiler/preprocessor/ |
DirectiveParser.h | 38 virtual void lex(Token* token); 43 void parseDirective(Token* token); 44 void parseDefine(Token* token); 45 void parseUndef(Token* token); 46 void parseIf(Token* token); [all...] |
DirectiveParser.cpp | 25 #include "Token.h" 48 static DirectiveType getDirective(const pp::Token* token) 64 if (token->type != pp::Token::IDENTIFIER) 67 if (token->text == kDirectiveDefine) 69 else if (token->text == kDirectiveUndef) 71 else if (token->text == kDirectiveIf) 73 else if (token->text == kDirectiveIfdef) 75 else if (token->text == kDirectiveIfndef 518 stream << *token; local [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...] |
/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...] |
/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...] |
/system/tools/hidl/ |
hidl-gen_l.ll | 54 using token = yy::parser::token; 61 return token::TYPE; \ 91 "enum" { return token::ENUM; } 92 "extends" { return token::EXTENDS; } 93 "generates" { return token::GENERATES; } 94 "import" { return token::IMPORT; } 95 "interface" { return token::INTERFACE; } 96 "package" { return token::PACKAGE; } 97 "struct" { return token::STRUCT; [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/sorcerer/lib/ |
CASTBase.h | 42 int token;
member in struct:_nodebase
|
/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";
|