HomeSort by relevance Sort by last modified time
    Searched full:token (Results 151 - 175 of 5845) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/chromium_org/third_party/WebKit/Source/core/dom/
DOMTokenList.cpp 35 bool DOMTokenList::validateToken(const String& token, ExceptionState& exceptionState)
37 if (token.isEmpty()) {
38 exceptionState.throwDOMException(SyntaxError, "The token provided must not be empty.");
42 unsigned length = token.length();
44 if (isHTMLSpace<UChar>(token[i])) {
45 exceptionState.throwDOMException(InvalidCharacterError, "The token provided ('" + token + "') contains HTML space characters, which are not valid in tokens.");
63 bool DOMTokenList::contains(const AtomicString& token, ExceptionState& exceptionState) const
65 if (!validateToken(token, exceptionState))
67 return containsInternal(token);
229 String token = tokenBuilder.toString(); local
    [all...]
  /external/chromium_org/third_party/jsoncpp/overrides/src/lib_json/
json_reader.cpp 173 Token token; local
174 skipCommentTokens( token );
181 // Set error location to start of doc, ideally should be first token found in doc
182 token.type_ = tokenError;
183 token.start_ = beginDoc;
184 token.end_ = endDoc;
186 token );
197 Token token; local
    [all...]
  /external/jsoncpp/src/lib_json/
json_reader.cpp 163 Token token; local
164 skipCommentTokens( token );
171 // Set error location to start of doc, ideally should be first token found in doc
172 token.type_ = tokenError;
173 token.start_ = beginDoc;
174 token.end_ = endDoc;
176 token );
187 Token token; local
    [all...]
  /external/antlr/antlr-3.4/runtime/Python/tests/
t001lexer.py 27 token = lexer.nextToken()
28 self.failUnlessEqual(token.type, self.lexerModule.ZERO)
30 token = lexer.nextToken()
31 self.failUnlessEqual(token.type, self.lexerModule.EOF)
38 types = [token.type for token in lexer]
48 token = lexer.nextToken()
t002lexer.py 27 token = lexer.nextToken()
28 self.failUnlessEqual(token.type, self.lexerModule.ZERO)
30 token = lexer.nextToken()
31 self.failUnlessEqual(token.type, self.lexerModule.ONE)
33 token = lexer.nextToken()
34 self.failUnlessEqual(token.type, self.lexerModule.EOF)
42 token = lexer.nextToken()
  /external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/common/
tokenizer.py 61 The first token in the file
65 # The first token in the stream.
67 # The last token added to the token stream.
79 """Creates a new Token object (or subclass).
82 string: The string of input the token represents.
83 token_type: The type of token.
84 line: The text of the line this token is in.
85 line_number: The line number of the token.
86 values: A dict of named values within the token. For instance,
    [all...]
  /external/chromium_org/chrome/browser/supervised_user/
supervised_user_refresh_token_fetcher.h 22 // This class fetches an OAuth2 refresh token that is tied to a supervised user
24 // Fetching the token consists of the following steps:
25 // 1. Get an access token for the custodian from OAuth2TokenService
28 // refresh token for the supervised user from the custodian's access token.
29 // 3. Exchange the authorization code for a refresh token for the supervised
30 // user and return it to the caller. The refresh token can only be used to
  /external/chromium_org/chrome/renderer/resources/extensions/
enterprise_platform_keys_custom_bindings.js 13 // functions expecting token IDs and this custom binding adds the SubtleCrypto
15 // The Token object holds the token id and the SubtleCrypto member.
18 var Token = require('enterprise.platformKeys.Token').Token;
27 function(tokenId) { return new Token(tokenId); }));
  /external/chromium_org/remoting/webapp/html/
dialog_token_refresh_failed.html 7 <div class="kd-modaldialog" data-ui-mode="home.token-refresh-failed">
10 <span id="token-refresh-error-message" class="error-state"></span>
13 <div id="token-refresh-auth-failed" class="button-row">
14 <button id="token-refresh-error-sign-in"
19 <div id="token-refresh-other-error" class="button-row">
20 <button id="token-refresh-error-ok"
25 </div> <!-- home.token-refresh-failed -->
  /external/chromium_org/third_party/closure_linter/closure_linter/common/
tokenizer.py 61 The first token in the file
65 # The first token in the stream.
67 # The last token added to the token stream.
79 """Creates a new Token object (or subclass).
82 string: The string of input the token represents.
83 token_type: The type of token.
84 line: The text of the line this token is in.
85 line_number: The line number of the token.
86 values: A dict of named values within the token. For instance,
    [all...]
  /external/chromium_org/third_party/yasm/source/patched-yasm/modules/parsers/nasm/
Makefile.inc 5 nodist_libyasm_a_SOURCES += nasm-token.c
9 nasm-token.c: $(srcdir)/modules/parsers/nasm/nasm-token.re re2c$(EXEEXT)
10 $(top_builddir)/re2c$(EXEEXT) -b -o $@ $(srcdir)/modules/parsers/nasm/nasm-token.re
12 BUILT_SOURCES += nasm-token.c
14 CLEANFILES += nasm-token.c
16 EXTRA_DIST += modules/parsers/nasm/nasm-token.re
  /external/jsoncpp/include/json/
reader.h 109 class Token
120 Token token_;
127 bool expectToken( TokenType type, Token &token, const char *message );
128 bool readToken( Token &token );
138 bool readObject( Token &token );
139 bool readArray( Token &token );
    [all...]
  /external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/
