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

1234567891011>>

/external/chromium_org/testing/android/
H A Dnative_test_util.cc19 std::string token; local
20 RemoveChars(tokenizer.token(), "\"", &token);
21 args->push_back(token);
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DDOMSettableTokenList.cpp50 bool DOMSettableTokenList::containsInternal(const AtomicString& token) const
52 return m_tokens.contains(token);
67 void DOMSettableTokenList::addInternal(const AtomicString& token) argument
69 DOMTokenList::addInternal(token);
71 m_tokens.set(token, false);
73 m_tokens.add(token);
83 void DOMSettableTokenList::removeInternal(const AtomicString& token) argument
85 DOMTokenList::removeInternal(token);
86 m_tokens.remove(token);
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
H A DCompactHTMLToken.cpp44 CompactHTMLToken::CompactHTMLToken(const HTMLToken* token, const TextPosition& textPosition) argument
45 : m_type(token->type())
55 m_data = HTMLIdentifier(token->name(), Likely8Bit);
56 // There is only 1 DOCTYPE token per document, so to avoid increasing the
58 m_attributes.append(Attribute(HTMLIdentifier(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 DHTMLSourceTracker.cpp38 void HTMLSourceTracker::start(SegmentedString& currentInput, HTMLTokenizer* tokenizer, HTMLToken& token) argument
40 if (token.type() == HTMLToken::Uninitialized) {
48 token.setBaseOffset(m_currentSource.numberOfCharactersConsumed() - m_previousSource.length());
51 void HTMLSourceTracker::end(SegmentedString& currentInput, HTMLTokenizer* tokenizer, HTMLToken& token) argument
56 token.end(currentInput.numberOfCharactersConsumed() - tokenizer->numberOfBufferedCharacters());
59 String HTMLSourceTracker::sourceForToken(const HTMLToken& token) argument
61 if (token.type() == HTMLToken::EndOfFile)
67 ASSERT(!token.startIndex());
68 size_t length = static_cast<size_t>(token.endIndex() - token
[all...]
H A DHTMLTreeBuilderSimulator.cpp40 static bool tokenExitsForeignContent(const CompactHTMLToken& token) argument
43 const HTMLIdentifier& tagName = token.data();
88 || (threadSafeHTMLNamesMatch(tagName, fontTag) && (token.getAttributeItem(colorAttr) || token.getAttributeItem(faceAttr) || token.getAttributeItem(sizeAttr)));
91 static bool tokenExitsSVG(const CompactHTMLToken& token) argument
94 return equalIgnoringCaseNonNull(token.data().asStringImpl(), SVGNames::foreignObjectTag.localName().impl());
97 static bool tokenExitsMath(const CompactHTMLToken& token) argument
100 const HTMLIdentifier& tagName = token.data();
132 bool HTMLTreeBuilderSimulator::simulate(const CompactHTMLToken& token, HTMLTokenize argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/html/track/
H A DWebVTTTokenizer.cpp67 bool WebVTTTokenizer::nextToken(SegmentedString& source, WebVTTToken& token) argument
69 // If we have a token in progress, then we're supposed to be called back
70 // with the same token so we can finish it.
71 ASSERT(!m_token || m_token == &token || token.type() == WebVTTTokenTypes::Uninitialized);
72 m_token = &token;
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebUserGestureToken.cpp53 WebUserGestureToken::WebUserGestureToken(PassRefPtr<WebCore::UserGestureToken> token) argument
55 m_token = token;
/external/chromium_org/third_party/angle_dx11/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_dx11/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.cpp25 UBool TokenIterator::next(UnicodeString& token, UErrorCode& ec) { argument
29 token.truncate(0);
40 if (!nextToken(token, ec)) {
54 * Read the next token from 'this->line' and append it to 'token'.
59 * @param token the token is appended to this StringBuffer
61 * @return TRUE if a valid token is found, or FALSE if the end
64 UBool TokenIterator::nextToken(UnicodeString& token, UErrorCode& ec) { argument
79 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<talk_base::SocketAddress>& stun_hosts) argument
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/
H A Dparser.h26 Token *token; member in union:__anon14026
/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/ganymed-ssh2/src/main/java/ch/ethz/ssh2/util/
H A DTimeoutService.java74 /* We cannot simply go on, since it could be that the token
113 TimeoutToken token = new TimeoutToken(runTime, handler);
117 todolist.add(token);
141 return token;
144 public static void cancelTimeoutHandler(TimeoutToken token) argument
148 todolist.remove(token);
/external/icu4c/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/llvm/examples/OCaml-Kaleidoscope/Chapter5/
H A Dtoken.ml7 type token = type
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/
H A Dtoken.ml7 type token = type
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/
H A Dtoken.ml7 type token = type
/external/nist-sip/java/gov/nist/javax/sip/header/ims/
H A DPMediaAuthorizationHeader.java60 * Set the media authorization token.
61 * @param token - media authorization token to set
62 * @throws InvalidArgumentException - if token is null or empty
64 public void setMediaAuthorizationToken(String token) throws InvalidArgumentException; argument
67 * Get the media authorization token.
68 * @return token
/external/qemu/
H A Djson-streamer.c21 static void json_message_process_token(JSONLexer *lexer, QString *token, JSONTokenType type, int x, int y) argument
27 switch (qstring_get_str(token)[0]) {
47 QINCREF(token);
48 qdict_put(dict, "token", token);
/external/smali/smali/src/main/java/org/jf/smali/
H A DSemanticException.java54 this.token = tree.getToken();
56 this.line = token.getLine();
57 this.charPositionInLine = token.getCharPositionInLine();
61 SemanticException(IntStream input, Token token, String errorMessage, Object... messageArguments) { argument
64 this.token = token;
65 this.index = ((CommonToken)token).getStartIndex();
66 this.line = token.getLine();
67 this.charPositionInLine = token.getCharPositionInLine();
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
H A DRecognizerSharedState.cs51 * Track the set of token types that can follow any rule invocation.
63 * matched a token. Prevents generation of more than one error message
72 * but no token is consumed during recovery...another error is found,
74 * one token/tree node is consumed for two errors.
80 * In lieu of a return value, this indicates that a rule or token
81 * has failed to match. Reset to false upon valid token match.
98 * the stop token index for each rule. ruleMemo[ruleIndex] is
100 * get back the stop token for associated rule or MEMO_RULE_FAILED.
113 * The goal of all lexer rules/methods is to create a token object.
115 * create a single token
122 public IToken token; field in class:Antlr.Runtime.RecognizerSharedState
[all...]

Completed in 1149 milliseconds

1234567891011>>