/external/chromium_org/third_party/angle/src/compiler/preprocessor/ |
H A D | Preprocessor.cpp | 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) argument 89 mImpl->macroExpander.lex(token); 90 switch (token->type) 100 token->location, token->text); 104 token [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
H A D | DOMTokenList.cpp | 35 bool DOMTokenList::validateToken(const String& token, ExceptionState& exceptionState) argument 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 argument 62 if (!validateToken(token, exceptionState)) 64 return containsInternal(token); 67 void DOMTokenList::add(const AtomicString& token, ExceptionStat argument 96 remove(const AtomicString& token, ExceptionState& exceptionState) argument 124 toggle(const AtomicString& token, ExceptionState& exceptionState) argument 137 toggle(const AtomicString& token, bool force, ExceptionState& exceptionState) argument 150 addInternal(const AtomicString& token) argument 156 removeInternal(const AtomicString& token) argument 165 addToken(const AtomicString& input, const AtomicString& token) argument 194 removeToken(const AtomicString& input, const AtomicString& token) argument 226 String token = tokenBuilder.toString(); local [all...] |
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
H A D | 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/browser/resources/net_internals/ |
H A D | cros_log_entry.js | 70 * Takes a token as input and searches for '['. 71 * We assume if the token contains '[' it contains a process ID. 73 * @param {string} token A token from log 76 var hasProcessID = function(token) { 77 return token != undefined && token.indexOf('[') != -1; 82 * Checks if the input token contains level information. 84 * @param {string} token A token fro [all...] |
/external/chromium_org/chrome/service/cloud_print/ |
H A D | 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/ |
H A D | 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/ |
H A D | 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); } argument
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/parsers/gas/ |
H A D | Makefile.inc | 5 nodist_libyasm_a_SOURCES += gas-token.c 9 gas-token.c: $(srcdir)/modules/parsers/gas/gas-token.re re2c$(EXEEXT) 10 $(top_builddir)/re2c$(EXEEXT) -b -o $@ $(srcdir)/modules/parsers/gas/gas-token.re 12 BUILT_SOURCES += gas-token.c 14 CLEANFILES += gas-token.c 17 EXTRA_DIST += modules/parsers/gas/gas-token.re
|
/external/deqp/framework/randomshaders/ |
H A D | rsgPrettyPrinter.hpp | 44 void processToken (const Token& token); 46 static const char* getSimpleTokenStr (Token::Type token);
|
/external/javassist/src/main/javassist/compiler/ast/ |
H A D | Keyword.java | 26 public Keyword(int token) { argument 27 tokenId = token;
|
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/lexer/ |
H A D | Lexer.java | 11 protected Token token; field in class:Lexer 34 while(this.token == null) 36 this.token = getToken(); 40 return this.token; 45 while(this.token == null) 47 this.token = getToken(); 51 Token result = this.token; 52 this.token = null; 160 @SuppressWarnings("hiding") Token token = new0( 171 return token; 1077 unread(@uppressWarnings�) Token token) argument [all...] |
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
H A D | AcceptParser.java | 79 Token token = lexer.getNextToken(); 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/chrome/browser/sync_file_system/drive_backend/ |
H A D | sync_engine_initializer.cc | 47 typedef base::Callback<void(scoped_ptr<SyncTaskToken> token, 75 void SyncEngineInitializer::RunPreflight(scoped_ptr<SyncTaskToken> token) { argument 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 115 GetAboutResource( scoped_ptr<SyncTaskToken> token) argument 123 DidGetAboutResource( scoped_ptr<SyncTaskToken> token, google_apis::GDataErrorCode error, scoped_ptr<google_apis::AboutResource> about_resource) argument 145 FindSyncRoot(scoped_ptr<SyncTaskToken> token) argument 162 DidFindSyncRoot( scoped_ptr<SyncTaskToken> token, google_apis::GDataErrorCode error, scoped_ptr<google_apis::FileList> file_list) argument 229 CreateSyncRoot(scoped_ptr<SyncTaskToken> token) argument 240 DidCreateSyncRoot( scoped_ptr<SyncTaskToken> token, google_apis::GDataErrorCode error, scoped_ptr<google_apis::FileResource> entry) argument 258 DetachSyncRoot(scoped_ptr<SyncTaskToken> token) argument 270 DidDetachSyncRoot( scoped_ptr<SyncTaskToken> token, google_apis::GDataErrorCode error) argument 286 ListAppRootFolders( scoped_ptr<SyncTaskToken> token) argument 298 DidListAppRootFolders( scoped_ptr<SyncTaskToken> token, google_apis::GDataErrorCode error, scoped_ptr<google_apis::FileList> file_list) argument 339 PopulateDatabase( scoped_ptr<SyncTaskToken> token) argument [all...] |
H A D | list_changes_task.cc | 36 void ListChangesTask::RunPreflight(scoped_ptr<SyncTaskToken> token) { argument 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) { argument 56 weak_ptr_factory_.GetWeakPtr(), base::Passed(&token))); 60 scoped_ptr<SyncTaskToken> token, 65 token->RecordLog("Failed to fetch change list."); 67 token 59 DidListChanges( scoped_ptr<SyncTaskToken> token, google_apis::GDataErrorCode error, scoped_ptr<google_apis::ChangeList> change_list) argument 112 CheckInChangeList(int64 largest_change_id, scoped_ptr<SyncTaskToken> token) argument [all...] |
H A D | remote_to_local_syncer.cc | 106 void RemoteToLocalSyncer::RunPreflight(scoped_ptr<SyncTaskToken> token) { argument 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) { argument 135 token 307 MoveToBackground(scoped_ptr<SyncTaskToken> token, const Continuation& continuation) argument 324 ContinueAsBackgroundTask( const Continuation& continuation, scoped_ptr<SyncTaskToken> token) argument 390 HandleMissingRemoteMetadata( scoped_ptr<SyncTaskToken> token) argument 401 DidGetRemoteMetadata( scoped_ptr<SyncTaskToken> token, google_apis::GDataErrorCode error, scoped_ptr<google_apis::FileResource> entry) argument 439 DidPrepareForAddOrUpdateFile( scoped_ptr<SyncTaskToken> token, SyncStatusCode status) argument 489 HandleFolderUpdate( scoped_ptr<SyncTaskToken> token) argument 505 DidPrepareForFolderUpdate( scoped_ptr<SyncTaskToken> token, SyncStatusCode status) argument 544 HandleDeletion( scoped_ptr<SyncTaskToken> token) argument 561 HandleFileMove(scoped_ptr<SyncTaskToken> token) argument 576 DidPrepareForDeletion( scoped_ptr<SyncTaskToken> token, SyncStatusCode status) argument 609 HandleContentUpdate( scoped_ptr<SyncTaskToken> token) argument 628 ListFolderContent( scoped_ptr<SyncTaskToken> token) argument 651 DidListFolderContent( scoped_ptr<SyncTaskToken> token, scoped_ptr<FileIDList> children, google_apis::GDataErrorCode error, scoped_ptr<google_apis::FileList> file_list) argument 690 SyncCompleted(scoped_ptr<SyncTaskToken> token, SyncStatusCode status) argument 734 FinalizeSync(scoped_ptr<SyncTaskToken> token, SyncStatusCode status) argument 772 DeleteLocalFile(scoped_ptr<SyncTaskToken> token) argument 780 DownloadFile(scoped_ptr<SyncTaskToken> token) argument 796 DidDownloadFile(scoped_ptr<SyncTaskToken> token, storage::ScopedFile file, google_apis::GDataErrorCode error, const base::FilePath&) argument 829 DidApplyDownload(scoped_ptr<SyncTaskToken> token, storage::ScopedFile, SyncStatusCode status) argument 835 CreateFolder(scoped_ptr<SyncTaskToken> token) argument 856 SyncCompletedCallback( scoped_ptr<SyncTaskToken> token) argument [all...] |
H A D | local_to_remote_syncer.h | 51 virtual void RunPreflight(scoped_ptr<SyncTaskToken> token) OVERRIDE; 62 scoped_ptr<SyncTaskToken> token); 64 scoped_ptr<SyncTaskToken> token); 65 void SyncCompleted(scoped_ptr<SyncTaskToken> token, 68 void HandleConflict(scoped_ptr<SyncTaskToken> token); 69 void HandleExistingRemoteFile(scoped_ptr<SyncTaskToken> token); 72 scoped_ptr<SyncTaskToken> token); 74 void DeleteRemoteFile(scoped_ptr<SyncTaskToken> token); 75 void DidDeleteRemoteFile(scoped_ptr<SyncTaskToken> token, 78 void UploadExistingFile(scoped_ptr<SyncTaskToken> token); [all...] |
/external/chromium_org/third_party/closure_linter/closure_linter/ |
H A D | 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...] |
H A D | 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_inf [all...] |
/external/chromium_org/chrome/browser/resources/standalone/ |
H A D | standalone_hack.js | 251 checkTokenAndGetIndex = function(classList, token) { 252 if (token === '') { 258 if (/\s/.test(token)) { 264 return arrIndexOf.call(classList, token); 290 classListProto.contains = function(token) { 291 token += ''; 292 return checkTokenAndGetIndex(this, token) !== -1; 294 classListProto.add = function(token) { 295 token += ''; 296 if (checkTokenAndGetIndex(this, token) [all...] |
/external/chromium_org/sandbox/win/src/ |
H A D | 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/ |
H A D | reader.h | 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 ); 140 bool decodeNumber( Token &token ); 141 bool decodeString( Token &token ); 142 bool decodeString( Token &token, std::string &decoded ); 143 bool decodeDouble( Token &token ); 144 bool decodeUnicodeCodePoint( Token &token, 148 bool decodeUnicodeEscapeSequence( Token &token, [all...] |
/external/google-tv-pairing-protocol/java/src/com/google/polo/json/ |
H A D | JSONML.java | 56 Object token; 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...] |
/external/srec/srec/crec/ |
H A D | priority_q.c | 77 word_token *token; local 87 token = &(word_token_array[*ptoken_index]); 88 if (token->end_node != end_node) 91 *ptoken_index = token->next_token_index; 98 if ((pq->max_cost_in_q == MAXcostdata) || (token->cost > pq->max_cost_in_q)) 100 pq->max_cost_in_q = token->cost; 102 ptoken_index = &(token->next_token_index); 164 word_token* token; local 169 token = &(word_token_array[token_index]); 170 token_index = token 189 word_token *token; local [all...] |
/external/chromium_org/tools/gn/ |
H A D | string_utils.cc | 9 #include "tools/gn/token.h" 16 // token has quotes around it that are not counted by the offset. 17 Err ErrInsideStringToken(const Token& token, size_t offset, size_t size, argument 20 // The "+1" is skipping over the " at the beginning of the token. 22 Location begin_loc(token.location().file(), 23 token.location().line_number(), 24 token.location().char_offset() + int_offset + 1, 25 token.location().byte() + int_offset + 1); 27 token.location().file(), 28 token 39 LocateInlineIdenfitier(const Token& token, const char* input, size_t size, size_t* i, base::StringPiece* identifier, Err* err) argument 105 AppendIdentifierValue(Scope* scope, const Token& token, const base::StringPiece& identifier, std::string* output, Err* err) argument [all...] |
/external/antlr/antlr-3.4/runtime/Python/tests/ |
H A D | t001lexer.py | 27 token = lexer.nextToken() 28 self.failUnlessEqual(token.type, self.lexerModule.ZERO) 30 token = lexer.nextToken() 31 self.failUnlessEqual(token.type, self.lexerModule.EOF) 38 types = [token.type for token in lexer] 48 token = lexer.nextToken()
|