/external/owasp/sanitizer/src/tests/org/owasp/html/ |
D | CssFuzzerTest.java | 37 import org.owasp.html.CssTokens.TokenType; 144 CssTokens.TokenType type = it.type(); in testUnderStress() 174 private static final EnumMap<CssTokens.TokenType, Pattern> TOKEN_TYPE_FILTERS 175 = Maps.newEnumMap(CssTokens.TokenType.class); 182 CssTokens.TokenType.AT, Pattern.compile("@" + IDENT)); in TOKEN_TYPE_FILTERS.put() 184 CssTokens.TokenType.COLON, Pattern.compile(":")); in TOKEN_TYPE_FILTERS.put() 186 CssTokens.TokenType.COLUMN, Pattern.compile("\\|\\|")); in TOKEN_TYPE_FILTERS.put() 188 CssTokens.TokenType.COMMA, Pattern.compile(",")); in TOKEN_TYPE_FILTERS.put() 190 CssTokens.TokenType.DELIM, in TOKEN_TYPE_FILTERS.put() 193 CssTokens.TokenType.DIMENSION, Pattern.compile(NUMBER + "[a-z]+")); in TOKEN_TYPE_FILTERS.put() [all …]
|
D | CssTokensTest.java | 37 import org.owasp.html.CssTokens.TokenType; 41 import static org.owasp.html.CssTokens.TokenType.*; 61 List<CssTokens.TokenType> types = Lists.newArrayList(); in testBracketIndices() 200 CssTokens.TokenType type = IDENT; in testIdentReencoding() 204 type = TokenType.valueOf(golden.substring(colon + 1)); in testIdentReencoding() 405 + CssTokens.TokenType.valueOf(golden.substring(colon+1)).name()); in assertTokens()
|
/external/chromium-trace/catapult/third_party/closure_linter/closure_linter/ |
D | ecmametadatapass.py | 25 TokenType = javascripttokens.JavaScriptTokenType variable 326 if token_type == TokenType.START_PAREN: 334 elif token_type == TokenType.END_PAREN: 342 next_code = tokenutil.SearchExcept(token, TokenType.NON_CODE_TYPES) 343 if next_code.type != TokenType.START_BLOCK: 348 pre_keyword_token.type == TokenType.END_BLOCK): 362 elif (token_type == TokenType.KEYWORD and 364 next_code = tokenutil.SearchExcept(token, TokenType.NON_CODE_TYPES) 365 if (next_code.type != TokenType.START_BLOCK and 366 (next_code.type != TokenType.KEYWORD or next_code.string != 'if')): [all …]
|
D | javascripttokens.py | 24 class JavaScriptTokenType(tokens.TokenType): 83 tokens.TokenType.WHITESPACE, tokens.TokenType.BLANK_LINE]) 93 EXPRESSION_ENDER_TYPES = [tokens.TokenType.NORMAL, IDENTIFIER, NUMBER,
|
D | closurizednamespacesinfo.py | 33 TokenType = javascripttokens.JavaScriptTokenType variable 365 if token.type == TokenType.IDENTIFIER: 410 if t.type == TokenType.STRING_TEXT: 445 elif token.type == TokenType.SIMPLE_LVALUE: 468 elif token.type == TokenType.DOC_FLAG:
|
/external/owasp/sanitizer/src/main/org/owasp/html/ |
D | CssTokens.java | 77 private final TokenType[] tokenTypes; 144 if (type() != TokenType.WHITESPACE) { return true; } in hasTokenAfterSpace() 151 public TokenType type() { in type() 176 TokenType[] tokenTypes) { in CssTokens() 183 public enum TokenType { enum in CssTokens 283 private static final TokenType[] ZERO_TYPES = new TokenType[0]; 299 private List<TokenType> tokenTypes = null; 335 TokenType openBracket(char bracketChar) { in openBracket() 337 TokenType type; in openBracket() 339 case '(': close = ')'; type = TokenType.LEFT_PAREN; break; in openBracket() [all …]
|
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime.Tests/ |
D | Antlr.Runtime.Tree.Tests.pas | 91 function CreateToken(const TokenType: Integer; const Text: String): IToken; in CreateToken() 621 I, TokenType: Integer; 629 TokenType := Nodes.TreeAdaptor.GetNodeType(T); 630 if (TokenType <> TToken.DOWN) and (TokenType <> TToken.UP) then 633 Buf.Append(TokenType) 749 CheckEquals(Node.TokenType, I); 760 CheckEquals(Node.TokenType, N + I); 826 CheckEquals((Stream.LT(1) as ITree).TokenType,101); 827 CheckEquals((Stream.LT(2) as ITree).TokenType,TToken.DOWN); 828 CheckEquals((Stream.LT(3) as ITree).TokenType,102); [all …]
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/ |
D | SimpleCTP.m | 396 [self match:input TokenType:FUNC_DECL Follow:FOLLOW_FUNC_DECL_in_declaration87]; 398 [self match:input TokenType:DOWN Follow:nil]; 407 [self match:input TokenType:UP Follow:nil]; 415 [self match:input TokenType:FUNC_DEF Follow:FOLLOW_FUNC_DEF_in_declaration101]; 417 [self match:input TokenType:DOWN Follow:nil]; 434 [self match:input TokenType:UP Follow:nil]; 470 [self match:input TokenType:VAR_DEF Follow:FOLLOW_VAR_DEF_in_variable126]; 472 [self match:input TokenType:DOWN Follow:nil]; 489 [self match:input TokenType:UP Follow:nil]; 523 [self match:input TokenType:K_ID Follow:FOLLOW_K_ID_in_declarator150]; [all …]
|
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/ |
D | Antlr.Runtime.Tree.pas | 217 … function CreateNode(const TokenType: Integer; const FromToken: IToken): IANTLRInterface; overload; 225 function CreateNode(const TokenType: Integer; const FromToken: IToken; 234 function CreateNode(const TokenType: Integer; const Text: String): IANTLRInterface; overload; 507 property TokenType: Integer read GetTokenType; property 587 property TokenType: Integer read GetTokenType; property 653 function CreateToken(const TokenType: Integer; const Text: String): IToken; overload; 956 …function Find(const T: IANTLRInterface; const TokenType: Integer): IList<IANTLRInterface>; overloa… 961 … function FindFirst(const T: IANTLRInterface; const TokenType: Integer): IANTLRInterface; overload; 973 procedure Visit(const T: IANTLRInterface; const TokenType: Integer; 1282 …function CreateNode(const TokenType: Integer; const FromToken: IToken): IANTLRInterface; overload;… in CreateNode() [all …]
|
D | Antlr.Runtime.pas | 246 property TokenType: Integer read GetTokenType write SetTokenType; property 621 property TokenType: Integer read GetTokenType write SetTokenType; property 675 property TokenType: Integer read GetTokenType write SetTokenType; property 721 function Match(const Input: IIntStream; const TokenType: Integer; 725 const TokenType: Integer): Boolean; 817 procedure ConsumeUntil(const Input: IIntStream; const TokenType: Integer); overload; 979 TokenType: Integer): IList<IToken>; overload; 2023 procedure Mismatch(const Input: IIntStream; const TokenType: Integer; 2058 const TokenType: Integer; const Follow: IBitSet): IANTLRInterface; virtual; 2252 function Match(const Input: IIntStream; const TokenType: Integer; in Match() [all …]
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/output1/ |
D | SimpleCTP.m | 378 … [self match:input TokenType:FUNC_DECL Follow:FOLLOW_FUNC_DECL_in_declaration87]; /* element() */ 380 [self match:input TokenType:ANTLRTokenTypeDOWN Follow:nil]; 387 [self match:input TokenType:ANTLRTokenTypeUP Follow:nil]; /* element() */ 394 … [self match:input TokenType:FUNC_DEF Follow:FOLLOW_FUNC_DEF_in_declaration101]; /* element() */ 396 [self match:input TokenType:ANTLRTokenTypeDOWN Follow:nil]; 408 [self match:input TokenType:ANTLRTokenTypeUP Follow:nil]; /* element() */ 437 [self match:input TokenType:VAR_DEF Follow:FOLLOW_VAR_DEF_in_variable126]; /* element() */ 439 [self match:input TokenType:ANTLRTokenTypeDOWN Follow:nil]; 451 [self match:input TokenType:ANTLRTokenTypeUP Follow:nil]; /* element() */ 478 [self match:input TokenType:K_ID Follow:FOLLOW_K_ID_in_declarator150]; /* element() */ [all …]
|
/external/jsoncpp/include/json/ |
D | reader.h | 157 enum TokenType { enum 176 TokenType type_; 190 bool expectToken(TokenType type, Token& token, const char* message); 217 bool recoverFromError(TokenType skipUntilToken); 220 TokenType skipUntilToken);
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/ |
D | ANTLRBaseRecognizer.h | 113 - (id) match:(id<ANTLRIntStream>)anInput TokenType:(NSInteger)ttype Follow:(ANTLRBitSet *)follow; 115 - (BOOL) mismatchIsUnwantedToken:(id<ANTLRIntStream>)anInput TokenType:(NSInteger) ttype; 139 TokenType:(NSInteger)ttype 149 TokenType:(NSInteger) expectedTokenType 153 - (void) consumeUntilTType:(id<ANTLRIntStream>)anInput TokenType:(NSInteger)ttype;
|
D | ANTLRCommonTree.h | 53 + (id<ANTLRTree>) newANTLRCommonTreeWithToken:(id<ANTLRToken>)fromToken TokenType:(NSInteger)tokenT… 54 + (id<ANTLRTree>) newANTLRCommonTreeWithToken:(id<ANTLRToken>)fromToken TokenType:(NSInteger)tokenT…
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
D | ANTLRBaseRecognizer.h | 105 - (id) match:(id<ANTLRIntStream>)anInput TokenType:(NSInteger)ttype Follow:(ANTLRBitSet *)follow; 107 - (BOOL) mismatchIsUnwantedToken:(id<ANTLRIntStream>)anInput TokenType:(NSInteger) ttype; 131 TokenType:(NSInteger)ttype 141 TokenType:(NSInteger) expectedTokenType 145 - (void) consumeUntilTType:(id<ANTLRIntStream>)anInput TokenType:(NSInteger)ttype;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
D | ANTLRBaseRecognizer.h | 113 - (id) match:(id<ANTLRIntStream>)anInput TokenType:(NSInteger)ttype Follow:(ANTLRBitSet *)follow; 115 - (BOOL) mismatchIsUnwantedToken:(id<ANTLRIntStream>)anInput TokenType:(NSInteger) ttype; 139 TokenType:(NSInteger)ttype 149 TokenType:(NSInteger) expectedTokenType 153 - (void) consumeUntilTType:(id<ANTLRIntStream>)anInput TokenType:(NSInteger)ttype;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/ |
D | ANTLRBaseRecognizer.h | 113 - (id) match:(id<ANTLRIntStream>)anInput TokenType:(NSInteger)ttype Follow:(ANTLRBitSet *)follow; 115 - (BOOL) mismatchIsUnwantedToken:(id<ANTLRIntStream>)anInput TokenType:(NSInteger) ttype; 139 TokenType:(NSInteger)ttype 149 TokenType:(NSInteger) expectedTokenType 153 - (void) consumeUntilTType:(id<ANTLRIntStream>)anInput TokenType:(NSInteger)ttype;
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/scopes/ |
D | SymbolTableParser.m | 346 [self match:input TokenType:12 Follow:FOLLOW_12_in_method116]; 348 [self match:input TokenType:ID Follow:FOLLOW_ID_in_method118]; 350 [self match:input TokenType:7 Follow:FOLLOW_7_in_method120]; 352 [self match:input TokenType:8 Follow:FOLLOW_8_in_method122]; 398 [self match:input TokenType:13 Follow:FOLLOW_13_in_block153]; 460 [self match:input TokenType:14 Follow:FOLLOW_14_in_block165]; 517 [self match:input TokenType:ID Follow:FOLLOW_ID_in_stat189]; 519 [self match:input TokenType:10 Follow:FOLLOW_10_in_stat191]; 521 [self match:input TokenType:INT Follow:FOLLOW_INT_in_stat193]; 523 [self match:input TokenType:9 Follow:FOLLOW_9_in_stat195]; [all …]
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/ |
D | SmaliLexer.java | 35 import com.intellij.psi.TokenType; 86 return TokenType.WHITE_SPACE; in mapTokenTypeToElementType() 89 return TokenType.BAD_CHARACTER; in mapTokenTypeToElementType()
|
D | PsiBuilderTokenStream.java | 36 import com.intellij.psi.TokenType; 99 } else if (element == TokenType.BAD_CHARACTER) { in buildCurrentToken() 115 } else if (elementType == TokenType.BAD_CHARACTER) { in LA()
|
D | SmaliParserDefinition.java | 43 import com.intellij.psi.TokenType; 65 private static final TokenSet WHITESPACE = TokenSet.create(TokenType.WHITE_SPACE);
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/scopes/output1/ |
D | SymbolTableParser.m | 363 [self match:input TokenType:7 Follow:FOLLOW_7_in_method110]; /* element() */ 364 [self match:input TokenType:ID Follow:FOLLOW_ID_in_method112]; /* element() */ 365 [self match:input TokenType:8 Follow:FOLLOW_8_in_method114]; /* element() */ 366 [self match:input TokenType:9 Follow:FOLLOW_9_in_method116]; /* element() */ 406 [self match:input TokenType:10 Follow:FOLLOW_10_in_block147]; /* element() */ 461 [self match:input TokenType:11 Follow:FOLLOW_11_in_block159]; /* element() */ 510 [self match:input TokenType:ID Follow:FOLLOW_ID_in_stat183]; /* element() */ 511 [self match:input TokenType:12 Follow:FOLLOW_12_in_stat185]; /* element() */ 512 [self match:input TokenType:INT Follow:FOLLOW_INT_in_stat187]; /* element() */ 513 [self match:input TokenType:13 Follow:FOLLOW_13_in_stat189]; /* element() */ [all …]
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/LL-star/ |
D | SimpleCParser.m | 457 [self match:input TokenType:11 Follow:FOLLOW_11_in_declaration62]; 538 [self match:input TokenType:11 Follow:FOLLOW_11_in_variable103]; 572 [self match:input TokenType:ID Follow:FOLLOW_ID_in_declarator122]; 622 … ID3=(ANTLRCommonToken *)[self match:input TokenType:ID Follow:FOLLOW_ID_in_functionHeader153]; 624 [self match:input TokenType:7 Follow:FOLLOW_7_in_functionHeader155]; 657 [self match:input TokenType:10 Follow:FOLLOW_10_in_functionHeader163]; 683 [self match:input TokenType:8 Follow:FOLLOW_8_in_functionHeader173]; 810 [self match:input TokenType:19 Follow:FOLLOW_19_in_block286]; 880 [self match:input TokenType:20 Follow:FOLLOW_20_in_block326]; 987 [self match:input TokenType:11 Follow:FOLLOW_11_in_stat348]; [all …]
|
/external/protobuf/src/google/protobuf/io/ |
D | tokenizer.h | 91 enum TokenType { enum 118 TokenType type; 325 TokenType ConsumeNumber(bool started_with_zero, bool started_with_dot);
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treeparser/ |
D | LangDumpDecl.m | 144 [self match:input TokenType:DECL Follow:FOLLOW_DECL_in_decl45]; 146 [self match:input TokenType:DOWN Follow:nil]; 163 [self match:input TokenType:UP Follow:nil]; 200 [self match:input TokenType:INTTYPE Follow:FOLLOW_INTTYPE_in_type81]; 237 [self match:input TokenType:ID Follow:FOLLOW_ID_in_declarator95];
|