/external/chromium_org/mojo/public/tools/bindings/generators/ |
mojom_js_generator.py | 188 def TranslateConstants(token): 189 if isinstance(token, (mojom.EnumValue, mojom.NamedValue)): 193 if token.imported_from: 194 name.append(token.imported_from["unique_name"]) 195 if token.parent_kind: 196 name.append(token.parent_kind.name) 197 if isinstance(token, mojom.EnumValue): 198 name.append(token.enum.name) 199 name.append(token.name) 202 if isinstance(token, mojom.BuiltinValue) [all...] |
/cts/tools/dasm/src/java_cup/ |
lexer.java | 6 import java_cup.runtime.token; 11 * number of the next token. Once end of input is reached the EOF token is 32 * next_token() to get each token) this class provides simple error and 298 protected static token do_code_string() throws java.io.IOException 320 /* advance past the closer and build a return token */ 332 protected static token do_id() throws java.io.IOException 358 return new token(keyword_num.intValue()); 360 /* otherwise build and return an id token with an attached string */ 366 /** Return one token. This is the main external interface to the scanner [all...] |
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3commontreenodestream.c | 247 stream->UP.token = inStream->UP.token; 248 inStream->UP.token->strFactory = stream->stringFactory; 249 stream->DOWN.token = inStream->DOWN.token; 250 inStream->DOWN.token->strFactory = stream->stringFactory; 251 stream->EOF_NODE.token = inStream->EOF_NODE.token; 252 inStream->EOF_NODE.token->strFactory = stream->stringFactory; 253 stream->INVALID_NODE.token = inStream->INVALID_NODE.token 273 pANTLR3_COMMON_TOKEN token; local 893 pANTLR3_COMMON_TOKEN token; local 907 pANTLR3_COMMON_TOKEN token; local [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
TokenWatcherTest.java | 114 IBinder token = mEmptyService.getToken(); local 121 mMockTokenWatcher.acquire(token, TAG); 126 mMockTokenWatcher.acquire(token, TAG); 132 mMockTokenWatcher.release(token); 138 mMockTokenWatcher.release(token); 144 IBinder token = mEmptyService.getToken(); local 151 mMockTokenWatcher.acquire(token, TAG); 156 mMockTokenWatcher.cleanup(token, true);
|
/cts/tests/tests/view/src/android/view/inputmethod/cts/ |
InputMethodManagerTest.java | 109 IBinder token = view.getWindowToken(); 113 assertTrue(imManager.hideSoftInputFromWindow(token, 0)); 119 assertTrue(imManager.hideSoftInputFromWindow(token, 0, receiver)); 121 imManager.showSoftInputFromInputMethod(token, InputMethodManager.SHOW_FORCED); 122 imManager.hideSoftInputFromInputMethod(token, InputMethodManager.HIDE_NOT_ALWAYS); 125 imManager.toggleSoftInputFromWindow(token, 0, InputMethodManager.HIDE_NOT_ALWAYS); 126 imManager.toggleSoftInputFromWindow(token, 0, InputMethodManager.HIDE_NOT_ALWAYS); 130 imManager.setInputMethod(token, enabledImList.get(0).getId());
|
/external/antlr/antlr-3.4/runtime/C/include/ |
antlr3commontree.h | 54 /// Start token index that encases this tree 58 /// End token that encases this tree 62 /// A single token, this is the payload for the tree 64 pANTLR3_COMMON_TOKEN token; member in struct:ANTLR3_COMMON_TREE_struct 77 /// token. This can be used by duplication methods and so on 122 /// The next token to throw out from the pool, will cause a new pool allocation 127 /// Trick to initialize tokens and their API quickly, we set up this token when the 128 /// factory is created, then just copy the memory it uses into the new token. 153 pANTLR3_BASE_TREE (*newFromToken) (struct ANTLR3_ARBORETUM_struct * factory, pANTLR3_COMMON_TOKEN token);
|
/external/antlr/antlr-3.4/runtime/Perl5/t/classes/Test/ANTLR/Runtime/ |
CommonToken.pm | 5 use ANTLR::Runtime::Token; 12 my $token = ANTLR::Runtime::CommonToken->new({ 19 is $token->get_start_index(), 0; 23 ok(ANTLR::Runtime::Token->EOF_TOKEN == ANTLR::Runtime::Token->EOF_TOKEN); 24 ok(ANTLR::Runtime::Token->SKIP_TOKEN == ANTLR::Runtime::Token->SKIP_TOKEN); 28 ok !(ANTLR::Runtime::Token->EOF_TOKEN != ANTLR::Runtime::Token->EOF_TOKEN); 29 ok !(ANTLR::Runtime::Token->SKIP_TOKEN != ANTLR::Runtime::Token->SKIP_TOKEN) [all...] |
/external/antlr/antlr-3.4/runtime/Python/tests/ |
t012lexerXML.py | 34 token = lexer.nextToken() 35 if token.type == self.lexerModule.EOF: 65 token = lexer.nextToken() 66 if token.type == antlr3.EOF: 89 token = lexer.nextToken() 90 if token.type == antlr3.EOF: 113 token = lexer.nextToken() 114 if token.type == antlr3.EOF: 173 ## token = lexer.nextToken() 174 ## if token.type == EOF [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/pkcs7/ |
AuthenticatedAttributesTest.java | 42 ContentInfo token = (ContentInfo) ContentInfo.ASN1.decode(in); local 43 SignedData sigData = token.getSignedData();
|
/external/bison/src/ |
InadequacyList.h | 64 /** The \c token passed to \c InadequacyList__new_conflict. */ 65 symbol *token; member in struct:__anon4995 88 * - \c token is a token. 101 * \c manifesting_state, the following actions are in conflict on \c token: 114 state *manifesting_state, symbol *token, bitset actions, 140 * - \c result = the token associated with contribution \c i in the
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
user_policy_token_loader.h | 22 // This is legacy-support code that reads the token from its prior location 23 // within the profile directory new code keeps the token in the policy blob 32 virtual void OnTokenLoaded(const std::string& token, 50 void NotifyOnOriginThread(const std::string& token,
|
/external/chromium_org/chrome/browser/supervised_user/ |
supervised_user_registration_utility_stub.cc | 34 const std::string& token) { 37 callback_.Run(GoogleServiceAuthError(GoogleServiceAuthError::NONE), token);
|
/external/chromium_org/jingle/notifier/listener/ |
fake_push_client.h | 30 const std::string& email, const std::string& token) OVERRIDE; 45 const std::string& token() const;
|
/external/chromium_org/net/test/embedded_test_server/ |
http_request.cc | 184 HttpMethod HttpRequestParser::GetMethodType(const std::string& token) const { 185 if (token == "get") { 187 } else if (token == "head") { 189 } else if (token == "post") { 191 } else if (token == "put") { 193 } else if (token == "delete") { 195 } else if (token == "patch") { 198 NOTREACHED() << "Method not implemented: " << token;
|
/external/chromium_org/net/websockets/ |
websocket_extension_parser.h | 39 void ConsumeToken(base::StringPiece* token); 40 void ConsumeQuotedToken(std::string* token);
|
/external/chromium_org/remoting/webapp/ |
identity.js | 39 * Call a function with an access token. 41 * @param {function(string):void} onOk Function to invoke with access token if 42 * an access token was successfully retrieved. 57 * Remove the cached auth token, if any. 63 /** @param {string} token */ 64 var onToken = function(token) { 65 if (token) { 66 chrome.identity.removeCachedAuthToken({ 'token': token }, onDone); 111 * @param {?string} token The auth token, or null if the request failed [all...] |
third_party_token_fetcher.js | 10 * token and a shared secret from a third-party server. The server can then 13 * server will redirect the browser to a URL containing the token and shared 14 * secret in its fragment. The client then sends only the token to the host. 15 * The host signs the token, then contacts the third-party server to exchange 16 * the token for the shared secret. Once both client and host have the shared 28 * Encapsulates the logic to fetch a third party authentication token. 30 * @param {string} tokenUrl Token-issue URL received from the host. 32 * @param {string} scope OAuth scope to request the token for. 33 * @param {Array.<string>} tokenUrlPatterns Token URL patterns allowed for the 60 * Fetch a token with the parameters configured in this object [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/ |
ClassList.cpp | 60 bool ClassList::containsInternal(const AtomicString& token) const 62 return m_element->hasClass() && classNames().contains(token);
|
/external/chromium_org/third_party/angle/src/compiler/translator/ |
Diagnostics.cpp | 27 const std::string& token, 47 /* VC++ format: file(linenum) : error #: 'token' : extrainfo */ 50 sink << "'" << token << "' : " << reason << " " << extra << "\n";
|
/external/chromium_org/third_party/jinja2/ |
lexer.py | 102 # bind operators to token types 164 def describe_token(token): 165 """Returns a description of the token.""" 166 if token.type == 'name': 167 return token.value 168 return _describe_token_type(token.type) 172 """Like `describe_token` but for token expressions.""" 225 class Token(tuple): 226 """Token class.""" 241 """Test a token against a token expression. This can either be [all...] |
/external/chromium_org/third_party/libjingle/source/talk/p2p/client/ |
autoportallocator.h | 48 // Creates and initiates a task to get relay token from XmppClient and set 60 const std::string& token, 63 SetRelayToken(token);
|
/external/chromium_org/third_party/libjingle/source/talk/xmpp/ |
prexmppauth.h | 47 CaptchaChallenge(const std::string& token, const std::string& url) 48 : captcha_needed_(true), captcha_token_(token), captcha_image_url_(url) {
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter2/ |
token.ml | 7 type token = type
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter3/ |
token.ml | 7 type token = type
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter4/ |
token.ml | 7 type token = type
|