token 319 android_webview/javatests/src/org/chromium/android_webview/test/LoadDataWithBaseUrlTest.java String token = "" + System.currentTimeMillis(); token 323 android_webview/javatests/src/org/chromium/android_webview/test/LoadDataWithBaseUrlTest.java "file:///android_asset/asset_icon.png?" + token)); token 325 android_webview/javatests/src/org/chromium/android_webview/test/LoadDataWithBaseUrlTest.java "file:///android_res/raw/resource_icon.png?" + token)); token 326 android_webview/javatests/src/org/chromium/android_webview/test/LoadDataWithBaseUrlTest.java assertFalse(canAccessFileFromData(DATA_BASE_URL, "file://" + imagePath + "?" + token)); token 332 android_webview/javatests/src/org/chromium/android_webview/test/LoadDataWithBaseUrlTest.java "file:///android_asset/asset_icon.png?" + token)); token 334 android_webview/javatests/src/org/chromium/android_webview/test/LoadDataWithBaseUrlTest.java "file:///android_res/raw/resource_icon.png?" + token)); token 336 android_webview/javatests/src/org/chromium/android_webview/test/LoadDataWithBaseUrlTest.java "file://" + imagePath + "?" + token)); token 338 android_webview/javatests/src/org/chromium/android_webview/test/LoadDataWithBaseUrlTest.java token += "a"; token 344 android_webview/javatests/src/org/chromium/android_webview/test/LoadDataWithBaseUrlTest.java "file:///android_asset/asset_icon.png?" + token)); token 346 android_webview/javatests/src/org/chromium/android_webview/test/LoadDataWithBaseUrlTest.java "file:///android_res/raw/resource_icon.png?" + token)); token 347 android_webview/javatests/src/org/chromium/android_webview/test/LoadDataWithBaseUrlTest.java assertFalse(canAccessFileFromData(DATA_BASE_URL, "file://" + imagePath + "?" + token)); token 350 android_webview/javatests/src/org/chromium/android_webview/test/LoadDataWithBaseUrlTest.java "file:///android_asset/asset_icon.png?" + token)); token 352 android_webview/javatests/src/org/chromium/android_webview/test/LoadDataWithBaseUrlTest.java "file:///android_res/raw/resource_icon.png?" + token)); token 354 android_webview/javatests/src/org/chromium/android_webview/test/LoadDataWithBaseUrlTest.java "file://" + imagePath + "?" + token)); token 1241 base/debug/trace_event_impl.cc TraceEventSyntheticDelay::Lookup(tokens.token()); token 1243 base/debug/trace_event_impl.cc std::string token = tokens.token(); token 1245 base/debug/trace_event_impl.cc double target_duration = strtod(token.c_str(), &duration_end); token 1246 base/debug/trace_event_impl.cc if (duration_end != token.c_str()) { token 1249 base/debug/trace_event_impl.cc } else if (token == "static") { token 1251 base/debug/trace_event_impl.cc } else if (token == "oneshot") { token 1253 base/debug/trace_event_impl.cc } else if (token == "alternating") { token 2206 base/debug/trace_event_impl.cc std::string category_group_token = category_group_tokens.token(); token 2250 base/debug/trace_event_impl.cc std::string category = tokens.token(); token 23 base/ini_parser.cc std::string line = tokenizer.token(); token 460 base/json/json_parser.cc Value* JSONParser::ParseToken(Token token) { token 461 base/json/json_parser.cc switch (token) { token 495 base/json/json_parser.cc Token token = GetNextToken(); token 496 base/json/json_parser.cc while (token != T_OBJECT_END) { token 497 base/json/json_parser.cc if (token != T_STRING) { token 510 base/json/json_parser.cc token = GetNextToken(); token 511 base/json/json_parser.cc if (token != T_OBJECT_PAIR_SEPARATOR) { token 527 base/json/json_parser.cc token = GetNextToken(); token 528 base/json/json_parser.cc if (token == T_LIST_SEPARATOR) { token 530 base/json/json_parser.cc token = GetNextToken(); token 531 base/json/json_parser.cc if (token == T_OBJECT_END && !(options_ & JSON_ALLOW_TRAILING_COMMAS)) { token 535 base/json/json_parser.cc } else if (token != T_OBJECT_END) { token 559 base/json/json_parser.cc Token token = GetNextToken(); token 560 base/json/json_parser.cc while (token != T_ARRAY_END) { token 561 base/json/json_parser.cc Value* item = ParseToken(token); token 570 base/json/json_parser.cc token = GetNextToken(); token 571 base/json/json_parser.cc if (token == T_LIST_SEPARATOR) { token 573 base/json/json_parser.cc token = GetNextToken(); token 574 base/json/json_parser.cc if (token == T_ARRAY_END && !(options_ & JSON_ALLOW_TRAILING_COMMAS)) { token 578 base/json/json_parser.cc } else if (token != T_ARRAY_END) { token 173 base/json/json_parser.h Value* ParseToken(Token token); token 147 base/prefs/json_pref_store.cc std::string token("json_pref_store-"); token 148 base/prefs/json_pref_store.cc token.append(filename.AsUTF8Unsafe()); token 150 base/prefs/json_pref_store.cc worker_pool->GetNamedSequenceToken(token), token 392 base/process/process_util_unittest.cc base::UserTokenHandle token; token 393 base/process/process_util_unittest.cc ASSERT_TRUE(OpenProcessToken(GetCurrentProcess(), TOKEN_ALL_ACCESS, &token)); token 395 base/process/process_util_unittest.cc options.as_user = token; token 149 base/strings/string_tokenizer.h str token() const { return str(token_begin_, token_end_); } token 20 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string("this"), t.token()); token 23 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string("is"), t.token()); token 26 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string("a"), t.token()); token 29 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string("test"), t.token()); token 40 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string("this"), t.token()); token 43 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string("is"), t.token()); token 46 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string("a"), t.token()); token 49 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string("test"), t.token()); token 62 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string("this"), t.token()); token 65 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string(" "), t.token()); token 68 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string("is"), t.token()); token 71 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string(" "), t.token()); token 74 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string("a"), t.token()); token 77 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string(" "), t.token()); token 80 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string("test"), t.token()); token 90 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string("this"), t.token()); token 93 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string("is"), t.token()); token 96 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string("a"), t.token()); token 99 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string("test"), t.token()); token 111 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string("Content-Type"), t.token()); token 115 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string(":"), t.token()); token 119 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string(" "), t.token()); token 123 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string("text/html"), t.token()); token 127 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string(" "), t.token()); token 131 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string(";"), t.token()); token 135 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string(" "), t.token()); token 139 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string("charset"), t.token()); token 143 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string("="), t.token()); token 147 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string("UTF-8"), t.token()); token 159 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string("foo"), t.token()); token 162 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string("bar"), t.token()); token 165 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string("'hello world'"), t.token()); token 168 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string("baz"), t.token()); token 179 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string("bar"), t.token()); token 182 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string("'hello wo"), t.token()); token 193 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string("bar"), t.token()); token 196 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string("'hel\"lo\" wo'"), t.token()); token 199 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string("baz\""), t.token()); token 210 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string("foo"), t.token()); token 213 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string("'don\\'t do that'"), t.token()); token 224 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string("foo='a, b'"), t.token()); token 227 base/strings/string_tokenizer_unittest.cc EXPECT_EQ(string("bar"), t.token()); token 148 base/threading/sequenced_worker_pool.cc SequencedWorkerPool::SequenceToken token, token 177 base/threading/sequenced_worker_pool.cc SequencedWorkerPool::SequenceToken token, token 180 base/threading/sequenced_worker_pool.cc token_(token), token 241 base/threading/sequenced_worker_pool.cc void set_running_task_info(SequenceToken token, token 243 base/threading/sequenced_worker_pool.cc running_sequence_ = token; token 1133 base/threading/sequenced_worker_pool.cc SequencedWorkerPool::SequenceToken* token = g_lazy_tls_ptr.Get().Get(); token 1134 base/threading/sequenced_worker_pool.cc if (!token) token 1136 base/threading/sequenced_worker_pool.cc return *token; token 1177 base/threading/sequenced_worker_pool.cc SequenceToken token) { token 1178 base/threading/sequenced_worker_pool.cc return GetSequencedTaskRunnerWithShutdownBehavior(token, BLOCK_SHUTDOWN); token 1183 base/threading/sequenced_worker_pool.cc SequenceToken token, WorkerShutdown shutdown_behavior) { token 1185 base/threading/sequenced_worker_pool.cc this, token, shutdown_behavior); token 189 base/threading/sequenced_worker_pool.h SequenceToken token); token 196 base/threading/sequenced_worker_pool.h SequenceToken token, token 80 base/win/win_util.cc HANDLE token = NULL; token 81 base/win/win_util.cc if (!::OpenProcessToken(::GetCurrentProcess(), TOKEN_QUERY, &token)) token 83 base/win/win_util.cc base::win::ScopedHandle token_scoped(token); token 89 base/win/win_util.cc if (!::GetTokenInformation(token, TokenUser, user, size, &size)) token 149 cc/resources/task_graph_runner.cc NamespaceToken token(next_namespace_id_++); token 150 cc/resources/task_graph_runner.cc DCHECK(namespaces_.find(token.id_) == namespaces_.end()); token 151 cc/resources/task_graph_runner.cc return token; token 154 cc/resources/task_graph_runner.cc void TaskGraphRunner::ScheduleTasks(NamespaceToken token, TaskGraph* graph) { token 162 cc/resources/task_graph_runner.cc DCHECK(token.IsValid()); token 173 cc/resources/task_graph_runner.cc TaskNamespace& task_namespace = namespaces_[token.id_]; token 275 cc/resources/task_graph_runner.cc void TaskGraphRunner::WaitForTasksToFinishRunning(NamespaceToken token) { token 278 cc/resources/task_graph_runner.cc DCHECK(token.IsValid()); token 283 cc/resources/task_graph_runner.cc TaskNamespaceMap::const_iterator it = namespaces_.find(token.id_); token 298 cc/resources/task_graph_runner.cc void TaskGraphRunner::CollectCompletedTasks(NamespaceToken token, token 302 cc/resources/task_graph_runner.cc DCHECK(token.IsValid()); token 307 cc/resources/task_graph_runner.cc TaskNamespaceMap::iterator it = namespaces_.find(token.id_); token 118 cc/resources/task_graph_runner.h void ScheduleTasks(NamespaceToken token, TaskGraph* graph); token 121 cc/resources/task_graph_runner.h void WaitForTasksToFinishRunning(NamespaceToken token); token 124 cc/resources/task_graph_runner.h void CollectCompletedTasks(NamespaceToken token, token 119 chrome/android/java/src/org/chromium/chrome/browser/signin/OAuth2TokenService.java public void tokenAvailable(String token) { token 121 chrome/android/java/src/org/chromium/chrome/browser/signin/OAuth2TokenService.java token, token != null, nativeCallback); token 164 chrome/android/java/src/org/chromium/chrome/browser/signin/OAuth2TokenService.java public void tokenAvailable(String token) { token 165 chrome/android/java/src/org/chromium/chrome/browser/signin/OAuth2TokenService.java result.set(token); token 243 chrome/browser/character_encoding.cc tokenizer.token()); token 104 chrome/browser/chromeos/app_mode/kiosk_app_data.cc base::SequencedWorkerPool::SequenceToken token = pool->GetSequenceToken(); token 106 chrome/browser/chromeos/app_mode/kiosk_app_data.cc token, token 91 chrome/browser/chromeos/login/auth_sync_observer.cc void AuthSyncObserver::OnSupervisedTokenLoaded(const std::string& token) { token 93 chrome/browser/chromeos/login/auth_sync_observer.cc profile_, token); token 39 chrome/browser/chromeos/login/auth_sync_observer.h void OnSupervisedTokenLoaded(const std::string& token); token 138 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc const std::string& token) { token 139 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc RegisterForDevicePolicy(token); token 192 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc const std::string& token) { token 211 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc token, is_auto_enrollment(), device_modes, token 59 chrome/browser/chromeos/login/enrollment/enrollment_screen.h void RegisterForDevicePolicy(const std::string& token); token 54 chrome/browser/chromeos/login/fake_supervised_user_manager.h const std::string& token) OVERRIDE {} token 1120 chrome/browser/chromeos/login/kiosk_browsertest.cc userinfo_token_info.token = kTestUserinfoToken; token 1129 chrome/browser/chromeos/login/kiosk_browsertest.cc login_token_info.token = kTestLoginToken; token 1136 chrome/browser/chromeos/login/kiosk_browsertest.cc access_token_info.token = kTestAccessToken; token 40 chrome/browser/chromeos/login/managed/managed_user_creation_controller_new.cc bool StoreManagedUserFiles(const std::string& token, token 47 chrome/browser/chromeos/login/managed/managed_user_creation_controller_new.cc int bytes = base::WriteFile(token_file, token.c_str(), token.length()); token 323 chrome/browser/chromeos/login/managed/managed_user_creation_controller_new.cc const std::string& token) { token 330 chrome/browser/chromeos/login/managed/managed_user_creation_controller_new.cc creation_context_->token = token; token 336 chrome/browser/chromeos/login/managed/managed_user_creation_controller_new.cc creation_context_->token, token 136 chrome/browser/chromeos/login/managed/managed_user_creation_controller_new.h std::string token; token 161 chrome/browser/chromeos/login/managed/managed_user_creation_controller_new.h const std::string& token); token 38 chrome/browser/chromeos/login/managed/managed_user_creation_controller_old.cc bool StoreManagedUserFiles(const std::string& token, token 45 chrome/browser/chromeos/login/managed/managed_user_creation_controller_old.cc int bytes = base::WriteFile(token_file, token.c_str(), token.length()); token 233 chrome/browser/chromeos/login/managed/managed_user_creation_controller_old.cc const std::string& token) { token 240 chrome/browser/chromeos/login/managed/managed_user_creation_controller_old.cc TokenFetched(token); token 268 chrome/browser/chromeos/login/managed/managed_user_creation_controller_old.cc void ManagedUserCreationControllerOld::TokenFetched(const std::string& token) { token 270 chrome/browser/chromeos/login/managed/managed_user_creation_controller_old.cc creation_context_->token = token; token 276 chrome/browser/chromeos/login/managed/managed_user_creation_controller_old.cc creation_context_->token, token 95 chrome/browser/chromeos/login/managed/managed_user_creation_controller_old.h std::string token; token 113 chrome/browser/chromeos/login/managed/managed_user_creation_controller_old.h const std::string& token); token 115 chrome/browser/chromeos/login/managed/managed_user_creation_controller_old.h void TokenFetched(const std::string& token); token 62 chrome/browser/chromeos/login/managed/supervised_user_login_flow.cc const std::string& token) { token 64 chrome/browser/chromeos/login/managed/supervised_user_login_flow.cc ConfigureSync(token); token 67 chrome/browser/chromeos/login/managed/supervised_user_login_flow.cc void SupervisedUserLoginFlow::ConfigureSync(const std::string& token) { token 73 chrome/browser/chromeos/login/managed/supervised_user_login_flow.cc profile_, token); token 44 chrome/browser/chromeos/login/managed/supervised_user_login_flow.h void OnSyncSetupDataLoaded(const std::string& token); token 45 chrome/browser/chromeos/login/managed/supervised_user_login_flow.h void ConfigureSync(const std::string& token); token 248 chrome/browser/chromeos/login/oauth2_browsertest.cc userinfo_token_info.token = kTestUserinfoToken; token 256 chrome/browser/chromeos/login/oauth2_browsertest.cc userinfo_profile_token_info.token = kTestUserinfoToken; token 265 chrome/browser/chromeos/login/oauth2_browsertest.cc login_token_info.token = kTestLoginToken; token 272 chrome/browser/chromeos/login/oauth2_browsertest.cc sync_token_info.token = kTestSyncToken; token 278 chrome/browser/chromeos/login/oauth2_browsertest.cc auth_login_token_info.token = kTestAuthLoginToken; token 69 chrome/browser/chromeos/login/oauth2_login_verifier.h virtual void OnUberAuthTokenSuccess(const std::string& token) OVERRIDE; token 131 chrome/browser/chromeos/login/supervised_user_manager.h const std::string& token) = 0; token 87 chrome/browser/chromeos/login/supervised_user_manager_impl.cc std::string token; token 91 chrome/browser/chromeos/login/supervised_user_manager_impl.cc if (!base::ReadFileToString(token_file, &token)) token 93 chrome/browser/chromeos/login/supervised_user_manager_impl.cc return token; token 515 chrome/browser/chromeos/login/supervised_user_manager_impl.cc const std::string& token) { token 516 chrome/browser/chromeos/login/supervised_user_manager_impl.cc if (!token.empty()) token 517 chrome/browser/chromeos/login/supervised_user_manager_impl.cc ManagedUserServiceFactory::GetForProfile(profile)->InitSync(token); token 58 chrome/browser/chromeos/login/supervised_user_manager_impl.h const std::string& token) OVERRIDE; token 128 chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.cc const std::string& token, token 131 chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.cc callback_.Run(token, error); token 102 chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.h void ForwardPolicyToken(const std::string& token, token 78 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc virtual void OnTokenLoaded(const std::string& token, token 134 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc void LegacyPolicyCacheLoader::OnTokenLoaded(const std::string& token, token 136 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc dm_token_ = token; token 71 chrome/browser/chromeos/policy/user_policy_token_loader.cc void UserPolicyTokenLoader::NotifyOnOriginThread(const std::string& token, token 75 chrome/browser/chromeos/policy/user_policy_token_loader.cc delegate_->OnTokenLoaded(token, device_id); token 32 chrome/browser/chromeos/policy/user_policy_token_loader.h virtual void OnTokenLoaded(const std::string& token, token 50 chrome/browser/chromeos/policy/user_policy_token_loader.h void NotifyOnOriginThread(const std::string& token, token 38 chrome/browser/chromeos/settings/token_encryptor.cc const std::string& token) { token 41 chrome/browser/chromeos/settings/token_encryptor.cc return token; token 49 chrome/browser/chromeos/settings/token_encryptor.cc token); token 77 chrome/browser/chromeos/settings/token_encryptor.cc const std::string& token) { token 86 chrome/browser/chromeos/settings/token_encryptor.cc if (!encryptor.Encrypt(token, &encoded_token)) { token 116 chrome/browser/chromeos/settings/token_encryptor.cc std::string token; token 118 chrome/browser/chromeos/settings/token_encryptor.cc if (!encryptor.Decrypt(encrypted_token, &token)) { token 122 chrome/browser/chromeos/settings/token_encryptor.cc return token; token 28 chrome/browser/chromeos/settings/token_encryptor.h virtual std::string EncryptWithSystemSalt(const std::string& token) = 0; token 44 chrome/browser/chromeos/settings/token_encryptor.h virtual std::string EncryptWithSystemSalt(const std::string& token) OVERRIDE; token 56 chrome/browser/chromeos/settings/token_encryptor.h const std::string& token); token 181 chrome/browser/drive/drive_api_util.cc base::string16 token; token 195 chrome/browser/drive/drive_api_util.cc token = query.substr(begin_token, end_token - begin_token); token 203 chrome/browser/drive/drive_api_util.cc token = query.substr(begin_token, end_token - begin_token); token 207 chrome/browser/drive/drive_api_util.cc if (token.empty()) { token 222 chrome/browser/drive/drive_api_util.cc EscapeQueryStringValue(base::UTF16ToUTF8(token)).c_str()); token 83 chrome/browser/drive/fake_drive_service.cc const std::string& token = tokenizer.token(); token 84 chrome/browser/drive/fake_drive_service.cc if (token.find(':') == std::string::npos) { token 85 chrome/browser/drive/fake_drive_service.cc base::TrimString(token, "\"'", &value); token 87 chrome/browser/drive/fake_drive_service.cc base::StringTokenizer key_value(token, ":"); token 91 chrome/browser/drive/fake_drive_service.cc key = key_value.token(); token 94 chrome/browser/drive/fake_drive_service.cc base::TrimString(key_value.token(), "\"'", &value); token 73 chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc void GaiaWebAuthFlow::OnUbertokenSuccess(const std::string& token) { token 80 chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc net::EscapeUrlEncodedData(token, true).c_str(), token 72 chrome/browser/extensions/api/identity/gaia_web_auth_flow.h virtual void OnUbertokenSuccess(const std::string& token) OVERRIDE; token 90 chrome/browser/extensions/api/identity/identity_api.cc IdentityTokenCacheValue::IdentityTokenCacheValue(const std::string& token, token 92 chrome/browser/extensions/api/identity/identity_api.cc : status_(CACHE_STATUS_TOKEN), token_(token) { token 149 chrome/browser/extensions/api/identity/identity_api.cc const std::string& token) { token 154 chrome/browser/extensions/api/identity/identity_api.cc it->second.token() == token) { token 417 chrome/browser/extensions/api/identity/identity_api.cc CompleteFunctionWithResult(cache_entry.token()); token 432 chrome/browser/extensions/api/identity/identity_api.cc CompleteFunctionWithResult(cache_entry.token()); token 441 chrome/browser/extensions/api/identity/identity_api.cc IdentityTokenCacheValue token(access_token, token 444 chrome/browser/extensions/api/identity/identity_api.cc *token_key_, token); token 704 chrome/browser/extensions/api/identity/identity_api.cc GetExtension()->id(), params->details.token); token 59 chrome/browser/extensions/api/identity/identity_api.h IdentityTokenCacheValue(const std::string& token, token 73 chrome/browser/extensions/api/identity/identity_api.h const std::string& token() const; token 105 chrome/browser/extensions/api/identity/identity_api.h const std::string& token); token 974 chrome/browser/extensions/api/identity/identity_apitest.cc IdentityTokenCacheValue token(kAccessToken, token 976 chrome/browser/extensions/api/identity/identity_apitest.cc SetCachedToken(token); token 998 chrome/browser/extensions/api/identity/identity_apitest.cc IdentityTokenCacheValue token(info); token 999 chrome/browser/extensions/api/identity/identity_apitest.cc SetCachedToken(token); token 1034 chrome/browser/extensions/api/identity/identity_apitest.cc IdentityTokenCacheValue token(kAccessToken, token 1036 chrome/browser/extensions/api/identity/identity_apitest.cc SetCachedToken(token); token 1058 chrome/browser/extensions/api/identity/identity_apitest.cc IdentityTokenCacheValue token(kAccessToken, token 1060 chrome/browser/extensions/api/identity/identity_apitest.cc SetCachedToken(token); token 1150 chrome/browser/extensions/api/identity/identity_apitest.cc IdentityTokenCacheValue token("non_matching_token", token 1152 chrome/browser/extensions/api/identity/identity_apitest.cc SetCachedToken(token); token 1156 chrome/browser/extensions/api/identity/identity_apitest.cc EXPECT_EQ("non_matching_token", GetCachedToken().token()); token 1160 chrome/browser/extensions/api/identity/identity_apitest.cc IdentityTokenCacheValue token(kAccessToken, token 1162 chrome/browser/extensions/api/identity/identity_apitest.cc SetCachedToken(token); token 48 chrome/browser/extensions/api/log_private/syslog_parser.cc std::string time = tokenizer.token(); token 63 chrome/browser/extensions/api/log_private/syslog_parser.cc ParseProcess(tokenizer.token(), entry.get()); token 80 chrome/browser/extensions/api/log_private/syslog_parser.cc *output = tokenizer->token(); token 119 chrome/browser/extensions/api/log_private/syslog_parser.cc entry->process = tokenizer.token(); token 122 chrome/browser/extensions/api/log_private/syslog_parser.cc std::string token = tokenizer.token(); token 124 chrome/browser/extensions/api/log_private/syslog_parser.cc if (base::StringToInt(token, &tmp)) { token 125 chrome/browser/extensions/api/log_private/syslog_parser.cc entry->process_id = token; token 495 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc out->Append(new base::StringValue(entries.token())); token 1147 chrome/browser/extensions/extension_service.cc std::string token("ext_install-"); token 1148 chrome/browser/extensions/extension_service.cc token.append(profile_->GetPath().AsUTF8Unsafe()); token 1151 chrome/browser/extensions/extension_service.cc BrowserThread::GetBlockingPool()->GetNamedSequenceToken(token), token 206 chrome/browser/extensions/extension_system_impl.cc base::FilePath(t.token())); token 235 chrome/browser/extensions/extension_system_impl.cc LoadFromCommandLine(base::FilePath(t.token()), &extension_id); token 40 chrome/browser/extensions/token_cache/token_cache_service.cc token_data.token = token_value; token 57 chrome/browser/extensions/token_cache/token_cache_service.cc return it->second.token; token 52 chrome/browser/extensions/token_cache/token_cache_service.h std::string token; token 40 chrome/browser/extensions/token_cache/token_cache_service_unittest.cc token_data.token = token_value; token 116 chrome/browser/geolocation/chrome_access_token_store.cc const base::string16& token) { token 122 chrome/browser/geolocation/chrome_access_token_store.cc server_url.spec(), new base::StringValue(token)); token 38 chrome/browser/internal_auth_unittest.cc std::string token = InternalAuthGeneration::GeneratePassport( token 40 chrome/browser/internal_auth_unittest.cc ASSERT_GT(token.size(), 10u); // short token is insecure. token 43 chrome/browser/internal_auth_unittest.cc token = InternalAuthGeneration::GeneratePassport("zapata", map); token 44 chrome/browser/internal_auth_unittest.cc ASSERT_GT(token.size(), 10u); token 65 chrome/browser/internal_auth_unittest.cc std::string token = InternalAuthGeneration::GeneratePassport( token 67 chrome/browser/internal_auth_unittest.cc ASSERT_TRUE(token.empty()); token 69 chrome/browser/internal_auth_unittest.cc token, long_string_, map)); token 72 chrome/browser/internal_auth_unittest.cc token = InternalAuthGeneration::GeneratePassport(std::string(), map); token 73 chrome/browser/internal_auth_unittest.cc ASSERT_TRUE(token.empty()); token 75 chrome/browser/internal_auth_unittest.cc InternalAuthVerification::VerifyPassport(token, std::string(), map)); token 86 chrome/browser/internal_auth_unittest.cc token = InternalAuthGeneration::GeneratePassport("zapata", map); token 87 chrome/browser/internal_auth_unittest.cc ASSERT_TRUE(token.empty()); token 88 chrome/browser/internal_auth_unittest.cc ASSERT_FALSE(InternalAuthVerification::VerifyPassport(token, "zapata", map)); token 93 chrome/browser/internal_auth_unittest.cc token = InternalAuthGeneration::GeneratePassport("zapata", map); token 94 chrome/browser/internal_auth_unittest.cc ASSERT_TRUE(token.empty()); token 95 chrome/browser/internal_auth_unittest.cc ASSERT_FALSE(InternalAuthVerification::VerifyPassport(token, "zapata", map)); token 101 chrome/browser/internal_auth_unittest.cc std::string token = InternalAuthGeneration::GeneratePassport("zapata", map); token 102 chrome/browser/internal_auth_unittest.cc ASSERT_GT(token.size(), 10u); token 103 chrome/browser/internal_auth_unittest.cc ASSERT_TRUE(InternalAuthVerification::VerifyPassport(token, "zapata", map)); token 107 chrome/browser/internal_auth_unittest.cc token, "zapata", map)); token 114 chrome/browser/internal_auth_unittest.cc std::string token = InternalAuthGeneration::GeneratePassport("zapata", map); token 115 chrome/browser/internal_auth_unittest.cc ASSERT_GT(token.size(), 10u); token 118 chrome/browser/internal_auth_unittest.cc std::string dummy = token; token 124 chrome/browser/internal_auth_unittest.cc dummy = token; token 131 chrome/browser/internal_auth_unittest.cc ASSERT_TRUE(InternalAuthVerification::VerifyPassport(token, "zapata", map)); token 141 chrome/browser/internal_auth_unittest.cc std::string token = InternalAuthGeneration::GeneratePassport("zapata", map); token 142 chrome/browser/internal_auth_unittest.cc ASSERT_GT(token.size(), 10u); token 147 chrome/browser/internal_auth_unittest.cc std::string dummy1 = token; token 148 chrome/browser/internal_auth_unittest.cc std::string dummy2 = token; token 165 chrome/browser/internal_auth_unittest.cc ASSERT_FALSE(InternalAuthVerification::VerifyPassport(token, "zapata", map)); token 173 chrome/browser/internal_auth_unittest.cc std::string token = InternalAuthGeneration::GeneratePassport("zapata", map); token 174 chrome/browser/internal_auth_unittest.cc ASSERT_GT(token.size(), 10u); token 178 chrome/browser/internal_auth_unittest.cc ASSERT_TRUE(InternalAuthVerification::VerifyPassport(token, "zapata", map)); token 180 chrome/browser/internal_auth_unittest.cc token = InternalAuthGeneration::GeneratePassport("zapata", map); token 181 chrome/browser/internal_auth_unittest.cc ASSERT_GT(token.size(), 10u); token 185 chrome/browser/internal_auth_unittest.cc ASSERT_FALSE(InternalAuthVerification::VerifyPassport(token, "zapata", map)); token 48 chrome/browser/invalidation/gcm_invalidation_bridge.cc virtual void InvalidateToken(const std::string& token) OVERRIDE; token 54 chrome/browser/invalidation/gcm_invalidation_bridge.cc const std::string& token); token 105 chrome/browser/invalidation/gcm_invalidation_bridge.cc void GCMInvalidationBridge::Core::InvalidateToken(const std::string& token) { token 109 chrome/browser/invalidation/gcm_invalidation_bridge.cc base::Bind(&GCMInvalidationBridge::InvalidateToken, bridge_, token)); token 130 chrome/browser/invalidation/gcm_invalidation_bridge.cc const std::string& token) { token 132 chrome/browser/invalidation/gcm_invalidation_bridge.cc callback.Run(error, token); token 235 chrome/browser/invalidation/gcm_invalidation_bridge.cc void GCMInvalidationBridge::InvalidateToken(const std::string& token) { token 240 chrome/browser/invalidation/gcm_invalidation_bridge.cc auth_provider_->GetAccountId(), scopes, token); token 71 chrome/browser/invalidation/gcm_invalidation_bridge.h void InvalidateToken(const std::string& token); token 107 chrome/browser/invalidation/gcm_invalidation_bridge_unittest.cc const std::string& token) { token 108 chrome/browser/invalidation/gcm_invalidation_bridge_unittest.cc issued_tokens_.push_back(token); token 92 chrome/browser/local_discovery/privet_http.h const std::string& token, token 916 chrome/browser/local_discovery/privet_http_impl.cc std::string token; token 921 chrome/browser/local_discovery/privet_http_impl.cc value->GetString(kPrivetInfoKeyToken, &token); token 929 chrome/browser/local_discovery/privet_http_impl.cc i->Run(token); token 390 chrome/browser/local_discovery/privet_http_unittest.cc const std::string& token, token 392 chrome/browser/local_discovery/privet_http_unittest.cc OnPrivetRegisterClaimTokenInternal(token, url); token 396 chrome/browser/local_discovery/privet_http_unittest.cc const std::string& token, token 88 chrome/browser/local_discovery/privet_url_fetcher.cc const std::string& token) { token 89 chrome/browser/local_discovery/privet_url_fetcher.cc TokenMapHolder::GetInstance()->map[host] = token; token 136 chrome/browser/local_discovery/privet_url_fetcher.cc std::string token = GetPrivetAccessToken(); token 138 chrome/browser/local_discovery/privet_url_fetcher.cc if (token.empty()) token 139 chrome/browser/local_discovery/privet_url_fetcher.cc token = kXPrivetEmptyToken; token 144 chrome/browser/local_discovery/privet_url_fetcher.cc token); token 337 chrome/browser/local_discovery/privet_url_fetcher.cc void PrivetURLFetcher::RefreshToken(const std::string& token) { token 338 chrome/browser/local_discovery/privet_url_fetcher.cc if (token.empty()) { token 341 chrome/browser/local_discovery/privet_url_fetcher.cc SetTokenForHost(GetHostString(), token); token 73 chrome/browser/local_discovery/privet_url_fetcher.h const std::string& token); token 111 chrome/browser/local_discovery/privet_url_fetcher.h void RefreshToken(const std::string& token); token 91 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.cc const std::string& token); token 265 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.cc const std::string& token) { token 266 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.cc callback_.Run(error, token); token 111 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc const std::string& token); token 218 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc const std::string& token) { token 220 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc token_ = token; token 232 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc EXPECT_EQ(kManagedUserToken, token()); token 244 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc EXPECT_EQ(kManagedUserToken, token()); token 258 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc EXPECT_EQ(std::string(), token()); token 268 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc EXPECT_EQ(std::string(), token()); token 277 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc EXPECT_EQ(std::string(), token()); token 287 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc EXPECT_EQ(std::string(), token()); token 300 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc EXPECT_EQ(std::string(), token()); token 314 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc EXPECT_EQ(kManagedUserToken, token()); token 325 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc EXPECT_EQ(std::string(), token()); token 333 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc EXPECT_EQ(std::string(), token()); token 342 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc EXPECT_EQ(std::string(), token()); token 352 chrome/browser/managed_mode/managed_user_refresh_token_fetcher_unittest.cc EXPECT_EQ(std::string(), token()); token 76 chrome/browser/managed_mode/managed_user_registration_utility.cc const std::string& token); token 341 chrome/browser/managed_mode/managed_user_registration_utility.cc const std::string& token) { token 347 chrome/browser/managed_mode/managed_user_registration_utility.cc DCHECK(!token.empty()); token 348 chrome/browser/managed_mode/managed_user_registration_utility.cc pending_managed_user_token_ = token; token 33 chrome/browser/managed_mode/managed_user_registration_utility_stub.cc const std::string& token) { token 36 chrome/browser/managed_mode/managed_user_registration_utility_stub.cc callback_.Run(GoogleServiceAuthError(GoogleServiceAuthError::NONE), token); token 34 chrome/browser/managed_mode/managed_user_registration_utility_stub.h void RunSuccessCallback(const std::string& token); token 121 chrome/browser/managed_mode/managed_user_registration_utility_unittest.cc const std::string& token); token 233 chrome/browser/managed_mode/managed_user_registration_utility_unittest.cc const std::string& token) { token 236 chrome/browser/managed_mode/managed_user_registration_utility_unittest.cc token_ = token; token 251 chrome/browser/managed_mode/managed_user_registration_utility_unittest.cc EXPECT_FALSE(token().empty()); token 265 chrome/browser/managed_mode/managed_user_registration_utility_unittest.cc EXPECT_FALSE(token().empty()); token 279 chrome/browser/managed_mode/managed_user_registration_utility_unittest.cc EXPECT_EQ(std::string(), token()); token 293 chrome/browser/managed_mode/managed_user_registration_utility_unittest.cc EXPECT_EQ(std::string(), token()); token 648 chrome/browser/managed_mode/managed_user_service.cc const std::string& token) { token 650 chrome/browser/managed_mode/managed_user_service.cc InitSync(token); token 662 chrome/browser/managed_mode/managed_user_service.cc DCHECK_EQ(std::string(), token); token 197 chrome/browser/managed_mode/managed_user_service.h const std::string& token); token 614 chrome/browser/metrics/thread_watcher.cc const std::string& token = tokens.token(); token 615 chrome/browser/metrics/thread_watcher.cc base::SplitString(token, ':', &values); token 355 chrome/browser/metrics/thread_watcher_unittest.cc const std::string& token = tokens.token(); token 356 chrome/browser/metrics/thread_watcher_unittest.cc base::SplitString(token, ':', &values); token 385 chrome/browser/metrics/thread_watcher_unittest.cc const std::string& token = tokens.token(); token 386 chrome/browser/metrics/thread_watcher_unittest.cc base::SplitString(token, ':', &values); token 415 chrome/browser/metrics/thread_watcher_unittest.cc const std::string& token = tokens.token(); token 416 chrome/browser/metrics/thread_watcher_unittest.cc base::SplitString(token, ':', &values); token 300 chrome/browser/net/firefox_proxy_settings.cc std::string token = string_tok.token(); token 301 chrome/browser/net/firefox_proxy_settings.cc base::TrimWhitespaceASCII(token, base::TRIM_ALL, &token); token 302 chrome/browser/net/firefox_proxy_settings.cc if (!token.empty()) token 303 chrome/browser/net/firefox_proxy_settings.cc settings->proxy_bypass_list_.push_back(token); token 383 chrome/browser/net/network_stats.cc token_ = probe_packet.token(); token 41 chrome/browser/net/network_stats_unittest.cc ProbePacket_Token* token) { token 42 chrome/browser/net/network_stats_unittest.cc token->set_timestamp_micros(timestamp_micros); token 43 chrome/browser/net/network_stats_unittest.cc token->mutable_hash()->assign(hash); token 67 chrome/browser/net/network_stats_unittest.cc ProbePacket_Token token; token 68 chrome/browser/net/network_stats_unittest.cc CreateToken(1L, "1010", &token); token 70 chrome/browser/net/network_stats_unittest.cc token, 1, probe_bytes, 0, max_probe_packets, &probe_packet); token 147 chrome/browser/net/network_stats_unittest.cc ProbePacket_Token token; token 148 chrome/browser/net/network_stats_unittest.cc CreateToken(2L, "2a2b", &token); token 162 chrome/browser/net/network_stats_unittest.cc probe_message.GenerateProbeRequest(token, token 70 chrome/browser/net/probe_message.cc void ProbeMessage::GenerateProbeRequest(const ProbePacket_Token& token, token 81 chrome/browser/net/probe_message.cc *(probe_packet->mutable_token()) = token; token 22 chrome/browser/net/probe_message_unittest.cc ProbePacket_Token token; token 23 chrome/browser/net/probe_message_unittest.cc token.set_timestamp_micros(1000000U); token 24 chrome/browser/net/probe_message_unittest.cc token.mutable_hash()->assign("1x1x"); token 30 chrome/browser/net/probe_message_unittest.cc pm.GenerateProbeRequest(token, token 448 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest.cc base::string16 token = settings_->GetTokenForAuthChallenge(auth_info.get()); token 449 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest.cc EXPECT_EQ(tests[i].expected_empty_token, token.empty()); token 23 chrome/browser/performance_monitor/performance_monitor_util.cc base::SequencedWorkerPool::SequenceToken token = token 25 chrome/browser/performance_monitor/performance_monitor_util.cc return pool->GetSequencedTaskRunner(token)->PostTaskAndReply( token 567 chrome/browser/shell_integration_linux.cc base::FilePath data_dir(tokenizer.token()); token 261 chrome/browser/signin/android_profile_oauth2_token_service.cc std::string token = ConvertJavaStringToUTF8(env, authToken); token 269 chrome/browser/signin/android_profile_oauth2_token_service.cc heap_callback->Run(err, token, base::Time()); token 52 chrome/browser/signin/fake_profile_oauth2_token_service.cc const std::string& token) { token 53 chrome/browser/signin/fake_profile_oauth2_token_service.cc IssueRefreshTokenForUser("account_id", token); token 58 chrome/browser/signin/fake_profile_oauth2_token_service.cc const std::string& token) { token 59 chrome/browser/signin/fake_profile_oauth2_token_service.cc if (token.empty()) { token 63 chrome/browser/signin/fake_profile_oauth2_token_service.cc refresh_tokens_[account_id] = token; token 78 chrome/browser/signin/fake_profile_oauth2_token_service.h void IssueRefreshToken(const std::string& token); token 83 chrome/browser/signin/fake_profile_oauth2_token_service.h const std::string& token); token 54 chrome/browser/signin/profile_oauth2_token_service_request_unittest.cc const std::string& token, token 56 chrome/browser/signin/profile_oauth2_token_service_request_unittest.cc last_token_ = token; token 134 chrome/browser/sync/backend_migrator.cc if (progress_marker.token().empty()) { token 652 chrome/browser/sync/glue/sync_backend_host_impl.cc const std::string& token, token 655 chrome/browser/sync/glue/sync_backend_host_impl.cc DCHECK(!token.empty()); token 657 chrome/browser/sync/glue/sync_backend_host_impl.cc sync_prefs_->SetEncryptionBootstrapToken(token); token 659 chrome/browser/sync/glue/sync_backend_host_impl.cc sync_prefs_->SetKeystoreEncryptionBootstrapToken(token); token 206 chrome/browser/sync/glue/sync_backend_host_impl.h const std::string& token, token 50 chrome/browser/sync_file_system/drive_backend/list_changes_task.cc void ListChangesTask::RunPreflight(scoped_ptr<SyncTaskToken> token) { token 57 chrome/browser/sync_file_system/drive_backend/list_changes_task.cc base::Passed(&token), token 65 chrome/browser/sync_file_system/drive_backend/list_changes_task.cc weak_ptr_factory_.GetWeakPtr(), base::Passed(&token))); token 69 chrome/browser/sync_file_system/drive_backend/list_changes_task.cc scoped_ptr<SyncTaskToken> token, token 77 chrome/browser/sync_file_system/drive_backend/list_changes_task.cc token.Pass(), SYNC_STATUS_NETWORK_ERROR); token 86 chrome/browser/sync_file_system/drive_backend/list_changes_task.cc token.Pass(), SYNC_STATUS_FAILED); token 106 chrome/browser/sync_file_system/drive_backend/list_changes_task.cc base::Passed(&token))); token 113 chrome/browser/sync_file_system/drive_backend/list_changes_task.cc token.Pass(), SYNC_STATUS_NO_CHANGE_TO_SYNC); token 123 chrome/browser/sync_file_system/drive_backend/list_changes_task.cc base::Bind(&SyncTaskManager::NotifyTaskDone, base::Passed(&token))); token 34 chrome/browser/sync_file_system/drive_backend/list_changes_task.h virtual void RunPreflight(scoped_ptr<SyncTaskToken> token) OVERRIDE; token 37 chrome/browser/sync_file_system/drive_backend/list_changes_task.h void DidListChanges(scoped_ptr<SyncTaskToken> token, token 53 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc typedef base::Callback<void(scoped_ptr<SyncTaskToken> token, token 98 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc void SyncEngineInitializer::RunPreflight(scoped_ptr<SyncTaskToken> token) { token 107 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc SyncTaskManager::NotifyTaskDone(token.Pass(), SYNC_STATUS_OK); token 114 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc weak_ptr_factory_.GetWeakPtr(), base::Passed(&token))); token 122 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc scoped_ptr<SyncTaskToken> token, token 128 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc SyncTaskManager::NotifyTaskDone(token.Pass(), status); token 137 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc SyncTaskManager::NotifyTaskDone(token.Pass(), SYNC_STATUS_OK); token 141 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc GetAboutResource(token.Pass()); token 145 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc scoped_ptr<SyncTaskToken> token) { token 149 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc weak_ptr_factory_.GetWeakPtr(), base::Passed(&token))); token 153 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc scoped_ptr<SyncTaskToken> token, token 162 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc SyncTaskManager::NotifyTaskDone(token.Pass(), status); token 171 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc FindSyncRoot(token.Pass()); token 174 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc void SyncEngineInitializer::FindSyncRoot(scoped_ptr<SyncTaskToken> token) { token 178 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc SyncTaskManager::NotifyTaskDone(token.Pass(), SYNC_STATUS_FAILED); token 188 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc base::Passed(&token))); token 192 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc scoped_ptr<SyncTaskToken> token, token 201 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc SyncTaskManager::NotifyTaskDone(token.Pass(), status); token 209 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc SyncTaskManager::NotifyTaskDone(token.Pass(), SYNC_STATUS_FAILED); token 244 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc base::Passed(&token))); token 249 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc CreateSyncRoot(token.Pass()); token 254 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc DetachSyncRoot(token.Pass()); token 258 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc ListAppRootFolders(token.Pass()); token 261 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc void SyncEngineInitializer::CreateSyncRoot(scoped_ptr<SyncTaskToken> token) { token 269 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc base::Passed(&token))); token 273 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc scoped_ptr<SyncTaskToken> token, token 283 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc SyncTaskManager::NotifyTaskDone(token.Pass(), status); token 287 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc FindSyncRoot(token.Pass()); token 290 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc void SyncEngineInitializer::DetachSyncRoot(scoped_ptr<SyncTaskToken> token) { token 299 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc base::Passed(&token))); token 303 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc scoped_ptr<SyncTaskToken> token, token 311 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc SyncTaskManager::NotifyTaskDone(token.Pass(), status); token 315 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc ListAppRootFolders(token.Pass()); token 319 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc scoped_ptr<SyncTaskToken> token) { token 327 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc base::Passed(&token))); token 331 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc scoped_ptr<SyncTaskToken> token, token 340 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc SyncTaskManager::NotifyTaskDone(token.Pass(), status); token 348 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc SyncTaskManager::NotifyTaskDone(token.Pass(), SYNC_STATUS_FAILED); token 365 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc weak_ptr_factory_.GetWeakPtr(), base::Passed(&token))); token 369 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc PopulateDatabase(token.Pass()); token 373 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc scoped_ptr<SyncTaskToken> token) { token 381 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc weak_ptr_factory_.GetWeakPtr(), base::Passed(&token))); token 385 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc scoped_ptr<SyncTaskToken> token, token 391 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc SyncTaskManager::NotifyTaskDone(token.Pass(), status); token 397 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc SyncTaskManager::NotifyTaskDone(token.Pass(), SYNC_STATUS_OK); token 74 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.h virtual void RunPreflight(scoped_ptr<SyncTaskToken> token) OVERRIDE; token 81 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.h void DidCreateMetadataDatabase(scoped_ptr<SyncTaskToken> token, token 85 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.h void GetAboutResource(scoped_ptr<SyncTaskToken> token); token 87 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.h scoped_ptr<SyncTaskToken> token, token 90 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.h void FindSyncRoot(scoped_ptr<SyncTaskToken> token); token 91 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.h void DidFindSyncRoot(scoped_ptr<SyncTaskToken> token, token 94 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.h void CreateSyncRoot(scoped_ptr<SyncTaskToken> token); token 95 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.h void DidCreateSyncRoot(scoped_ptr<SyncTaskToken> token, token 98 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.h void DetachSyncRoot(scoped_ptr<SyncTaskToken> token); token 99 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.h void DidDetachSyncRoot(scoped_ptr<SyncTaskToken> token, token 101 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.h void ListAppRootFolders(scoped_ptr<SyncTaskToken> token); token 103 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.h scoped_ptr<SyncTaskToken> token, token 106 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.h void PopulateDatabase(scoped_ptr<SyncTaskToken> token); token 107 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.h void DidPopulateDatabase(scoped_ptr<SyncTaskToken> token, token 18 chrome/browser/sync_file_system/drive_backend/sync_task.cc scoped_ptr<SyncTaskToken> token) { token 20 chrome/browser/sync_file_system/drive_backend/sync_task.cc task->RunExclusive(SyncTaskToken::WrapToCallback(token.Pass())); token 28 chrome/browser/sync_file_system/drive_backend/sync_task.cc void ExclusiveTask::RunPreflight(scoped_ptr<SyncTaskToken> token) { token 33 chrome/browser/sync_file_system/drive_backend/sync_task.cc token.Pass(), blocking_factor.Pass(), token 21 chrome/browser/sync_file_system/drive_backend/sync_task.h virtual void RunPreflight(scoped_ptr<SyncTaskToken> token) = 0; token 41 chrome/browser/sync_file_system/drive_backend/sync_task.h virtual void RunPreflight(scoped_ptr<SyncTaskToken> token) OVERRIDE FINAL; token 89 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc scoped_ptr<SyncTaskToken> token(GetToken(from_here, callback)); token 90 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc if (!token) { token 97 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc RunTask(token.Pass(), task.Pass()); token 114 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc scoped_ptr<SyncTaskToken> token(GetToken(from_here, callback)); token 115 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc if (!token) token 117 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc RunTask(token.Pass(), task.Pass()); token 122 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc void SyncTaskManager::NotifyTaskDone(scoped_ptr<SyncTaskToken> token, token 124 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc DCHECK(token); token 126 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc SyncTaskManager* manager = token->manager(); token 128 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc manager->NotifyTaskDoneBody(token.Pass(), status); token 133 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc scoped_ptr<SyncTaskToken> token, token 136 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc DCHECK(token); token 138 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc SyncTaskManager* manager = token->manager(); token 141 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc manager->MoveTaskToBackgroundBody(token.Pass(), blocking_factor.Pass(), token 156 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc void SyncTaskManager::NotifyTaskDoneBody(scoped_ptr<SyncTaskToken> token, token 158 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc DCHECK(token); token 164 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc if (token->blocking_factor()) { token 165 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc dependency_manager_.Erase(*token->blocking_factor()); token 166 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc token->clear_blocking_factor(); token 170 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc SyncStatusCallback callback = token->callback(); token 171 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc token->clear_callback(); token 172 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc if (token->token_id() == SyncTaskToken::kForegroundTaskTokenID) { token 173 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc token_ = token.Pass(); token 176 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc task = running_background_task_.take_and_erase(token->token_id()); token 193 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc scoped_ptr<SyncTaskToken> token, token 197 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc continuation.Run(token.Pass()); token 208 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc base::Passed(&token), base::Passed(&blocking_factor), token 213 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc tracked_objects::Location from_here = token->location(); token 214 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc SyncStatusCallback callback = token->callback(); token 215 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc token->clear_callback(); token 222 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc NotifyTaskBackgrounded(token.Pass(), *background_task_token); token 250 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc void SyncTaskManager::RunTask(scoped_ptr<SyncTaskToken> token, token 254 chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc running_task_->RunPreflight(token.Pass()); token 38 chrome/browser/sync_file_system/drive_backend/sync_task_manager.h typedef base::Callback<void(scoped_ptr<SyncTaskToken> token)> Continuation; token 89 chrome/browser/sync_file_system/drive_backend/sync_task_manager.h static void NotifyTaskDone(scoped_ptr<SyncTaskToken> token, token 91 chrome/browser/sync_file_system/drive_backend/sync_task_manager.h static void MoveTaskToBackground(scoped_ptr<SyncTaskToken> token, token 114 chrome/browser/sync_file_system/drive_backend/sync_task_manager.h void NotifyTaskDoneBody(scoped_ptr<SyncTaskToken> token, token 122 chrome/browser/sync_file_system/drive_backend/sync_task_manager.h void MoveTaskToBackgroundBody(scoped_ptr<SyncTaskToken> token, token 140 chrome/browser/sync_file_system/drive_backend/sync_task_manager.h void RunTask(scoped_ptr<SyncTaskToken> token, token 184 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc virtual void RunPreflight(scoped_ptr<SyncTaskToken> token) OVERRIDE { token 190 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc token.Pass(), blocking_factor.Pass(), token 196 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc void RunAsBackgroundTask(scoped_ptr<SyncTaskToken> token) { token 205 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc base::Passed(&token))); token 208 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc void CompleteTask(scoped_ptr<SyncTaskToken> token) { token 211 chrome/browser/sync_file_system/drive_backend/sync_task_manager_unittest.cc SyncTaskManager::NotifyTaskDone(token.Pass(), SYNC_STATUS_OK); token 65 chrome/browser/sync_file_system/drive_backend/sync_task_token.cc scoped_ptr<SyncTaskToken> token) { token 66 chrome/browser/sync_file_system/drive_backend/sync_task_token.cc return base::Bind(&SyncTaskManager::NotifyTaskDone, base::Passed(&token)); token 40 chrome/browser/sync_file_system/drive_backend/sync_task_token.h static SyncStatusCallback WrapToCallback(scoped_ptr<SyncTaskToken> token); token 23 chrome/browser/ui/app_list/search/common/dictionary_data_store.cc std::string token("app-launcher-data-store"); token 24 chrome/browser/ui/app_list/search/common/dictionary_data_store.cc token.append(data_file.AsUTF8Unsafe()); token 30 chrome/browser/ui/app_list/search/common/dictionary_data_store.cc pool->GetNamedSequenceToken(token), token 62 chrome/browser/ui/auto_login_infobar_delegate.cc virtual void OnUbertokenSuccess(const std::string& token) OVERRIDE; token 71 chrome/browser/ui/auto_login_infobar_delegate.cc void RedirectToMergeSession(const std::string& token); token 108 chrome/browser/ui/auto_login_infobar_delegate.cc void AutoLoginRedirector::OnUbertokenSuccess(const std::string& token) { token 109 chrome/browser/ui/auto_login_infobar_delegate.cc RedirectToMergeSession(token); token 119 chrome/browser/ui/auto_login_infobar_delegate.cc void AutoLoginRedirector::RedirectToMergeSession(const std::string& token) { token 123 chrome/browser/ui/auto_login_infobar_delegate.cc "?source=chrome&uberauth=" + token + "&" + args_), token 432 chrome/browser/ui/gtk/browser_titlebar.cc base::StringPiece token = tokenizer.token_piece(); token 433 chrome/browser/ui/gtk/browser_titlebar.cc if (BuildButton(token.as_string(), left_side)) token 311 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc base::string16 token( token 313 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc if (!token.empty()) { token 315 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc rv += l10n_util::GetStringFUTF8(IDS_CERT_TOKEN_FORMAT, token); token 122 chrome/browser/ui/libgtk2ui/gconf_titlebar_listener.cc base::StringPiece token = tokenizer.token_piece(); token 123 chrome/browser/ui/libgtk2ui/gconf_titlebar_listener.cc if (token == "minimize") { token 126 chrome/browser/ui/libgtk2ui/gconf_titlebar_listener.cc } else if (token == "maximize") { token 129 chrome/browser/ui/libgtk2ui/gconf_titlebar_listener.cc } else if (token == "close") { token 1008 chrome/browser/ui/sync/one_click_signin_helper.cc const std::string& token = tokens[i]; token 1009 chrome/browser/ui/sync/one_click_signin_helper.cc if (token == "accepted") { token 1011 chrome/browser/ui/sync/one_click_signin_helper.cc } else if (token == "configure") { token 1013 chrome/browser/ui/sync/one_click_signin_helper.cc } else if (token == "rejected-for-profile") { token 74 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc void Start(const std::string& token) { token 75 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc gaia_fetcher_.StartRevokeOAuth2Token(token); token 414 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc const std::string& token, token 422 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc controller_->OnOAuthTokenAvailable(token); token 83 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.h void OnTokenFetched(const std::string& token, token 214 chrome/browser/ui/webui/identity_internals_ui.cc token_data->SetString(kAccessToken, token_cache_value.token()); token 250 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc const std::string& token, token 264 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc token.c_str())); token 52 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.h const std::string& token, token 83 chrome/common/auto_start_linux.cc std::string token = value_name + "="; token 85 chrome/common/auto_start_linux.cc if (tokenizer.token().substr(0, token.length()) == token) { token 86 chrome/common/auto_start_linux.cc *value = tokenizer.token().substr(token.length()); token 47 chrome/common/extensions/docs/examples/apps/hello-php/index.php public $token; token 53 chrome/common/extensions/docs/examples/apps/hello-php/index.php $this->token = new OAuthToken(self::TOKEN, self::TOKEN_SECRET); token 108 chrome/common/extensions/docs/examples/apps/hello-php/index.php $this->consumer, $this->token, 'GET', $url, array()); token 111 chrome/common/extensions/docs/examples/apps/hello-php/index.php $this->token); token 76 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php abstract public function build_signature($request, $consumer, $token); token 86 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php public function check_signature($request, $consumer, $token, $signature) { token 87 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php $built = $this->build_signature($request, $consumer, $token); token 104 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php public function build_signature($request, $consumer, $token) { token 110 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php ($token) ? $token->secret : "" token 139 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php public function build_signature($request, $consumer, $token) { token 142 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php ($token) ? $token->secret : "" token 180 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php public function build_signature($request, $consumer, $token) { token 199 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php public function check_signature($request, $consumer, $token, $signature) { token 293 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php public static function from_consumer_and_token($consumer, $token, $http_method, $http_url, $parameters=NULL) { token 299 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php if ($token) token 300 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php $defaults['oauth_token'] = $token->key; token 447 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php public function sign_request($signature_method, $consumer, $token) { token 453 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php $signature = $this->build_signature($signature_method, $consumer, $token); token 457 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php public function build_signature($signature_method, $consumer, $token) { token 458 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php $signature = $signature_method->build_signature($this, $consumer, $token); token 508 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php $token = NULL; token 510 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php $this->check_signature($request, $consumer, $token); token 529 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php $token = $this->get_token($request, $consumer, "request"); token 531 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php $this->check_signature($request, $consumer, $token); token 535 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php $new_token = $this->data_store->new_access_token($token, $consumer, $verifier); token 546 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php $token = $this->get_token($request, $consumer, "access"); token 547 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php $this->check_signature($request, $consumer, $token); token 548 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php return array($consumer, $token); token 621 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php $token = $this->data_store->lookup_token( token 624 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php if (!$token) { token 627 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php return $token; token 634 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php private function check_signature($request, $consumer, $token) { token 644 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php $this->check_nonce($consumer, $token, $nonce, $timestamp); token 652 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php $token, token 682 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php private function check_nonce($consumer, $token, $nonce, $timestamp) { token 691 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php $token, token 707 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php function lookup_token($consumer, $token_type, $token) { token 711 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php function lookup_nonce($consumer, $token, $nonce, $timestamp) { token 719 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php function new_access_token($token, $consumer, $verifier = null) { token 98 chrome/common/pepper_permission_util.cc if (t.token() == host) token 1226 chrome/installer/setup/setup_main.cc HANDLE token; token 1229 chrome/installer/setup/setup_main.cc &token)) { token 1236 chrome/installer/setup/setup_main.cc base::win::ScopedHandle scoped_handle(token); token 1245 chrome/installer/setup/setup_main.cc AdjustTokenPrivileges(token, FALSE, &tkp, 0, token 65 chrome/installer/setup/setup_util_unittest.cc base::win::ScopedHandle token(temp_handle); token 69 chrome/installer/setup/setup_util_unittest.cc EXPECT_FALSE(::GetTokenInformation(token, TokenPrivileges, NULL, 0, &size)); token 75 chrome/installer/setup/setup_util_unittest.cc if (!::GetTokenInformation(token, TokenPrivileges, privileges, size, &size)) { token 283 chrome/service/cloud_print/cloud_print_proxy_backend.cc bool first_time = token_store->token().empty(); token 376 chrome/service/cloud_print/cloud_print_proxy_backend.cc std::string access_token = GetTokenStore()->token(); token 472 chrome/service/cloud_print/cloud_print_proxy_backend.cc InitNotifications(robot_email_, GetTokenStore()->token()); token 91 chrome/service/cloud_print/cloud_print_service_helpers.cc if (!token_store || token_store->token().empty()) { token 97 chrome/service/cloud_print/cloud_print_service_helpers.cc return GetCloudPrintAuthHeader(token_store->token()); token 29 chrome/service/cloud_print/cloud_print_token_store.cc void CloudPrintTokenStore::SetToken(const std::string& token) { token 31 chrome/service/cloud_print/cloud_print_token_store.cc token_ = token; token 26 chrome/service/cloud_print/cloud_print_token_store.h void SetToken(const std::string& token); token 27 chrome/service/cloud_print/cloud_print_token_store.h std::string token() const { token 16 chrome/service/cloud_print/cloud_print_token_store_unittest.cc EXPECT_EQ(CloudPrintTokenStore::current()->token(), "myclientlogintoken"); token 91 chrome/test/chromedriver/chrome/adb_impl.cc base::SplitStringAlongWhitespace(lines.token(), &fields); token 71 chrome/third_party/mozilla_security_manager/nsNSSCertificate.cpp std::string token; token 73 chrome/third_party/mozilla_security_manager/nsNSSCertificate.cpp token = PK11_GetTokenName(cert->slot); token 75 chrome/third_party/mozilla_security_manager/nsNSSCertificate.cpp return token; token 210 chrome/tools/convert_dict/aff_reader.cc std::string token; token 217 chrome/tools/convert_dict/aff_reader.cc if (token[0] != 'Y' && token[0] != 'N') { token 221 chrome/tools/convert_dict/aff_reader.cc part_start = i - token.length(); token 291 chrome/tools/convert_dict/aff_reader.cc token.clear(); token 293 chrome/tools/convert_dict/aff_reader.cc token.push_back((*rule)[i]); token 93 chrome/utility/media_galleries/picasa_album_table_reader.cc std::string token; token 94 chrome/utility/media_galleries/picasa_album_table_reader.cc if (!token_column.ReadString(i, &token) || token.empty() || token 95 chrome/utility/media_galleries/picasa_album_table_reader.cc !StartsWithASCII(token, kAlbumTokenPrefix, false)) { token 55 chrome_elf/breakpad.cc HANDLE token = NULL; token 57 chrome_elf/breakpad.cc if (!::OpenProcessToken(::GetCurrentProcess(), TOKEN_QUERY, &token)) token 65 chrome_elf/breakpad.cc if (::GetTokenInformation(token, TokenUser, user, size, &size) && token 72 chrome_elf/breakpad.cc CloseHandle(token); token 38 chrome_elf/create_file/chrome_create_file.cc IN HANDLE token, token 207 chromeos/network/network_event_log.cc std::string tok(tokens.token()); token 61 chromeos/network/network_util.cc std::string token = t.token(); token 65 chromeos/network/network_util.cc if (token != "0") token 67 chromeos/network/network_util.cc } else if (token == "255") { token 69 chromeos/network/network_util.cc } else if (token == "254") { token 71 chromeos/network/network_util.cc } else if (token == "252") { token 73 chromeos/network/network_util.cc } else if (token == "248") { token 75 chromeos/network/network_util.cc } else if (token == "240") { token 77 chromeos/network/network_util.cc } else if (token == "224") { token 79 chromeos/network/network_util.cc } else if (token == "192") { token 81 chromeos/network/network_util.cc } else if (token == "128") { token 83 chromeos/network/network_util.cc } else if (token == "0") { token 78 chromeos/system/name_value_pairs_parser.cc std::string pair(pair_toks.token()); token 255 cloud_print/gcp20/prototype/printer.cc std::string* token, token 283 cloud_print/gcp20/prototype/printer.cc *token = state_.registration_token; token 382 cloud_print/gcp20/prototype/printer.cc bool Printer::CheckXPrivetTokenHeader(const std::string& token) const { token 383 cloud_print/gcp20/prototype/printer.cc return xtoken_.CheckValidXToken(token); token 61 cloud_print/gcp20/prototype/printer.h std::string* token, token 72 cloud_print/gcp20/prototype/printer.h virtual bool CheckXPrivetTokenHeader(const std::string& token) const OVERRIDE; token 435 cloud_print/gcp20/prototype/privet_http_server.cc std::string token; token 437 cloud_print/gcp20/prototype/privet_http_server.cc status = delegate_->RegistrationGetClaimToken(user, &token, &claim_url); token 438 cloud_print/gcp20/prototype/privet_http_server.cc response->SetString("token", token); token 70 cloud_print/gcp20/prototype/privet_http_server.h std::string* token, token 95 cloud_print/gcp20/prototype/privet_http_server.h virtual bool CheckXPrivetTokenHeader(const std::string& token) const = 0; token 43 cloud_print/gcp20/prototype/x_privet_token.cc bool XPrivetToken::CheckValidXToken(const std::string& token) const { token 44 cloud_print/gcp20/prototype/x_privet_token.cc size_t delimeter_pos = token.find(kXPrivetTokenDelimeter); token 48 cloud_print/gcp20/prototype/x_privet_token.cc std::string issue_time_str = token.substr(delimeter_pos + 1); token 53 cloud_print/gcp20/prototype/x_privet_token.cc if (GenerateXTokenWithTime(issue_time) != token) token 28 cloud_print/gcp20/prototype/x_privet_token.h bool CheckValidXToken(const std::string& token) const; token 34 cloud_print/gcp20/prototype/x_privet_token_unittest.cc std::string token = base64_val + ":" + issue_time_str; token 36 cloud_print/gcp20/prototype/x_privet_token_unittest.cc ASSERT_EQ(token, xtoken.GenerateXTokenWithTime(issue_time)); token 46 cloud_print/gcp20/prototype/x_privet_token_unittest.cc std::string token = xtoken.GenerateXTokenWithTime(gen_time.ToTimeT()); token 47 cloud_print/gcp20/prototype/x_privet_token_unittest.cc EXPECT_TRUE(xtoken.CheckValidXToken(token)); token 49 cloud_print/gcp20/prototype/x_privet_token_unittest.cc token = xtoken.GenerateXTokenWithTime(gen_time.ToTimeT() + 1); token 50 cloud_print/gcp20/prototype/x_privet_token_unittest.cc EXPECT_TRUE(xtoken.CheckValidXToken(token)); token 52 cloud_print/gcp20/prototype/x_privet_token_unittest.cc token = xtoken.GenerateXTokenWithTime(gen_time.ToTimeT() + 55); token 53 cloud_print/gcp20/prototype/x_privet_token_unittest.cc EXPECT_TRUE(xtoken.CheckValidXToken(token)); token 55 cloud_print/gcp20/prototype/x_privet_token_unittest.cc token = xtoken.GenerateXTokenWithTime(gen_time.ToTimeT() + 60*60 - 5); token 56 cloud_print/gcp20/prototype/x_privet_token_unittest.cc EXPECT_TRUE(xtoken.CheckValidXToken(token)); token 58 cloud_print/gcp20/prototype/x_privet_token_unittest.cc token = xtoken.GenerateXTokenWithTime(gen_time.ToTimeT() + 60*60 + 10); token 59 cloud_print/gcp20/prototype/x_privet_token_unittest.cc EXPECT_TRUE(xtoken.CheckValidXToken(token)); token 61 cloud_print/gcp20/prototype/x_privet_token_unittest.cc token = xtoken.GenerateXTokenWithTime(gen_time.ToTimeT() + 24*60*60 - 1); token 62 cloud_print/gcp20/prototype/x_privet_token_unittest.cc EXPECT_TRUE(xtoken.CheckValidXToken(token)); token 71 cloud_print/gcp20/prototype/x_privet_token_unittest.cc std::string token = "CEEA1AD9CEEA1AD9CEEA1AD9CEEA1AD"; token 72 cloud_print/gcp20/prototype/x_privet_token_unittest.cc EXPECT_FALSE(xtoken.CheckValidXToken(token)); token 74 cloud_print/gcp20/prototype/x_privet_token_unittest.cc base::Base64Encode("CEEA1AD9CEEA1AD9CEEA1AD9CEEA1AD", &token); token 75 cloud_print/gcp20/prototype/x_privet_token_unittest.cc EXPECT_FALSE(xtoken.CheckValidXToken(token)); token 77 cloud_print/gcp20/prototype/x_privet_token_unittest.cc base::Base64Encode("CEEA1AD9CEEA:1AD9CEEA1AD9CEEA1AD", &token); token 78 cloud_print/gcp20/prototype/x_privet_token_unittest.cc EXPECT_FALSE(xtoken.CheckValidXToken(token)); token 80 cloud_print/gcp20/prototype/x_privet_token_unittest.cc base::Base64Encode("CEEA1AD9CEEA:1AD9CEEA1AD9:CEEA1AD", &token); token 81 cloud_print/gcp20/prototype/x_privet_token_unittest.cc EXPECT_FALSE(xtoken.CheckValidXToken(token)); token 83 cloud_print/gcp20/prototype/x_privet_token_unittest.cc base::Base64Encode("CEEA1AD9CEEA:123456", &token); token 84 cloud_print/gcp20/prototype/x_privet_token_unittest.cc EXPECT_FALSE(xtoken.CheckValidXToken(token)); token 86 cloud_print/gcp20/prototype/x_privet_token_unittest.cc base::Base64Encode("CEEA1AD9CEEA:", &token); token 87 cloud_print/gcp20/prototype/x_privet_token_unittest.cc EXPECT_FALSE(xtoken.CheckValidXToken(token)); token 89 cloud_print/gcp20/prototype/x_privet_token_unittest.cc base::Base64Encode("CEEA1AD9CEEA:1372444784", &token); token 90 cloud_print/gcp20/prototype/x_privet_token_unittest.cc EXPECT_FALSE(xtoken.CheckValidXToken(token)); token 96 cloud_print/gcp20/prototype/x_privet_token_unittest.cc token = xtoken.GenerateXTokenWithTime(gen_time.ToTimeT() + 24*60*60 + 1); token 97 cloud_print/gcp20/prototype/x_privet_token_unittest.cc EXPECT_FALSE(xtoken.CheckValidXToken(token)); token 99 cloud_print/gcp20/prototype/x_privet_token_unittest.cc token = xtoken.GenerateXTokenWithTime(gen_time.ToTimeT() + 7*24*60*60 - 1023); token 100 cloud_print/gcp20/prototype/x_privet_token_unittest.cc EXPECT_FALSE(xtoken.CheckValidXToken(token)); token 106 cloud_print/gcp20/prototype/x_privet_token_unittest.cc token = another.GenerateXTokenWithTime(gen_time.ToTimeT() - 24*60*60 - 1); token 107 cloud_print/gcp20/prototype/x_privet_token_unittest.cc EXPECT_FALSE(xtoken.CheckValidXToken(token)); token 109 cloud_print/gcp20/prototype/x_privet_token_unittest.cc token = another.GenerateXTokenWithTime(gen_time.ToTimeT() - 24*60*60 + 1); token 110 cloud_print/gcp20/prototype/x_privet_token_unittest.cc EXPECT_FALSE(xtoken.CheckValidXToken(token)); token 112 cloud_print/gcp20/prototype/x_privet_token_unittest.cc token = another.GenerateXTokenWithTime(gen_time.ToTimeT()); token 113 cloud_print/gcp20/prototype/x_privet_token_unittest.cc EXPECT_FALSE(xtoken.CheckValidXToken(token)); token 115 cloud_print/gcp20/prototype/x_privet_token_unittest.cc token = another.GenerateXTokenWithTime(gen_time.ToTimeT() + 1); token 116 cloud_print/gcp20/prototype/x_privet_token_unittest.cc EXPECT_FALSE(xtoken.CheckValidXToken(token)); token 118 cloud_print/gcp20/prototype/x_privet_token_unittest.cc token = another.GenerateXTokenWithTime(gen_time.ToTimeT() + 24*60*60 - 1); token 119 cloud_print/gcp20/prototype/x_privet_token_unittest.cc EXPECT_FALSE(xtoken.CheckValidXToken(token)); token 121 cloud_print/gcp20/prototype/x_privet_token_unittest.cc token = another.GenerateXTokenWithTime(gen_time.ToTimeT() + 24*60*60 + 1); token 122 cloud_print/gcp20/prototype/x_privet_token_unittest.cc EXPECT_FALSE(xtoken.CheckValidXToken(token)); token 174 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc HANDLE token = NULL; token 178 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc &token)) { token 182 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::win::ScopedHandle token_scoped(token); token 183 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc if (!DuplicateTokenEx(token, token 200 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc HANDLE token = NULL; token 201 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc if (!GetUserToken(&token)) { token 205 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::win::ScopedHandle primary_token_scoped(token); token 235 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc HANDLE token = NULL; token 236 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc if (!GetUserToken(&token)) { token 240 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::win::ScopedHandle token_scoped(token); token 256 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc HANDLE token = NULL; token 257 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc if (!GetUserToken(&token)) { token 262 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc base::win::ScopedHandle token_scoped(token); token 157 components/autofill/core/browser/form_structure.cc bool IsContactTypeHint(const std::string& token) { token 158 components/autofill/core/browser/form_structure.cc return token == "home" || token == "work" || token == "mobile"; token 164 components/autofill/core/browser/form_structure.cc bool ContactTypeHintMatchesFieldType(const std::string& token, token 168 components/autofill/core/browser/form_structure.cc if (token == "home" || token == "work") { token 177 components/autofill/core/browser/form_structure.cc if (token == "mobile") { token 45 components/language_usage_metrics/language_usage_metrics.cc std::string language_part = parts.token(); token 69 components/language_usage_metrics/language_usage_metrics.cc const int language_code = ToLanguageCode(locales.token()); token 417 components/nacl/renderer/nexe_load_manager.cc LogToConsole(t.token()); token 95 components/policy/core/common/cloud/cloud_policy_validator.cc const std::string& token, token 98 components/policy/core/common/cloud/cloud_policy_validator.cc token_ = token; token 24 components/policy/core/common/cloud/mock_cloud_policy_client.cc void MockCloudPolicyClient::SetDMToken(const std::string& token) { token 25 components/policy/core/common/cloud/mock_cloud_policy_client.cc dm_token_ = token; token 33 components/policy/core/common/cloud/mock_cloud_policy_client.h void SetDMToken(const std::string& token); token 210 components/signin/core/browser/about_signin_internals.cc TokenInfo* token = signin_status_.FindToken(account_id, consumer_id, scopes); token 211 components/signin/core/browser/about_signin_internals.cc if (token) { token 212 components/signin/core/browser/about_signin_internals.cc *token = TokenInfo(consumer_id, scopes); token 214 components/signin/core/browser/about_signin_internals.cc token = new TokenInfo(consumer_id, scopes); token 215 components/signin/core/browser/about_signin_internals.cc signin_status_.token_info_map[account_id].push_back(token); token 227 components/signin/core/browser/about_signin_internals.cc TokenInfo* token = signin_status_.FindToken(account_id, consumer_id, scopes); token 228 components/signin/core/browser/about_signin_internals.cc if (!token) { token 233 components/signin/core/browser/about_signin_internals.cc token->receive_time = base::Time::Now(); token 234 components/signin/core/browser/about_signin_internals.cc token->error = error; token 235 components/signin/core/browser/about_signin_internals.cc token->expiration_time = expiration_time; token 245 components/signin/core/browser/about_signin_internals.cc TokenInfo* token = signin_status_.token_info_map[account_id][i]; token 246 components/signin/core/browser/about_signin_internals.cc if (token->scopes == scopes) token 247 components/signin/core/browser/about_signin_internals.cc token->Invalidate(); token 47 components/signin/core/browser/mutable_profile_oauth2_token_service.h void set_refresh_token(const std::string& token) { token 48 components/signin/core/browser/mutable_profile_oauth2_token_service.h refresh_token_ = token; token 74 components/signin/core/browser/signin_internals_util.h const std::string& token, token 72 components/signin/core/browser/webdata/token_service_table.cc const std::string& token) { token 74 components/signin/core/browser/webdata/token_service_table.cc bool encrypted = OSCrypt::EncryptString(token, &encrypted_token); token 45 components/signin/core/browser/webdata/token_service_table.h const std::string& token); token 42 components/signin/core/browser/webdata/token_web_data.cc const std::string& service, const std::string& token, WebDatabase* db) { token 44 components/signin/core/browser/webdata/token_web_data.cc token)) { token 75 components/signin/core/browser/webdata/token_web_data.cc const std::string& token) { token 78 components/signin/core/browser/webdata/token_web_data.cc service, token)); token 47 components/signin/core/browser/webdata/token_web_data.h const std::string& token); token 253 components/sync_driver/sync_prefs.cc void SyncPrefs::SetEncryptionBootstrapToken(const std::string& token) { token 255 components/sync_driver/sync_prefs.cc pref_service_->SetString(prefs::kSyncEncryptionBootstrapToken, token); token 263 components/sync_driver/sync_prefs.cc void SyncPrefs::SetKeystoreEncryptionBootstrapToken(const std::string& token) { token 265 components/sync_driver/sync_prefs.cc pref_service_->SetString(prefs::kSyncKeystoreEncryptionBootstrapToken, token); token 348 components/sync_driver/sync_prefs.cc void SyncPrefs::SetSpareBootstrapToken(const std::string& token) { token 350 components/sync_driver/sync_prefs.cc pref_service_->SetString(prefs::kSyncSpareBootstrapToken, token); token 103 components/sync_driver/sync_prefs.h void SetEncryptionBootstrapToken(const std::string& token); token 108 components/sync_driver/sync_prefs.h void SetKeystoreEncryptionBootstrapToken(const std::string& token); token 121 components/sync_driver/sync_prefs.h void SetSpareBootstrapToken(const std::string& token); token 82 content/browser/plugin_service_impl.cc base::SequencedWorkerPool::SequenceToken token) { token 85 content/browser/plugin_service_impl.cc token)); token 184 content/common/gpu/client/command_buffer_proxy_impl.cc return last_state_.token; token 221 content/common/gpu/client/command_buffer_proxy_impl.cc while (!InRange(start, end, last_state_.token) && token 227 content/common/sandbox_win.cc HANDLE token; token 231 content/common/sandbox_win.cc CHECK(::OpenProcessToken(::GetCurrentProcess(), TOKEN_QUERY, &token)); token 232 content/common/sandbox_win.cc CHECK(::GetTokenInformation(token, TokenSessionId, &session_id, token 234 content/common/sandbox_win.cc CloseHandle(token); token 255 content/renderer/render_thread_impl.cc blink::enableLogChannel(t.token().c_str()); token 41 content/test/webkit_support.cc blink::enableLogChannel(t.token().c_str()); token 40 extensions/common/csp_validator.cc std::string source = tokenizer.token(); token 131 extensions/common/csp_validator.cc std::string directive_name = tokenizer.token(); token 171 extensions/common/csp_validator.cc std::string directive_name = tokenizer.token(); token 180 extensions/common/csp_validator.cc std::string token = tokenizer.token(); token 181 extensions/common/csp_validator.cc StringToLowerASCII(&token); token 184 extensions/common/csp_validator.cc if (token == kAllowSameOriginToken) token 189 extensions/common/csp_validator.cc if (token == kAllowTopNavigation) token 22 google_apis/drive/dummy_auth_service.h void set_access_token(const std::string& token) { access_token_ = token; } token 23 google_apis/drive/dummy_auth_service.h void set_refresh_token(const std::string& token) { refresh_token_ = token; } token 42 google_apis/drive/request_sender_unittest.cc const std::string token = token 44 google_apis/drive/request_sender_unittest.cc set_access_token(token); token 45 google_apis/drive/request_sender_unittest.cc callback.Run(HTTP_SUCCESS, token); token 461 google_apis/gaia/fake_gaia.cc response_dict.SetString("access_token", token_info->token); token 482 google_apis/gaia/fake_gaia.cc if (entry->second.token == access_token) { token 519 google_apis/gaia/fake_gaia.cc response_dict.SetString("token", token_info->token); token 41 google_apis/gaia/fake_gaia.h std::string token; token 18 google_apis/gaia/gaia_auth_consumer.cc token(new_token), token 28 google_apis/gaia/gaia_auth_consumer.cc token == b.token && token 36 google_apis/gaia/gaia_auth_consumer.h std::string token; token 83 google_apis/gaia/gaia_auth_consumer.h virtual void OnUberAuthTokenSuccess(const std::string& token) {} token 365 google_apis/gaia/gaia_auth_fetcher.cc std::string* token) { token 371 google_apis/gaia/gaia_auth_fetcher.cc token->clear(); token 381 google_apis/gaia/gaia_auth_fetcher.cc token->assign(i->second); token 386 google_apis/gaia/gaia_auth_fetcher.cc if (sid->empty() && lsid->empty() && token->empty()) token 387 google_apis/gaia/gaia_auth_fetcher.cc token->assign(data); token 736 google_apis/gaia/gaia_auth_fetcher.cc std::string token; token 737 google_apis/gaia/gaia_auth_fetcher.cc ParseClientLoginResponse(data, &sid, &lsid, &token); token 739 google_apis/gaia/gaia_auth_fetcher.cc GaiaAuthConsumer::ClientLoginResult(sid, lsid, token, data)); token 870 google_apis/gaia/gaia_auth_fetcher.cc std::string token; token 871 google_apis/gaia/gaia_auth_fetcher.cc ParseClientLoginResponse(data, &sid, &lsid, &token); token 873 google_apis/gaia/gaia_auth_fetcher.cc GaiaAuthConsumer::ClientLoginResult(sid, lsid, token, data)); token 292 google_apis/gaia/gaia_auth_fetcher.h std::string* token); token 110 google_apis/gaia/gaia_auth_fetcher_unittest.cc const std::string& token) { token 121 google_apis/gaia/gaia_auth_fetcher_unittest.cc EXPECT_EQ(token, out_token); token 175 google_apis/gaia/gaia_auth_fetcher_unittest.cc const std::string& token)); token 315 google_apis/gaia/gaia_auth_fetcher_unittest.cc result.token = "auth"; token 383 google_apis/gaia/gaia_auth_fetcher_unittest.cc std::string token = "CCTOKEN"; token 388 google_apis/gaia/gaia_auth_fetcher_unittest.cc EXPECT_EQ(error.captcha().token, token); token 799 google_apis/gaia/gaia_auth_fetcher_unittest.cc result.token = "auth"; token 20 google_apis/gaia/google_service_auth_error.cc const std::string& token, const GURL& audio, const GURL& img, token 22 google_apis/gaia/google_service_auth_error.cc : token(token), audio_url(audio), image_url(img), unlock_url(unlock), token 30 google_apis/gaia/google_service_auth_error.cc return (token == b.token && token 42 google_apis/gaia/google_service_auth_error.cc const std::string& token, const std::string& prompt, token 44 google_apis/gaia/google_service_auth_error.cc : token(token), prompt_text(prompt), alternate_text(alternate), token 53 google_apis/gaia/google_service_auth_error.cc return (token == b.token && token 136 google_apis/gaia/google_service_auth_error.cc return captcha_.token; token 139 google_apis/gaia/google_service_auth_error.cc return second_factor_.token; token 181 google_apis/gaia/google_service_auth_error.cc captcha_value->SetString("token", captcha_.token); token 192 google_apis/gaia/google_service_auth_error.cc two_factor_value->SetString("token", second_factor_.token); token 212 google_apis/gaia/google_service_auth_error.cc captcha_.token.c_str()); token 221 google_apis/gaia/google_service_auth_error.cc second_factor_.token.c_str()); token 96 google_apis/gaia/google_service_auth_error.h Captcha(const std::string& token, token 106 google_apis/gaia/google_service_auth_error.h std::string token; // Globally identifies the specific CAPTCHA challenge. token 117 google_apis/gaia/google_service_auth_error.h SecondFactor(const std::string& token, token 126 google_apis/gaia/google_service_auth_error.h std::string token; token 176 google_apis/gaia/google_service_auth_error.h const std::string& token() const; token 70 google_apis/gaia/merge_session_helper.h virtual void OnUbertokenSuccess(const std::string& token) OVERRIDE; token 673 google_apis/gaia/oauth2_token_service.cc CacheEntry& token = token_cache_[RequestParameters(client_id, token 676 google_apis/gaia/oauth2_token_service.cc token.access_token = access_token; token 677 google_apis/gaia/oauth2_token_service.cc token.expiration_date = expiration_date; token 18 google_apis/gaia/oauth2_token_service_test_util.cc std::string GetValidTokenResponse(std::string token, int expiration) { token 19 google_apis/gaia/oauth2_token_service_test_util.cc return base::StringPrintf(kValidTokenResponse, token.c_str(), expiration); token 34 google_apis/gaia/oauth2_token_service_test_util.cc const std::string& token, token 36 google_apis/gaia/oauth2_token_service_test_util.cc last_token_ = token; token 13 google_apis/gaia/oauth2_token_service_test_util.h std::string GetValidTokenResponse(std::string token, int expiration); token 23 google_apis/gaia/oauth2_token_service_test_util.h const std::string& token, token 38 google_apis/gaia/ubertoken_fetcher.cc void UbertokenFetcher::OnUberAuthTokenSuccess(const std::string& token) { token 39 google_apis/gaia/ubertoken_fetcher.cc consumer_->OnUbertokenSuccess(token); token 33 google_apis/gaia/ubertoken_fetcher.h virtual void OnUbertokenSuccess(const std::string& token) {} token 50 google_apis/gaia/ubertoken_fetcher.h virtual void OnUberAuthTokenSuccess(const std::string& token) OVERRIDE; token 29 google_apis/gaia/ubertoken_fetcher_unittest.cc virtual void OnUbertokenSuccess(const std::string& token) OVERRIDE { token 30 google_apis/gaia/ubertoken_fetcher_unittest.cc last_token_ = token; token 90 google_apis/gcm/engine/mcs_client.cc : token_(message.token()), token 106 google_apis/gcm/engine/mcs_client.cc return token_ < right.token(); token 47 google_apis/gcm/engine/mcs_client_unittest.cc const std::string& token, token 59 google_apis/gcm/engine/mcs_client_unittest.cc data_message.set_token(token); token 184 google_apis/gcm/engine/registration_request.cc const net::URLFetcher* source, std::string* token) { token 199 google_apis/gcm/engine/registration_request.cc *token = response.substr(token_pos + arraysize(kTokenPrefix) - 1); token 225 google_apis/gcm/engine/registration_request.cc std::string token; token 226 google_apis/gcm/engine/registration_request.cc Status status = ParseResponse(source, &token); token 239 google_apis/gcm/engine/registration_request.cc callback_.Run(status, token); token 100 google_apis/gcm/engine/registration_request.h Status ParseResponse(const net::URLFetcher* source, std::string* token); token 106 google_apis/gcm/engine/registration_request_unittest.cc senders.push_back(tokenizer.token()); token 167 google_apis/gcm/engine/registration_request_unittest.cc EXPECT_EQ(kLoginHeader, auth_tokenizer.token()); token 169 google_apis/gcm/engine/registration_request_unittest.cc EXPECT_EQ(base::Uint64ToString(kAndroidId), auth_tokenizer.token()); token 171 google_apis/gcm/engine/registration_request_unittest.cc EXPECT_EQ(base::Uint64ToString(kSecurityToken), auth_tokenizer.token()); token 183 google_apis/gcm/engine/registration_request_unittest.cc expected_pairs.find(data_tokenizer.token()); token 186 google_apis/gcm/engine/registration_request_unittest.cc EXPECT_EQ(iter->second, data_tokenizer.token()); token 206 google_apis/gcm/engine/registration_request_unittest.cc while (data_tokenizer.GetNext() && data_tokenizer.token() != "sender") token 210 google_apis/gcm/engine/registration_request_unittest.cc std::string senders(net::UnescapeURLComponent(data_tokenizer.token(), token 214 google_apis/gcm/engine/registration_request_unittest.cc EXPECT_EQ("sender1", sender_tokenizer.token()); token 216 google_apis/gcm/engine/registration_request_unittest.cc EXPECT_EQ("sender2@gmail.com", sender_tokenizer.token()); token 133 google_apis/gcm/engine/unregistration_request_unittest.cc EXPECT_EQ(kLoginHeader, auth_tokenizer.token()); token 135 google_apis/gcm/engine/unregistration_request_unittest.cc EXPECT_EQ(base::Uint64ToString(kAndroidId), auth_tokenizer.token()); token 137 google_apis/gcm/engine/unregistration_request_unittest.cc EXPECT_EQ(base::Uint64ToString(kSecurityToken), auth_tokenizer.token()); token 153 google_apis/gcm/engine/unregistration_request_unittest.cc expected_pairs.find(data_tokenizer.token()); token 154 google_apis/gcm/engine/unregistration_request_unittest.cc ASSERT_TRUE(iter != expected_pairs.end()) << data_tokenizer.token(); token 155 google_apis/gcm/engine/unregistration_request_unittest.cc ASSERT_TRUE(data_tokenizer.GetNext()) << data_tokenizer.token(); token 156 google_apis/gcm/engine/unregistration_request_unittest.cc EXPECT_EQ(iter->second, data_tokenizer.token()); token 682 google_apis/gcm/gcm_client_impl.cc incoming_message.collapse_key = data_message_stanza.token(); token 56 gpu/command_buffer/client/buffer_tracker.cc void BufferTracker::FreePendingToken(Buffer* buffer, int32 token) { token 58 gpu/command_buffer/client/buffer_tracker.cc mapped_memory_->FreePendingToken(buffer->address_, token); token 70 gpu/command_buffer/client/buffer_tracker.h void set_last_usage_token(int token) { token 71 gpu/command_buffer/client/buffer_tracker.h last_usage_token_ = token; token 109 gpu/command_buffer/client/buffer_tracker.h void FreePendingToken(Buffer* buffer, int32 token); token 37 gpu/command_buffer/client/client_test_helper.cc return state_.token; token 56 gpu/command_buffer/client/client_test_helper.cc state_.token = 10000; // All token checks in the tests should pass. token 101 gpu/command_buffer/client/client_test_helper.cc void MockCommandBufferBase::SetToken(int32 token) { token 103 gpu/command_buffer/client/client_test_helper.cc state_.token = token; token 42 gpu/command_buffer/client/client_test_helper.h virtual void SetToken(int32 token) OVERRIDE; token 229 gpu/command_buffer/client/cmd_buffer_helper.cc void CommandBufferHelper::WaitForToken(int32 token) { token 234 gpu/command_buffer/client/cmd_buffer_helper.cc if (token < 0) token 236 gpu/command_buffer/client/cmd_buffer_helper.cc if (token > token_) return; // we wrapped token 237 gpu/command_buffer/client/cmd_buffer_helper.cc if (last_token_read() > token) token 240 gpu/command_buffer/client/cmd_buffer_helper.cc command_buffer_->WaitForTokenInRange(token, token_); token 90 gpu/command_buffer/client/cmd_buffer_helper.h bool HasTokenPassed(int32 token) const { token 91 gpu/command_buffer/client/cmd_buffer_helper.h if (token > token_) token 93 gpu/command_buffer/client/cmd_buffer_helper.h return last_token_read() >= token; token 101 gpu/command_buffer/client/cmd_buffer_helper.h void WaitForToken(int32 token); token 181 gpu/command_buffer/client/cmd_buffer_helper.h void SetToken(uint32 token) { token 184 gpu/command_buffer/client/cmd_buffer_helper.h cmd->Init(token); token 569 gpu/command_buffer/client/cmd_buffer_helper_test.cc int32 token = helper_->InsertToken(); token 576 gpu/command_buffer/client/cmd_buffer_helper_test.cc helper_->WaitForToken(token); token 596 gpu/command_buffer/client/cmd_buffer_helper_test.cc int32 token = helper_->InsertToken(); token 601 gpu/command_buffer/client/cmd_buffer_helper_test.cc helper_->WaitForToken(token); token 109 gpu/command_buffer/client/fenced_allocator.cc FencedAllocator::Offset offset, int32 token) { token 115 gpu/command_buffer/client/fenced_allocator.cc block.token = token; token 201 gpu/command_buffer/client/fenced_allocator.cc helper_->WaitForToken(block.token); token 214 gpu/command_buffer/client/fenced_allocator.cc helper_->HasTokenPassed(block.token)) { token 68 gpu/command_buffer/client/fenced_allocator.h void FreePendingToken(Offset offset, int32 token); token 104 gpu/command_buffer/client/fenced_allocator.h int32 token; // token to wait for in the FREE_PENDING_TOKEN case. token 204 gpu/command_buffer/client/fenced_allocator.h void FreePendingToken(void *pointer, int32 token) { token 206 gpu/command_buffer/client/fenced_allocator.h allocator_.FreePendingToken(GetOffset(pointer), token); token 74 gpu/command_buffer/client/fenced_allocator_test.cc return command_buffer_->GetState().token; token 212 gpu/command_buffer/client/fenced_allocator_test.cc int32 token = helper_.get()->InsertToken(); token 213 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->FreePendingToken(offsets[0], token); token 219 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_GT(token, GetToken()); token 228 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_LE(token, GetToken()); token 259 gpu/command_buffer/client/fenced_allocator_test.cc int32 token = helper_.get()->InsertToken(); token 260 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->FreePendingToken(offsets[0], token); token 273 gpu/command_buffer/client/fenced_allocator_test.cc token = helper_.get()->InsertToken(); token 274 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->FreePendingToken(offsets[1], token); token 275 gpu/command_buffer/client/fenced_allocator_test.cc token = helper_.get()->InsertToken(); token 276 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->FreePendingToken(offsets[2], token); token 375 gpu/command_buffer/client/fenced_allocator_test.cc int32 token = helper_.get()->InsertToken(); token 376 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->FreePendingToken(offset2, token); token 387 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_GT(token, GetToken()); token 393 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_LE(token, GetToken()); token 621 gpu/command_buffer/client/fenced_allocator_test.cc int32 token = helper_.get()->InsertToken(); token 622 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->FreePendingToken(pointers[0], token); token 628 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_GT(token, GetToken()); token 636 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_LE(token, GetToken()); token 1526 gpu/command_buffer/client/gles2_implementation.cc int32 token = buffer->last_usage_token(); token 1537 gpu/command_buffer/client/gles2_implementation.cc } else if (token) { token 1538 gpu/command_buffer/client/gles2_implementation.cc if (helper_->HasTokenPassed(token)) token 1541 gpu/command_buffer/client/gles2_implementation.cc buffer_tracker_->FreePendingToken(buffer, token); token 2112 gpu/command_buffer/client/gles2_implementation.cc int32 token = helper_->InsertToken(); token 2123 gpu/command_buffer/client/gles2_implementation.cc transfer_buffer_->FreePendingToken(result, token); token 3434 gpu/command_buffer/client/gles2_implementation.cc helper_->WaitForToken(query->token()); token 611 gpu/command_buffer/client/gles2_implementation.h bool HasAsyncUploadTokenPassed(uint32 token) const { token 612 gpu/command_buffer/client/gles2_implementation.h return async_upload_sync_->HasAsyncUploadTokenPassed(token); token 116 gpu/command_buffer/client/mapped_memory.cc void MappedMemoryManager::FreePendingToken(void* pointer, int32 token) { token 120 gpu/command_buffer/client/mapped_memory.cc chunk->FreePendingToken(pointer, token); token 83 gpu/command_buffer/client/mapped_memory.h void FreePendingToken(void* pointer, unsigned int token) { token 84 gpu/command_buffer/client/mapped_memory.h allocator_.FreePendingToken(pointer, token); token 161 gpu/command_buffer/client/mapped_memory.h void FreePendingToken(void* pointer, int32 token); token 71 gpu/command_buffer/client/mapped_memory_unittest.cc return command_buffer_->GetState().token; token 243 gpu/command_buffer/client/mapped_memory_unittest.cc int32 token = helper_.get()->InsertToken(); token 244 gpu/command_buffer/client/mapped_memory_unittest.cc manager_->FreePendingToken(pointers[0], token); token 249 gpu/command_buffer/client/mapped_memory_unittest.cc EXPECT_GT(token, GetToken()); token 253 gpu/command_buffer/client/mapped_memory_unittest.cc EXPECT_LE(token, GetToken()); token 381 gpu/command_buffer/client/mapped_memory_unittest.cc int32 token = helper_.get()->InsertToken(); token 382 gpu/command_buffer/client/mapped_memory_unittest.cc manager_->FreePendingToken(mem2, token); token 387 gpu/command_buffer/client/mapped_memory_unittest.cc EXPECT_GT(token, GetToken()); token 113 gpu/command_buffer/client/query_tracker.h void MarkAsPending(int32 token) { token 114 gpu/command_buffer/client/query_tracker.h token_ = token; token 121 gpu/command_buffer/client/query_tracker.h int32 token() const { token 145 gpu/command_buffer/client/query_tracker_unittest.cc EXPECT_EQ(0, query->token()); token 152 gpu/command_buffer/client/query_tracker_unittest.cc EXPECT_EQ(0, query->token()); token 159 gpu/command_buffer/client/query_tracker_unittest.cc EXPECT_EQ(kToken, query->token()); token 38 gpu/command_buffer/client/ring_buffer.cc helper_->WaitForToken(block.token); token 81 gpu/command_buffer/client/ring_buffer.cc unsigned int token) { token 91 gpu/command_buffer/client/ring_buffer.cc block.token = token; token 103 gpu/command_buffer/client/ring_buffer.cc if (block.token > last_token_read || block.state == IN_USE) break; token 53 gpu/command_buffer/client/ring_buffer.h void FreePendingToken(Offset offset, unsigned int token); token 76 gpu/command_buffer/client/ring_buffer.h token(0), token 81 gpu/command_buffer/client/ring_buffer.h unsigned int token; // token to wait for. token 164 gpu/command_buffer/client/ring_buffer.h void FreePendingToken(void* pointer, unsigned int token) { token 166 gpu/command_buffer/client/ring_buffer.h allocator_.FreePendingToken(GetOffset(pointer), token); token 95 gpu/command_buffer/client/ring_buffer_test.cc return command_buffer_->GetState().token; token 147 gpu/command_buffer/client/ring_buffer_test.cc int32 token = helper_->InsertToken(); token 148 gpu/command_buffer/client/ring_buffer_test.cc allocator_->FreePendingToken(offset, token); token 298 gpu/command_buffer/client/ring_buffer_test.cc EXPECT_LE(command_buffer_->GetState().token, helper_->InsertToken()); token 78 gpu/command_buffer/client/transfer_buffer.cc void TransferBuffer::FreePendingToken(void* p, unsigned int token) { token 79 gpu/command_buffer/client/transfer_buffer.cc ring_buffer_->FreePendingToken(p, token); token 84 gpu/command_buffer/client/transfer_buffer.h virtual void FreePendingToken(void* p, unsigned int token) = 0; token 110 gpu/command_buffer/client/transfer_buffer.h virtual void FreePendingToken(void* p, unsigned int token) OVERRIDE; token 221 gpu/command_buffer/common/cmd_buffer_common.h token = _token; token 223 gpu/command_buffer/common/cmd_buffer_common.h static void* Set(void* cmd, uint32 token) { token 224 gpu/command_buffer/common/cmd_buffer_common.h static_cast<ValueType*>(cmd)->Init(token); token 229 gpu/command_buffer/common/cmd_buffer_common.h uint32 token; token 235 gpu/command_buffer/common/cmd_buffer_common.h COMPILE_ASSERT(offsetof(SetToken, token) == 4, token 26 gpu/command_buffer/common/command_buffer.h token(-1), token 46 gpu/command_buffer/common/command_buffer.h int32 token; token 37 gpu/command_buffer/common/command_buffer_mock.h MOCK_METHOD1(SetToken, void(int32 token)); token 34 gpu/command_buffer/common/command_buffer_shared_test.cc EXPECT_EQ(state.token, -1); token 45 gpu/command_buffer/common/command_buffer_shared_test.cc state.token = i - 1; token 81 gpu/command_buffer/common/command_buffer_shared_test.cc EXPECT_LE(last_state.token, state.token); token 84 gpu/command_buffer/common/command_buffer_shared_test.cc EXPECT_EQ(state.token, state.get_offset - 2); token 160 gpu/command_buffer/common/gles2_cmd_format.h void SetAsyncUploadToken(uint32 token) { token 161 gpu/command_buffer/common/gles2_cmd_format.h DCHECK_NE(token, 0u); token 162 gpu/command_buffer/common/gles2_cmd_format.h base::subtle::Release_Store(&async_upload_token, token); token 165 gpu/command_buffer/common/gles2_cmd_format.h bool HasAsyncUploadTokenPassed(uint32 token) { token 166 gpu/command_buffer/common/gles2_cmd_format.h DCHECK_NE(token, 0u); token 168 gpu/command_buffer/common/gles2_cmd_format.h return (current_token - token < 0x80000000); token 30 gpu/command_buffer/service/cmd_buffer_engine.h virtual void set_token(int32 token) = 0; token 45 gpu/command_buffer/service/command_buffer_service.cc state.token = token_; token 58 gpu/command_buffer/service/command_buffer_service.cc return GetState().token; token 163 gpu/command_buffer/service/command_buffer_service.cc void CommandBufferService::SetToken(int32 token) { token 164 gpu/command_buffer/service/command_buffer_service.cc token_ = token; token 27 gpu/command_buffer/service/command_buffer_service.h virtual void SetToken(int32 token) = 0; token 63 gpu/command_buffer/service/command_buffer_service.h virtual void SetToken(int32 token) OVERRIDE; token 45 gpu/command_buffer/service/command_buffer_service_unittest.cc return command_buffer_->GetState().token; token 69 gpu/command_buffer/service/command_buffer_service_unittest.cc EXPECT_EQ(0, state.token); token 178 gpu/command_buffer/service/common_decoder.cc engine_->set_token(args.token); token 113 gpu/command_buffer/service/common_decoder_unittest.cc virtual void set_token(int32 token) OVERRIDE { token 114 gpu/command_buffer/service/common_decoder_unittest.cc token_ = token; token 212 gpu/command_buffer/service/common_decoder_unittest.cc EXPECT_EQ(0, engine_.token()); token 215 gpu/command_buffer/service/common_decoder_unittest.cc EXPECT_EQ(kTokenId, engine_.token()); token 1430 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc int32 token) { token 526 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h virtual void set_token(int32 token) OVERRIDE; token 188 gpu/command_buffer/service/gpu_scheduler.cc void GpuScheduler::set_token(int32 token) { token 189 gpu/command_buffer/service/gpu_scheduler.cc command_buffer_->SetToken(token); token 87 gpu/command_buffer/service/gpu_scheduler.h virtual void set_token(int32 token) OVERRIDE; token 20 gpu/command_buffer/service/gpu_scheduler_mock.h MOCK_METHOD1(set_token, void(int32 token)); token 499 gpu/command_buffer/service/in_process_command_buffer.cc return last_state_.token; token 27 gpu/command_buffer/service/mocks.cc engine_->set_token(args->token); token 114 gpu/command_buffer/service/query_manager_unittest.cc virtual void set_token(int32 token) OVERRIDE { token 152 gpu/command_buffer/service/test_helper.cc if (t.token() == "GL_OES_EGL_image_external") { token 156 gpu/command_buffer/service/test_helper.cc if (t.token() == "GL_ARB_texture_rectangle") { token 205 gpu/command_buffer/service/test_helper.cc if (t.token() == "GL_OES_EGL_image_external") { token 209 gpu/command_buffer/service/test_helper.cc if (t.token() == "GL_ARB_texture_rectangle") { token 55 gpu/config/gpu_info_collector_x11.cc std::string line = t.token(); token 226 gpu/config/gpu_test_expectations_parser.cc Token token = ParseToken(tokens[i]); token 227 gpu/config/gpu_test_expectations_parser.cc switch (token) { token 249 gpu/config/gpu_test_expectations_parser.cc if (token == kConfigGPUDeviceID) { token 253 gpu/config/gpu_test_expectations_parser.cc if (!UpdateTestConfig(config, token, 0)) token 274 gpu/config/gpu_test_expectations_parser.cc Token token = ParseToken(tokens[i]); token 275 gpu/config/gpu_test_expectations_parser.cc switch (token) { token 306 gpu/config/gpu_test_expectations_parser.cc if (token == kConfigGPUDeviceID) { token 310 gpu/config/gpu_test_expectations_parser.cc if (!UpdateTestConfig(&config, token, line_number)) token 358 gpu/config/gpu_test_expectations_parser.cc if ((kTokenData[token].flag & entry.test_expectation) != 0) { token 364 gpu/config/gpu_test_expectations_parser.cc (kTokenData[token].flag | entry.test_expectation); token 390 gpu/config/gpu_test_expectations_parser.cc GPUTestConfig* config, int32 token, size_t line_number) { token 392 gpu/config/gpu_test_expectations_parser.cc switch (token) { token 407 gpu/config/gpu_test_expectations_parser.cc if ((config->os() & kTokenData[token].flag) != 0) { token 412 gpu/config/gpu_test_expectations_parser.cc config->set_os(config->os() | kTokenData[token].flag); token 420 gpu/config/gpu_test_expectations_parser.cc static_cast<uint32>(kTokenData[token].flag); token 434 gpu/config/gpu_test_expectations_parser.cc if ((config->build_type() & kTokenData[token].flag) != 0) { token 441 gpu/config/gpu_test_expectations_parser.cc config->build_type() | kTokenData[token].flag); token 64 gpu/config/gpu_test_expectations_parser.h GPUTestConfig* config, int32 token, size_t line_number); token 15 gpu/ipc/gpu_command_buffer_traits.cc WriteParam(m, p.token); token 27 gpu/ipc/gpu_command_buffer_traits.cc ReadParam(m, iter, &p->token) && token 53 jingle/notifier/base/gaia_token_pre_xmpp_auth.cc const std::string& token, token 57 jingle/notifier/base/gaia_token_pre_xmpp_auth.cc token_(token), token 21 jingle/notifier/base/gaia_token_pre_xmpp_auth.h GaiaTokenPreXmppAuth(const std::string& username, const std::string& token, token 17 jingle/notifier/base/notifier_options_util.cc const std::string& email, const std::string& token) { token 29 jingle/notifier/base/notifier_options_util.cc token + "bogus" : token); token 22 jingle/notifier/base/notifier_options_util.h const std::string& email, const std::string& token); token 29 jingle/notifier/listener/fake_push_client.cc const std::string& email, const std::string& token) { token 31 jingle/notifier/listener/fake_push_client.cc token_ = token; token 30 jingle/notifier/listener/fake_push_client.h const std::string& email, const std::string& token) OVERRIDE; token 45 jingle/notifier/listener/fake_push_client.h const std::string& token() const; token 39 jingle/notifier/listener/non_blocking_push_client.cc void UpdateCredentials(const std::string& email, const std::string& token); token 102 jingle/notifier/listener/non_blocking_push_client.cc const std::string& email, const std::string& token) { token 105 jingle/notifier/listener/non_blocking_push_client.cc delegate_push_client_->UpdateCredentials(email, token); token 196 jingle/notifier/listener/non_blocking_push_client.cc const std::string& email, const std::string& token) { token 201 jingle/notifier/listener/non_blocking_push_client.cc core_.get(), email, token)); token 50 jingle/notifier/listener/non_blocking_push_client.h const std::string& email, const std::string& token) OVERRIDE; token 87 jingle/notifier/listener/non_blocking_push_client_unittest.cc EXPECT_TRUE(fake_push_client_->token().empty()); token 90 jingle/notifier/listener/non_blocking_push_client_unittest.cc EXPECT_EQ(kToken, fake_push_client_->token()); token 49 jingle/notifier/listener/push_client.h const std::string& email, const std::string& token) = 0; token 121 jingle/notifier/listener/xmpp_push_client.cc const std::string& email, const std::string& token) { token 124 jingle/notifier/listener/xmpp_push_client.cc xmpp_settings_ = MakeXmppClientSettings(notifier_options_, email, token); token 52 jingle/notifier/listener/xmpp_push_client.h const std::string& email, const std::string& token) OVERRIDE; token 26 media/video/capture/file_video_capture_device.cc int ParseY4MInt(const base::StringPiece& token) { token 28 media/video/capture/file_video_capture_device.cc CHECK(base::StringToInt(token, &temp_int)) << token; token 34 media/video/capture/file_video_capture_device.cc void ParseY4MRational(const base::StringPiece& token, token 37 media/video/capture/file_video_capture_device.cc size_t index_divider = token.find(':'); token 38 media/video/capture/file_video_capture_device.cc CHECK_NE(index_divider, token.npos); token 39 media/video/capture/file_video_capture_device.cc *numerator = ParseY4MInt(token.substr(0, index_divider)); token 40 media/video/capture/file_video_capture_device.cc *denominator = ParseY4MInt(token.substr(index_divider + 1, token.length())); token 62 media/video/capture/file_video_capture_device.cc base::StringPiece token; token 67 media/video/capture/file_video_capture_device.cc token = token 69 media/video/capture/file_video_capture_device.cc CHECK(!token.empty()); token 72 media/video/capture/file_video_capture_device.cc video_format->frame_size.set_width(ParseY4MInt(token)); token 75 media/video/capture/file_video_capture_device.cc video_format->frame_size.set_height(ParseY4MInt(token)); token 79 media/video/capture/file_video_capture_device.cc if (token[0] == 'R') token 82 media/video/capture/file_video_capture_device.cc ParseY4MRational(token, &fps_numerator, &fps_denominator); token 88 media/video/capture/file_video_capture_device.cc CHECK_NE(token[0], 'm'); token 94 media/video/capture/file_video_capture_device.cc CHECK(token == "420" || token == "420jpeg" || token == "420paldv") token 95 media/video/capture/file_video_capture_device.cc << token; // Only I420 is supported, and we fudge the variants. token 100 mojo/gles2/command_buffer_client_impl.cc return last_state_.token; token 113 mojo/gles2/command_buffer_client_impl.cc while (!InRange(start, end, last_state_.token) && token 19 mojo/services/gles2/command_buffer_type_conversions.cc result.set_token(input.token); token 33 mojo/services/gles2/command_buffer_type_conversions.cc state.token = input.token(); token 105 net/base/host_mapping_rules.cc bool ok = AddRuleFromString(rules.token()); token 106 net/base/host_mapping_rules.cc LOG_IF(ERROR, !ok) << "Failed parsing rule: " << rules.token(); token 152 net/base/ip_pattern.cc if (!ValueTextToInt(range_pair.token(), &min)) token 156 net/base/ip_pattern.cc if (!ValueTextToInt(range_pair.token(), &max)) token 396 net/base/net_util.cc if (IsComponentCoveredByLang(component_characters, t.token())) token 127 net/base/net_util_posix.cc std::string network_item = network_interfaces.token(); token 130 net/base/net_util_posix.cc std::string name = network_tokenizer.token(); token 133 net/base/net_util_posix.cc std::string interface_address = network_tokenizer.token(); token 136 net/base/net_util_posix.cc CHECK(ParseCIDRBlock(network_tokenizer.token(), token 142 net/base/net_util_posix.cc CHECK(base::StringToUint(network_tokenizer.token(), &index)); token 260 net/cookies/cookie_store_unittest.h EXPECT_TRUE(tokens.insert(tokenizer.token()).second); token 117 net/cookies/cookie_util.cc const std::string token = tokenizer.token(); token 118 net/cookies/cookie_util.cc DCHECK(!token.empty()); token 119 net/cookies/cookie_util.cc bool numerical = IsAsciiDigit(token[0]); token 126 net/cookies/cookie_util.cc if (base::strncasecmp(token.c_str(), kMonths[i], 3) == 0) { token 142 net/cookies/cookie_util.cc } else if (token.find(':') != std::string::npos) { token 149 net/cookies/cookie_util.cc token.c_str(), "%2u:%2u:%2u", &exploded.hour, token 161 net/cookies/cookie_util.cc if (!found_day_of_month && token.length() <= 2) { token 162 net/cookies/cookie_util.cc exploded.day_of_month = atoi(token.c_str()); token 164 net/cookies/cookie_util.cc } else if (!found_year && token.length() <= 5) { token 165 net/cookies/cookie_util.cc exploded.year = atoi(token.c_str()); token 323 net/cookies/parsed_cookie.cc std::string ParsedCookie::ParseTokenString(const std::string& token) { token 324 net/cookies/parsed_cookie.cc std::string::const_iterator it = token.begin(); token 325 net/cookies/parsed_cookie.cc std::string::const_iterator end = FindFirstTerminator(token); token 98 net/cookies/parsed_cookie.h static std::string ParseTokenString(const std::string& token); token 180 net/disk_cache/simple/simple_index.cc base::StringToInt(tokens.token(), &foreground_delay) && token 182 net/disk_cache/simple/simple_index.cc base::StringToInt(tokens.token(), &background_delay)) { token 118 net/dns/dns_hosts.cc StringPiece new_ip_text = parser.token(); token 124 net/dns/dns_hosts.cc if (ParseIPLiteralToNumber(parser.token().as_string(), &new_ip)) { token 133 net/dns/dns_hosts.cc DnsHostsKey key(parser.token().as_string(), family); token 52 net/dns/notify_watcher_mac.cc int token; token 53 net/dns/notify_watcher_mac.cc int status = HANDLE_EINTR(read(notify_fd_, &token, sizeof(token))); token 54 net/dns/notify_watcher_mac.cc if (status != sizeof(token)) { token 41 net/ftp/ftp_util.cc tokens.push_back(tokenizer.token()); token 37 net/http/http_auth_handler_digest_unittest.cc std::string* token) { token 39 net/http/http_auth_handler_digest_unittest.cc if (token == NULL) { token 47 net/http/http_auth_handler_digest_unittest.cc token->clear(); token 74 net/http/http_auth_handler_digest_unittest.cc &credentials, request.get(), callback.callback(), token); token 225 net/http/http_auth_handler_negotiate_unittest.cc std::string token; token 227 net/http/http_auth_handler_negotiate_unittest.cc callback.callback(), &token)); token 243 net/http/http_auth_handler_negotiate_unittest.cc std::string token; token 245 net/http/http_auth_handler_negotiate_unittest.cc callback.callback(), &token)); token 261 net/http/http_auth_handler_negotiate_unittest.cc std::string token; token 263 net/http/http_auth_handler_negotiate_unittest.cc callback.callback(), &token)); token 279 net/http/http_auth_handler_negotiate_unittest.cc std::string token; token 281 net/http/http_auth_handler_negotiate_unittest.cc callback.callback(), &token)); token 297 net/http/http_auth_handler_negotiate_unittest.cc std::string token; token 299 net/http/http_auth_handler_negotiate_unittest.cc NULL, &request_info, callback.callback(), &token)); token 320 net/http/http_auth_handler_negotiate_unittest.cc std::string token; token 322 net/http/http_auth_handler_negotiate_unittest.cc NULL, &request_info, callback.callback(), &token)); token 336 net/http/http_auth_handler_negotiate_unittest.cc std::string token; token 338 net/http/http_auth_handler_negotiate_unittest.cc NULL, &request_info, callback.callback(), &token)); token 138 net/http/http_content_disposition.cc std::string part = t.token(); token 256 net/http/http_content_disposition.cc if (!DecodeWord(t.token(), referrer_charset, &is_previous_token_rfc2047, token 285 net/http/http_content_disposition.cc temp_charset = t.token(); token 291 net/http/http_content_disposition.cc temp_value = t.token(); token 193 net/http/http_security_headers.cc DCHECK(!tokenizer.token_is_delim() || tokenizer.token().length() == 1); token 199 net/http/http_security_headers.cc if (LowerCaseEqualsASCII(tokenizer.token(), "max-age")) { token 202 net/http/http_security_headers.cc } else if (LowerCaseEqualsASCII(tokenizer.token(), token 217 net/http/http_security_headers.cc DCHECK_EQ(tokenizer.token().length(), 1U); token 224 net/http/http_security_headers.cc unquoted = HttpUtil::Unquote(tokenizer.token()); token 657 net/http/http_util.cc std::string language = t.token(); token 256 net/proxy/proxy_bypass_rules.cc AddRuleFromStringInternalWithLogging(entries.token(), token 32 net/proxy/proxy_config.cc ProxyServer::FromURI(proxy_uri_list.token(), default_scheme)); token 99 net/proxy/proxy_config.cc std::string url_scheme = proxy_server_for_scheme.token(); token 134 net/proxy/proxy_config.cc AddProxyURIListToProxyList(proxy_server_for_scheme.token(), token 107 net/proxy/proxy_config_service_android.cc std::string token = tokenizer.token(); token 109 net/proxy/proxy_config_service_android.cc base::TrimWhitespaceASCII(token, base::TRIM_ALL, &pattern); token 1063 net/proxy/proxy_config_service_linux.cc std::string token = tk.token(); token 1064 net/proxy/proxy_config_service_linux.cc if (!token.empty()) token 1065 net/proxy/proxy_config_service_linux.cc tokens.push_back(token); token 187 net/proxy/proxy_config_service_win.cc std::string bypass_url_domain = proxy_server_bypass_list.token(); token 288 net/proxy/proxy_resolver_v8.cc if (!ParseIPLiteralToNumber(str_tok.token(), &ip_num)) token 290 net/proxy/proxy_resolver_v8.cc ip_vector.push_back(IPAddress(str_tok.token(), ip_num)); token 224 net/quic/crypto/quic_crypto_client_config.cc StringPiece token) { token 225 net/quic/crypto/quic_crypto_client_config.cc source_address_token_ = token.as_string(); token 547 net/quic/crypto/quic_crypto_client_config.cc StringPiece token; token 548 net/quic/crypto/quic_crypto_client_config.cc if (rej.GetStringPiece(kSourceAddressTokenTag, &token)) { token 549 net/quic/crypto/quic_crypto_client_config.cc cached->set_source_address_token(token); token 623 net/quic/crypto/quic_crypto_client_config.cc StringPiece token; token 624 net/quic/crypto/quic_crypto_client_config.cc if (server_hello.GetStringPiece(kSourceAddressTokenTag, &token)) { token 625 net/quic/crypto/quic_crypto_client_config.cc cached->set_source_address_token(token); token 88 net/quic/crypto/quic_crypto_client_config.h void set_source_address_token(base::StringPiece token); token 1233 net/quic/crypto/quic_crypto_server_config.cc StringPiece token, token 1238 net/quic/crypto/quic_crypto_server_config.cc if (!source_address_token_boxer_.Unbox(token, &storage, &plaintext)) { token 1293 net/quic/crypto/quic_crypto_server_config.cc bool QuicCryptoServerConfig::ValidateServerNonce(StringPiece token, token 1297 net/quic/crypto/quic_crypto_server_config.cc if (!server_nonce_boxer_.Unbox(token, &storage, &plaintext)) { token 371 net/quic/crypto/quic_crypto_server_config.h bool ValidateSourceAddressToken(base::StringPiece token, token 183 net/test/embedded_test_server/http_request.cc HttpMethod HttpRequestParser::GetMethodType(const std::string& token) const { token 184 net/test/embedded_test_server/http_request.cc if (token == "get") { token 186 net/test/embedded_test_server/http_request.cc } else if (token == "head") { token 188 net/test/embedded_test_server/http_request.cc } else if (token == "post") { token 190 net/test/embedded_test_server/http_request.cc } else if (token == "put") { token 192 net/test/embedded_test_server/http_request.cc } else if (token == "delete") { token 194 net/test/embedded_test_server/http_request.cc } else if (token == "patch") { token 197 net/test/embedded_test_server/http_request.cc NOTREACHED() << "Method not implemented: " << token; token 87 net/test/embedded_test_server/http_request.h HttpMethod GetMethodType(const std::string& token) const; token 69 net/tools/balsa/balsa_headers_token_utils.cc const base::StringPiece& token) { token 89 net/tools/balsa/balsa_headers_token_utils.cc StringPieceUtils::StartsWithIgnoreCase(tokens.back(), token); token 26 net/tools/balsa/balsa_headers_token_utils.h const base::StringPiece& token); token 794 net/tools/epoll_server/epoll_server.cc void EpollAlarm::OnRegistration(const EpollServer::AlarmRegToken& token, token 798 net/tools/epoll_server/epoll_server.cc token_ = token; token 991 net/tools/epoll_server/epoll_server.h virtual void OnRegistration(const EpollServer::AlarmRegToken& token, token 1029 net/tools/epoll_server/epoll_server.h virtual void OnRegistration(const EpollServer::AlarmRegToken& token, token 75 net/websockets/websocket_extension_parser.cc void WebSocketExtensionParser::ConsumeToken(base::StringPiece* token) { token 87 net/websockets/websocket_extension_parser.cc *token = base::StringPiece(head, current_ - head); token 90 net/websockets/websocket_extension_parser.cc void WebSocketExtensionParser::ConsumeQuotedToken(std::string* token) { token 94 net/websockets/websocket_extension_parser.cc *token = ""; token 99 net/websockets/websocket_extension_parser.cc *token += next; token 104 net/websockets/websocket_extension_parser.cc *token += current_[0]; token 113 net/websockets/websocket_extension_parser.cc has_error_ = has_error_ || token->empty(); token 39 net/websockets/websocket_extension_parser.h void ConsumeToken(base::StringPiece* token); token 40 net/websockets/websocket_extension_parser.h void ConsumeQuotedToken(std::string* token); token 53 ppapi/proxy/ppapi_command_buffer_proxy.cc return last_state_.token; token 870 remoting/client/plugin/chromoting_instance.cc std::string token; token 872 remoting/client/plugin/chromoting_instance.cc if (!data.GetString("token", &token) || token 878 remoting/client/plugin/chromoting_instance.cc pepper_token_fetcher_->OnTokenFetched(token, shared_secret); token 33 remoting/client/plugin/pepper_token_fetcher.cc const std::string& token, const std::string& shared_secret) { token 35 remoting/client/plugin/pepper_token_fetcher.cc token_fetched_callback_.Run(token, shared_secret); token 30 remoting/client/plugin/pepper_token_fetcher.h void OnTokenFetched(const std::string& token, token 62 remoting/host/token_validator_base.cc const std::string& token, token 70 remoting/host/token_validator_base.cc StartValidateRequest(token); token 48 remoting/host/token_validator_base.h const std::string& token, token 67 remoting/host/token_validator_base.h virtual void StartValidateRequest(const std::string& token) = 0; token 48 remoting/host/token_validator_factory_impl.cc virtual void StartValidateRequest(const std::string& token) OVERRIDE; token 75 remoting/host/token_validator_factory_impl.cc void TokenValidatorImpl::StartValidateRequest(const std::string& token) { token 76 remoting/host/token_validator_factory_impl.cc post_body_ = "code=" + net::EscapeUrlEncodedData(token, true) + token 80 remoting/host/token_validator_factory_impl.cc key_pair_->SignMessage(token), true) + token 51 remoting/host/win/chromoting_module.cc base::win::ScopedHandle token(temp_handle); token 57 remoting/host/win/chromoting_module.cc BOOL result = GetTokenInformation(token, TokenIntegrityLevel, token 65 remoting/host/win/chromoting_module.cc result = GetTokenInformation(token, TokenIntegrityLevel, token 82 remoting/host/win/chromoting_module.cc if (!SetTokenInformation(token, TokenIntegrityLevel, mandatory_label.get(), token 304 remoting/host/win/launch_process_with_token.cc HANDLE token; token 42 remoting/host/win/security_descriptor.cc ScopedSid GetLogonSid(HANDLE token) { token 44 remoting/host/win/security_descriptor.cc if (GetTokenInformation(token, TokenGroups, NULL, 0, &length) || token 50 remoting/host/win/security_descriptor.cc if (!GetTokenInformation(token, TokenGroups, groups.get(), length, &length)) token 28 remoting/host/win/security_descriptor.h ScopedSid GetLogonSid(HANDLE token); token 82 remoting/host/win/unprivileged_process_delegate.cc ScopedHandle token(temp_handle); token 85 remoting/host/win/unprivileged_process_delegate.cc if (restricted_token.Init(token) != ERROR_SUCCESS) token 238 remoting/host/win/unprivileged_process_delegate.cc ScopedHandle token; token 239 remoting/host/win/unprivileged_process_delegate.cc if (!CreateRestrictedToken(&token)) { token 248 remoting/host/win/unprivileged_process_delegate.cc ScopedSid logon_sid = GetLogonSid(token); token 312 remoting/host/win/unprivileged_process_delegate.cc token, token 53 remoting/protocol/third_party_authenticator_unittest.cc void OnTokenFetched(const std::string& token, token 58 remoting/protocol/third_party_authenticator_unittest.cc on_token_fetched.Run(token, shared_secret); token 74 remoting/protocol/third_party_authenticator_unittest.cc const std::string& token, token 39 remoting/protocol/third_party_client_authenticator.h const std::string& token, token 37 remoting/protocol/third_party_host_authenticator.cc std::string token = message->TextNamed(kTokenTag); token 38 remoting/protocol/third_party_host_authenticator.cc if (token.empty()) { token 52 remoting/protocol/third_party_host_authenticator.cc token_validator_->ValidateThirdPartyToken(token, base::Bind( token 39 remoting/protocol/token_validator.h const std::string& token, token 35 rlz/win/lib/process_info.cc HANDLE token; token 37 rlz/win/lib/process_info.cc CHECK(::OpenProcessToken(::GetCurrentProcess(), TOKEN_QUERY, &token)); token 39 rlz/win/lib/process_info.cc base::win::ScopedHandle scoped_process_token(token); token 46 rlz/win/lib/process_info.cc BOOL result = ::GetTokenInformation(token, TokenUser, NULL, 0, token 54 rlz/win/lib/process_info.cc CHECK(::GetTokenInformation(token, TokenUser, token_user_bytes.get(), token 15 sandbox/win/src/acl.cc HANDLE token, token 17 sandbox/win/src/acl.cc if (token == NULL) token 23 sandbox/win/src/acl.cc ::GetTokenInformation(token, TokenDefaultDacl, NULL, 0, &length); token 33 sandbox/win/src/acl.cc if (!::GetTokenInformation(token, TokenDefaultDacl, default_dacl->get(), token 59 sandbox/win/src/acl.cc bool AddSidToDefaultDacl(HANDLE token, const Sid& sid, ACCESS_MASK access) { token 60 sandbox/win/src/acl.cc if (token == NULL) token 64 sandbox/win/src/acl.cc if (!GetDefaultDacl(token, &default_dacl)) token 75 sandbox/win/src/acl.cc BOOL ret = ::SetTokenInformation(token, TokenDefaultDacl, &new_token_dacl, token 81 sandbox/win/src/acl.cc bool AddUserSidToDefaultDacl(HANDLE token, ACCESS_MASK access) { token 87 sandbox/win/src/acl.cc if (!::GetTokenInformation(token, TokenUser, token_user, size, &size)) token 90 sandbox/win/src/acl.cc return AddSidToDefaultDacl(token, token 18 sandbox/win/src/acl.h HANDLE token, token 29 sandbox/win/src/acl.h bool AddSidToDefaultDacl(HANDLE token, const Sid& sid, ACCESS_MASK access); token 33 sandbox/win/src/acl.h bool AddUserSidToDefaultDacl(HANDLE token, ACCESS_MASK access); token 19 sandbox/win/src/integrity_level_test.cc ATL::CAccessToken token; token 20 sandbox/win/src/integrity_level_test.cc if (!token.GetEffectiveToken(TOKEN_READ)) token 25 sandbox/win/src/integrity_level_test.cc if (!::GetTokenInformation(token.GetHandle(), TokenIntegrityLevel, token 55 sandbox/win/src/interceptors_64.cc PHANDLE token) { token 59 sandbox/win/src/interceptors_64.cc token); token 64 sandbox/win/src/interceptors_64.cc ULONG handle_attributes, PHANDLE token) { token 68 sandbox/win/src/interceptors_64.cc open_as_self, handle_attributes, token); token 175 sandbox/win/src/interceptors_64.cc HANDLE process, ACCESS_MASK desired_access, PHANDLE token) { token 178 sandbox/win/src/interceptors_64.cc return TargetNtOpenProcessToken(orig_fn, process, desired_access, token); token 183 sandbox/win/src/interceptors_64.cc PHANDLE token) { token 187 sandbox/win/src/interceptors_64.cc handle_attributes, token); token 40 sandbox/win/src/interceptors_64.h PHANDLE token); token 45 sandbox/win/src/interceptors_64.h ULONG handle_attributes, PHANDLE token); token 111 sandbox/win/src/interceptors_64.h HANDLE process, ACCESS_MASK desired_access, PHANDLE token); token 116 sandbox/win/src/interceptors_64.h PHANDLE token); token 84 sandbox/win/src/policy_target.cc HANDLE token; token 85 sandbox/win/src/policy_target.cc if (sizeof(token) > thread_information_bytes) token 88 sandbox/win/src/policy_target.cc NTSTATUS ret = CopyData(&token, thread_information, sizeof(token)); token 89 sandbox/win/src/policy_target.cc if (!NT_SUCCESS(ret) || NULL != token) token 108 sandbox/win/src/policy_target.cc ACCESS_MASK desired_access, BOOLEAN open_as_self, PHANDLE token) { token 112 sandbox/win/src/policy_target.cc return orig_OpenThreadToken(thread, desired_access, open_as_self, token); token 119 sandbox/win/src/policy_target.cc PHANDLE token) { token 124 sandbox/win/src/policy_target.cc handle_attributes, token); token 32 sandbox/win/src/policy_target.h ACCESS_MASK desired_access, BOOLEAN open_as_self, PHANDLE token); token 39 sandbox/win/src/policy_target.h PHANDLE token); token 230 sandbox/win/src/process_policy_test.cc HANDLE token = NULL; token 232 sandbox/win/src/process_policy_test.cc ::OpenProcessToken(pi.process_handle(), TOKEN_IMPERSONATE, &token); token 235 sandbox/win/src/process_policy_test.cc base::win::ScopedHandle token_handle(token); token 240 sandbox/win/src/process_policy_test.cc if (result && token) token 251 sandbox/win/src/process_policy_test.cc HANDLE token; token 252 sandbox/win/src/process_policy_test.cc if (!::OpenProcessToken(::GetCurrentProcess(), TOKEN_ALL_ACCESS, &token)) { token 257 sandbox/win/src/process_policy_test.cc ::CloseHandle(token); token 175 sandbox/win/src/process_thread_interception.cc ACCESS_MASK desired_access, PHANDLE token) { token 176 sandbox/win/src/process_thread_interception.cc NTSTATUS status = orig_OpenProcessToken(process, desired_access, token); token 187 sandbox/win/src/process_thread_interception.cc if (!ValidParameter(token, sizeof(HANDLE), WRITE)) token 206 sandbox/win/src/process_thread_interception.cc *token = answer.handle; token 219 sandbox/win/src/process_thread_interception.cc ACCESS_MASK desired_access, ULONG handle_attributes, PHANDLE token) { token 221 sandbox/win/src/process_thread_interception.cc handle_attributes, token); token 232 sandbox/win/src/process_thread_interception.cc if (!ValidParameter(token, sizeof(HANDLE), WRITE)) token 251 sandbox/win/src/process_thread_interception.cc *token = answer.handle; token 64 sandbox/win/src/process_thread_interception.h ACCESS_MASK desired_access, PHANDLE token); token 69 sandbox/win/src/process_thread_interception.h ACCESS_MASK desired_access, ULONG handle_attributes, PHANDLE token); token 19 sandbox/win/src/restricted_token_unittest.cc RestrictedToken token; token 20 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_INVALID_HANDLE, token.Init(reinterpret_cast<HANDLE>(0x5555))); token 78 sandbox/win/src/restricted_token_unittest.cc RestrictedToken token; token 79 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.Init(access_token.GetHandle())); token 85 sandbox/win/src/restricted_token_unittest.cc token.GetRestrictedTokenHandle(&restricted_token_handle)); token 101 sandbox/win/src/restricted_token_unittest.cc RestrictedToken token; token 102 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.Init(NULL)); token 105 sandbox/win/src/restricted_token_unittest.cc token.AddRestrictingSid(ATL::Sids::World().GetPSID())); token 108 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.GetRestrictedTokenHandle(&restricted_token)); token 124 sandbox/win/src/restricted_token_unittest.cc token.GetRestrictedTokenHandleForImpersonation(&impersonation_token)); token 142 sandbox/win/src/restricted_token_unittest.cc RestrictedToken token; token 143 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.Init(NULL)); token 146 sandbox/win/src/restricted_token_unittest.cc token.AddRestrictingSid(ATL::Sids::World().GetPSID())); token 149 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.GetRestrictedTokenHandle(&handle)); token 175 sandbox/win/src/restricted_token_unittest.cc RestrictedToken token; token 178 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.Init(NULL)); token 179 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.AddSidForDenyOnly(Sid(WinWorldSid))); token 180 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.GetRestrictedTokenHandle(&token_handle)); token 202 sandbox/win/src/restricted_token_unittest.cc RestrictedToken token; token 205 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.Init(NULL)); token 206 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.AddAllSidsForDenyOnly(NULL)); token 207 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.GetRestrictedTokenHandle(&token_handle)); token 231 sandbox/win/src/restricted_token_unittest.cc RestrictedToken token; token 237 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.Init(NULL)); token 238 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.AddAllSidsForDenyOnly(&sids_exception)); token 239 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.GetRestrictedTokenHandle(&token_handle)); token 267 sandbox/win/src/restricted_token_unittest.cc RestrictedToken token; token 270 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.Init(NULL)); token 271 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.AddUserSidForDenyOnly()); token 272 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.GetRestrictedTokenHandle(&token_handle)); token 307 sandbox/win/src/restricted_token_unittest.cc RestrictedToken token; token 308 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.Init(access_token.GetHandle())); token 309 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.AddUserSidForDenyOnly()); token 310 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.GetRestrictedTokenHandle(&token_handle)); token 335 sandbox/win/src/restricted_token_unittest.cc RestrictedToken token; token 338 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.Init(NULL)); token 339 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.DeleteAllPrivileges(NULL)); token 340 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.GetRestrictedTokenHandle(&token_handle)); token 353 sandbox/win/src/restricted_token_unittest.cc RestrictedToken token; token 359 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.Init(NULL)); token 360 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.DeleteAllPrivileges(&exceptions)); token 361 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.GetRestrictedTokenHandle(&token_handle)); token 383 sandbox/win/src/restricted_token_unittest.cc RestrictedToken token; token 386 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.Init(NULL)); token 387 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.DeletePrivilege(SE_CHANGE_NOTIFY_NAME)); token 388 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.GetRestrictedTokenHandle(&token_handle)); token 443 sandbox/win/src/restricted_token_unittest.cc RestrictedToken token; token 446 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.Init(NULL)); token 448 sandbox/win/src/restricted_token_unittest.cc token.AddRestrictingSid(ATL::Sids::World().GetPSID())); token 449 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.GetRestrictedTokenHandle(&token_handle)); token 459 sandbox/win/src/restricted_token_unittest.cc RestrictedToken token; token 462 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.Init(NULL)); token 463 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.AddRestrictingSidCurrentUser()); token 464 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.GetRestrictedTokenHandle(&token_handle)); token 486 sandbox/win/src/restricted_token_unittest.cc RestrictedToken token; token 487 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.Init(access_token.GetHandle())); token 488 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.AddRestrictingSidCurrentUser()); token 489 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.GetRestrictedTokenHandle(&token_handle)); token 501 sandbox/win/src/restricted_token_unittest.cc RestrictedToken token; token 504 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.Init(NULL)); token 505 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.AddRestrictingSidLogonSession()); token 506 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.GetRestrictedTokenHandle(&token_handle)); token 518 sandbox/win/src/restricted_token_unittest.cc RestrictedToken token; token 521 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.Init(NULL)); token 522 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.AddRestrictingSidCurrentUser()); token 523 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.AddRestrictingSidLogonSession()); token 525 sandbox/win/src/restricted_token_unittest.cc token.AddRestrictingSid(ATL::Sids::World().GetPSID())); token 526 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.GetRestrictedTokenHandle(&token_handle)); token 550 sandbox/win/src/restricted_token_unittest.cc RestrictedToken token; token 553 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.Init(NULL)); token 554 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.AddRestrictingSidAllSids()); token 555 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.GetRestrictedTokenHandle(&token_handle)); token 585 sandbox/win/src/restricted_token_unittest.cc RestrictedToken token; token 586 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_SUCCESS, token.Init(NULL)); token 588 sandbox/win/src/restricted_token_unittest.cc ASSERT_EQ(ERROR_ALREADY_INITIALIZED, token.Init(NULL)); token 298 sandbox/win/src/restricted_token_utils.cc DWORD SetTokenIntegrityLevel(HANDLE token, IntegrityLevel integrity_level) { token 317 sandbox/win/src/restricted_token_utils.cc BOOL result = ::SetTokenInformation(token, TokenIntegrityLevel, &label, token 340 sandbox/win/src/restricted_token_utils.cc base::win::ScopedHandle token(token_handle); token 342 sandbox/win/src/restricted_token_utils.cc return SetTokenIntegrityLevel(token.Get(), integrity_level); token 74 sandbox/win/src/restricted_token_utils.h DWORD SetTokenIntegrityLevel(HANDLE token, IntegrityLevel integrity_level); token 208 sync/android/java/src/org/chromium/sync/notifier/InvalidationService.java public void tokenAvailable(String token) { token 209 sync/android/java/src/org/chromium/sync/notifier/InvalidationService.java if (token != null) { token 211 sync/android/java/src/org/chromium/sync/notifier/InvalidationService.java pendingIntent, token, getOAuth2ScopeWithType()); token 61 sync/android/java/src/org/chromium/sync/signin/AccountManagerHelper.java void tokenAvailable(String token); token 240 sync/engine/directory_update_handler_unittest.cc EXPECT_EQ(progress.token(), saved.token()); token 318 sync/engine/syncer_proto_util.cc if (!message.get_updates().from_progress_marker(i).token().empty()) token 25 sync/internal_api/public/util/immutable_unittest.cc explicit TokenCore(const char* token) : token_(token), copy_count_(0) {} token 56 sync/internal_api/public/util/immutable_unittest.cc explicit TokenBase(const char* token) : core_(new TokenCore(token)) {} token 154 sync/internal_api/public/util/immutable_unittest.cc void RunTokenTest(const char* token, bool expect_copies) { token 155 sync/internal_api/public/util/immutable_unittest.cc SCOPED_TRACE(token); token 156 sync/internal_api/public/util/immutable_unittest.cc T t(token); token 157 sync/internal_api/public/util/immutable_unittest.cc EXPECT_EQ(token, t.GetToken()); token 161 sync/internal_api/public/util/immutable_unittest.cc EXPECT_EQ(token, immutable_t.Get().GetToken()); token 192 sync/internal_api/public/util/immutable_unittest.cc void RunTokenContainerTest(const char* token) { token 193 sync/internal_api/public/util/immutable_unittest.cc SCOPED_TRACE(token); token 194 sync/internal_api/public/util/immutable_unittest.cc const Token tokens[] = { Token(), Token(token) }; token 263 sync/internal_api/sync_manager_impl.cc if (marker.token().empty()) token 59 sync/notifier/fake_invalidator.cc const std::string& email, const std::string& token) { token 61 sync/notifier/fake_invalidator.cc token_ = token; token 39 sync/notifier/fake_invalidator.h const std::string& email, const std::string& token) OVERRIDE; token 183 sync/notifier/gcm_network_channel.cc const std::string& token) { token 203 sync/notifier/gcm_network_channel.cc DCHECK(!token.empty()); token 205 sync/notifier/gcm_network_channel.cc access_token_ = token; token 364 sync/notifier/gcm_network_channel.cc const std::string& token) { token 68 sync/notifier/gcm_network_channel.h const std::string& token) OVERRIDE; token 92 sync/notifier/gcm_network_channel.h const std::string& token); token 28 sync/notifier/gcm_network_channel_delegate.h const std::string& token)> RequestTokenCallback; token 41 sync/notifier/gcm_network_channel_delegate.h virtual void InvalidateToken(const std::string& token) = 0; token 26 sync/notifier/gcm_network_channel_unittest.cc virtual void InvalidateToken(const std::string& token) OVERRIDE { token 27 sync/notifier/gcm_network_channel_unittest.cc invalidated_token = token; token 63 sync/notifier/invalidation_notifier.cc const std::string& email, const std::string& token) { token 73 sync/notifier/invalidation_notifier.cc invalidation_listener_.UpdateCredentials(email, token); token 60 sync/notifier/invalidation_notifier.h const std::string& email, const std::string& token) OVERRIDE; token 80 sync/notifier/invalidator.h const std::string& email, const std::string& token) = 0; token 50 sync/notifier/invalidator_registrar_unittest.cc const std::string& email, const std::string& token) OVERRIDE { token 108 sync/notifier/non_blocking_invalidator.cc void UpdateCredentials(const std::string& email, const std::string& token); token 174 sync/notifier/non_blocking_invalidator.cc const std::string& token) { token 176 sync/notifier/non_blocking_invalidator.cc invalidation_notifier_->UpdateCredentials(email, token); token 277 sync/notifier/non_blocking_invalidator.cc const std::string& token) { token 282 sync/notifier/non_blocking_invalidator.cc core_.get(), email, token))) { token 65 sync/notifier/non_blocking_invalidator.h const std::string& email, const std::string& token) OVERRIDE; token 189 sync/notifier/p2p_invalidator.cc const std::string& email, const std::string& token) { token 201 sync/notifier/p2p_invalidator.cc push_client_->UpdateCredentials(email, token); token 111 sync/notifier/p2p_invalidator.h const std::string& email, const std::string& token) OVERRIDE; token 230 sync/notifier/p2p_invalidator_unittest.cc EXPECT_EQ(kToken, push_client->token()); token 39 sync/notifier/push_client_channel.cc const std::string& email, const std::string& token) { token 40 sync/notifier/push_client_channel.cc push_client_->UpdateCredentials(email, token); token 45 sync/notifier/push_client_channel.h const std::string& token) OVERRIDE; token 71 sync/notifier/push_client_channel_unittest.cc EXPECT_TRUE(fake_push_client_->token().empty()); token 74 sync/notifier/push_client_channel_unittest.cc EXPECT_EQ(kToken, fake_push_client_->token()); token 95 sync/notifier/sync_invalidation_listener.cc const std::string& email, const std::string& token) { token 97 sync/notifier/sync_invalidation_listener.cc sync_network_channel_->UpdateCredentials(email, token); token 85 sync/notifier/sync_invalidation_listener.h void UpdateCredentials(const std::string& email, const std::string& token); token 117 sync/notifier/sync_system_resources.h const std::string& token) = 0; token 191 sync/notifier/sync_system_resources_unittest.cc const std::string& token) OVERRIDE { token 863 sync/protocol/proto_value_conversions.cc SET_BYTES(token); token 3498 sync/syncable/directory_backing_store_unittest.cc .token().empty()); token 522 sync/test/engine/mock_connection_manager.cc std::string token = response->get_updates().new_progress_marker(0).token(); token 528 sync/test/engine/mock_connection_manager.cc new_marker->set_token(token); token 139 sync/test/fake_server/fake_server.cc if (marker.has_token() && !marker.token().empty()) { token 140 sync/test/fake_server/fake_server.cc bool parsed = base::StringToInt64(marker.token(), &version); token 160 sync/tools/sync_listen_notifications.cc std::string token = command_line.GetSwitchValueASCII(kTokenSwitch); token 163 sync/tools/sync_listen_notifications.cc if (email.empty() || token.empty()) { token 202 sync/tools/sync_listen_notifications.cc invalidator->UpdateCredentials(email, token); token 252 sync/util/cryptographer.cc bool Cryptographer::GetBootstrapToken(std::string* token) const { token 253 sync/util/cryptographer.cc DCHECK(token); token 264 sync/util/cryptographer.cc base::Base64Encode(encrypted_token, token); token 270 sync/util/cryptographer.cc const std::string& token) const { token 271 sync/util/cryptographer.cc if (token.empty()) token 275 sync/util/cryptographer.cc if (!base::Base64Decode(token, &encrypted_data)) { token 171 sync/util/cryptographer.h bool GetBootstrapToken(std::string* token) const; token 200 sync/util/cryptographer.h std::string UnpackBootstrapToken(const std::string& token) const; token 190 sync/util/cryptographer_unittest.cc std::string token; token 191 sync/util/cryptographer_unittest.cc EXPECT_TRUE(cryptographer_.GetBootstrapToken(&token)); token 192 sync/util/cryptographer_unittest.cc EXPECT_TRUE(IsStringUTF8(token)); token 195 sync/util/cryptographer_unittest.cc other_cryptographer.Bootstrap(token); token 19 testing/android/native_test_util.cc std::string token; token 20 testing/android/native_test_util.cc base::RemoveChars(tokenizer.token(), "\"", &token); token 21 testing/android/native_test_util.cc args->push_back(token); token 173 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp Token token; token 174 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp skipCommentTokens( token ); token 182 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp token.type_ = tokenError; token 183 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp token.start_ = beginDoc; token 184 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp token.end_ = endDoc; token 186 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp token ); token 197 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp Token token; token 198 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp skipCommentTokens( token ); token 208 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp switch ( token.type_ ) token 211 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp successful = readObject( token ); token 214 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp successful = readArray( token ); token 217 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp successful = decodeNumber( token ); token 220 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp successful = decodeString( token ); token 232 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp return addError( "Syntax error: value, object or array expected.", token ); token 246 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp Reader::skipCommentTokens( Token &token ) token 252 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp readToken( token ); token 254 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp while ( token.type_ == tokenComment ); token 258 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp readToken( token ); token 264 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp Reader::expectToken( TokenType type, Token &token, const char *message ) token 266 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp readToken( token ); token 267 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp if ( token.type_ != type ) token 268 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp return addError( message, token ); token 274 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp Reader::readToken( Token &token ) token 277 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp token.start_ = current_; token 283 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp token.type_ = tokenObjectBegin; token 286 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp token.type_ = tokenObjectEnd; token 289 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp token.type_ = tokenArrayBegin; token 292 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp token.type_ = tokenArrayEnd; token 295 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp token.type_ = tokenString; token 299 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp token.type_ = tokenComment; token 313 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp token.type_ = tokenNumber; token 317 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp token.type_ = tokenTrue; token 321 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp token.type_ = tokenFalse; token 325 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp token.type_ = tokenNull; token 329 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp token.type_ = tokenArraySeparator; token 332 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp token.type_ = tokenMemberSeparator; token 335 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp token.type_ = tokenEndOfStream; token 342 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp token.type_ = tokenError; token 343 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp token.end_ = current_; token 559 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp Token token; token 561 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp ok = readToken( token ); token 562 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp while ( token.type_ == tokenComment && ok ) token 564 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp ok = readToken( token ); token 566 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp bool badTokenType = ( token.type_ != tokenArraySeparator && token 567 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp token.type_ != tokenArrayEnd ); token 571 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp token, token 574 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp if ( token.type_ == tokenArrayEnd ) token 582 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp Reader::decodeNumber( Token &token ) token 585 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp for ( Location inspect = token.start_; inspect != token.end_; ++inspect ) token 589 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp || ( *inspect == '-' && inspect != token.start_ ); token 592 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp return decodeDouble( token ); token 596 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp Location current = token.start_; token 604 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp while ( current < token.end_ ) token 608 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp return addError( "'" + std::string( token.start_, token.end_ ) + "' is not a number.", token ); token 617 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp current != token.end_ || token 620 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp return decodeDouble( token ); token 636 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp Reader::decodeDouble( Token &token ) token 641 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp int length = int(token.end_ - token.start_); token 645 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp return addError( "Unable to parse token length", token ); token 658 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp memcpy( buffer, token.start_, length ); token 664 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp std::string buffer( token.start_, token.end_ ); token 669 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp return addError( "'" + std::string( token.start_, token.end_ ) + "' is not a number.", token ); token 676 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp Reader::decodeString( Token &token ) token 679 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp if ( !decodeString( token, decoded ) ) token 687 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp Reader::decodeString( Token &token, std::string &decoded ) token 689 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp decoded.reserve( token.end_ - token.start_ - 2 ); token 690 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp Location current = token.start_ + 1; // skip '"' token 691 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp Location end = token.end_ - 1; // do not include '"' token 700 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp return addError( "Empty escape sequence in string", token, current ); token 715 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp if ( !decodeUnicodeCodePoint( token, current, end, unicode ) ) token 721 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp return addError( "Bad escape sequence in string", token, current ); token 733 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp Reader::decodeUnicodeCodePoint( Token &token, token 739 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp if ( !decodeUnicodeEscapeSequence( token, current, end, unicode ) ) token 745 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp return addError( "additional six characters expected to parse unicode surrogate pair.", token, current ); token 749 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp if (decodeUnicodeEscapeSequence( token, current, end, surrogatePair )) token 757 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp return addError( "expecting another \\u token to begin the second half of a unicode surrogate pair", token, current ); token 763 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp Reader::decodeUnicodeEscapeSequence( Token &token, token 769 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp return addError( "Bad unicode escape sequence in string: four digits expected.", token, current ); token 782 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp return addError( "Bad unicode escape sequence in string: hexadecimal digit expected.", token, current ); token 790 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp Token &token, token 794 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp info.token_ = token; token 821 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp Token &token, token 824 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp addError( message, token ); token 1389 third_party/liblouis/overrides/liblouis/compileTranslationTable.c getOpcode (FileInfo * nested, const CharsString * token) token 1396 third_party/liblouis/overrides/liblouis/compileTranslationTable.c if (token->length == opcodeLengths[opcode]) token 1398 third_party/liblouis/overrides/liblouis/compileTranslationTable.c &token->chars[0], token->length)) token 1409 third_party/liblouis/overrides/liblouis/compileTranslationTable.c (&token->chars[0], token->length)); token 1478 third_party/liblouis/overrides/liblouis/compileTranslationTable.c parseChars (FileInfo * nested, CharsString * result, CharsString * token) token 1488 third_party/liblouis/overrides/liblouis/compileTranslationTable.c while (in < token->length) token 1490 third_party/liblouis/overrides/liblouis/compileTranslationTable.c ch = token->chars[in++] & 0xff; token 1495 third_party/liblouis/overrides/liblouis/compileTranslationTable.c switch (ch = token->chars[in]) token 1528 third_party/liblouis/overrides/liblouis/compileTranslationTable.c if (token->length - in > 4) token 1530 third_party/liblouis/overrides/liblouis/compileTranslationTable.c ch = hexValue (nested, &token->chars[in + 1], 4); token 1543 third_party/liblouis/overrides/liblouis/compileTranslationTable.c if (token->length - in > 5) token 1545 third_party/liblouis/overrides/liblouis/compileTranslationTable.c ch = hexValue (nested, &token->chars[in + 1], 5); token 1553 third_party/liblouis/overrides/liblouis/compileTranslationTable.c if (token->length - in > 8) token 1555 third_party/liblouis/overrides/liblouis/compileTranslationTable.c ch = hexValue (nested, &token->chars[in + 1], 8); token 1585 third_party/liblouis/overrides/liblouis/compileTranslationTable.c if (token->chars[in] < 128 || (token->chars[in] & 0x0040)) token 1588 third_party/liblouis/overrides/liblouis/compileTranslationTable.c result->chars[out++] = token->chars[lastIn]; token 1592 third_party/liblouis/overrides/liblouis/compileTranslationTable.c utf32 = (utf32 << 6) + (token->chars[in++] & 0x3f); token 1631 third_party/liblouis/overrides/liblouis/compileTranslationTable.c parseDots (FileInfo * nested, CharsString * cells, const CharsString * token) token 1639 third_party/liblouis/overrides/liblouis/compileTranslationTable.c for (index = 0; index < token->length; index++) token 1642 third_party/liblouis/overrides/liblouis/compileTranslationTable.c widechar character = token->chars[index]; token 1766 third_party/liblouis/overrides/liblouis/compileTranslationTable.c CharsString token; token 1767 third_party/liblouis/overrides/liblouis/compileTranslationTable.c if (getToken (nested, &token, "characters")) token 1768 third_party/liblouis/overrides/liblouis/compileTranslationTable.c if (parseChars (nested, characters, &token)) token 1776 third_party/liblouis/overrides/liblouis/compileTranslationTable.c CharsString token; token 1777 third_party/liblouis/overrides/liblouis/compileTranslationTable.c if (getToken (nested, &token, "Characters operand")) token 1778 third_party/liblouis/overrides/liblouis/compileTranslationTable.c if (parseChars (nested, ruleChars, &token)) token 1786 third_party/liblouis/overrides/liblouis/compileTranslationTable.c CharsString token; token 1787 third_party/liblouis/overrides/liblouis/compileTranslationTable.c if (getToken (nested, &token, "characters")) token 1788 third_party/liblouis/overrides/liblouis/compileTranslationTable.c if (parseChars (nested, ruleDots, &token)) token 1797 third_party/liblouis/overrides/liblouis/compileTranslationTable.c CharsString token; token 1798 third_party/liblouis/overrides/liblouis/compileTranslationTable.c if (getToken (nested, &token, "Dots operand")) token 1800 third_party/liblouis/overrides/liblouis/compileTranslationTable.c if (token.length == 1 && token.chars[0] == '=') token 1805 third_party/liblouis/overrides/liblouis/compileTranslationTable.c if (parseDots (nested, ruleDots, &token)) token 1814 third_party/liblouis/overrides/liblouis/compileTranslationTable.c CharsString token; token 1815 third_party/liblouis/overrides/liblouis/compileTranslationTable.c if (getToken (nested, &token, "character class name")) token 1817 third_party/liblouis/overrides/liblouis/compileTranslationTable.c if ((*class = findCharacterClass (&token))) token 2192 third_party/liblouis/overrides/liblouis/compileTranslationTable.c passIsKeyword (const char *token) token 2195 third_party/liblouis/overrides/liblouis/compileTranslationTable.c int length = strlen (token); token 2200 third_party/liblouis/overrides/liblouis/compileTranslationTable.c == (widechar) token[k]; k++); token 3293 third_party/liblouis/overrides/liblouis/compileTranslationTable.c CharsString token; token 3295 third_party/liblouis/overrides/liblouis/compileTranslationTable.c if (getToken (nested, &token, ermsg)) token 3296 third_party/liblouis/overrides/liblouis/compileTranslationTable.c if (parseDots (nested, &cells, &token)) token 3306 third_party/liblouis/overrides/liblouis/compileTranslationTable.c CharsString token; token 3308 third_party/liblouis/overrides/liblouis/compileTranslationTable.c if (!getToken (nested, &token, "number")) token 3310 third_party/liblouis/overrides/liblouis/compileTranslationTable.c getNumber (&token.chars[0], &dest); token 3865 third_party/liblouis/overrides/liblouis/compileTranslationTable.c CharsString token; token 3877 third_party/liblouis/overrides/liblouis/compileTranslationTable.c if (!getToken (nested, &token, NULL)) token 3879 third_party/liblouis/overrides/liblouis/compileTranslationTable.c if (token.chars[0] == '#' || token.chars[0] == '<') token 3882 third_party/liblouis/overrides/liblouis/compileTranslationTable.c token.chars, 3) || token 3884 third_party/liblouis/overrides/liblouis/compileTranslationTable.c token.chars, 5))) token 3886 third_party/liblouis/overrides/liblouis/compileTranslationTable.c compileHyphenation (nested, &token); token 3889 third_party/liblouis/overrides/liblouis/compileTranslationTable.c opcode = getOpcode (nested, &token); token 3897 third_party/liblouis/overrides/liblouis/compileTranslationTable.c if (getToken (nested, &token, "include file name")) token 3898 third_party/liblouis/overrides/liblouis/compileTranslationTable.c if (parseChars (nested, &includedFile, &token)) token 4276 third_party/liblouis/overrides/liblouis/compileTranslationTable.c if (getToken (nested, &token, "multiple braille indicators") && token 4277 third_party/liblouis/overrides/liblouis/compileTranslationTable.c parseDots (nested, &cells, &token)) token 4279 third_party/liblouis/overrides/liblouis/compileTranslationTable.c while ((lastToken = getToken (nested, &token, "multind opcodes"))) token 4281 third_party/liblouis/overrides/liblouis/compileTranslationTable.c opcode = getOpcode (nested, &token); token 4309 third_party/liblouis/overrides/liblouis/compileTranslationTable.c if (getToken (nested, &token, "character class name")) token 4311 third_party/liblouis/overrides/liblouis/compileTranslationTable.c if ((class = findCharacterClass (&token))) token 4317 third_party/liblouis/overrides/liblouis/compileTranslationTable.c addCharacterClass (nested, &token.chars[0], token.length))) token 842 third_party/libwebp/enc/backward_references.c const PixOrCopy token = PixOrCopyCreateCacheIdx(ix); token 843 third_party/libwebp/enc/backward_references.c VP8LHistogramAddSinglePixOrCopy(histo, &token); token 199 third_party/libwebp/enc/token.c const uint16_t token = p->tokens_[n]; token 200 third_party/libwebp/enc/token.c if (!(token & FIXED_PROBA_BIT)) { token 201 third_party/libwebp/enc/token.c Record((token >> 15) & 1, stats + (token & 0x3fffu)); token 223 third_party/libwebp/enc/token.c const uint16_t token = p->tokens_[n]; token 224 third_party/libwebp/enc/token.c const int bit = (token >> 15) & 1; token 225 third_party/libwebp/enc/token.c if (token & FIXED_PROBA_BIT) { token 226 third_party/libwebp/enc/token.c VP8PutBit(bw, bit, token & 0xffu); // constant proba token 228 third_party/libwebp/enc/token.c VP8PutBit(bw, bit, probas[token & 0x3fffu]); token 248 third_party/libwebp/enc/token.c const uint16_t token = p->tokens_[n]; token 249 third_party/libwebp/enc/token.c const int bit = token & (1 << 15); token 250 third_party/libwebp/enc/token.c if (token & FIXED_PROBA_BIT) { token 251 third_party/libwebp/enc/token.c size += VP8BitCost(bit, token & 0xffu); token 253 third_party/libwebp/enc/token.c size += VP8BitCost(bit, probas[token & 0x3fffu]); token 322 third_party/libxml/src/HTMLparser.c #define RAW (ctxt->token ? -1 : (*ctxt->input->cur)) token 329 third_party/libxml/src/HTMLparser.c ctxt->token = 0; ctxt->input->cur += l; ctxt->nbChars++; \ token 416 third_party/libxml/src/HTMLparser.c if (ctxt->token != 0) { token 418 third_party/libxml/src/HTMLparser.c return(ctxt->token); token 2927 third_party/libxml/src/HTMLparser.c while (((cur != '<') || (ctxt->token == '<')) && token 2928 third_party/libxml/src/HTMLparser.c ((cur != '&') || (ctxt->token == '&')) && token 5567 third_party/libxml/src/HTMLparser.c if (ctxt->token != 0) { token 5570 third_party/libxml/src/HTMLparser.c chr[0] = (xmlChar) ctxt->token; token 5574 third_party/libxml/src/HTMLparser.c ctxt->token = 0; token 5592 third_party/libxml/src/HTMLparser.c ctxt->token = 0; token 6450 third_party/libxml/src/HTMLparser.c ctxt->token = 0; token 224 third_party/libxml/src/include/libxml/parser.h int token; /* next char look-ahead */ token 59 third_party/libxml/src/include/libxml/xmlautomata.h const xmlChar *token, token 65 third_party/libxml/src/include/libxml/xmlautomata.h const xmlChar *token, token 72 third_party/libxml/src/include/libxml/xmlautomata.h const xmlChar *token, token 80 third_party/libxml/src/include/libxml/xmlautomata.h const xmlChar *token, token 88 third_party/libxml/src/include/libxml/xmlautomata.h const xmlChar *token, token 97 third_party/libxml/src/include/libxml/xmlautomata.h const xmlChar *token, token 105 third_party/libxml/src/include/libxml/xmlautomata.h const xmlChar *token, token 73 third_party/libxml/src/include/libxml/xmlregexp.h const xmlChar *token, token 14317 third_party/libxml/src/parser.c ctxt->token = 0; token 1659 third_party/libxml/src/parserInternals.c ctxt->token = 0; token 918 third_party/libxml/src/pattern.c xmlChar *token = NULL; token 950 third_party/libxml/src/pattern.c token = xmlPatScanName(ctxt); token 973 third_party/libxml/src/pattern.c if (token == NULL) { token 984 third_party/libxml/src/pattern.c PUSH(XML_OP_ATTR, token, URL); token 993 third_party/libxml/src/pattern.c if (token != NULL) token 994 third_party/libxml/src/pattern.c XML_PAT_FREE_STRING(ctxt, token); token 1010 third_party/libxml/src/pattern.c xmlChar *token = NULL; token 1071 third_party/libxml/src/pattern.c token = xmlPatScanName(ctxt); token 1095 third_party/libxml/src/pattern.c if (token == NULL) { token 1106 third_party/libxml/src/pattern.c PUSH(XML_OP_ELEM, token, URL); token 1138 third_party/libxml/src/pattern.c token = xmlPatScanName(ctxt); token 1162 third_party/libxml/src/pattern.c if (token == NULL) { token 1173 third_party/libxml/src/pattern.c PUSH(XML_OP_CHILD, token, URL); token 1204 third_party/libxml/src/pattern.c PUSH(XML_OP_ALL, token, NULL); token 1212 third_party/libxml/src/pattern.c if (token != NULL) token 1213 third_party/libxml/src/pattern.c XML_PAT_FREE_STRING(ctxt, token) token 7920 third_party/libxml/src/relaxng.c const xmlChar * token, token 7929 third_party/libxml/src/relaxng.c "Compiled callback for: '%s'\n", token); token 7932 third_party/libxml/src/relaxng.c fprintf(stderr, "callback on %s missing context\n", token); token 7936 third_party/libxml/src/relaxng.c if (token[0] == '#') token 7938 third_party/libxml/src/relaxng.c fprintf(stderr, "callback on %s missing define\n", token); token 7944 third_party/libxml/src/relaxng.c fprintf(stderr, "callback on %s missing info\n", token); token 7949 third_party/libxml/src/relaxng.c fprintf(stderr, "callback on %s define is not element\n", token); token 8133 third_party/libxml/src/relaxng.c const xmlChar * token, token 8144 third_party/libxml/src/relaxng.c "Progressive callback for: '%s'\n", token); token 8147 third_party/libxml/src/relaxng.c fprintf(stderr, "callback on %s missing context\n", token); token 8153 third_party/libxml/src/relaxng.c if (token[0] == '#') token 8155 third_party/libxml/src/relaxng.c fprintf(stderr, "callback on %s missing define\n", token); token 8162 third_party/libxml/src/relaxng.c fprintf(stderr, "callback on %s missing info\n", token); token 8168 third_party/libxml/src/relaxng.c fprintf(stderr, "callback on %s define is not element\n", token); token 8188 third_party/libxml/src/relaxng.c token); token 5686 third_party/libxml/src/xmlregexp.c xmlAutomataStatePtr to, const xmlChar *token, token 5690 third_party/libxml/src/xmlregexp.c if ((am == NULL) || (from == NULL) || (token == NULL)) token 5698 third_party/libxml/src/xmlregexp.c atom->valuep = xmlStrdup(token); token 5726 third_party/libxml/src/xmlregexp.c xmlAutomataStatePtr to, const xmlChar *token, token 5730 third_party/libxml/src/xmlregexp.c if ((am == NULL) || (from == NULL) || (token == NULL)) token 5737 third_party/libxml/src/xmlregexp.c atom->valuep = xmlStrdup(token); token 5743 third_party/libxml/src/xmlregexp.c lenp = strlen((char *) token); token 5750 third_party/libxml/src/xmlregexp.c memcpy(&str[0], token, lenp); token 5786 third_party/libxml/src/xmlregexp.c xmlAutomataStatePtr to, const xmlChar *token, token 5791 third_party/libxml/src/xmlregexp.c if ((am == NULL) || (from == NULL) || (token == NULL)) token 5799 third_party/libxml/src/xmlregexp.c atom->valuep = xmlStrdup(token); token 5805 third_party/libxml/src/xmlregexp.c lenp = strlen((char *) token); token 5812 third_party/libxml/src/xmlregexp.c memcpy(&str[0], token, lenp); token 5853 third_party/libxml/src/xmlregexp.c xmlAutomataStatePtr to, const xmlChar *token, token 5859 third_party/libxml/src/xmlregexp.c if ((am == NULL) || (from == NULL) || (token == NULL)) token 5869 third_party/libxml/src/xmlregexp.c atom->valuep = xmlStrdup(token); token 5875 third_party/libxml/src/xmlregexp.c lenp = strlen((char *) token); token 5882 third_party/libxml/src/xmlregexp.c memcpy(&str[0], token, lenp); token 5940 third_party/libxml/src/xmlregexp.c xmlAutomataStatePtr to, const xmlChar *token, token 5945 third_party/libxml/src/xmlregexp.c if ((am == NULL) || (from == NULL) || (token == NULL)) token 5954 third_party/libxml/src/xmlregexp.c atom->valuep = xmlStrdup(token); token 6008 third_party/libxml/src/xmlregexp.c xmlAutomataStatePtr to, const xmlChar *token, token 6014 third_party/libxml/src/xmlregexp.c if ((am == NULL) || (from == NULL) || (token == NULL)) token 6024 third_party/libxml/src/xmlregexp.c atom->valuep = xmlStrdup(token); token 6030 third_party/libxml/src/xmlregexp.c lenp = strlen((char *) token); token 6037 third_party/libxml/src/xmlregexp.c memcpy(&str[0], token, lenp); token 6088 third_party/libxml/src/xmlregexp.c xmlAutomataStatePtr to, const xmlChar *token, token 6093 third_party/libxml/src/xmlregexp.c if ((am == NULL) || (from == NULL) || (token == NULL)) token 6102 third_party/libxml/src/xmlregexp.c atom->valuep = xmlStrdup(token); token 37 third_party/libxslt/libexslt/strings.c const xmlChar *token, *delimiter; token 77 third_party/libxslt/libexslt/strings.c for (cur = str, token = str; *cur != 0; cur += clen) { token 88 third_party/libxslt/libexslt/strings.c token = cur + clen; token 92 third_party/libxslt/libexslt/strings.c if (cur == token) { token 94 third_party/libxslt/libexslt/strings.c token = cur + clen; token 99 third_party/libxslt/libexslt/strings.c (const xmlChar *) "token", token); token 103 third_party/libxslt/libexslt/strings.c token = cur + clen; token 108 third_party/libxslt/libexslt/strings.c if (token != cur) { token 110 third_party/libxslt/libexslt/strings.c (const xmlChar *) "token", token); token 145 third_party/libxslt/libexslt/strings.c const xmlChar *token; token 189 third_party/libxslt/libexslt/strings.c for (cur = str, token = str; *cur != 0; cur++) { token 191 third_party/libxslt/libexslt/strings.c if (cur != token) { token 195 third_party/libxslt/libexslt/strings.c (const xmlChar *) "token", token); token 199 third_party/libxslt/libexslt/strings.c token++; token 203 third_party/libxslt/libexslt/strings.c if (cur == token) { token 206 third_party/libxslt/libexslt/strings.c token = cur + 1; token 211 third_party/libxslt/libexslt/strings.c (const xmlChar *) "token", token); token 216 third_party/libxslt/libexslt/strings.c token = cur + 1; token 219 third_party/libxslt/libexslt/strings.c if (token != cur) { token 221 third_party/libxslt/libexslt/strings.c (const xmlChar *) "token", token); token 48 third_party/libxslt/libxslt/numbers.c xmlChar token; token 326 third_party/libxslt/libxslt/numbers.c default_token.token = DEFAULT_TOKEN; token 373 third_party/libxslt/libxslt/numbers.c tokens->tokens[tokens->nTokens].token = val - 1; token 381 third_party/libxslt/libxslt/numbers.c tokens->tokens[tokens->nTokens].token = val; token 391 third_party/libxslt/libxslt/numbers.c tokens->tokens[tokens->nTokens].token = (xmlChar)'0'; token 432 third_party/libxslt/libxslt/numbers.c xsltFormatTokenPtr token; token 448 third_party/libxslt/libxslt/numbers.c token = &(tokens->tokens[i]); token 455 third_party/libxslt/libxslt/numbers.c token = &(tokens->tokens[tokens->nTokens - 1]); token 461 third_party/libxslt/libxslt/numbers.c token = &default_token; token 466 third_party/libxslt/libxslt/numbers.c if (token->separator != NULL) token 467 third_party/libxslt/libxslt/numbers.c xmlBufferCat(buffer, token->separator); token 484 third_party/libxslt/libxslt/numbers.c switch (token->token) { token 510 third_party/libxslt/libxslt/numbers.c if (IS_DIGIT_ZERO(token->token)) { token 513 third_party/libxslt/libxslt/numbers.c token->token, token 514 third_party/libxslt/libxslt/numbers.c token->width, token 1523 third_party/libxslt/libxslt/pattern.c xsltCompileStepPattern(xsltParserContextPtr ctxt, xmlChar *token, int novar) { token 1531 third_party/libxslt/libxslt/pattern.c if ((token == NULL) && (CUR == '@')) { token 1536 third_party/libxslt/libxslt/pattern.c if (token == NULL) token 1537 third_party/libxslt/libxslt/pattern.c token = xsltScanNCName(ctxt); token 1538 third_party/libxslt/libxslt/pattern.c if (token == NULL) { token 1559 third_party/libxslt/libxslt/pattern.c xsltCompileIdKeyPattern(ctxt, token, 0, novar, axis); token 1565 third_party/libxslt/libxslt/pattern.c xmlChar *prefix = token; token 1571 third_party/libxslt/libxslt/pattern.c token = xsltScanNCName(ctxt); token 1584 third_party/libxslt/libxslt/pattern.c if (token == NULL) { token 1601 third_party/libxslt/libxslt/pattern.c PUSH(XSLT_OP_ATTR, token, URL, novar); token 1604 third_party/libxslt/libxslt/pattern.c PUSH(XSLT_OP_ELEM, token, URL, novar); token 1615 third_party/libxslt/libxslt/pattern.c if (xmlStrEqual(token, (const xmlChar *) "child")) { token 1617 third_party/libxslt/libxslt/pattern.c } else if (xmlStrEqual(token, (const xmlChar *) "attribute")) { token 1625 third_party/libxslt/libxslt/pattern.c xmlFree(token); token 1627 third_party/libxslt/libxslt/pattern.c token = xsltScanNCName(ctxt); token 1631 third_party/libxslt/libxslt/pattern.c URI = xsltGetQNameURI(ctxt->elem, &token); token 1632 third_party/libxslt/libxslt/pattern.c if (token == NULL) { token 1639 third_party/libxslt/libxslt/pattern.c PUSH(XSLT_OP_ATTR, token, URL, novar); token 1642 third_party/libxslt/libxslt/pattern.c PUSH(XSLT_OP_ELEM, token, URL, novar); token 1689 third_party/libxslt/libxslt/pattern.c if (token != NULL) token 1690 third_party/libxslt/libxslt/pattern.c xmlFree(token); token 1709 third_party/libxslt/libxslt/pattern.c xsltCompileRelativePathPattern(xsltParserContextPtr ctxt, xmlChar *token, int novar) { token 1710 third_party/libxslt/libxslt/pattern.c xsltCompileStepPattern(ctxt, token, novar); token 786 third_party/npapi/bindings/npapi_extensions.h int32_t token; token 674 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java public boolean tryConsume(final String token) { token 675 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java if (currentToken.equals(token)) { token 687 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java public void consume(final String token) throws ParseException { token 688 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java if (!tryConsume(token)) { token 689 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java throw parseException("Expected \"" + token + "\"."); token 341 third_party/protobuf/src/google/protobuf/compiler/parser.cc void Parser::LocationRecorder::StartAt(const io::Tokenizer::Token& token) { token 342 third_party/protobuf/src/google/protobuf/compiler/parser.cc location_->set_span(0, token.line); token 343 third_party/protobuf/src/google/protobuf/compiler/parser.cc location_->set_span(1, token.column); token 346 third_party/protobuf/src/google/protobuf/compiler/parser.cc void Parser::LocationRecorder::EndAt(const io::Tokenizer::Token& token) { token 347 third_party/protobuf/src/google/protobuf/compiler/parser.cc if (token.line != location_->span(0)) { token 348 third_party/protobuf/src/google/protobuf/compiler/parser.cc location_->add_span(token.line); token 350 third_party/protobuf/src/google/protobuf/compiler/parser.cc location_->add_span(token.end_column); token 234 third_party/protobuf/src/google/protobuf/compiler/parser.h void StartAt(const io::Tokenizer::Token& token); token 239 third_party/protobuf/src/google/protobuf/compiler/parser.h void EndAt(const io::Tokenizer::Token& token); token 445 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc Tokenizer::Token token; token 447 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc token = kMultiTokenCases_case.output[i++]; token 449 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc SCOPED_TRACE(testing::Message() << "Token #" << i << ": " << token.text); token 454 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc if (token.type != Tokenizer::TYPE_END) { token 468 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc EXPECT_EQ(token.type, tokenizer.current().type); token 469 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc EXPECT_EQ(token.text, tokenizer.current().text); token 470 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc EXPECT_EQ(token.line, tokenizer.current().line); token 471 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc EXPECT_EQ(token.column, tokenizer.current().column); token 472 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc EXPECT_EQ(token.end_column, tokenizer.current().end_column); token 474 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc } while (token.type != Tokenizer::TYPE_END); token 7954 third_party/sqlite/amalgamation/sqlite3.c void *token; /* id that may be used to recursive triggers */ token 12331 third_party/sqlite/amalgamation/sqlite3.c void *token; /* Copy of SubProgram.token */ token 67348 third_party/sqlite/amalgamation/sqlite3.c u.by.t = u.by.pProgram->token; token 67349 third_party/sqlite/amalgamation/sqlite3.c for(u.by.pFrame=p->pFrame; u.by.pFrame && u.by.pFrame->token!=u.by.t; u.by.pFrame=u.by.pFrame->pParent); token 67391 third_party/sqlite/amalgamation/sqlite3.c u.by.pFrame->token = u.by.pProgram->token; token 74539 third_party/sqlite/amalgamation/sqlite3.c int token; token 74569 third_party/sqlite/amalgamation/sqlite3.c len = sqlite3GetToken(zCsr, &token); token 74570 third_party/sqlite/amalgamation/sqlite3.c } while( token==TK_SPACE ); token 74572 third_party/sqlite/amalgamation/sqlite3.c } while( token!=TK_LP && token!=TK_USING ); token 74610 third_party/sqlite/amalgamation/sqlite3.c int token; /* Type of token */ token 74614 third_party/sqlite/amalgamation/sqlite3.c n = sqlite3GetToken(z, &token); token 74615 third_party/sqlite/amalgamation/sqlite3.c if( token==TK_REFERENCES ){ token 74619 third_party/sqlite/amalgamation/sqlite3.c n = sqlite3GetToken(z, &token); token 74620 third_party/sqlite/amalgamation/sqlite3.c }while( token==TK_SPACE ); token 74659 third_party/sqlite/amalgamation/sqlite3.c int token; token 74691 third_party/sqlite/amalgamation/sqlite3.c len = sqlite3GetToken(zCsr, &token); token 74692 third_party/sqlite/amalgamation/sqlite3.c }while( token==TK_SPACE ); token 74705 third_party/sqlite/amalgamation/sqlite3.c if( token==TK_DOT || token==TK_ON ){ token 74708 third_party/sqlite/amalgamation/sqlite3.c } while( dist!=2 || (token!=TK_WHEN && token!=TK_FOR && token!=TK_BEGIN) ); token 95481 third_party/sqlite/amalgamation/sqlite3.c pProgram->token = (void *)pTrigger; token 106978 third_party/sqlite/amalgamation/sqlite3.c u8 token; /* Value of the next token */ token 107012 third_party/sqlite/amalgamation/sqlite3.c token = tkSEMI; token 107020 third_party/sqlite/amalgamation/sqlite3.c token = tkWS; token 107025 third_party/sqlite/amalgamation/sqlite3.c token = tkOTHER; token 107032 third_party/sqlite/amalgamation/sqlite3.c token = tkWS; token 107037 third_party/sqlite/amalgamation/sqlite3.c token = tkOTHER; token 107042 third_party/sqlite/amalgamation/sqlite3.c token = tkWS; token 107049 third_party/sqlite/amalgamation/sqlite3.c token = tkOTHER; token 107059 third_party/sqlite/amalgamation/sqlite3.c token = tkOTHER; token 107071 third_party/sqlite/amalgamation/sqlite3.c token = tkOTHER; token 107076 third_party/sqlite/amalgamation/sqlite3.c token = tkCREATE; token 107078 third_party/sqlite/amalgamation/sqlite3.c token = tkOTHER; token 107084 third_party/sqlite/amalgamation/sqlite3.c token = tkTRIGGER; token 107086 third_party/sqlite/amalgamation/sqlite3.c token = tkTEMP; token 107088 third_party/sqlite/amalgamation/sqlite3.c token = tkTEMP; token 107090 third_party/sqlite/amalgamation/sqlite3.c token = tkOTHER; token 107096 third_party/sqlite/amalgamation/sqlite3.c token = tkEND; token 107100 third_party/sqlite/amalgamation/sqlite3.c token = tkEXPLAIN; token 107104 third_party/sqlite/amalgamation/sqlite3.c token = tkOTHER; token 107109 third_party/sqlite/amalgamation/sqlite3.c token = tkOTHER; token 107117 third_party/sqlite/amalgamation/sqlite3.c token = tkOTHER; token 107122 third_party/sqlite/amalgamation/sqlite3.c state = trans[state][token]; token 45 third_party/sqlite/src/src/alter.c int token; token 75 third_party/sqlite/src/src/alter.c len = sqlite3GetToken(zCsr, &token); token 76 third_party/sqlite/src/src/alter.c } while( token==TK_SPACE ); token 78 third_party/sqlite/src/src/alter.c } while( token!=TK_LP && token!=TK_USING ); token 116 third_party/sqlite/src/src/alter.c int token; /* Type of token */ token 120 third_party/sqlite/src/src/alter.c n = sqlite3GetToken(z, &token); token 121 third_party/sqlite/src/src/alter.c if( token==TK_REFERENCES ){ token 125 third_party/sqlite/src/src/alter.c n = sqlite3GetToken(z, &token); token 126 third_party/sqlite/src/src/alter.c }while( token==TK_SPACE ); token 165 third_party/sqlite/src/src/alter.c int token; token 197 third_party/sqlite/src/src/alter.c len = sqlite3GetToken(zCsr, &token); token 198 third_party/sqlite/src/src/alter.c }while( token==TK_SPACE ); token 211 third_party/sqlite/src/src/alter.c if( token==TK_DOT || token==TK_ON ){ token 214 third_party/sqlite/src/src/alter.c } while( dist!=2 || (token!=TK_WHEN && token!=TK_FOR && token!=TK_BEGIN) ); token 106 third_party/sqlite/src/src/complete.c u8 token; /* Value of the next token */ token 140 third_party/sqlite/src/src/complete.c token = tkSEMI; token 148 third_party/sqlite/src/src/complete.c token = tkWS; token 153 third_party/sqlite/src/src/complete.c token = tkOTHER; token 160 third_party/sqlite/src/src/complete.c token = tkWS; token 165 third_party/sqlite/src/src/complete.c token = tkOTHER; token 170 third_party/sqlite/src/src/complete.c token = tkWS; token 177 third_party/sqlite/src/src/complete.c token = tkOTHER; token 187 third_party/sqlite/src/src/complete.c token = tkOTHER; token 199 third_party/sqlite/src/src/complete.c token = tkOTHER; token 204 third_party/sqlite/src/src/complete.c token = tkCREATE; token 206 third_party/sqlite/src/src/complete.c token = tkOTHER; token 212 third_party/sqlite/src/src/complete.c token = tkTRIGGER; token 214 third_party/sqlite/src/src/complete.c token = tkTEMP; token 216 third_party/sqlite/src/src/complete.c token = tkTEMP; token 218 third_party/sqlite/src/src/complete.c token = tkOTHER; token 224 third_party/sqlite/src/src/complete.c token = tkEND; token 228 third_party/sqlite/src/src/complete.c token = tkEXPLAIN; token 232 third_party/sqlite/src/src/complete.c token = tkOTHER; token 237 third_party/sqlite/src/src/complete.c token = tkOTHER; token 245 third_party/sqlite/src/src/complete.c token = tkOTHER; token 250 third_party/sqlite/src/src/complete.c state = trans[state][token]; token 895 third_party/sqlite/src/src/trigger.c pProgram->token = (void *)pTrigger; token 4934 third_party/sqlite/src/src/vdbe.c t = pProgram->token; token 4935 third_party/sqlite/src/src/vdbe.c for(pFrame=p->pFrame; pFrame && pFrame->token!=t; pFrame=pFrame->pParent); token 4977 third_party/sqlite/src/src/vdbe.c pFrame->token = pProgram->token; token 84 third_party/sqlite/src/src/vdbe.h void *token; /* id that may be used to recursive triggers */ token 117 third_party/sqlite/src/src/vdbeInt.h void *token; /* Copy of SubProgram.token */ token 482 third_party/talloc/libreplace/replace.c char *token; token 492 third_party/talloc/libreplace/replace.c token = s; token 493 third_party/talloc/libreplace/replace.c s = strpbrk(token, delim); token 495 third_party/talloc/libreplace/replace.c *save_ptr = token + strlen(token); token 501 third_party/talloc/libreplace/replace.c return token; token 100 third_party/tcmalloc/chromium/src/profile-handler.cc void UnregisterCallback(ProfileHandlerToken* token) token 342 third_party/tcmalloc/chromium/src/profile-handler.cc ProfileHandlerToken* token = new ProfileHandlerToken(callback, callback_arg); token 348 third_party/tcmalloc/chromium/src/profile-handler.cc callbacks_.push_back(token); token 356 third_party/tcmalloc/chromium/src/profile-handler.cc return token; token 359 third_party/tcmalloc/chromium/src/profile-handler.cc void ProfileHandler::UnregisterCallback(ProfileHandlerToken* token) { token 363 third_party/tcmalloc/chromium/src/profile-handler.cc if ((*it) == token) { token 520 third_party/tcmalloc/chromium/src/profile-handler.cc extern "C" void ProfileHandlerUnregisterCallback(ProfileHandlerToken* token) { token 521 third_party/tcmalloc/chromium/src/profile-handler.cc ProfileHandler::Instance()->UnregisterCallback(token); token 546 third_party/tcmalloc/chromium/src/profile-handler.cc extern "C" void ProfileHandlerUnregisterCallback(ProfileHandlerToken* token) { token 122 third_party/tcmalloc/chromium/src/profile-handler.h void ProfileHandlerUnregisterCallback(ProfileHandlerToken* token); token 363 third_party/tcmalloc/chromium/src/tests/profile-handler_unittest.cc ProfileHandlerToken* token = ProfileHandlerRegisterCallback( token 366 third_party/tcmalloc/chromium/src/tests/profile-handler_unittest.cc return token; token 371 third_party/tcmalloc/chromium/src/tests/profile-handler_unittest.cc void UnregisterCallback(ProfileHandlerToken* token) { token 372 third_party/tcmalloc/chromium/src/tests/profile-handler_unittest.cc ProfileHandlerUnregisterCallback(token); token 410 third_party/tcmalloc/chromium/src/tests/profile-handler_unittest.cc ProfileHandlerToken* token = RegisterCallback(&tick_count); token 412 third_party/tcmalloc/chromium/src/tests/profile-handler_unittest.cc UnregisterCallback(token); token 100 third_party/tcmalloc/vendor/src/profile-handler.cc void UnregisterCallback(ProfileHandlerToken* token) token 342 third_party/tcmalloc/vendor/src/profile-handler.cc ProfileHandlerToken* token = new ProfileHandlerToken(callback, callback_arg); token 348 third_party/tcmalloc/vendor/src/profile-handler.cc callbacks_.push_back(token); token 356 third_party/tcmalloc/vendor/src/profile-handler.cc return token; token 359 third_party/tcmalloc/vendor/src/profile-handler.cc void ProfileHandler::UnregisterCallback(ProfileHandlerToken* token) { token 363 third_party/tcmalloc/vendor/src/profile-handler.cc if ((*it) == token) { token 520 third_party/tcmalloc/vendor/src/profile-handler.cc extern "C" void ProfileHandlerUnregisterCallback(ProfileHandlerToken* token) { token 521 third_party/tcmalloc/vendor/src/profile-handler.cc ProfileHandler::Instance()->UnregisterCallback(token); token 546 third_party/tcmalloc/vendor/src/profile-handler.cc extern "C" void ProfileHandlerUnregisterCallback(ProfileHandlerToken* token) { token 122 third_party/tcmalloc/vendor/src/profile-handler.h void ProfileHandlerUnregisterCallback(ProfileHandlerToken* token); token 363 third_party/tcmalloc/vendor/src/tests/profile-handler_unittest.cc ProfileHandlerToken* token = ProfileHandlerRegisterCallback( token 366 third_party/tcmalloc/vendor/src/tests/profile-handler_unittest.cc return token; token 371 third_party/tcmalloc/vendor/src/tests/profile-handler_unittest.cc void UnregisterCallback(ProfileHandlerToken* token) { token 372 third_party/tcmalloc/vendor/src/tests/profile-handler_unittest.cc ProfileHandlerUnregisterCallback(token); token 410 third_party/tcmalloc/vendor/src/tests/profile-handler_unittest.cc ProfileHandlerToken* token = RegisterCallback(&tick_count); token 412 third_party/tcmalloc/vendor/src/tests/profile-handler_unittest.cc UnregisterCallback(token); token 108 tools/gn/err.cc Err::Err(const Token& token, token 112 tools/gn/err.cc location_(token.location()), token 115 tools/gn/err.cc ranges_.push_back(token.range()); token 43 tools/gn/err.h Err(const Token& token, token 447 tools/gn/operators.cc bool IsUnaryOperator(const Token& token) { token 448 tools/gn/operators.cc return token.type() == Token::BANG; token 451 tools/gn/operators.cc bool IsBinaryOperator(const Token& token) { token 452 tools/gn/operators.cc return token.type() == Token::EQUAL || token 453 tools/gn/operators.cc token.type() == Token::PLUS || token 454 tools/gn/operators.cc token.type() == Token::MINUS || token 455 tools/gn/operators.cc token.type() == Token::PLUS_EQUALS || token 456 tools/gn/operators.cc token.type() == Token::MINUS_EQUALS || token 457 tools/gn/operators.cc token.type() == Token::EQUAL_EQUAL || token 458 tools/gn/operators.cc token.type() == Token::NOT_EQUAL || token 459 tools/gn/operators.cc token.type() == Token::LESS_EQUAL || token 460 tools/gn/operators.cc token.type() == Token::GREATER_EQUAL || token 461 tools/gn/operators.cc token.type() == Token::LESS_THAN || token 462 tools/gn/operators.cc token.type() == Token::GREATER_THAN || token 463 tools/gn/operators.cc token.type() == Token::BOOLEAN_AND || token 464 tools/gn/operators.cc token.type() == Token::BOOLEAN_OR; token 467 tools/gn/operators.cc bool IsFunctionCallArgBeginScoper(const Token& token) { token 468 tools/gn/operators.cc return token.type() == Token::LEFT_PAREN; token 471 tools/gn/operators.cc bool IsFunctionCallArgEndScoper(const Token& token) { token 472 tools/gn/operators.cc return token.type() == Token::RIGHT_PAREN; token 475 tools/gn/operators.cc bool IsScopeBeginScoper(const Token& token) { token 476 tools/gn/operators.cc return token.type() == Token::LEFT_BRACE; token 479 tools/gn/operators.cc bool IsScopeEndScoper(const Token& token) { token 480 tools/gn/operators.cc return token.type() == Token::RIGHT_BRACE; token 16 tools/gn/operators.h bool IsUnaryOperator(const Token& token); token 17 tools/gn/operators.h bool IsBinaryOperator(const Token& token); token 19 tools/gn/operators.h bool IsFunctionCallArgBeginScoper(const Token& token); // "(" token 20 tools/gn/operators.h bool IsFunctionCallArgEndScoper(const Token& token); // ")" token 22 tools/gn/operators.h bool IsScopeBeginScoper(const Token& token); // "{" token 23 tools/gn/operators.h bool IsScopeEndScoper(const Token& token); // "}" token 28 tools/gn/operators_unittest.cc scoped_ptr<ListNode> ListWithLiteral(const Token& token) { token 30 tools/gn/operators_unittest.cc list->append_item(scoped_ptr<ParseNode>(new LiteralNode(token))); token 365 tools/gn/parse_tree.cc IdentifierNode::IdentifierNode(const Token& token) : value_(token) { token 450 tools/gn/parse_tree.cc LiteralNode::LiteralNode(const Token& token) : value_(token) { token 221 tools/gn/parse_tree.h void set_if_token(const Token& token) { if_token_ = token; } token 288 tools/gn/parse_tree.h IdentifierNode(const Token& token); token 347 tools/gn/parse_tree.h LiteralNode(const Token& token); token 177 tools/gn/parser.cc Token token = Consume(); token 178 tools/gn/parser.cc PrefixFunc prefix = expressions_[token.type()].prefix; token 181 tools/gn/parser.cc *err_ = Err(token, token 182 tools/gn/parser.cc std::string("Unexpected token '") + token.value().as_string() + token 187 tools/gn/parser.cc scoped_ptr<ParseNode> left = (this->*prefix)(token); token 193 tools/gn/parser.cc token = Consume(); token 194 tools/gn/parser.cc InfixFunc infix = expressions_[token.type()].infix; token 196 tools/gn/parser.cc *err_ = Err(token, token 198 tools/gn/parser.cc token.value().as_string() + std::string("'")); token 201 tools/gn/parser.cc left = (this->*infix)(left.Pass(), token); token 209 tools/gn/parser.cc scoped_ptr<ParseNode> Parser::Literal(Token token) { token 210 tools/gn/parser.cc return scoped_ptr<ParseNode>(new LiteralNode(token)).Pass(); token 213 tools/gn/parser.cc scoped_ptr<ParseNode> Parser::Name(Token token) { token 214 tools/gn/parser.cc return IdentifierOrCall(scoped_ptr<ParseNode>(), token).Pass(); token 217 tools/gn/parser.cc scoped_ptr<ParseNode> Parser::Group(Token token) { token 225 tools/gn/parser.cc scoped_ptr<ParseNode> Parser::Not(Token token) { token 230 tools/gn/parser.cc unary_op->set_op(token); token 243 tools/gn/parser.cc Token token) { token 245 tools/gn/parser.cc ParseExpression(expressions_[token.type()].precedence + 1); token 248 tools/gn/parser.cc Err(token, token 249 tools/gn/parser.cc "Expected right hand side for '" + token.value().as_string() + "'"); token 253 tools/gn/parser.cc binary_op->set_op(token); token 260 tools/gn/parser.cc Token token) { token 262 tools/gn/parser.cc list->set_begin_token(token); token 263 tools/gn/parser.cc list->set_end_token(token); token 287 tools/gn/parser.cc return scoped_ptr<ParseNode>(new IdentifierNode(token)).Pass(); token 290 tools/gn/parser.cc func_call->set_function(token); token 298 tools/gn/parser.cc Token token) { token 305 tools/gn/parser.cc assign->set_op(token); token 312 tools/gn/parser.cc Token token) { token 331 tools/gn/parser.cc Token token) { token 342 tools/gn/parser.cc *err_ = Err(token, "Expected identifier for right-hand-side of \".\"", token 414 tools/gn/parser.cc Token token = at_end() ? tokens_[tokens_.size() - 1] : cur_token(); token 415 tools/gn/parser.cc *err_ = Err(token, "Expecting assignment or function call."); token 18 tools/gn/parser.h typedef scoped_ptr<ParseNode> (Parser::*PrefixFunc)(Token token); token 20 tools/gn/parser.h Token token); token 52 tools/gn/parser.h scoped_ptr<ParseNode> Literal(Token token); token 53 tools/gn/parser.h scoped_ptr<ParseNode> Name(Token token); token 54 tools/gn/parser.h scoped_ptr<ParseNode> Group(Token token); token 55 tools/gn/parser.h scoped_ptr<ParseNode> Not(Token token); token 56 tools/gn/parser.h scoped_ptr<ParseNode> List(Token token); token 59 tools/gn/parser.h scoped_ptr<ParseNode> BinaryOperator(scoped_ptr<ParseNode> left, Token token); token 61 tools/gn/parser.h Token token); token 62 tools/gn/parser.h scoped_ptr<ParseNode> Assignment(scoped_ptr<ParseNode> left, Token token); token 63 tools/gn/parser.h scoped_ptr<ParseNode> Subscript(scoped_ptr<ParseNode> left, Token token); token 64 tools/gn/parser.h scoped_ptr<ParseNode> DotOperator(scoped_ptr<ParseNode> left, Token token); token 17 tools/gn/string_utils.cc Err ErrInsideStringToken(const Token& token, size_t offset, size_t size, token 22 tools/gn/string_utils.cc Location begin_loc(token.location().file(), token 23 tools/gn/string_utils.cc token.location().line_number(), token 24 tools/gn/string_utils.cc token.location().char_offset() + int_offset + 1); token 25 tools/gn/string_utils.cc Location end_loc(token.location().file(), token 26 tools/gn/string_utils.cc token.location().line_number(), token 27 tools/gn/string_utils.cc token.location().char_offset() + int_offset + 1 + token 37 tools/gn/string_utils.cc bool LocateInlineIdenfitier(const Token& token, token 45 tools/gn/string_utils.cc *err = ErrInsideStringToken(token, dollars_index, 1, "$ at end of string.", token 54 tools/gn/string_utils.cc *err = ErrInsideStringToken(token, dollars_index, 2, token 67 tools/gn/string_utils.cc token, dollars_index, *i - dollars_index + 1, token 84 tools/gn/string_utils.cc *err = ErrInsideStringToken(token, dollars_index, *i - dollars_index, token 88 tools/gn/string_utils.cc *err = ErrInsideStringToken(token, *i, 1, "Not an identifier in string expansion.", token 104 tools/gn/string_utils.cc const Token& token, token 112 tools/gn/string_utils.cc token, identifier.data() - token.value().data() - 1, identifier.size(), token 563 win8/metro_driver/metro_driver_win7.cc EventRegistrationToken* token) { token 572 win8/metro_driver/metro_driver_win7.cc EventRegistrationToken token) { token 605 win8/metro_driver/metro_driver_win7.cc EventRegistrationToken* token) { token 610 win8/metro_driver/metro_driver_win7.cc EventRegistrationToken token) { token 616 win8/metro_driver/metro_driver_win7.cc EventRegistrationToken* token) { token 621 win8/metro_driver/metro_driver_win7.cc EventRegistrationToken token) { token 673 win8/metro_driver/metro_driver_win7.cc EventRegistrationToken* token) { token 678 win8/metro_driver/metro_driver_win7.cc EventRegistrationToken token) {