Searched refs:token (Results 576 - 600 of 1600) sorted by relevance

<<21222324252627282930>>

/external/chromium_org/chrome/browser/local_discovery/
H A Dprivet_url_fetcher.cc96 const std::string& token) {
97 TokenMapHolder::GetInstance()->map[host] = token;
159 std::string token = GetPrivetAccessToken(); local
161 if (token.empty())
162 token = kXPrivetEmptyToken;
165 std::string(kXPrivetTokenHeaderPrefix) + token);
360 void PrivetURLFetcher::RefreshToken(const std::string& token) { argument
361 if (token.empty()) {
364 SetTokenForHost(GetHostString(), token); local
95 SetTokenForHost(const std::string& host, const std::string& token) argument
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dprofile-handler.cc91 // token is to be used when unregistering this callback and must not be
97 // Unregisters a previously registered callback. Expects the token returned
100 void UnregisterCallback(ProfileHandlerToken* token)
342 ProfileHandlerToken* token = new ProfileHandlerToken(callback, callback_arg); local
348 callbacks_.push_back(token);
356 return token;
359 void ProfileHandler::UnregisterCallback(ProfileHandlerToken* token) { argument
363 if ((*it) == token) {
380 // Unknown token.
381 RAW_LOG(FATAL, "Invalid token");
520 ProfileHandlerUnregisterCallback(ProfileHandlerToken* token) argument
546 ProfileHandlerUnregisterCallback(ProfileHandlerToken* token) argument
[all...]
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dprofile-handler.cc91 // token is to be used when unregistering this callback and must not be
97 // Unregisters a previously registered callback. Expects the token returned
100 void UnregisterCallback(ProfileHandlerToken* token)
342 ProfileHandlerToken* token = new ProfileHandlerToken(callback, callback_arg); local
348 callbacks_.push_back(token);
356 return token;
359 void ProfileHandler::UnregisterCallback(ProfileHandlerToken* token) { argument
363 if ((*it) == token) {
380 // Unknown token.
381 RAW_LOG(FATAL, "Invalid token");
520 ProfileHandlerUnregisterCallback(ProfileHandlerToken* token) argument
546 ProfileHandlerUnregisterCallback(ProfileHandlerToken* token) argument
[all...]
/external/chromium_org/ui/file_manager/video_player/js/cast/
H A Dcast_video_element.js290 var sendTokenPromise = this.mediaManager_.getToken().then(function(token) {
291 this.token_ = token;
292 this.sendMessage_({message: 'push-token', token: token});
371 if (message['message'] === 'request-token') {
373 this.mediaManager_.getToken(true).then(function(token) {
374 this.token_ = token;
375 this.sendMessage_({message: 'push-token', token
[all...]
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/
H A DTreeParser.js98 /** Tree parsers parse nodes they usually have a token object as
99 * payload. Set the exception token and do the default behavior.
105 e.token = adaptor.getToken(e.node);
106 if ( !org.antlr.lang.isValue(e.token) ) { // could be an UP/DOWN node
107 e.token = new org.antlr.runtime.CommonToken(
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Delphi/
H A DASTParser.stg38 * token, set, rule, wildcard
53 tokenRef(token,label,elementIndex,terminalOptions) ::= <<
67 tokenRefBang(token,label,elementIndex) ::= "<super.tokenRef(...)>"
70 tokenRefRuleRoot(token,label,elementIndex,terminalOptions) ::= <<
84 tokenRefBangAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
90 tokenRefAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
96 tokenRefRuleRootAndListLabel(token,label,terminalOptions,elementIndex) ::= <<
/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/components/sync_driver/
H A Dsync_prefs.h103 // Use this encryption bootstrap token if we're using an explicit passphrase.
105 void SetEncryptionBootstrapToken(const std::string& token);
107 // Use this keystore bootstrap token if we're not using an explicit
110 void SetKeystoreEncryptionBootstrapToken(const std::string& token);
120 // Use this spare bootstrap token only when setting up sync for the first
123 void SetSpareBootstrapToken(const std::string& token);
/external/chromium_org/gpu/command_buffer/client/
H A Dmapped_memory.h53 // token" can be re-used.
79 // Frees a block of memory, pending the passage of a token. That memory won't
80 // be re-allocated until the token has passed through the command stream.
84 // token: the token value to wait for before re-using the memory.
85 void FreePendingToken(void* pointer, unsigned int token) { argument
86 allocator_.FreePendingToken(pointer, token);
157 // Frees a block of memory, pending the passage of a token. That memory won't
158 // be re-allocated until the token has passed through the command stream.
162 // token
[all...]
/external/chromium_org/remoting/host/win/
H A Dsecurity_descriptor.cc40 // Returns the logon SID of a token. Returns NULL if the token does not specify
42 ScopedSid GetLogonSid(HANDLE token) { argument
44 if (GetTokenInformation(token, TokenGroups, NULL, 0, &length) ||
50 if (!GetTokenInformation(token, TokenGroups, groups.get(), length, &length))
/external/chromium_org/sandbox/mac/
H A Dxpc_message_server.cc52 audit_token_t token; local
53 xpc_dictionary_get_audit_token(request.xpc, &token);
56 audit_token_to_au32(token,
/external/chromium_org/third_party/libyuv/tools/valgrind-libyuv/
H A Dlibyuv_tests.py67 for token in cmd:
68 if '--suppressions' in token:
69 add_suppressions.append(token.replace(script_dir, new_dir))
/external/deqp/framework/delibs/decpp/
H A DdeStringUtil.cpp99 string token; local
101 while (std::getline(tokenStream, token, delim))
102 ret.push_back(token);
/external/fonttools/Lib/fontTools/misc/
H A DpsCharStrings.py284 token = program[i]
286 tp = type(token)
289 bytecode.extend(bytechr(b) for b in opcodes[token])
291 raise CharStringCompileError("illegal operator: %s" % token)
292 if token in ('hintmask', 'cntrmask'):
296 bytecode.append(encodeInt(token))
298 bytecode.append(encodeFixed(token))
328 token, index = handler(b0, self.bytecode, index)
332 token = self.program[index]
334 isOperator = isinstance(token, StringTyp
[all...]
/external/fonttools/Tools/fontTools/misc/
H A DpsCharStrings.py284 token = program[i]
286 tp = type(token)
289 bytecode.extend(bytechr(b) for b in opcodes[token])
291 raise CharStringCompileError("illegal operator: %s" % token)
292 if token in ('hintmask', 'cntrmask'):
296 bytecode.append(encodeInt(token))
298 bytecode.append(encodeFixed(token))
328 token, index = handler(b0, self.bytecode, index)
332 token = self.program[index]
334 isOperator = isinstance(token, StringTyp
[all...]
/external/chromium_org/testing/gtest/scripts/
H A Dpump.py138 """Represents a token in a Pump source file."""
303 def RStripNewLineFromToken(token):
304 if token.value.endswith('\n'):
305 return Token(token.start, token.end, token.value[:-1], token.token_type)
307 return token
386 for token in TokenizeLines(lines, Cursor(0, 0)):
387 yield token
[all...]
/external/antlr/antlr-3.4/runtime/C/include/
H A Dantlr3exception.h39 /** Indicates that the recognizer received a token
48 /** Indicates that the recognizer was expecting one token and found a
139 /** Indicates the index of the 'token' we were looking at when the
144 /** Indicates what the current token/tree was when the error occurred. Since not
145 * all input streams will be able to retrieve the nth token, we track it here
148 void * token; member in struct:ANTLR3_EXCEPTION_struct
150 /** Indicates the token we were expecting to see next when the error occurred
H A Dantlr3recognizersharedstate.h77 /** Track the set of token types that can follow any rule invocation.
84 * matched a token. Prevents generation of more than one error message
91 * but no token is consumed during recovery...another error is found,
93 * one token/tree node is consumed for two errors.
97 /** In lieu of a return value, this indicates that a rule or token
98 * has failed to match. Reset to false upon valid token match.
114 * Tracks the stop token index for each rule. ruleMemo[ruleIndex] is
116 * get back the stop token for associated rule or MEMO_RULE_FAILED.
122 /** Pointer to an array of token names
125 * at parser compile time - grammar token name
142 pANTLR3_COMMON_TOKEN token; member in struct:ANTLR3_RECOGNIZER_SHARED_STATE_struct
[all...]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/
H A DASTTreeParser.stg7 * token, set, rule, wildcard
79 tokenRefBang(token,label,elementIndex) ::= <<
85 tokenRef(token,label,elementIndex,terminalOptions) ::= <<
104 tokenRefAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
110 tokenRefRuleRoot(token,label,elementIndex,terminalOptions) ::= <<
126 tokenRefRuleRootAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
235 /** Streams for token refs are tree nodes now; override to
238 createRewriteNodeFromElement(token,terminalOptions,scope) ::= <<
240 new <terminalOptions.node>(stream_<token>.nextNode())
242 stream_<token>
[all...]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Perl5/
H A DASTTreeParser.stg36 * token, set, rule, wildcard
108 tokenRefBang(token,label,elementIndex) ::= <<
114 tokenRef(token,label,elementIndex,terminalOptions) ::= <<
133 tokenRefAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
139 tokenRefRuleRoot(token,label,elementIndex,terminalOptions) ::= <<
155 tokenRefRuleRootAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
240 /** Streams for token refs are tree nodes now; override to
243 createRewriteNodeFromElement(token,terminalOptions,scope) ::= <<
245 new <terminalOptions.node>(stream_<token>.nextNode())
247 stream_<token>
[all...]
/external/chromium_org/chrome/browser/extensions/token_cache/
H A Dtoken_cache_service.h30 // Store a token for the currently logged in user. We will look it up later by
31 // the name given here, and we will expire the token after the timeout. For a
32 // timeout of 0, we never expire the token. After time_to_live expires, the
33 // token will be expired.
37 // Retrieve a token for the currently logged in user. This returns an empty
38 // string if the token was not found or timed out.
53 std::string token; member in struct:extensions::TokenCacheService::TokenCacheData
57 // Map the token name (string) to token data.
/external/chromium_org/chrome/browser/net/
H A Dprobe_message_unittest.cc22 ProbePacket_Token token; local
23 token.set_timestamp_micros(1000000U);
24 token.mutable_hash()->assign("1x1x");
30 pm.GenerateProbeRequest(token,
/external/chromium_org/chrome/browser/supervised_user/
H A Dsupervised_user_registration_utility_stub.h34 void RunSuccessCallback(const std::string& token);
/external/chromium_org/chrome/browser/ui/libgtk2ui/
H A Dgconf_listener.cc145 base::StringPiece token = tokenizer.token_piece(); local
146 if (token == "minimize") {
149 } else if (token == "maximize") {
152 } else if (token == "close") {
/external/chromium_org/chrome_elf/
H A Dbreakpad.cc69 // Get the current token.
70 HANDLE token = NULL; local
72 if (!::OpenProcessToken(::GetCurrentProcess(), TOKEN_QUERY, &token))
80 if (::GetTokenInformation(token, TokenUser, user, size, &size) &&
87 CloseHandle(token);

Completed in 672 milliseconds

<<21222324252627282930>>