Searched refs:token (Results 701 - 725 of 1600) sorted by relevance

<<21222324252627282930>>

/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/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 Dcmd_buffer_helper.cc194 // Inserts a new token into the command stream. It uses an increasing value
195 // scheme so that we don't lose tokens (a token has passed if the current token
196 // value is higher than that token). Calls Finish() if the token value wraps,
204 // Increment token as 31-bit integer. Negative values are used to signal an
220 // Waits until the current token value is greater or equal to the value passed
222 void CommandBufferHelper::WaitForToken(int32 token) { argument
227 if (token < 0)
229 if (token > token
[all...]
H A Dfenced_allocator.cc109 FencedAllocator::Offset offset, int32 token) {
115 block.token = token;
196 // Waits for the block's token, then mark the block as free, then collapse it.
201 helper_->WaitForToken(block.token);
206 // Frees any blocks pending a token for which the token has been read.
214 helper_->HasTokenPassed(block.token)) {
108 FreePendingToken( FencedAllocator::Offset offset, int32 token) argument
H A Dquery_tracker.h113 void MarkAsPending(int32 token) { argument
114 token_ = token;
120 int32 token() const { function in class:gpu::gles2::QueryTracker::Query
/external/chromium_org/jingle/notifier/listener/
H A Dnon_blocking_push_client.cc39 void UpdateCredentials(const std::string& email, const std::string& token);
102 const std::string& email, const std::string& token) {
105 delegate_push_client_->UpdateCredentials(email, token);
196 const std::string& email, const std::string& token) {
201 core_.get(), email, token));
101 UpdateCredentials( const std::string& email, const std::string& token) argument
195 UpdateCredentials( const std::string& email, const std::string& token) argument
/external/chromium_org/net/base/
H A Dnet_util_posix.cc126 std::string network_item = network_interfaces.token();
129 std::string name = network_tokenizer.token();
132 std::string interface_address = network_tokenizer.token();
135 CHECK(ParseCIDRBlock(network_tokenizer.token(),
141 CHECK(base::StringToUint(network_tokenizer.token(), &index));
/external/chromium_org/net/http/
H A Dhttp_security_headers.cc148 // directive-name = token
149 // directive-value = token | quoted-string
193 DCHECK(!tokenizer.token_is_delim() || tokenizer.token().length() == 1);
199 if (LowerCaseEqualsASCII(tokenizer.token(), "max-age")) {
202 } else if (LowerCaseEqualsASCII(tokenizer.token(),
217 DCHECK_EQ(tokenizer.token().length(), 1U);
224 unquoted = HttpUtil::Unquote(tokenizer.token());
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
H A DHTMLStackItem.h57 static PassRefPtrWillBeRawPtr<HTMLStackItem> create(PassRefPtrWillBeRawPtr<ContainerNode> node, AtomicHTMLToken* token, const AtomicString& namespaceURI = HTMLNames::xhtmlNamespaceURI) argument
59 return adoptRefWillBeNoop(new HTMLStackItem(node, token, namespaceURI));
230 HTMLStackItem(PassRefPtrWillBeRawPtr<ContainerNode> node, AtomicHTMLToken* token, const AtomicString& namespaceURI = HTMLNames::xhtmlNamespaceURI) argument
232 , m_tokenLocalName(token->name())
233 , m_tokenAttributes(token->attributes())
/external/chromium_org/third_party/libjingle/source/talk/examples/call/
H A Dpresencepushtask.cc46 const std::string & token) {
47 size_t i = list.find(token);
48 if (i == std::string::npos || token.empty())
51 bool boundary_after = (i == list.length() - token.length() ||
52 IsXmlSpace(list[i + token.length()]));
45 ListContainsToken(const std::string & list, const std::string & token) argument
/external/chromium_org/tools/dromaeo_benchmark_runner/
H A Ddromaeo_benchmark_runner.py101 token = ''
104 token = file.read()
106 self.gd_client.SetClientLoginToken(token)
116 token = self.gd_client.GetClientLoginToken()
119 file.write(token)
/external/qemu/qobject/
H A Djson-parser.c54 * about a token identified by the lexer. These are routines that make working with
59 return qdict_get_str(qobject_to_qdict(obj), "token");
102 QObject *token, const char *msg, ...)
180 static QString *qstring_from_escaped_str(JSONParserContext *ctxt, QObject *token) argument
182 const char *ptr = token_get_value(token);
247 parse_error(ctxt, token,
258 parse_error(ctxt, token, "invalid escape sequence in string");
280 QObject *token; local
282 token = ctxt->tokens.buf[ctxt->tokens.pos];
284 return token;
101 parse_error(JSONParserContext *ctxt, QObject *token, const char *msg, ...) argument
294 QObject *token; local
367 QObject *key = NULL, *token = NULL, *value, *peek; local
415 QObject *token, *peek; local
481 QObject *token, *peek; local
559 QObject *token, *ret; local
590 QObject *token = NULL, *obj; local
631 QObject *token, *obj; local
[all...]
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/
H A DBaseTreeAdaptor.as27 * if no token payload but you might have to set token type for diff
109 // If new Root is token, then create a Tree.
213 /** Tell me how to create a token for use with imaginary token nodes.
215 * token DECL, but you need to create it as a payload or whatever for
218 * If you care what the token payload objects' type is, you should
225 /** Tell me how to create a token for use with imaginary token nodes.
227 * token DEC
[all...]
H A DTreeParser.as126 /** Tree parsers parse nodes they usually have a token object as
127 * payload. Set the exception token and do the default behavior.
132 e.token = adaptor.getToken(e.node);
133 if ( e.token==null ) { // could be an UP/DOWN node
134 e.token = new CommonToken(adaptor.getType(e.node),
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
H A Derror.rb73 # exceptions are built with the expected token type.
90 # state can change before the exception is reported so current token index
92 # perhaps print an entire line of input not just a single token, for example.
107 attr_accessor :input, :index, :line, :column, :symbol, :token, :source_name
117 @token = @symbol = input.look
121 @token = @symbol = input.peek || EOF
171 payload = adaptor.token( @symbol )
174 @token = payload
178 prior_payload = adaptor.token( prior_node )
194 @symbol.is_a?( AST::CommonTree ) and @token
[all...]
/external/antlr/antlr-3.4/gunit/src/main/antlr3/org/antlr/gunit/
H A DgUnit.g156 | '->' output {if ( !$testsuite::isLexicalRule ) $out = new OutputTest($output.token);}
159 output returns [Token token]
164 $token = $STRING;
166 | ML_STRING {$token = $ML_STRING;}
167 | AST {$token = $AST;}
168 | ACTION {$token = $ACTION;}
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
H A DANTLRTreePrinter.g81 Token token = null;
83 token = ((MismatchedTokenException)ex).token;
85 token = ((NoViableAltException)ex).token;
91 token,
H A DAssignTokenTypesWalker.g37 * Compute the token types for all literals and rules etc.. There are
42 * a) Any reference to a token gets a token type.
43 * b) The tokens section may alias a token name to a string or char
46 * a) Import token vocabulary if available. Set token types for any new tokens
47 * to values above last imported token type
48 * b) token rule definitions get token types if not already defined
49 * c) literals do NOT get token type
[all...]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Delphi/
H A DASTTreeParser.stg38 * token, set, rule, wildcard
118 tokenRefBang(token,label,elementIndex) ::= <<
124 tokenRef(token,label,elementIndex,terminalOptions) ::= <<
148 tokenRefAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
154 tokenRefRuleRoot(token,label,elementIndex,terminalOptions) ::= <<
175 tokenRefRuleRootAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
284 /** Streams for token refs are tree nodes now; override to
287 createRewriteNodeFromElement(token,terminalOptions,scope) ::= <<
289 T<terminalOptions.node>.Create((Locals['Stream_<token>'] as IRewriteRuleElementStream).NextNode)
291 (Locals['Stream_<token>'] a
[all...]
/external/chromium_org/cc/resources/
H A Dtask_graph_runner.h110 // Returns a unique token that can be used to pass a task graph to
119 void ScheduleTasks(NamespaceToken token, TaskGraph* graph);
122 void WaitForTasksToFinishRunning(NamespaceToken token);
125 void CollectCompletedTasks(NamespaceToken token,
/external/chromium_org/chrome/browser/copresence/
H A Dchrome_whispernet_client_browsertest.cc130 const std::string& token,
133 EXPECT_EQ(expected_token_, token);
144 EXPECT_EQ(expected_token_, tokens[0].token);
129 SamplesCallback( const std::string& token, bool audible, const scoped_refptr<media::AudioBusRefCounted>& samples) argument
/external/chromium_org/sync/tools/
H A Dsync_listen_notifications.cc46 const char kTokenSwitch[] = "token";
161 std::string token = command_line.GetSwitchValueASCII(kTokenSwitch); local
162 // TODO(akalin): Write a wrapper script that gets a token for an
164 if (email.empty() || token.empty()) {
165 std::printf("Usage: %s --%s=foo@bar.com --%s=token\n"
170 "sync to get the token to pass into this utility.\n",
202 invalidator->UpdateCredentials(email, token);
/external/chromium_org/third_party/WebKit/Source/modules/navigatorcontentutils/
H A DNavigatorContentUtils.cpp73 // The specification requires that it is a SyntaxError if the "%s" token is
75 static const char token[] = "%s"; local
76 int index = url.find(token);
83 // the "%s" token and prepending the base url, does not resolve.
85 newURL.remove(index, WTF_ARRAY_LENGTH(token) - 1);
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
H A Ds_feedback.c81 GLenum token = GL_LINE_TOKEN; local
85 token = GL_LINE_RESET_TOKEN;
87 _mesa_feedback_token(ctx, (GLfloat) (GLint) token);
/external/chromium_org/third_party/yasm/
H A Dyasm.host.darwin-x86.mk126 # "{'inputs': ['$(gyp_shared_intermediate_dir)/re2c'], 'extension': 're', 'process_outputs_as_sources': '1', 'outputs': ['$(gyp_intermediate_dir)/third_party/yasm/%(INPUT_ROOT)s.c'], 'rule_name': 'generate_re2c', 'rule_sources': ['source/patched-yasm/modules/parsers/gas/gas-token.re', 'source/patched-yasm/modules/parsers/nasm/nasm-token.re'], 'action': ['$(gyp_shared_intermediate_dir)/re2c', '-b', '-o', '$(gyp_intermediate_dir)/third_party/yasm/%(INPUT_ROOT)s.c', '$(RULE_SOURCES)'], 'message': 'yasm re2c for $(RULE_SOURCES)'}":
127 $(gyp_intermediate_dir)/third_party/yasm/gas-token.c: gyp_local_path := $(LOCAL_PATH)
128 $(gyp_intermediate_dir)/third_party/yasm/gas-token.c: gyp_var_prefix := $(GYP_VAR_PREFIX)
129 $(gyp_intermediate_dir)/third_party/yasm/gas-token.c: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
130 $(gyp_intermediate_dir)/third_party/yasm/gas-token.c: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
131 $(gyp_intermediate_dir)/third_party/yasm/gas-token.c: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
132 $(gyp_intermediate_dir)/third_party/yasm/gas-token.c: $(LOCAL_PATH)/third_party/yasm/source/patched-yasm/modules/parsers/gas/gas-token.re $(gyp_shared_intermediate_dir)/re2c $(GYP_TARGET_DEPENDENCIES)
133 mkdir -p $(gyp_intermediate_dir)/third_party/yasm; cd $(gyp_local_path)/third_party/yasm; "$(gyp_shared_intermediate_dir)/re2c" -b -o "$(gyp_intermediate_dir)/third_party/yasm/gas-token
[all...]

Completed in 1063 milliseconds

<<21222324252627282930>>