/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/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/python/cpython2/Lib/test/ |
D | test_compiler.py | 51 self.assertRaises(SyntaxError, compiler.compile, 55 compiler.compile(buf, basename, "exec") 64 compiler.compile("class foo():pass\n\n","<string>","exec") 67 compiler.compile("def g(): yield\n\n", "<string>", "exec") 72 c = compiler.compile('f(x=1, *(2, 3), y=4)', '<string>', 'exec') 80 c = compiler.compile("try:\n 1//0\nexcept:\n e = 1\nfinally:\n f = 1", 91 c = compiler.compile('"doc"', '<string>', 'exec') 93 c = compiler.compile('def f():\n "doc"', '<string>', 'exec') 127 c = compiler.compile('def g():\n' 139 c = compiler.compile('list((i,j) for i in range(3) if i < 3' [all …]
|
D | test_compile.py | 14 compile("hi", "<test>", "exec") 15 compile("hi\r", "<test>", "exec") 18 compile("", "<test>", "exec") 21 compile("\r\n", "<test>", "exec") 22 compile("\r", "<test>", "exec") 23 compile("hi\r\nstuff\r\ndef f():\n pass\r", "<test>", "exec") 24 compile("this_is\rreally_old_mac\rdef f():\n pass", "<test>", "exec") 28 self.assertRaises(SyntaxError, compile, '__debug__ = 1', '?', 'single') 56 self.assertRaises(SyntaxError, compile, "1+*3", "filename", "exec") 59 self.assertRaises(SyntaxError, compile, "f(None=1)", "<string>", "exec") [all …]
|
D | test_source_encoding.py | 23 c = compile("\n# coding: utf-8\nu = u'\xc3\xb3'\n", "dummy", "exec") 29 c = compile("a, b = '\U0001010F', '\\U0001010F'", "dummy", "exec") 47 compile('# -*- coding: iso-8859-15 -*-\n', 'dummy', 'exec') 48 compile('\xef\xbb\xbf\n', 'dummy', 'exec') 49 compile('\xef\xbb\xbf# -*- coding: utf-8 -*-\n', 'dummy', 'exec') 51 compile('# -*- coding: fake -*-\n', 'dummy', 'exec') 53 compile('\xef\xbb\xbf# -*- coding: iso-8859-15 -*-\n', 56 compile('\xef\xbb\xbf# -*- coding: iso-8859-15 -*-\n', 59 compile('\xef\xbb\xbf# -*- coding: fake -*-\n', 'dummy', 'exec') 61 compile('\xef\xbb\xbf# -*- coding: fake -*-\n', 'dummy', 'exec') [all …]
|
D | test_re.py | 29 x = re.compile('ab+c') 121 pattern = re.compile('.') 125 self.assertRaises(ValueError, re.compile, pattern, re.I) 129 re.compile("(?P<quote>)(?(quote))") 187 re.compile('(?P<a>x)(?P=a)(?(a)y)') 188 re.compile('(?P<a1>x)(?P=a1)(?(a1)y)') 189 self.assertRaises(re.error, re.compile, '(?P<a>)(?P<a>)') 190 self.assertRaises(re.error, re.compile, '(?Px)') 191 self.assertRaises(re.error, re.compile, '(?P=)') 192 self.assertRaises(re.error, re.compile, '(?P=1)') [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/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/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | SimpleFormatterTest.java | 31 SimpleFormatter fmt = SimpleFormatter.compile("This doesn''t have templates '{0}"); in TestWithNoArguments() 70 SimpleFormatter.compile("{}"); in TestSyntaxErrors() 75 SimpleFormatter.compile("{12d"); in TestSyntaxErrors() 85 SimpleFormatter.compile("{0} meter").format("1")); in TestOneArgument() 90 SimpleFormatter fmt = SimpleFormatter.compile("a{20}c"); in TestBigArgument() 102 SimpleFormatter.compile( in TestGetTextWithNoArguments() 108 SimpleFormatter fmt = SimpleFormatter.compile( in TestTooFewArgumentValues() 134 SimpleFormatter fmt = SimpleFormatter.compile( in TestWithArguments() 159 SimpleFormatter fmt = SimpleFormatter.compile( in TestFormatUseAppendToAsArgument() 172 SimpleFormatter fmt = SimpleFormatter.compile("{2}, {0}, {1} and {3}"); in TestFormatReplaceNoOptimization() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | SimpleFormatterTest.java | 32 SimpleFormatter fmt = SimpleFormatter.compile("This doesn''t have templates '{0}"); in TestWithNoArguments() 71 SimpleFormatter.compile("{}"); in TestSyntaxErrors() 76 SimpleFormatter.compile("{12d"); in TestSyntaxErrors() 86 SimpleFormatter.compile("{0} meter").format("1")); in TestOneArgument() 91 SimpleFormatter fmt = SimpleFormatter.compile("a{20}c"); in TestBigArgument() 103 SimpleFormatter.compile( in TestGetTextWithNoArguments() 109 SimpleFormatter fmt = SimpleFormatter.compile( in TestTooFewArgumentValues() 135 SimpleFormatter fmt = SimpleFormatter.compile( in TestWithArguments() 160 SimpleFormatter fmt = SimpleFormatter.compile( in TestFormatUseAppendToAsArgument() 173 SimpleFormatter fmt = SimpleFormatter.compile("{2}, {0}, {1} and {3}"); in TestFormatReplaceNoOptimization() [all …]
|
/external/toolchain-utils/go/patch/ |
D | go3.patch | 23 +var target = flag.String("target", "", "if non empty, use 'go_target' to compile test files and 'g… 49 - run("go", "tool", "compile", "bug0.go") 50 - run("go", "tool", "compile", "bug1.go") 51 - run("go", "tool", "compile", "bug2.go") 52 - run(errchk, "go", "tool", "compile", "-e", "bug3.go") 55 + run(goCmd(), "tool", "compile", "bug0.go") 56 + run(goCmd(), "tool", "compile", "bug1.go") 57 + run(goCmd(), "tool", "compile", "bug2.go") 58 + run(errchk, goCmd(), "tool", "compile", "-e", "bug3.go") 84 +var target = flag.String("target", "", "if non empty, use 'go_target' to compile test files and 'g… [all …]
|
/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/hamcrest/hamcrest-library/src/test/java/org/hamcrest/object/ |
D | MatchesPatternTest.java | 15 Matcher<String> matcher = new MatchesPattern(Pattern.compile(".")); in copesWithNullsAndUnknownTypes() 23 assertThat("a", new MatchesPattern(Pattern.compile("a"))); in matchesExactString() 28 …assertDoesNotMatch("A different string does not match", new MatchesPattern(Pattern.compile("a")), … in doesNotMatchADifferentString() 33 … assertDoesNotMatch("A substring does not match", new MatchesPattern(Pattern.compile("a")), "ab"); in doesNotMatchSubstring() 38 Matcher<?> m = new MatchesPattern(Pattern.compile("a[bc](d|e)")); in hasAReadableDescription() 44 final Matcher<String> matcher = new MatchesPattern(Pattern.compile("a")); in describesAMismatch() 50 Matcher<?> m = MatchesPattern.matchesPattern(Pattern.compile("a[bc](d|e)")); in factoryMethodAllowsCreationWithPattern()
|
/external/r8/src/test/java/com/android/tools/r8/utils/ |
D | Smali.java | 28 public static byte[] compile(String smaliText) throws RecognitionException, IOException { in compile() method in Smali 29 return compile(smaliText, 15); in compile() 32 public static byte[] compile(String... smaliText) throws RecognitionException, IOException { in compile() method in Smali 33 return compile(Arrays.asList(smaliText), 15); in compile() 36 public static byte[] compile(String smaliText, int apiLevel) in compile() method in Smali 38 return compile(ImmutableList.of(smaliText), apiLevel); in compile() 41 public static byte[] compile(List<String> smaliTexts) in compile() method in Smali 43 return compile(smaliTexts, 15); in compile() 46 public static byte[] compile(List<String> smaliTexts, int apiLevel) in compile() method in Smali
|
/external/autotest/client/site_tests/platform_Perf/ |
D | platform_Perf.py | 19 _KERNEL_NAME_REGEX = re.compile(r'.*kernel\.kallsyms.*') 22 re.compile(r'bash'), 23 re.compile(r'chrome'), 24 re.compile(r'ld-.*\.so.*'), 25 re.compile(r'libbase.*\.so.*'), 26 re.compile(r'libc.*\.so.*'), 27 re.compile(r'libdbus.*\.so.*'), 28 re.compile(r'libpthread.*\.so.*'), 29 re.compile(r'libstdc\+\+.*\.so.*'),
|
/external/llvm/utils/ |
D | update_test_checks.py | 45 SCRUB_LEADING_WHITESPACE_RE = re.compile(r'^(\s+)') 46 SCRUB_WHITESPACE_RE = re.compile(r'(?!^(| \w))[ \t]+', flags=re.M) 47 SCRUB_TRAILING_WHITESPACE_RE = re.compile(r'[ \t]+$', flags=re.M) 49 re.compile( 52 SCRUB_X86_SP_RE = re.compile(r'\d+\(%(esp|rsp)\)') 53 SCRUB_X86_RIP_RE = re.compile(r'[.\w]+\(%rip\)') 54 SCRUB_X86_LCP_RE = re.compile(r'\.LCPI[0-9]+_[0-9]+') 55 SCRUB_KILL_COMMENT_RE = re.compile(r'^ *#+ +kill:.*\n') 56 SCRUB_IR_COMMENT_RE = re.compile(r'\s*;.*') 58 RUN_LINE_RE = re.compile('^\s*;\s*RUN:\s*(.*)$') [all …]
|
D | update_llc_test_checks.py | 31 SCRUB_WHITESPACE_RE = re.compile(r'(?!^(| \w))[ \t]+', flags=re.M) 32 SCRUB_TRAILING_WHITESPACE_RE = re.compile(r'[ \t]+$', flags=re.M) 34 re.compile( 37 SCRUB_X86_SP_RE = re.compile(r'\d+\(%(esp|rsp)\)') 38 SCRUB_X86_RIP_RE = re.compile(r'[.\w]+\(%rip\)') 39 SCRUB_X86_LCP_RE = re.compile(r'\.LCPI[0-9]+_[0-9]+') 40 SCRUB_KILL_COMMENT_RE = re.compile(r'^ *#+ +kill:.*\n') 42 RUN_LINE_RE = re.compile('^\s*;\s*RUN:\s*(.*)$') 43 IR_FUNCTION_RE = re.compile('^\s*define\s+(?:internal\s+)?[^@]*@(\w+)\s*\(') 44 ASM_FUNCTION_RE = re.compile( [all …]
|
/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/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/python/cpython2/Tools/scripts/ |
D | texcheck.py | 87 texcmd = re.compile(r'\\[A-Za-z]+') 88 falsetexcmd = re.compile(r'\/([A-Za-z]+)') # Mismarked with forward slash 100 delimiters = re.compile(r'\\(begin|end){([_a-zA-Z]+)}|([()\[\]])') 101 braces = re.compile(r'({)|(})') 102 doubledwords = re.compile(r'(\b[A-za-z]+\b) \b\1\b') 103 spacingmarkup = re.compile(r'\\(ABC|ASCII|C|Cpp|EOF|infinity|NULL|plusminus|POSIX|UNIX)\s') 108 tablestart = re.compile(r'\\begin{(?:long)?table([iv]+)}') 109 tableline = re.compile(r'\\line([iv]+){') 110 tableend = re.compile(r'\\end{(?:long)?table([iv]+)}')
|