t002lexer.html 28 token;
30 token = lexer.nextToken();
31 assertEquals(token.getType(), lexer.ZERO);
33 token = lexer.nextToken();
34 assertEquals(token.getType(), lexer.ONE);
36 token = lexer.nextToken();
37 assertEquals(token.getType(), lexer.EOF);
43 token;
46 token = lexer.nextToken();
  /external/chromium_org/chrome/browser/extensions/token_cache/
token_cache_service.h 30 // 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.
52 std::string token; member in struct:extensions::TokenCacheService::TokenCacheData
56 // Map the token name (string) to token data.
  /external/chromium_org/remoting/webapp/
oauth2.js 7 * OAuth2 class that handles retrieval/storage of an OAuth2 token.
32 remoting.OAuth2.prototype.KEY_REFRESH_TOKEN_ = 'oauth2-refresh-token';
34 remoting.OAuth2.prototype.KEY_ACCESS_TOKEN_ = 'oauth2-access-token';
36 remoting.OAuth2.prototype.KEY_XSRF_TOKEN_ = 'oauth2-xsrf-token';
96 * Sets the refresh token.
98 * @param {string} token The new refresh token.
102 remoting.OAuth2.prototype.setRefreshToken_ = function(token) {
103 window.localStorage.setItem(this.KEY_REFRESH_TOKEN_, escape(token));
109 * @return {?string} The refresh token, if authenticated, or NULL
    [all...]
  /external/chromium_org/third_party/skia/third_party/lua/src/
llex.h 43 typedef struct Token {
44 int token; member in struct:Token
46 } Token;
54 int lastline; /* line of last token `consumed' */
55 Token t; /* current token */
56 Token lookahead; /* look ahead token */
75 LUAI_FUNC const char *luaX_token2str (LexState *ls, int token);
  /external/chromium_org/third_party/WebKit/Source/core/css/parser/
MediaQueryBlockWatcher.cpp 17 void MediaQueryBlockWatcher::handleToken(const MediaQueryToken& token)
19 if (token.blockType() == MediaQueryToken::BlockStart) {
21 } else if (token.blockType() == MediaQueryToken::BlockEnd) {
  /external/chromium_org/third_party/icu/source/test/intltest/
tokiter.cpp 25 UBool TokenIterator::next(UnicodeString& token, UErrorCode& ec) {
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) {
79 token.append(c)
    [all...]
  /external/clang/test/Preprocessor/
macro_paste_identifier_error.c 1 // RUN: %clang_cc1 -fms-extensions -Wno-invalid-token-paste %s -verify
2 // RUN: %clang_cc1 -E -fms-extensions -Wno-invalid-token-paste %s | FileCheck %s
3 // RUN: %clang_cc1 -E -fms-extensions -Wno-invalid-token-paste -x assembler-with-cpp %s | FileCheck %s
  /external/icu/icu4c/source/test/intltest/
tokiter.cpp 26 UBool TokenIterator::next(UnicodeString& token, UErrorCode& ec) {
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) {
80 token.append(c)
    [all...]
  /external/llvm/examples/OCaml-Kaleidoscope/Chapter6/
lexer.ml 27 [< 'Token.Kwd c; lex stream >]
37 [< 'Token.Number (float_of_string (Buffer.contents buffer)); stream >]
45 | "def" -> [< 'Token.Def; stream >]
46 | "extern" -> [< 'Token.Extern; stream >]
47 | "if" -> [< 'Token.If; stream >]
48 | "then" -> [< 'Token.Then; stream >]
49 | "else" -> [< 'Token.Else; stream >]
50 | "for" -> [< 'Token.For; stream >]
51 | "in" -> [< 'Token.In; stream >]
52 | "binary" -> [< 'Token.Binary; stream >
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/fixes/
fix_ne.py 8 from ..pgen2 import token namespace
15 _accept_type = token.NOTEQUAL
22 new = pytree.Leaf(token.NOTEQUAL, u"!=", prefix=node.prefix)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/fixes/
fix_ne.py 8 from ..pgen2 import token namespace
15 _accept_type = token.NOTEQUAL
22 new = pytree.Leaf(token.NOTEQUAL, u"!=", prefix=node.prefix)
  /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
CommonTree.cs 38 * A tree node that is wrapper for a Token object. After 3.0 release
48 /** <summary>A single token is the payload</summary> */
52 * What token indexes bracket all tokens associated with this node
75 this.Token = node.Token;
82 this.Token = t;
91 if ( Token == null || Token.CharPositionInLine == -1 )
98 return Token.CharPositionInLine;
124 return Token == null
    [all...]
  /frameworks/native/opengl/libagl/
Tokenizer.cpp 50 uint32_t token = run.first + run.length; local
51 _insertTokenAt(token, 1);
52 return token;
55 bool Tokenizer::isAcquired(uint32_t token) const
57 return (_indexOrderOf(token) >= 0);
60 status_t Tokenizer::reserve(uint32_t token)
63 const ssize_t i = _indexOrderOf(token, &o);
65 return BAD_VALUE; // this token is already taken
67 ssize_t err = _insertTokenAt(token, o);
71 status_t Tokenizer::release(uint32_t token)
    [all...]

Completed in 1844 milliseconds

1 2 3 4 5 67 8 91011>>