/external/jsoncpp/src/lib_json/ |
json_reader.cpp | 163 Token token; local 164 skipCommentTokens( token ); 171 // Set error location to start of doc, ideally should be first token found in doc 172 token.type_ = tokenError; 173 token.start_ = beginDoc; 174 token.end_ = endDoc; 176 token ); 187 Token token; local [all...] |
/external/chromium_org/chrome/browser/resources/cryptotoken/ |
requestqueue.js | 12 * Represents a queued request. Once given a token, call complete() once the 54 /** @return {boolean} Whether this token has already completed. */ 70 * Inserts this token into the queue. 71 * @param {RequestToken} token Queue token 74 RequestQueue.prototype.insertToken_ = function(token) { 76 this.head_ = token; 77 this.tail_ = token; 80 this.tail_.next = token; 81 token.prev = this.tail_ [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/parser/ |
MediaQueryParser.cpp | 24 PassRefPtrWillBeRawPtr<MediaQuerySet> MediaQueryParser::parseMediaCondition(MediaQueryTokenIterator token, MediaQueryTokenIterator endToken) 26 return MediaQueryParser(MediaConditionParser).parseImpl(token, endToken); 60 void MediaQueryParser::readRestrictor(MediaQueryTokenType type, const MediaQueryToken& token) 62 readMediaType(type, token); 65 void MediaQueryParser::readMediaType(MediaQueryTokenType type, const MediaQueryToken& token) 70 if (m_state == ReadRestrictor && equalIgnoringCase(token.value(), "not")) { 72 } else if (m_state == ReadRestrictor && equalIgnoringCase(token.value(), "only")) { 75 m_mediaQueryData.setMediaType(token.value()); 83 skipUntilComma(type, token); 87 void MediaQueryParser::readAnd(MediaQueryTokenType type, const MediaQueryToken& token) [all...] |
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/ |
local_to_remote_syncer.cc | 97 void LocalToRemoteSyncer::RunPreflight(scoped_ptr<SyncTaskToken> token) { 98 token->InitializeTaskLog("Local -> Remote"); 101 token->RecordLog("Context not ready."); 102 SyncTaskManager::NotifyTaskDone(token.Pass(), SYNC_STATUS_FAILED); 106 token->RecordLog(base::StringPrintf( 115 token->RecordLog("Missing file for non-delete change."); 116 SyncTaskManager::NotifyTaskDone(token.Pass(), SYNC_STATUS_OK); 129 token->RecordLog("App is disabled or not registered"); 130 SyncTaskManager::NotifyTaskDone(token.Pass(), SYNC_STATUS_UNKNOWN_ORIGIN); 150 token->RecordLog(base::StringPrintf [all...] |
conflict_resolver.h | 45 virtual void RunPreflight(scoped_ptr<SyncTaskToken> token) OVERRIDE; 46 void RunExclusive(scoped_ptr<SyncTaskToken> token); 51 void DetachFromNonPrimaryParents(scoped_ptr<SyncTaskToken> token); 52 void DidDetachFromParent(scoped_ptr<SyncTaskToken> token, 56 void RemoveNonPrimaryFiles(scoped_ptr<SyncTaskToken> token); 57 void DidRemoveFile(scoped_ptr<SyncTaskToken> token, 62 scoped_ptr<SyncTaskToken> token); 64 scoped_ptr<SyncTaskToken> token,
|
sync_engine_initializer.cc | 47 typedef base::Callback<void(scoped_ptr<SyncTaskToken> token, 75 void SyncEngineInitializer::RunPreflight(scoped_ptr<SyncTaskToken> token) { 84 SyncTaskManager::NotifyTaskDone(token.Pass(), SYNC_STATUS_OK); 95 SyncTaskManager::NotifyTaskDone(token.Pass(), status); 104 SyncTaskManager::NotifyTaskDone(token.Pass(), SYNC_STATUS_OK); 108 GetAboutResource(token.Pass()); 116 scoped_ptr<SyncTaskToken> token) { 120 weak_ptr_factory_.GetWeakPtr(), base::Passed(&token))); 124 scoped_ptr<SyncTaskToken> token, 133 SyncTaskManager::NotifyTaskDone(token.Pass(), status) [all...] |
list_changes_task.cc | 36 void ListChangesTask::RunPreflight(scoped_ptr<SyncTaskToken> token) { 37 token->InitializeTaskLog("List Changes"); 40 token->RecordLog("Failed to get required service."); 41 SyncTaskManager::NotifyTaskDone(token.Pass(), SYNC_STATUS_FAILED); 46 token.Pass(), 52 void ListChangesTask::StartListing(scoped_ptr<SyncTaskToken> token) { 56 weak_ptr_factory_.GetWeakPtr(), base::Passed(&token))); 60 scoped_ptr<SyncTaskToken> token, 65 token->RecordLog("Failed to fetch change list."); 67 token.Pass(), SYNC_STATUS_NETWORK_ERROR) [all...] |
remote_to_local_syncer.cc | 106 void RemoteToLocalSyncer::RunPreflight(scoped_ptr<SyncTaskToken> token) { 107 token->InitializeTaskLog("Remote -> Local"); 110 token->RecordLog("Context not ready."); 111 SyncTaskManager::NotifyTaskDone(token.Pass(), SYNC_STATUS_FAILED); 117 token->RecordLog(base::StringPrintf( 120 ResolveRemoteChange(token.Pass()); 124 token->RecordLog("Nothing to do."); 125 SyncTaskManager::NotifyTaskDone(token.Pass(), SYNC_STATUS_NO_CHANGE_TO_SYNC); 128 void RemoteToLocalSyncer::ResolveRemoteChange(scoped_ptr<SyncTaskToken> token) { 135 token->RecordLog [all...] |
/external/chromium_org/third_party/angle/src/compiler/preprocessor/ |
Preprocessor.cpp | 16 #include "Token.h" 71 Token token; local 72 token.type = Token::CONST_INT; 73 token.text = stream.str(); 79 macro.replacements.push_back(token); 84 void Preprocessor::lex(Token *token) 89 mImpl->macroExpander.lex(token); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
DOMTokenList.cpp | 35 bool DOMTokenList::validateToken(const String& token, ExceptionState& exceptionState) 37 if (token.isEmpty()) { 38 exceptionState.throwDOMException(SyntaxError, "The token provided must not be empty."); 42 if (token.find(isHTMLSpace) != kNotFound) { 43 exceptionState.throwDOMException(InvalidCharacterError, "The token provided ('" + token + "') contains HTML space characters, which are not valid in tokens."); 60 bool DOMTokenList::contains(const AtomicString& token, ExceptionState& exceptionState) const 62 if (!validateToken(token, exceptionState)) 64 return containsInternal(token); 67 void DOMTokenList::add(const AtomicString& token, ExceptionState& exceptionState 226 String token = tokenBuilder.toString(); local [all...] |
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
MissingTokenException.as | 17 if ( inserted!=null && token!=null ) { 18 return "MissingTokenException(inserted "+inserted+" at "+token.text+")"; 20 if ( token!=null ) { 21 return "MissingTokenException(at "+token.text+")";
|
/external/chromium_org/chrome/service/cloud_print/ |
cloud_print_token_store.h | 26 void SetToken(const std::string& token); 27 std::string token() const { function in class:cloud_print::CloudPrintTokenStore
|
/external/chromium_org/sync/internal_api/public/ |
sync_auth_provider.h | 14 // SyncAuthProvider is interface to access token related functions from sync 19 const std::string& token)> RequestTokenCallback; 23 // Request access token for sync. Callback will be called with error and 24 // access token. If error is anything other than NONE then token is invalid. 27 // Invalidate access token that was rejected by sync server. 28 virtual void InvalidateAccessToken(const std::string& token) = 0;
|
/external/chromium_org/third_party/WebKit/public/web/ |
WebScopedUserGesture.h | 50 // WebUserGestureIndicator, and use this token to create a 51 // WebScopedUserGesture. If the token was alrady consumed, the new 56 explicit WebScopedUserGesture(const WebUserGestureToken& token) { initializeWithToken(token); }
|
/external/deqp/framework/randomshaders/ |
rsgPrettyPrinter.hpp | 44 void processToken (const Token& token); 46 static const char* getSimpleTokenStr (Token::Type token);
|
/external/javassist/src/main/javassist/compiler/ast/ |
Keyword.java | 26 public Keyword(int token) { 27 tokenId = token;
|
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/lexer/ |
Lexer.java | 11 protected Token token; field in class:Lexer 32 public Token peek() throws LexerException, IOException 34 while(this.token == null) 36 this.token = getToken(); 40 return this.token; 43 public Token next() throws LexerException, IOException 45 while(this.token == null) 47 this.token = getToken(); 51 Token result = this.token 160 @SuppressWarnings("hiding") Token token = new0( local 175 @SuppressWarnings("hiding") Token token = new1( local 190 @SuppressWarnings("hiding") Token token = new2( local 204 @SuppressWarnings("hiding") Token token = new3( local 218 @SuppressWarnings("hiding") Token token = new4( local 232 @SuppressWarnings("hiding") Token token = new5( local 246 @SuppressWarnings("hiding") Token token = new6( local 260 @SuppressWarnings("hiding") Token token = new7( local 274 @SuppressWarnings("hiding") Token token = new8( local 289 @SuppressWarnings("hiding") Token token = new9( local 303 @SuppressWarnings("hiding") Token token = new10( local 317 @SuppressWarnings("hiding") Token token = new11( local 331 @SuppressWarnings("hiding") Token token = new12( local 345 @SuppressWarnings("hiding") Token token = new13( local 359 @SuppressWarnings("hiding") Token token = new14( local 373 @SuppressWarnings("hiding") Token token = new15( local 387 @SuppressWarnings("hiding") Token token = new16( local 401 @SuppressWarnings("hiding") Token token = new17( local 415 @SuppressWarnings("hiding") Token token = new18( local 429 @SuppressWarnings("hiding") Token token = new19( local 443 @SuppressWarnings("hiding") Token token = new20( local 457 @SuppressWarnings("hiding") Token token = new21( local 471 @SuppressWarnings("hiding") Token token = new22( local 485 @SuppressWarnings("hiding") Token token = new23( local 499 @SuppressWarnings("hiding") Token token = new24( local 513 @SuppressWarnings("hiding") Token token = new25( local 527 @SuppressWarnings("hiding") Token token = new26( local 541 @SuppressWarnings("hiding") Token token = new27( local 555 @SuppressWarnings("hiding") Token token = new28( local 569 @SuppressWarnings("hiding") Token token = new29( local 583 @SuppressWarnings("hiding") Token token = new30( local 597 @SuppressWarnings("hiding") Token token = new31( local 611 @SuppressWarnings("hiding") Token token = new32( local 625 @SuppressWarnings("hiding") Token token = new33( local 639 @SuppressWarnings("hiding") Token token = new34( local 654 @SuppressWarnings("hiding") Token token = new35( local 668 @SuppressWarnings("hiding") Token token = new36( local 682 @SuppressWarnings("hiding") Token token = new37( local 696 @SuppressWarnings("hiding") Token token = new38( local 710 @SuppressWarnings("hiding") Token token = new39( local 724 @SuppressWarnings("hiding") Token token = new40( local 738 @SuppressWarnings("hiding") Token token = new41( local 752 @SuppressWarnings("hiding") Token token = new42( local 766 @SuppressWarnings("hiding") Token token = new43( local 780 @SuppressWarnings("hiding") Token token = new44( local 794 @SuppressWarnings("hiding") Token token = new45( local 808 @SuppressWarnings("hiding") Token token = new46( local 822 @SuppressWarnings("hiding") Token token = new47( local 837 @SuppressWarnings("hiding") Token token = new48( local 852 @SuppressWarnings("hiding") Token token = new49( local 867 @SuppressWarnings("hiding") Token token = new50( local 882 @SuppressWarnings("hiding") Token token = new51( local 897 @SuppressWarnings("hiding") Token token = new52( local 912 @SuppressWarnings("hiding") Token token = new53( local 926 @SuppressWarnings("hiding") Token token = new54( local 941 @SuppressWarnings("hiding") Token token = new55( local 956 @SuppressWarnings("hiding") Token token = new56( local 982 @SuppressWarnings("hiding") EOF token = new EOF( local [all...] |
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
AcceptParser.java | 79 Token token = lexer.getNextToken(); local 80 accept.setContentType(token.getTokenValue()); 83 token = lexer.getNextToken(); 84 accept.setContentSubType(token.getTokenValue()); 97 token = lexer.getNextToken(); 98 accept.setContentType(token.getTokenValue()); 101 token = lexer.getNextToken(); 102 accept.setContentSubType(token.getTokenValue());
|
/external/chromium_org/components/copresence/public/ |
whispernet_client.h | 22 AudioToken(const std::string& token, bool audible) 23 : token(token), audible(audible) {} 24 std::string token; member in struct:copresence::AudioToken 38 // Callback that returns encoded samples for a given token. 50 // Fires an event to request a token encode. 51 virtual void EncodeToken(const std::string& token, bool audible) = 0;
|
/external/chromium_org/third_party/closure_linter/closure_linter/ |
aliaspass.py | 89 """Runs the pass on a token stream. 92 start_token: The first token in the stream. 110 def IsScopeToken(token): 111 return (token.type is javascripttokens.JavaScriptTokenType.IDENTIFIER and 112 token.string == 'goog.scope') 117 for token in scope_tokens: 118 scope_context = token.metadata.context 124 'goog.scope call not in global scope', token)) 128 for token in scope_tokens[1:]: 131 'More than one goog.scope call in file.', token)) [all...] |
closurizednamespacesinfo_test.py | 76 token = self._GetRequireTokens('package.Something') 81 self.assertFalse(namespaces_info.IsExtraRequire(token), 87 self.assertTrue(namespaces_info.IsExtraRequire(token), 97 token, namespaces_info = self._GetStartTokenAndNamespacesInfoForScript( 100 self.assertFalse(namespaces_info.IsExtraProvide(token), 110 token, namespaces_info = self._GetStartTokenAndNamespacesInfoForScript( 113 self.assertFalse(namespaces_info.IsExtraProvide(token), 120 token, namespaces_info = self._GetStartTokenAndNamespacesInfoForScript( 123 self.assertTrue(namespaces_info.IsExtraProvide(token), 134 token, namespaces_info = self._GetStartTokenAndNamespacesInfoForScript [all...] |
javascriptlintrules.py | 57 # a token as its value. 60 def HandleMissingParameterDoc(self, token, param_name): 63 'Missing docs for parameter: "%s"' % param_name, token) 65 def __ContainsRecordType(self, token): 66 """Check whether the given token contains a record type. 69 token: The token being checked 72 True if the token contains a record type, False otherwise. 74 # If we see more than one left-brace in the string of an annotation token, 77 token and token.type == Type.DOC_FLAG an [all...] |
/external/chromium_org/sandbox/win/src/ |
restricted_token_unittest.cc | 17 // Tests the initializatioin with an invalid token handle. 19 RestrictedToken token; local 20 ASSERT_EQ(ERROR_INVALID_HANDLE, token.Init(reinterpret_cast<HANDLE>(0x5555))); 25 // Get the current process token. 35 // Create the token using the current token. 39 // Get the handle to the restricted token. 57 // Check if both token have the same owner and user. 62 // Tests the initialization with a custom token as parameter. 64 // Get the current process token 78 RestrictedToken token; local 101 RestrictedToken token; local 142 RestrictedToken token; local 175 RestrictedToken token; local 202 RestrictedToken token; local 231 RestrictedToken token; local 267 RestrictedToken token; local 307 RestrictedToken token; local 335 RestrictedToken token; local 353 RestrictedToken token; local 383 RestrictedToken token; local 443 RestrictedToken token; local 459 RestrictedToken token; local 486 RestrictedToken token; local 501 RestrictedToken token; local 518 RestrictedToken token; local 550 RestrictedToken token; local 582 RestrictedToken token; local [all...] |
/external/jsoncpp/include/json/ |
reader.h | 109 class Token 120 Token token_; 127 bool expectToken( TokenType type, Token &token, const char *message ); 128 bool readToken( Token &token ); 138 bool readObject( Token &token ); 139 bool readArray( Token &token ); [all...] |
/external/google-tv-pairing-protocol/java/src/com/google/polo/json/ |
JSONML.java | 56 Object token; local 66 token = x.nextContent(); 67 if (token == XML.LT) { 68 token = x.nextToken(); 69 if (token instanceof Character) { 70 if (token == XML.SLASH) { 74 token = x.nextToken(); 75 if (!(token instanceof String)) { 78 token + "'."); 83 return token; [all...] |