Searched defs:token (Results 51 - 75 of 705) sorted by relevance

1234567891011>>

/external/chromium_org/chrome/browser/supervised_user/
H A Dsupervised_user_registration_utility_stub.cc34 const std::string& token) {
37 callback_.Run(GoogleServiceAuthError(GoogleServiceAuthError::NONE), token);
33 RunSuccessCallback( const std::string& token) argument
/external/chromium_org/components/copresence/public/
H A Dwhispernet_client.h22 AudioToken(const std::string& token, bool audible) argument
23 : token(token), audible(audible) {}
24 std::string token; member in struct:copresence::AudioToken
38 // Callback that returns encoded samples for a given token.
50 // Fires an event to request a token encode.
51 virtual void EncodeToken(const std::string& token, bool audible) = 0;
/external/chromium_org/components/policy/core/common/cloud/
H A Dmock_cloud_policy_client.cc24 void MockCloudPolicyClient::SetDMToken(const std::string& token) { argument
25 dm_token_ = token;
/external/chromium_org/google_apis/drive/
H A Ddummy_auth_service.h14 // access token.
22 void set_access_token(const std::string& token) { access_token_ = token; } argument
23 void set_refresh_token(const std::string& token) { refresh_token_ = token; } argument
/external/chromium_org/google_apis/gaia/
H A Doauth2_token_service_test_util.cc18 std::string GetValidTokenResponse(std::string token, int expiration) { argument
19 return base::StringPrintf(kValidTokenResponse, token.c_str(), expiration);
34 const std::string& token,
36 last_token_ = token;
32 OnGetTokenSuccess( const OAuth2TokenService::Request* request, const std::string& token, const base::Time& expiration_date) argument
/external/chromium_org/net/dns/
H A Dnotify_watcher_mac.cc52 int token; local
53 int status = HANDLE_EINTR(read(notify_fd_, &token, sizeof(token)));
54 if (status != sizeof(token)) {
59 // Ignoring |token| value to avoid possible endianness mismatch:
/external/chromium_org/remoting/client/
H A Dtoken_fetcher_proxy.cc30 const std::string& token, const std::string& shared_secret) {
32 token_fetched_callback_.Run(token, shared_secret);
29 OnTokenFetched( const std::string& token, const std::string& shared_secret) argument
/external/chromium_org/testing/android/
H A Dnative_test_util.cc19 std::string token; local
20 base::RemoveChars(tokenizer.token(), "\"", &token);
21 args->push_back(token);
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
H A DCompactHTMLToken.cpp43 CompactHTMLToken::CompactHTMLToken(const HTMLToken* token, const TextPosition& textPosition) argument
44 : m_type(token->type())
54 m_data = attemptStaticStringCreation(token->name(), Likely8Bit);
56 // There is only 1 DOCTYPE token per document, so to avoid increasing the
58 m_attributes.append(Attribute(attemptStaticStringCreation(token->publicIdentifier(), Likely8Bit), String(token->systemIdentifier())));
59 m_doctypeForcesQuirks = token->forceQuirks();
65 m_attributes.reserveInitialCapacity(token->attributes().size());
66 for (Vector<HTMLToken::Attribute>::const_iterator it = token->attributes().begin(); it != token
[all...]
H A DHTMLTreeBuilderSimulator.cpp40 static bool tokenExitsForeignContent(const CompactHTMLToken& token) argument
43 const String& tagName = token.data();
88 || (threadSafeMatch(tagName, fontTag) && (token.getAttributeItem(colorAttr) || token.getAttributeItem(faceAttr) || token.getAttributeItem(sizeAttr)));
91 static bool tokenExitsSVG(const CompactHTMLToken& token) argument
94 return equalIgnoringCaseNonNull(token.data().impl(), SVGNames::foreignObjectTag.localName().impl());
97 static bool tokenExitsMath(const CompactHTMLToken& token) argument
100 const String& tagName = token.data();
132 bool HTMLTreeBuilderSimulator::simulate(const CompactHTMLToken& token, HTMLTokenize argument
[all...]
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebUserGestureToken.cpp53 WebUserGestureToken::WebUserGestureToken(PassRefPtr<UserGestureToken> token) argument
55 m_token = token;
/external/chromium_org/third_party/angle/src/compiler/preprocessor/
H A DToken.cpp74 std::ostream &operator<<(std::ostream &out, const Token &token) argument
76 if (token.hasLeadingSpace())
79 out << token.text;
/external/chromium_org/third_party/angle/tests/preprocessor_tests/
H A Didentifier_test.cpp20 pp::Token token; local
21 mPreprocessor.lex(&token);
22 EXPECT_EQ(pp::Token::IDENTIFIER, token.type);
23 EXPECT_EQ(str, token.text);
H A Dlocation_test.cpp20 pp::Token token; local
21 mPreprocessor.lex(&token);
22 EXPECT_EQ(pp::Token::IDENTIFIER, token.type);
23 EXPECT_EQ("foo", token.text);
25 EXPECT_EQ(location.file, token.location.file);
26 EXPECT_EQ(location.line, token.location.line);
84 pp::Token token; local
85 mPreprocessor.lex(&token);
88 // The location of a token straddling two or more strings is that of the
89 // first character of the token
114 pp::Token token; local
132 pp::Token token; local
150 pp::Token token; local
266 pp::Token token; local
290 pp::Token token; local
[all...]
H A Dspace_test.cpp18 pp::Token token; local
20 mPreprocessor.lex(&token);
21 EXPECT_EQ(pp::Token::IDENTIFIER, token.type);
22 EXPECT_EQ("foo", token.text);
23 // The whitespace character is however recorded with the next token.
24 EXPECT_TRUE(token.hasLeadingSpace());
81 // next token. This test makes sure that a token is not incorrectly marked
88 pp::Token token; local
89 mPreprocessor.lex(&token);
[all...]
H A Dversion_test.cpp110 pp::Token token; local
113 mPreprocessor.lex(&token);
114 } while (token.type != pp::Token::LAST);
131 pp::Token token; local
134 mPreprocessor.lex(&token);
135 } while (token.type != pp::Token::LAST);
149 pp::Token token; local
152 mPreprocessor.lex(&token);
153 } while (token.type != pp::Token::LAST);
170 pp::Token token; local
190 pp::Token token; local
[all...]
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dtokiter.cpp26 UBool TokenIterator::next(UnicodeString& token, UErrorCode& ec) { argument
30 token.truncate(0);
41 if (!nextToken(token, ec)) {
55 * Read the next token from 'this->line' and append it to 'token'.
60 * @param token the token is appended to this StringBuffer
62 * @return TRUE if a valid token is found, or FALSE if the end
65 UBool TokenIterator::nextToken(UnicodeString& token, UErrorCode& ec) { argument
80 token
[all...]
/external/chromium_org/third_party/libjingle/source/talk/p2p/client/
H A Dautoportallocator.h48 // Creates and initiates a task to get relay token from XmppClient and set
60 const std::string& token,
63 SetRelayToken(token);
59 OnJingleInfo( const std::string& token, const std::vector<std::string>& relay_hosts, const std::vector<rtc::SocketAddress>& stun_hosts) argument
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
H A Dvp9_treewriter.h43 const struct vp9_token *token) {
44 vp9_write_tree(w, tree, probs, token->value, token->len, 0);
41 vp9_write_token(vp9_writer *w, const vp9_tree_index *tree, const vp9_prob *probs, const struct vp9_token *token) argument
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/
H A Dparser.h26 Token *token; member in union:__anon16383
/external/deqp/framework/randomshaders/
H A DrsgPrettyPrinter.cpp123 inline const char* PrettyPrinter::getSimpleTokenStr (Token::Type token) argument
125 DE_ASSERT(de::inBounds<int>(token, 0, (int)DE_LENGTH_OF_ARRAY(s_tokenStr)));
126 return s_tokenStr[token];
140 void PrettyPrinter::processToken (const Token& token) argument
144 switch (token.getType())
149 m_line += token.getIdentifier();
154 std::string f = de::toString(token.getFloat());
162 m_line += de::toString(token.getInt());
166 m_line += (token.getBool() ? "true" : "false");
189 const char* tokenStr = getSimpleTokenStr(token
[all...]
/external/e2fsprogs/lib/blkid/
H A Dresolve.c56 * Locate a device name from a token (NAME=value string), or (name, value)
57 * pair. In the case of a token, value is ignored. If the "token" is not
61 char *blkid_get_devname(blkid_cache cache, const char *token, argument
69 if (!token)
78 printf("looking for %s%s%s %s\n", token, value ? "=" : "",
82 if (!strchr(token, '=')) {
83 ret = blkid_strdup(token);
86 blkid_parse_tag_string(token, &t, &v);
89 token
[all...]
/external/icu/icu4c/source/test/intltest/
H A Dtokiter.cpp26 UBool TokenIterator::next(UnicodeString& token, UErrorCode& ec) { argument
30 token.truncate(0);
41 if (!nextToken(token, ec)) {
55 * Read the next token from 'this->line' and append it to 'token'.
60 * @param token the token is appended to this StringBuffer
62 * @return TRUE if a valid token is found, or FALSE if the end
65 UBool TokenIterator::nextToken(UnicodeString& token, UErrorCode& ec) { argument
80 token
[all...]
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_treewriter.h43 const struct vp9_token *token) {
44 vp9_write_tree(w, tree, probs, token->value, token->len, 0);
41 vp9_write_token(vp9_writer *w, const vp9_tree_index *tree, const vp9_prob *probs, const struct vp9_token *token) argument
/external/llvm/examples/OCaml-Kaleidoscope/Chapter5/
H A Dtoken.ml7 type token = type

Completed in 4644 milliseconds

1234567891011>>