/external/chromium_org/third_party/WebKit/Source/core/dom/ |
H A D | DOMSettableTokenList.cpp | 55 void DOMSettableTokenList::add(const Vector<String>& tokens, ExceptionState& exceptionState) argument 57 DOMTokenList::add(tokens, exceptionState); 59 for (size_t i = 0; i < tokens.size(); ++i) { 61 m_tokens.set(tokens[i], false); 63 m_tokens.add(tokens[i]); 76 void DOMSettableTokenList::remove(const Vector<String>& tokens, ExceptionState& exceptionState) argument 78 DOMTokenList::remove(tokens, exceptionState); 79 for (size_t i = 0; i < tokens.size(); ++i) 80 m_tokens.remove(tokens[i]);
|
H A D | DOMTokenList.cpp | 45 exceptionState.throwDOMException(InvalidCharacterError, "The token provided ('" + token + "') contains HTML space characters, which are not valid in tokens."); 53 bool DOMTokenList::validateTokens(const Vector<String>& tokens, ExceptionState& exceptionState) argument 55 for (size_t i = 0; i < tokens.size(); ++i) { 56 if (!validateToken(tokens[i], exceptionState)) 72 Vector<String> tokens; local 73 tokens.append(token.string()); 74 add(tokens, exceptionState); 77 void DOMTokenList::add(const Vector<String>& tokens, ExceptionState& exceptionState) argument 80 filteredTokens.reserveCapacity(tokens.size()); 81 for (size_t i = 0; i < tokens 99 Vector<String> tokens; local 104 remove(const Vector<String>& tokens, ExceptionState& exceptionState) argument 166 Vector<String> tokens; local 171 addTokens(const AtomicString& input, const Vector<String>& tokens) argument 193 Vector<String> tokens; local 198 removeTokens(const AtomicString& input, const Vector<String>& tokens) argument [all...] |
H A D | DOMTokenList.idl | 31 [RaisesException, CustomElementCallbacks] void add(DOMString... tokens); 32 [RaisesException, CustomElementCallbacks] void remove(DOMString... tokens);
|
/external/antlr/antlr-3.4/runtime/Python/unittests/ |
H A D | testrecognizers.py | 33 self.tokens = [ 42 return self.tokens.pop(0) 46 tokens = [] 48 tokens.append(token.type) 50 self.failUnlessEqual(tokens, [1, 2, 3, 4])
|
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/ |
H A D | rhino-python.extensions | 33 tokens should be sent to the parser sometimes without a corresponding 48 This TokenStream normally just passes tokens through to the parser. 63 A queue of tokens is built up to hold multiple DEDENT tokens that 77 /** The queue of tokens */ 78 this.tokens = []; 117 if (this.tokens.length>0 ) { 118 var t = this.tokens[0]; 119 this.tokens.splice(0,1); 137 this.tokens [all...] |
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/ |
H A D | requireprovidesorter.py | 49 Iterates over tokens in given token stream, identifies goog.provide tokens, 54 token: A token in the token stream before any goog.provide tokens. 74 Iterates over tokens in given token stream, identifies goog.require tokens, 79 token: A token in the token stream before any goog.require tokens. 114 def _FixProvidesOrRequires(self, tokens): 118 tokens: A list of goog.provide or goog.require tokens in the order they 122 strings = self._GetRequireOrProvideTokenStrings(tokens) [all...] |
/external/chromium_org/third_party/closure_linter/closure_linter/ |
H A D | requireprovidesorter.py | 49 Iterates over tokens in given token stream, identifies goog.provide tokens, 54 token: A token in the token stream before any goog.provide tokens. 74 Iterates over tokens in given token stream, identifies goog.require tokens, 79 token: A token in the token stream before any goog.require tokens. 114 def _FixProvidesOrRequires(self, tokens): 118 tokens: A list of goog.provide or goog.require tokens in the order they 122 strings = self._GetRequireOrProvideTokenStrings(tokens) [all...] |
/external/chromium_org/third_party/libwebp/utils/ |
H A D | huffman_encode.c | 283 HuffmanTreeToken* tokens, 287 tokens->code = value; 288 tokens->extra_bits = 0; 289 ++tokens; 296 tokens->code = value; 297 tokens->extra_bits = 0; 298 ++tokens; 302 tokens->code = 16; 303 tokens->extra_bits = repetitions - 3; 304 ++tokens; 282 CodeRepeatedValues(int repetitions, HuffmanTreeToken* tokens, int value, int prev_value) argument 316 CodeRepeatedZeros(int repetitions, HuffmanTreeToken* tokens) argument 347 VP8LCreateCompressedHuffmanTree(const HuffmanTreeCode* const tree, HuffmanTreeToken* tokens, int max_tokens) argument [all...] |
/external/webp/src/utils/ |
H A D | huffman_encode.c | 283 HuffmanTreeToken* tokens, 287 tokens->code = value; 288 tokens->extra_bits = 0; 289 ++tokens; 296 tokens->code = value; 297 tokens->extra_bits = 0; 298 ++tokens; 302 tokens->code = 16; 303 tokens->extra_bits = repetitions - 3; 304 ++tokens; 282 CodeRepeatedValues(int repetitions, HuffmanTreeToken* tokens, int value, int prev_value) argument 316 CodeRepeatedZeros(int repetitions, HuffmanTreeToken* tokens) argument 347 VP8LCreateCompressedHuffmanTree(const HuffmanTreeCode* const tree, HuffmanTreeToken* tokens, int max_tokens) argument [all...] |
/external/chromium/net/tools/flip_server/ |
H A D | balsa_headers_token_utils.h | 5 // Utility class that performs basic operations on header value tokens: parsing 6 // them out, checking for presense of certain tokens, and removing them. 30 // with that key, all of them will be tokenized and tokens will be added to 34 BalsaHeaders::HeaderTokenList* tokens); 43 // in some buffer, populates tokens list with beginning and end indices 44 // of all tokens present in the value string. 47 BalsaHeaders::HeaderTokenList* tokens); 54 BalsaHeaders::HeaderTokenList* tokens);
|
/external/chromium_org/net/tools/balsa/ |
H A D | balsa_headers_token_utils.h | 5 // Utility class that performs basic operations on header value tokens: parsing 6 // them out, checking for presense of certain tokens, and removing them. 29 // with that key, all of them will be tokenized and tokens will be added to 33 BalsaHeaders::HeaderTokenList* tokens); 42 // in some buffer, populates tokens list with beginning and end indices 43 // of all tokens present in the value string. 46 BalsaHeaders::HeaderTokenList* tokens); 53 BalsaHeaders::HeaderTokenList* tokens);
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
H A D | LegacyCommonTokenStream.cs | 43 * The most common stream of tokens is one where every token is buffered up 44 * and tokens are prefiltered for a certain channel (the parser will only 45 * see these tokens and cannot change the filter channel number during the 49 * <remarks>TODO: how to access the full token stream? How to track all tokens matched per rule?</remarks> 61 protected List<IToken> tokens; field in class:Antlr.Runtime.LegacyCommonTokenStream 66 /** <summary>Set<tokentype>; discard any tokens with this type</summary> */ 69 /** <summary>Skip tokens on any channel but this one; this is how we skip whitespace...</summary> */ 72 /** <summary>By default, track all incoming tokens</summary> */ 79 * The index into the tokens list of the current token (next token 80 * to consume). p==-1 indicates that the tokens lis [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
H A D | LegacyCommonTokenStream.cs | 41 * The most common stream of tokens is one where every token is buffered up 42 * and tokens are prefiltered for a certain channel (the parser will only 43 * see these tokens and cannot change the filter channel number during the 47 * <remarks>TODO: how to access the full token stream? How to track all tokens matched per rule?</remarks> 60 protected List<IToken> tokens; field in class:Antlr.Runtime.LegacyCommonTokenStream 65 /** <summary>Set<tokentype>; discard any tokens with this type</summary> */ 68 /** <summary>Skip tokens on any channel but this one; this is how we skip whitespace...</summary> */ 71 /** <summary>By default, track all incoming tokens</summary> */ 78 * The index into the tokens list of the current token (next token 79 * to consume). p==-1 indicates that the tokens lis [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
H A D | BufferedTokenStream.java | 35 /** Buffer all input tokens but do on-demand fetching of new tokens from 37 * proper lexing of future tokens. The ST template parser needs this, 43 * tokens to the parser. The stream can't ignore off-channel tokens. 47 * to confuse small moving window of tokens it uses for the full buffer. 57 protected List<Token> tokens = new ArrayList<Token>(100); field in class:BufferedTokenStream 62 /** The index into the tokens list of the current token (next token 63 * to consume). tokens[p] should be LT(1). p=-1 indicates need 108 public int size() { return tokens [all...] |
H A D | LegacyCommonTokenStream.java | 32 /** The most common stream of tokens is one where every token is buffered up 33 * and tokens are prefiltered for a certain channel (the parser will only 34 * see these tokens and cannot change the filter channel number during the 37 * TODO: how to access the full token stream? How to track all tokens matched per rule? 45 protected List tokens; field in class:LegacyCommonTokenStream 50 /** Set<tokentype>; discard any tokens with this type */ 53 /** Skip tokens on any channel but this one; this is how we skip whitespace... */ 56 /** By default, track all incoming tokens */ 64 /** The index into the tokens list of the current token (next token 65 * to consume). p==-1 indicates that the tokens lis [all...] |
H A D | CommonTokenStream.java | 31 /** The most common stream of tokens where every token is buffered up 32 * and tokens are filtered for a certain channel (the parser will only 33 * see these tokens). 35 * Even though it buffers all of the tokens, this token stream pulls tokens 36 * from the tokens source on demand. In other words, until you ask for a 40 * is that this stream knows how to ignore off channel tokens. There may be 49 /** Skip tokens on any channel but this one; this is how we skip whitespace... */ 68 while ( tokens.get(p).getChannel()!=channel ) { 79 // find k good tokens lookin [all...] |
/external/antlr/antlr-3.4/runtime/Perl5/examples/expr/ |
H A D | expr.pl | 22 my $tokens = ANTLR::Runtime::CommonTokenStream->new({ token_source => $lexer }); 23 my $parser = ExprParser->new({ input => $tokens });
|
/external/antlr/antlr-3.4/runtime/Perl5/examples/mexpr/ |
H A D | mexpr.pl | 17 my $tokens = ANTLR::Runtime::CommonTokenStream->new({ token_source => $lexer }); 18 my $parser = MExprParser->new($tokens);
|
/external/antlr/antlr-3.4/runtime/Perl5/examples/tweak/ |
H A D | tweak.pl | 13 my $tokens = ANTLR::Runtime::TokenRewriteStream({ token_source => $lexer }); 14 my $parser = TParser->new({ input => $tokens }); 16 print "$tokens\n";
|
/external/chromium_org/third_party/WebKit/Source/bindings/scripts/unstable/ |
H A D | blink_idl_lexer.py | 76 if token in self.tokens: 77 self.tokens.remove(token) 79 def _RemoveTokens(self, tokens): 80 for token in tokens:
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/tgsi/ |
H A D | tgsi_ppc.h | 42 tgsi_emit_ppc(const struct tgsi_token *tokens,
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
H A D | tgsi_ppc.h | 42 tgsi_emit_ppc(const struct tgsi_token *tokens,
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
H A D | Server.java | 53 /** Product tokens. 62 StringBuffer tokens = new StringBuffer(); 66 tokens.append((String) it.next()); 68 tokens.append('/'); 72 return tokens.toString();
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
H A D | Strip.java | 43 protected TokenRewriteStream tokens; field in class:Strip 50 System.out.println(s.tokens); 55 public TokenRewriteStream getTokenStream() { return tokens; } 64 tokens = new TokenRewriteStream(lex); 65 ANTLRv3Parser g = new ANTLRv3Parser(tokens); 78 public void visit(Object t) { ACTION(tokens, (CommonTree)t); } 89 tokens.delete(a.getTokenStartIndex(), 91 killTrailingNewline(tokens, action.getTokenStopIndex()); 100 tokens.delete(a.token.getTokenIndex()); 101 killTrailingNewline(tokens, 201 ACTION(TokenRewriteStream tokens, CommonTree t) argument 221 killTrailingNewline(TokenRewriteStream tokens, int index) argument [all...] |
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/common/ |
H A D | matcher.py | 23 from closure_linter.common import tokens namespace 26 Token = tokens.Token
|