Searched defs:token (Results 251 - 275 of 705) sorted by relevance

<<11121314151617181920>>

/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/
H A DDebugEventRepeater.java57 public void consumeToken(Token token) { listener.consumeToken(token); } argument
58 public void consumeHiddenToken(Token token) { listener.consumeHiddenToken(token); } argument
82 public void createNode(Object node, Token token) { listener.createNode(node, token); } argument
/external/bison/examples/calc++/
H A Dcalc++-parser.hh94 struct token struct in class:yy::calcxx_parser
106 typedef token::yytokentype token_type;
138 /// \param tok the lookahead token.
143 /// \param yytype The token type.
150 /// \param yytype The token type.
200 /// - if positive, shift that token.
231 /// For each scanner token number, its symbol number.
243 /// Convert a scanner token number \a t to a symbol number.
247 /// \param yymsg Why this token is reclaimed.
/external/bison/src/
H A Dconflicts.c67 log_resolution (rule *r, symbol_number token,
78 _(" Conflict between rule %d and token %s"
81 symbols[token]->tag);
87 _(" Conflict between rule %d and token %s"
90 symbols[token]->tag);
95 _(" Conflict between rule %d and token %s"
98 symbols[token]->tag);
109 symbols[token]->tag);
115 symbols[token]->tag,
122 symbols[token]
66 log_resolution(rule *r, symbol_number token, enum conflict_resolution resolution) argument
221 flush_shift(state *s, int token) argument
241 flush_reduce(bitset lookahead_tokens, int token) argument
[all...]
/external/chromium_org/base/strings/
H A Dstring_tokenizer.h17 // refer to the next token in the input string. The user may optionally
33 // printf("%s\n", t.token().c_str());
50 // printf("%s\n", t.token().c_str());
86 // printf("%s: %s\n", label, t.token().c_str());
127 // before calling any of the token* methods.
140 // Returns true if token is a delimiter. When the tokenizer is constructed
142 // returned token is actually a delimiter.
146 // value of the token.
149 str token() const { return str(token_begin_, token_end_); } function in class:base::StringTokenizerT
/external/chromium_org/cc/resources/
H A Dtask_graph_runner.cc160 NamespaceToken token(next_namespace_id_++);
161 DCHECK(namespaces_.find(token.id_) == namespaces_.end());
162 return token;
165 void TaskGraphRunner::ScheduleTasks(NamespaceToken token, TaskGraph* graph) { argument
173 DCHECK(token.IsValid());
184 TaskNamespace& task_namespace = namespaces_[token.id_];
286 void TaskGraphRunner::WaitForTasksToFinishRunning(NamespaceToken token) { argument
289 DCHECK(token.IsValid());
294 TaskNamespaceMap::const_iterator it = namespaces_.find(token.id_);
309 void TaskGraphRunner::CollectCompletedTasks(NamespaceToken token, argument
[all...]
/external/chromium_org/chrome/browser/chromeos/login/enrollment/
H A Denrollment_screen.cc202 void EnrollmentScreen::OnOAuthTokenAvailable(const std::string& token) { argument
203 VLOG(1) << "OnOAuthTokenAvailable " << token;
209 // Fetch a second token for shark devices.
211 SendEnrollmentAuthToken(token);
214 RegisterForDevicePolicy(token);
270 void EnrollmentScreen::RegisterForDevicePolicy(const std::string& token) { argument
295 token, is_auto_enrollment(), device_modes,
300 void EnrollmentScreen::SendEnrollmentAuthToken(const std::string& token) { argument
303 shark_controller_->OnAuthenticationDone("", token);
/external/chromium_org/chrome/browser/chromeos/login/supervised/
H A Dsupervised_user_creation_controller_new.cc43 bool StoreSupervisedUserFiles(const std::string& token, argument
50 int bytes = base::WriteFile(token_file, token.c_str(), token.length());
340 const std::string& token) {
347 creation_context_->token = token;
353 creation_context_->token,
379 // Assume that new token is valid. It will be automatically invalidated if
338 RegistrationCallback( const GoogleServiceAuthError& error, const std::string& token) argument
H A Dsupervised_user_creation_controller_new.h33 // 6. Store cloud token in cryptohome (actually, error could arise).
103 // Managed user's sync token is written.
138 std::string token; member in struct:chromeos::SupervisedUserCreationControllerNew::UserCreationContext
163 const std::string& token);
/external/chromium_org/chrome/browser/drive/
H A Ddrive_api_util.cc72 // Here, the token is '-' and it should be ignored.
77 base::string16 token; local
85 // whole remaining string as a token as a fallback, by appending
91 token = query.substr(begin_token, end_token - begin_token);
99 token = query.substr(begin_token, end_token - begin_token);
103 if (token.empty()) {
104 // Just ignore an empty token.
118 EscapeQueryStringValue(base::UTF16ToUTF8(token)).c_str());
/external/chromium_org/chrome/browser/net/
H A Dfirefox_proxy_settings.cc300 std::string token = string_tok.token(); local
301 base::TrimWhitespaceASCII(token, base::TRIM_ALL, &token);
302 if (!token.empty())
303 settings->proxy_bypass_list_.push_back(token);
/external/chromium_org/chrome/browser/signin/
H A Dfake_profile_oauth2_token_service.cc53 const std::string& token) {
54 IssueRefreshTokenForUser("account_id", token);
59 const std::string& token) {
61 if (token.empty()) {
65 refresh_tokens_[account_id] = token;
219 // Do nothing, as we don't have a cache from which to remove the token.
52 IssueRefreshToken( const std::string& token) argument
57 IssueRefreshTokenForUser( const std::string& account_id, const std::string& token) argument
/external/chromium_org/chrome/browser/supervised_user/
H A Dsupervised_user_refresh_token_fetcher.cc91 // Requests an access token, which is the first thing we need. This is where
92 // we restart when the returned access token has expired.
97 const std::string& token);
247 // TODO(bauerb): It would be nice if we could pass the access token as well,
281 const std::string& token) {
282 callback_.Run(error, token);
279 DispatchGoogleServiceAuthError( const GoogleServiceAuthError& error, const std::string& token) argument
H A Dsupervised_user_refresh_token_fetcher_unittest.cc109 const std::string& token() const { return token_; } function in class:SupervisedUserRefreshTokenFetcherTest
113 const std::string& token);
234 const std::string& token) {
236 token_ = token;
248 EXPECT_EQ(kSupervisedUserToken, token());
258 EXPECT_EQ(kSupervisedUserToken, token());
270 EXPECT_EQ(kSupervisedUserToken, token());
284 EXPECT_EQ(std::string(), token());
294 EXPECT_EQ(std::string(), token());
303 EXPECT_EQ(std::string(), token());
232 OnTokenFetched( const GoogleServiceAuthError& error, const std::string& token) argument
[all...]
H A Dsupervised_user_registration_utility_unittest.cc121 const std::string& token() const { return token_; } function in class:SupervisedUserRegistrationUtilityTest
125 const std::string& token);
143 // Hold the registration result (either an error, or a token).
242 const std::string& token) {
245 token_ = token;
260 EXPECT_FALSE(token().empty());
274 EXPECT_FALSE(token().empty());
289 EXPECT_EQ(std::string(), token());
303 EXPECT_EQ(std::string(), token());
240 OnSupervisedUserRegistered( const GoogleServiceAuthError& error, const std::string& token) argument
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
H A Dsync_task_manager.cc99 scoped_ptr<SyncTaskToken> token(GetToken(from_here, callback));
100 if (!token) {
107 RunTask(token.Pass(), task.Pass());
128 scoped_ptr<SyncTaskToken> token(GetToken(from_here, callback));
129 if (!token)
131 RunTask(token.Pass(), task.Pass());
136 void SyncTaskManager::NotifyTaskDone(scoped_ptr<SyncTaskToken> token, argument
138 DCHECK(token);
140 SyncTaskManager* manager = token->manager();
141 if (token
202 NotifyTaskDoneBody(scoped_ptr<SyncTaskToken> token, SyncStatusCode status) argument
363 RunTask(scoped_ptr<SyncTaskToken> token, scoped_ptr<SyncTask> task) argument
372 MaybeStartNextForegroundTask( scoped_ptr<SyncTaskToken> token) argument
[all...]
/external/chromium_org/chrome/tools/convert_dict/
H A Daff_reader.cc210 std::string token; local
217 if (token[0] != 'Y' && token[0] != 'N') {
218 // This token represents a stripping prefix or suffix, which is
221 part_start = i - token.length();
291 token.clear();
293 token.push_back((*rule)[i]);
/external/chromium_org/components/copresence/rpc/
H A Drpc_handler_unittest.cc118 void AddInvalidToken(const std::string& token) { argument
119 rpc_handler_.invalid_audio_token_cache_.Add(token, true);
122 bool TokenIsInvalid(const std::string& token) { argument
123 return rpc_handler_.invalid_audio_token_cache_.HasKey(token);
209 test_tokens.push_back(AudioToken("token 1", false));
210 test_tokens.push_back(AudioToken("token 2", true));
211 test_tokens.push_back(AudioToken("token 3", false));
212 AddInvalidToken("token 2");
220 EXPECT_EQ("token 1", tokens_sent.Get(0).token_id());
221 EXPECT_EQ("token
[all...]
/external/chromium_org/components/invalidation/
H A Dgcm_invalidation_bridge.cc30 const char kEchoTokenKey[] = "echo-token";
46 virtual void InvalidateToken(const std::string& token) OVERRIDE;
52 const std::string& token);
107 void GCMInvalidationBridge::Core::InvalidateToken(const std::string& token) { argument
111 base::Bind(&GCMInvalidationBridge::InvalidateToken, bridge_, token));
132 const std::string& token) {
134 callback.Run(error, token);
245 void GCMInvalidationBridge::InvalidateToken(const std::string& token) { argument
250 identity_provider_->GetActiveAccountId(), scopes, token);
129 RequestTokenFinished( RequestTokenCallback callback, const GoogleServiceAuthError& error, const std::string& token) argument
H A Dp2p_invalidator.cc190 const std::string& email, const std::string& token) {
202 push_client_->UpdateCredentials(email, token);
189 UpdateCredentials( const std::string& email, const std::string& token) argument
/external/chromium_org/google_apis/gaia/
H A Dgoogle_service_auth_error.cc20 const std::string& token, const GURL& audio, const GURL& img,
22 : token(token), audio_url(audio), image_url(img), unlock_url(unlock),
30 return (token == b.token &&
42 const std::string& token, const std::string& prompt,
44 : token(token), prompt_text(prompt), alternate_text(alternate),
53 return (token == b.token
19 Captcha( const std::string& token, const GURL& audio, const GURL& img, const GURL& unlock, int width, int height) argument
41 SecondFactor( const std::string& token, const std::string& prompt, const std::string& alternate, int length) argument
133 const std::string& GoogleServiceAuthError::token() const { function in class:GoogleServiceAuthError
[all...]
H A Dmerge_session_helper.cc71 std::string token; local
73 if (dict->GetString("carryBackToken", &token) &&
75 results_[token] = "null";
77 fetchers_[fetcher->GetOriginalURL()] = std::make_pair(token, fetcher);
H A Doauth2_token_service_request_unittest.cc51 const std::string& token,
53 last_token_ = token;
66 // Use SetResponse to vary the response to token requests.
49 OnGetTokenSuccess( const OAuth2TokenService::Request* request, const std::string& token, const base::Time& expiration_date) argument
/external/chromium_org/google_apis/gcm/engine/
H A Dregistration_request.cc40 const char kTokenPrefix[] = "token=";
194 const net::URLFetcher* source, std::string* token) {
209 *token = response.substr(token_pos + arraysize(kTokenPrefix) - 1);
235 std::string token; local
236 Status status = ParseResponse(source, &token);
267 callback_.Run(status, token);
193 ParseResponse( const net::URLFetcher* source, std::string* token) argument
/external/chromium_org/gpu/command_buffer/client/
H A Dclient_test_helper.cc33 return state_.token;
52 state_.token = 10000; // All token checks in the tests should pass.
97 void MockCommandBufferBase::SetToken(int32 token) { argument
99 state_.token = token;
H A Dfenced_allocator.h24 // class allows to free data "pending" the passage of a command buffer token,
26 // that token.
48 // token" can be re-used.
64 // Frees a block of memory, pending the passage of a token. That memory won't
65 // be re-allocated until the token has passed through the command stream.
69 // token: the token value to wait for before re-using the memory.
70 void FreePendingToken(Offset offset, int32 token);
72 // Frees any blocks pending a token for which the token ha
106 int32_t token; // token to wait for in the FREE_PENDING_TOKEN case. member in struct:gpu::FencedAllocator::Block
206 FreePendingToken(void *pointer, int32 token) argument
208 allocator_.FreePendingToken(GetOffset(pointer), token); local
[all...]

Completed in 7861 milliseconds

<<11121314151617181920>>