/external/chromium-trace/catapult/third_party/closure_linter/closure_linter/ |
D | javascripttokenizer.py | 65 NUMBER = re.compile(r""" 74 SINGLE_QUOTE = re.compile(r"'") 75 SINGLE_QUOTE_TEXT = re.compile(r"([^'\\]|\\(.|$))+") 76 DOUBLE_QUOTE = re.compile(r'"') 77 DOUBLE_QUOTE_TEXT = re.compile(r'([^"\\]|\\(.|$))+') 79 START_SINGLE_LINE_COMMENT = re.compile(r'//') 80 END_OF_LINE_SINGLE_LINE_COMMENT = re.compile(r'//$') 82 START_DOC_COMMENT = re.compile(r'/\*\*') 83 START_BLOCK_COMMENT = re.compile(r'/\*') 84 END_BLOCK_COMMENT = re.compile(r'\*/') [all …]
|
/external/robolectric/v1/ |
D | build.gradle | 12 compile getAndroidPrebuilt('18') 13 compile files('lib/main/android-support-v4.jar') 14 compile files('lib/main/commons-codec-1.6.jar') 15 compile files('lib/main/commons-logging-1.1.1.jar') 16 compile files('lib/main/httpclient-4.0.3.jar') 17 compile files('lib/main/httpcore-4.0.1.jar') 18 compile files('lib/main/javassist-3.14.0-GA.jar') 19 compile files('lib/main/json-20080701.jar') 20 compile files('lib/main/maps_v16.jar') 21 compile files('lib/main/sqlite-jdbc-3.7.2.jar') [all …]
|
/external/robolectric/v3/ |
D | build.gradle | 15 compile "org.ow2.asm:asm:5.0.3" 16 compile "org.ow2.asm:asm-commons:5.0.3" 17 compile "org.ow2.asm:asm-tree:5.0.3" 18 compile "org.ow2.asm:asm-util:5.0.3" 19 compile "org.apache.ant:ant:1.8.0" 20 compile "com.google.guava:guava:17.0" 21 compile "org.apache.httpcomponents:httpclient:4.1.1" 22 compile "org.bouncycastle:bcprov-jdk15on:1.48" 23 compile "com.ibm.icu:icu4j:54.1.1" 27 compile files("libs/sqlite4java-0.282.jar") [all …]
|
/external/v8/test/webkit/ |
D | regexp-compile.js | 31 re.compile("a"); 38 re.compile("b", "g"); 41 re.compile(new RegExp("c")); 44 re.compile(new RegExp("c", "i")); 52 re.compile(re, undefined); 57 re.compile(undefined); 60 re.compile(null); 63 re.compile(); 66 re.compile("z", undefined); 71 re.compile(/a/g);
|
/external/owasp/sanitizer/src/main/org/owasp/html/examples/ |
D | EbayPolicyExample.java | 65 private static final Pattern COLOR_NAME = Pattern.compile( 70 private static final Pattern COLOR_CODE = Pattern.compile( 73 private static final Pattern NUMBER_OR_PERCENT = Pattern.compile( 75 private static final Pattern PARAGRAPH = Pattern.compile( 77 private static final Pattern HTML_ID = Pattern.compile( 80 private static final Pattern HTML_TITLE = Pattern.compile( 82 private static final Pattern HTML_CLASS = Pattern.compile( 85 private static final Pattern ONSITE_URL = Pattern.compile( 87 private static final Pattern OFFSITE_URL = Pattern.compile( 91 private static final Pattern NUMBER = Pattern.compile( [all …]
|
/external/owasp/sanitizer/src/tests/org/owasp/html/ |
D | CssFuzzerTest.java | 182 CssTokens.TokenType.AT, Pattern.compile("@" + IDENT)); in TOKEN_TYPE_FILTERS.put() 184 CssTokens.TokenType.COLON, Pattern.compile(":")); in TOKEN_TYPE_FILTERS.put() argument 186 CssTokens.TokenType.COLUMN, Pattern.compile("\\|\\|")); in TOKEN_TYPE_FILTERS.put() 188 CssTokens.TokenType.COMMA, Pattern.compile(",")); in TOKEN_TYPE_FILTERS.put() argument 191 Pattern.compile("[^\\w\u0000- \u0080-\uffff\\-]")); in TOKEN_TYPE_FILTERS.put() 193 CssTokens.TokenType.DIMENSION, Pattern.compile(NUMBER + "[a-z]+")); in TOKEN_TYPE_FILTERS.put() 195 CssTokens.TokenType.DOT_IDENT, Pattern.compile("\\." + IDENT)); in TOKEN_TYPE_FILTERS.put() 197 CssTokens.TokenType.FUNCTION, Pattern.compile(IDENT + "[(]")); in TOKEN_TYPE_FILTERS.put() 199 CssTokens.TokenType.HASH_ID, Pattern.compile("#" + IDENT_PART + "+")); in TOKEN_TYPE_FILTERS.put() 202 Pattern.compile("#[a-fA-F0-9]+")); in TOKEN_TYPE_FILTERS.put() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | SimplePatternFormatterTest.java | 36 … SimplePatternFormatter fmt = SimplePatternFormatter.compile("This doesn''t have templates '{0}"); in TestWithNoPlaceholders() 74 SimplePatternFormatter.compile("{}"); in TestSyntaxErrors() 79 SimplePatternFormatter.compile("{12d"); in TestSyntaxErrors() 88 SimplePatternFormatter.compile("{0} meter").format("1")); in TestOnePlaceholder() 92 SimplePatternFormatter fmt = SimplePatternFormatter.compile("a{20}c"); in TestBigPlaceholder() 103 SimplePatternFormatter.compile( in TestGetTextWithNoPlaceholders() 108 SimplePatternFormatter fmt = SimplePatternFormatter.compile( in TestTooFewPlaceholderValues() 133 SimplePatternFormatter fmt = SimplePatternFormatter.compile( in TestWithPlaceholders() 157 SimplePatternFormatter fmt = SimplePatternFormatter.compile( in TestFormatUseAppendToAsPlaceholder() 169 SimplePatternFormatter fmt = SimplePatternFormatter.compile("{2}, {0}, {1} and {3}"); in TestFormatReplaceNoOptimization() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | SimplePatternFormatterTest.java | 40 … SimplePatternFormatter fmt = SimplePatternFormatter.compile("This doesn''t have templates '{0}"); in TestWithNoPlaceholders() 78 SimplePatternFormatter.compile("{}"); in TestSyntaxErrors() 83 SimplePatternFormatter.compile("{12d"); in TestSyntaxErrors() 92 SimplePatternFormatter.compile("{0} meter").format("1")); in TestOnePlaceholder() 96 SimplePatternFormatter fmt = SimplePatternFormatter.compile("a{20}c"); in TestBigPlaceholder() 107 SimplePatternFormatter.compile( in TestGetTextWithNoPlaceholders() 112 SimplePatternFormatter fmt = SimplePatternFormatter.compile( in TestTooFewPlaceholderValues() 137 SimplePatternFormatter fmt = SimplePatternFormatter.compile( in TestWithPlaceholders() 161 SimplePatternFormatter fmt = SimplePatternFormatter.compile( in TestFormatUseAppendToAsPlaceholder() 173 SimplePatternFormatter fmt = SimplePatternFormatter.compile("{2}, {0}, {1} and {3}"); in TestFormatReplaceNoOptimization() [all …]
|
/external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/line/ |
D | Log4jRuleSet.java | 37 …SingleConversionRule crImport0 = new SingleConversionRule(Pattern.compile("import\\s*+org.apache.l… in Log4jRuleSet() 40 …SingleConversionRule catImport = new SingleConversionRule(Pattern.compile("import\\s*+org.apache.l… in Log4jRuleSet() 43 …SingleConversionRule crImport1 = new SingleConversionRule(Pattern.compile("import\\s*+org.apache.l… in Log4jRuleSet() 45 …SingleConversionRule crImport2 = new SingleConversionRule(Pattern.compile("import\\s*+org.apache.l… in Log4jRuleSet() 48 …SingleConversionRule crImportMDC = new SingleConversionRule(Pattern.compile("import\\s*+org.apache… in Log4jRuleSet() 50 …SingleConversionRule crFactory0 = new SingleConversionRule(Pattern.compile("Logger.getLogger\\("),… in Log4jRuleSet() 52 …SingleConversionRule crFactory1 = new SingleConversionRule(Pattern.compile("\\sCategory.getInstanc… in Log4jRuleSet() 54 …SingleConversionRule crFactory2 = new SingleConversionRule(Pattern.compile("LogManager.getLogger\\… in Log4jRuleSet() 56 …SingleConversionRule variable0 = new SingleConversionRule(Pattern.compile("(\\sCategory\\b)"), " L… in Log4jRuleSet() 58 …SingleConversionRule variable1 = new SingleConversionRule(Pattern.compile("(^Category\\b)"), "Logg… in Log4jRuleSet()
|
D | JULRuleSet.java | 43 …SingleConversionRule crImport0 = new SingleConversionRule(Pattern.compile("import\\s*+java.util.lo… in JULRuleSet() 46 …SingleConversionRule crImport1 = new SingleConversionRule(Pattern.compile("import\\s*+org.apache.l… in JULRuleSet() 48 …SingleConversionRule crImport2 = new SingleConversionRule(Pattern.compile("import\\s*+java.util.lo… in JULRuleSet() 51 …SingleConversionRule crFactory0 = new SingleConversionRule(Pattern.compile("Logger.getLogger\\("),… in JULRuleSet() 53 …SingleConversionRule crFactory1 = new SingleConversionRule(Pattern.compile("LogManager.getLogger\\… in JULRuleSet() 55 …SingleConversionRule crWarning = new SingleConversionRule(Pattern.compile("\\.warning\\("), ".warn… in JULRuleSet() 56 …SingleConversionRule crSevere = new SingleConversionRule(Pattern.compile("\\.severe\\("), ".error(… in JULRuleSet()
|
D | JCLRuleSet.java | 43 …SingleConversionRule cr0 = new SingleConversionRule(Pattern.compile("import\\s*+org.apache.commons… in JCLRuleSet() 47 …SingleConversionRule cr1 = new SingleConversionRule(Pattern.compile("import\\s*+org.apache.commons… in JCLRuleSet() 49 … SingleConversionRule cr2 = new SingleConversionRule(Pattern.compile("(\\sLog\\b)"), " Logger"); in JCLRuleSet() 51 SingleConversionRule cr3 = new SingleConversionRule(Pattern.compile("(^Log\\b)"), "Logger"); in JCLRuleSet() 53 …SingleConversionRule cr4 = new SingleConversionRule(Pattern.compile("LogFactory.getFactory\\(\\).g… in JCLRuleSet() 55 …SingleConversionRule cr5 = new SingleConversionRule(Pattern.compile("LogFactory.getLog\\("), "Logg… in JCLRuleSet()
|
/external/doclava/ |
D | build.gradle | 36 compile files(findToolsJar()) 37 compile files('../../prebuilts/misc/common/antlr/antlr-3.4-complete.jar') 38 compile 'com.google.jsilver:jsilver:1.0.0' 40 compile project(':tagsoup') 42 compile 'com.google.guava:guava:15.0' 43 //compile project(path: ':junit', configuration: 'target') 47 compile files(BuildUtils.findToolsJar(project)) 48 compile project(path: ':antlr', configuration: 'antlrRuntime') 49 compile project(':jsilver') 50 compile project(':tagsoup')
|
/external/clang/test/Parser/ |
D | ms-if-exists.cpp | 15 this will not compile. in test_if_exists_stmts() 18 this will not compile. in test_if_exists_stmts() 41 this will not compile. in __if_exists() 45 this will not compile. in __if_not_exists() 62 __if_exists(MayExist::Type_not) { this will not compile } in test_if_exists_init_list() 74 __if_not_exists(MayExist::Type) { this will not compile } in test_if_exists_init_list() 91 this will not compile. in __if_exists() 95 this will not compile. in __if_not_exists()
|
D | ms-if-exists.c | 14 this will not compile. in test_if_exists_stmts() 17 this will not compile. in test_if_exists_stmts() 40 this will not compile. in __if_exists() 44 this will not compile. in __if_not_exists() 61 __if_exists(Type_not) { this will not compile } in test_if_exists_init_list() 73 __if_not_exists(Type) { this will not compile } in test_if_exists_init_list()
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/resolver/ |
D | Resolver.java | 32 … .compile("^(?:yes|Yes|YES|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF)$"); 39 ….compile("^([-+]?(\\.[0-9]+|[0-9_]+(\\.[0-9_]*)?)([eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-… 41 ….compile("^(?:[-+]?0b[0-1_]+|[-+]?0[0-7_]+|[-+]?(?:0|[1-9][0-9_]*)|[-+]?0x[0-9a-fA-F_]+|[-+]?[1-9]… 42 public static final Pattern MERGE = Pattern.compile("^(?:<<)$"); 43 public static final Pattern NULL = Pattern.compile("^(?:~|null|Null|NULL| )$"); 44 public static final Pattern EMPTY = Pattern.compile("^$"); 46 ….compile("^(?:[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]|[0-9][0-9][0-9][0-9]-[0-9][0-9]?-[0-9][0-… 47 public static final Pattern VALUE = Pattern.compile("^(?:=)$"); 48 public static final Pattern YAML = Pattern.compile("^(?:!|&|\\*)$");
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowPatterns.java | 44 Pattern.compile(TOP_LEVEL_DOMAIN_STR); 78 public static final Pattern WEB_URL = Pattern.compile( 97 = Pattern.compile( 104 = Pattern.compile( 110 = Pattern.compile( 121 = Pattern.compile( // sdd = space, dot, or dash
|
/external/llvm/utils/ |
D | update_llc_test_checks.py | 26 ASM_SCRUB_WHITESPACE_RE = re.compile(r'(?!^(| \w))[ \t]+', flags=re.M) 27 ASM_SCRUB_TRAILING_WHITESPACE_RE = re.compile(r'[ \t]+$', flags=re.M) 29 re.compile( 32 ASM_SCRUB_SP_RE = re.compile(r'\d+\(%(esp|rsp)\)') 33 ASM_SCRUB_RIP_RE = re.compile(r'[.\w]+\(%rip\)') 34 ASM_SCRUB_KILL_COMMENT_RE = re.compile(r'^ *#+ +kill:.*\n') 67 run_line_re = re.compile('^\s*;\s*RUN:\s*(.*)$') 68 ir_function_re = re.compile('^\s*define\s+(?:internal\s+)?[^@]*@(\w+)\s*\(') 69 asm_function_re = re.compile( 74 check_prefix_re = re.compile('--check-prefix=(\S+)') [all …]
|
/external/proguard/build/ |
D | build.sh | 48 function compile { function 77 compile $PROGUARD 80 compile $PROGUARD_GUI 83 compile $RETRACE 88 compile $ANT_TASK 97 compile $GRADLE_TASK 106 compile $WTK_PLUGIN
|
/external/v8/tools/ |
D | js2c.py | 55 lines = re.sub(re.compile(r'/\*.*?\*/', re.DOTALL), '', lines) # comments. 69 EVAL_PATTERN = re.compile(r'\beval\s*\(') 70 WITH_PATTERN = re.compile(r'\bwith\s*\(') 71 INVALID_ERROR_MESSAGE_PATTERN = re.compile( 73 NEW_ERROR_PATTERN = re.compile(r'new \$\w*Error\((?!\))') 163 CONST_PATTERN = re.compile(r'^define\s+([a-zA-Z0-9_]+)\s*=\s*([^;]*);$') 164 MACRO_PATTERN = re.compile(r'^macro\s+([a-zA-Z0-9_]+)\s*\(([^)]*)\)\s*=\s*([^;]*);$') 165 PYTHON_MACRO_PATTERN = re.compile(r'^python\s+macro\s+([a-zA-Z0-9_]+)\s*\(([^)]*)\)\s*=\s*([^;]*);$… 180 constants.append((re.compile("\\b%s\\b" % name), value)) 187 macros.append((re.compile("\\b%s\\(" % name), TextMacro(args, body))) [all …]
|
/external/slf4j/slf4j-migrator/src/test/java/org/slf4j/migrator/ |
D | AternativeApproach.java | 42 MultiGroupConversionRule cr2 = new MultiGroupConversionRule(Pattern.compile("(.*)(Log)")); in test() 62 Pattern pat = Pattern.compile("(Log)"); in test2() 90 Pattern pat = Pattern.compile("LogFactory.getFactory\\(\\).getInstance\\("); in test3() 107 Pattern pat = Pattern.compile("(\\sLog\\b)"); in test4() 130 Pattern pat2 = Pattern.compile("^Log\\b"); in test4() 141 Pattern pat = Pattern.compile("(\\sLog\\b)"); in test5() 148 Pattern pat2 = Pattern.compile("LogFactory.getFactory\\(\\).getInstance\\("); in test5()
|
/external/autotest/server/site_tests/firmware_Mosys/ |
D | firmware_Mosys.py | 75 fwcopy_pattern = re.compile('Firmware copy: (.*)$') 76 ver_pattern = re.compile('(R[OW]) version: (.*)$') 105 fwcopy_pattern = re.compile('Firmware copy: (.*)$') 106 ver_pattern = re.compile('(R[OW]) version: (.*)$') 136 pattern = re.compile(fieldname + '=(.*)$') 160 pattern = re.compile(fieldname + ':(\S+)\s+') 182 p = re.compile('vendor="coreboot" version="(.*)"' 197 p = re.compile('vendor="[a-z]+" name="[ -~]+" fw_version="(.*)"') 243 p = re.compile('^[-\w\s]+$') 253 p = re.compile('vendor="[a-z]+" name="[ -~]+" fw_version="(.*)"')
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/ |
D | storage_url.py | 25 PROVIDER_REGEX = re.compile(r'(?P<provider>[^:]*)://$') 27 BUCKET_REGEX = re.compile(r'(?P<provider>[^:]*)://(?P<bucket>[^/]*)/{0,1}$') 29 OBJECT_REGEX = re.compile( 32 GS_GENERATION_REGEX = re.compile(r'(?P<object>.+)#(?P<generation>[0-9]+)$') 34 S3_VERSION_REGEX = re.compile(r'(?P<object>.+)#(?P<version_id>.+)$') 36 FILE_OBJECT_REGEX = re.compile(r'([^:]*://)(?P<filepath>.*)') 38 BUCKET_NAME_RE = re.compile(r'^[a-zA-Z0-9][a-zA-Z0-9\._-]{1,253}[a-zA-Z0-9]$') 40 TOO_LONG_DNS_NAME_COMP = re.compile(r'[-_a-z0-9]{64}') 42 WILDCARD_REGEX = re.compile(r'[*?\[\]]')
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/scripts/ |
D | git-release-notes.py | 7 RELEASE = re.compile(r'[0-9]+\.[0-9]+\.[0-9]+') 8 ISSUE = re.compile(r'#([0-9]+)') 44 re.compile(r'merge pull request #[0-9]+ from [a-z0-9/_-]+', re.I), 45 re.compile(r"merge branch '[a-z0-9/_-]+' into [a-z0-9/_-]+", re.I), 46 re.compile(r'fix(es)? [#0-9, ]+.?', re.I)
|
/external/llvm/utils/lint/ |
D | cpp_lint.py | 23 include_gtest_re = re.compile(r'^#include "gtest/(.*)"') 24 include_llvm_re = re.compile(r'^#include "llvm/(.*)"') 25 include_support_re = re.compile(r'^#include "(Support/.*)"') 26 include_config_re = re.compile(r'^#include "(Config/.*)"') 27 include_system_re = re.compile(r'^#include <(.*)>')
|
/external/autotest/server/ |
D | site_gtest_runner.py | 194 self._test_start = re.compile('\[\s+RUN\s+\] ' + test_name_regexp) 195 self._test_ok = re.compile('\[\s+OK\s+\] ' + test_name_regexp) 196 self._test_fail = re.compile('\[\s+FAILED\s+\] ' + test_name_regexp) 197 self._test_timeout = re.compile( 199 self._disabled = re.compile(' YOU HAVE (\d+) DISABLED TEST') 200 self._flaky = re.compile(' YOU HAVE (\d+) FLAKY TEST') 202 self._suppression_start = re.compile( 204 self._suppression_end = re.compile('^}\s*$') 206 self._master_name_re = re.compile('\[Running for master: "([^"]*)"') 209 self._error_logging_start_re = re.compile('=' * 70) [all …]
|