/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/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/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/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/tensorflow/tensorflow/java/src/test/java/org/tensorflow/processor/ |
D | OperatorProcessorTest.java | 18 import static com.google.testing.compile.CompilationSubject.assertThat; 20 import com.google.testing.compile.Compilation; 21 import com.google.testing.compile.Compiler; 22 import com.google.testing.compile.JavaFileObjects; 33 Compilation compile = compile("org/tensorflow/processor/operator/good/BasicGood.java"); in basicGood() local 34 assertThat(compile).succeededWithoutWarnings(); in basicGood() 35 assertThat(compile).generatedSourceFile("org.tensorflow.op.Ops"); in basicGood() 40 assertThat(compile("org/tensorflow/processor/operator/bad/BasicBad.java")).failed(); in basicBad() 44 private static Compilation compile(String path) { in compile() method in OperatorProcessorTest 47 .compile( in compile()
|
/external/python/cpython3/Lib/test/ |
D | test_compile.py | 14 compile(source, "<single>", "single") 20 compile("hi", "<test>", "exec") 21 compile("hi\r", "<test>", "exec") 24 compile("", "<test>", "exec") 27 compile("\r\n", "<test>", "exec") 28 compile("\r", "<test>", "exec") 29 compile("hi\r\nstuff\r\ndef f():\n pass\r", "<test>", "exec") 30 compile("this_is\rreally_old_mac\rdef f():\n pass", "<test>", "exec") 34 self.assertRaises(SyntaxError, compile, '__debug__ = 1', '?', 'single') 50 self.assertRaises(SyntaxError, compile, "1+*3", "filename", "exec") [all …]
|
D | test_re.py | 43 re.compile(pattern) 72 x = re.compile('ab+c') 152 pattern = re.compile('.') 156 self.assertRaises(ValueError, re.compile, pattern, re.I) 160 re.compile("(?P<quote>)(?(quote))") 225 re.compile(r'(?P<a>x)(?P=a)(?(a)y)') 226 re.compile(r'(?P<a1>x)(?P=a1)(?(a1)y)') 227 re.compile(r'(?P<a1>x)\1(?(1)y)') 254 re.compile('(?P<µ>x)(?P=µ)(?(µ)y)') 255 re.compile('(?P<>x)(?P=)(?()y)') [all …]
|
D | test_peepholer.py | 27 code = compile(line, '', 'single') 71 code = compile(line,'','single') 84 code = compile(line,'','single') 89 code = compile(repr(tuple(range(10000))),'','single') 121 code = compile(line, '', 'single') 134 code = compile(line, '', 'single') 170 code = compile(line, '', 'single') 176 code = compile('a=2+"b"', '', 'single') 181 code = compile('a="x"*1000', '', 'single') 186 code = compile('"foo"[0]', '', 'single') [all …]
|
D | test_source_encoding.py | 25 c = compile(b"\n# coding: utf-8\nu = '\xc3\xb3'\n", "dummy", "exec") 32 compile(b"# coding: cp932\nprint '\x94\x4e'", "dummy", "exec") 39 c = compile("# coding=latin-1\n\u00c6 = '\u00c6'", "dummy", "exec") 45 c = compile("a, b = '\U0001010F', '\\U0001010F'", "dummy", "exec") 73 compile(b'# -*- coding: iso-8859-15 -*-\n', 'dummy', 'exec') 74 compile(b'\xef\xbb\xbf\n', 'dummy', 'exec') 75 compile(b'\xef\xbb\xbf# -*- coding: utf-8 -*-\n', 'dummy', 'exec') 77 compile(b'# -*- coding: fake -*-\n', 'dummy', 'exec') 79 compile(b'\xef\xbb\xbf# -*- coding: iso-8859-15 -*-\n', 82 compile(b'\xef\xbb\xbf# -*- coding: iso-8859-15 -*-\n', [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | SimpleFormatterTest.java | 37 SimpleFormatter fmt = SimpleFormatter.compile("This doesn''t have templates '{0}"); in TestWithNoArguments() 76 SimpleFormatter.compile("{}"); in TestSyntaxErrors() 81 SimpleFormatter.compile("{12d"); in TestSyntaxErrors() 91 SimpleFormatter.compile("{0} meter").format("1")); in TestOneArgument() 96 SimpleFormatter fmt = SimpleFormatter.compile("a{20}c"); in TestBigArgument() 108 SimpleFormatter.compile( in TestGetTextWithNoArguments() 114 SimpleFormatter fmt = SimpleFormatter.compile( in TestTooFewArgumentValues() 140 SimpleFormatter fmt = SimpleFormatter.compile( in TestWithArguments() 165 SimpleFormatter fmt = SimpleFormatter.compile( in TestFormatUseAppendToAsArgument() 178 SimpleFormatter fmt = SimpleFormatter.compile("{2}, {0}, {1} and {3}"); in TestFormatReplaceNoOptimization() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | SimpleFormatterTest.java | 34 SimpleFormatter fmt = SimpleFormatter.compile("This doesn''t have templates '{0}"); in TestWithNoArguments() 73 SimpleFormatter.compile("{}"); in TestSyntaxErrors() 78 SimpleFormatter.compile("{12d"); in TestSyntaxErrors() 88 SimpleFormatter.compile("{0} meter").format("1")); in TestOneArgument() 93 SimpleFormatter fmt = SimpleFormatter.compile("a{20}c"); in TestBigArgument() 105 SimpleFormatter.compile( in TestGetTextWithNoArguments() 111 SimpleFormatter fmt = SimpleFormatter.compile( in TestTooFewArgumentValues() 137 SimpleFormatter fmt = SimpleFormatter.compile( in TestWithArguments() 162 SimpleFormatter fmt = SimpleFormatter.compile( in TestFormatUseAppendToAsArgument() 175 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/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()
|
/external/capstone/ |
D | COMPILE.TXT | 1 This documentation explains how to compile, install & run Capstone on MacOSX, 2 Linux, *BSD & Solaris. We also show steps to cross-compile for Microsoft Windows. 4 To natively compile for Windows using Microsoft Visual Studio, see COMPILE_MSVC.TXT. 6 To compile using CMake, see COMPILE_CMAKE.TXT. 8 To compile using XCode on MacOSX, see xcode/README.md. 12 Capstone requires no prerequisite packages, so it is easy to compile & install. 20 ones you want to compile in by editing "config.mk" before going to next steps. 54 - To compile for current platform, run: 58 - On 64-bit OS, run the command below to cross-compile Capstone for 32-bit binary: 98 (3) Cross-compile for Windows from *nix [all …]
|
/external/freetype/src/tools/docmaker/ |
D | sources.py | 54 self.start = re.compile( start, re.VERBOSE ) 55 self.column = re.compile( column, re.VERBOSE ) 56 self.end = re.compile( end, re.VERBOSE ) 130 re_markup_tag1 = re.compile( r'''\s*<((?:\w|-)*)>''' ) # <xxxx> format 131 re_markup_tag2 = re.compile( r'''\s*@((?:\w|-)*):''' ) # @xxxx: format 153 re_crossref = re.compile( r""" 168 re_italic = re.compile( r"_((?:\w|-)(?:\w|'|-)*)_(.*)" ) # _italic_ 169 re_bold = re.compile( r"\*((?:\w|-)(?:\w|'|-)*)\*(.*)" ) # *bold* 204 re_url = re.compile( url, re.VERBOSE | re.MULTILINE ) 210 re_source_sep = re.compile( r'\s*/\*\s*\*/' ) # /* */ [all …]
|
/external/robolectric-shadows/robolectric/ |
D | build.gradle | 25 compile project(":annotations") 26 compile project(":junit") 27 compile project(":resources") 28 compile project(":sandbox") 29 compile project(":utils") 33 compile project(":shadows:framework") 36 compile "org.bouncycastle:bcprov-jdk15on:1.52" 37 compile "com.thoughtworks.xstream:xstream:1.4.8" 40 compile "org.apache.ant:ant:1.8.0" 41 compile("org.apache.maven:maven-ant-tasks:2.1.3") { [all …]
|
/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 …]
|
/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()
|
/external/robolectric-shadows/processor/ |
D | build.gradle | 16 compile project(":annotations") 19 compile "com.google.guava:guava:20.0" 21 compile "com.google.code.gson:gson:2.8.0" 22 compile 'ch.raffael.pegdown-doclet:pegdown-doclet:1.3' 24 compile files(org.gradle.internal.jvm.Jvm.current().getToolsJar()) 29 testCompile "com.google.testing.compile:compile-testing:0.12"
|
/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()
|