/external/llvm/unittests/ADT/ |
D | TwineTest.cpp | 18 std::string repr(const Twine &Value) { in repr() function 57 repr(Twine("hi").concat(Twine::createNull()))); in TEST() 59 repr(Twine::createNull().concat(Twine("hi")))); in TEST() 63 repr(Twine("hi").concat(Twine()))); in TEST() 65 repr(Twine().concat(Twine("hi")))); in TEST() 67 repr(Twine().concat(Twine(SmallString<5>("hi"))))); in TEST() 69 repr(Twine(SmallString<7>("hey")).concat(Twine("there")))); in TEST() 73 repr(Twine("a").concat(Twine("b")))); in TEST() 77 repr(Twine("a").concat(Twine("b")).concat(Twine("c")))); in TEST() 79 repr(Twine("a").concat(Twine("b").concat(Twine("c"))))); in TEST() [all …]
|
/external/swiftshader/third_party/LLVM/unittests/ADT/ |
D | TwineTest.cpp | 18 std::string repr(const Twine &Value) { in repr() function 56 repr(Twine("hi").concat(Twine::createNull()))); in TEST() 58 repr(Twine::createNull().concat(Twine("hi")))); in TEST() 62 repr(Twine("hi").concat(Twine()))); in TEST() 64 repr(Twine().concat(Twine("hi")))); in TEST() 68 repr(Twine("a").concat(Twine("b")))); in TEST() 72 repr(Twine("a").concat(Twine("b")).concat(Twine("c")))); in TEST() 74 repr(Twine("a").concat(Twine("b").concat(Twine("c"))))); in TEST()
|
/external/libxml2/python/tests/ |
D | outbuf.py | 38 print(' got: %s' % repr(f.getvalue())) 39 print('expected: %s' % repr(expected)) 62 print(' got: %s' % repr(f.getvalue())) 63 print('expected: %s' % repr(expected[i])) 83 print(' got: %s' % repr(f.getvalue())) 84 print('expected: %s' % repr(expected)) 91 print(' got: %s' % repr(f.getvalue())) 92 print('expected: %s' % repr(expected))
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
D | t012lexerXML.py | 72 assert exc.unexpectedType == '>', repr(exc.unexpectedType) 73 assert exc.charPositionInLine == 11, repr(exc.charPositionInLine) 74 assert exc.line == 2, repr(exc.line) 96 assert exc.unexpectedType == 't', repr(exc.unexpectedType) 97 assert exc.charPositionInLine == 2, repr(exc.charPositionInLine) 98 assert exc.line == 1, repr(exc.line) 120 assert exc.unexpectedType == 'a', repr(exc.unexpectedType) 121 assert exc.charPositionInLine == 11, repr(exc.charPositionInLine) 122 assert exc.line == 2, repr(exc.line)
|
D | t006lexer.py | 54 assert exc.expecting == 'f', repr(exc.expecting) 55 assert exc.unexpectedType == '2', repr(exc.unexpectedType) 56 assert exc.charPositionInLine == 10, repr(exc.charPositionInLine) 57 assert exc.line == 1, repr(exc.line)
|
D | t007lexer.py | 52 assert exc.unexpectedType == 'o', repr(exc.unexpectedType) 53 assert exc.charPositionInLine == 6, repr(exc.charPositionInLine) 54 assert exc.line == 1, repr(exc.line)
|
D | t008lexer.py | 60 assert exc.unexpectedType == 'b', repr(exc.unexpectedType) 61 assert exc.charPositionInLine == 3, repr(exc.charPositionInLine) 62 assert exc.line == 1, repr(exc.line)
|
D | t009lexer.py | 61 assert exc.unexpectedType == 'a', repr(exc.unexpectedType) 62 assert exc.charPositionInLine == 1, repr(exc.charPositionInLine) 63 assert exc.line == 1, repr(exc.line)
|
D | t005lexer.py | 58 assert exc.expecting == 'f', repr(exc.expecting) 59 assert exc.unexpectedType == '2', repr(exc.unexpectedType) 71 assert exc.unexpectedType == antlr3.EOF, repr(exc.unexpectedType)
|
D | t010lexer.py | 71 assert exc.unexpectedType == '-', repr(exc.unexpectedType) 72 assert exc.charPositionInLine == 1, repr(exc.charPositionInLine) 73 assert exc.line == 1, repr(exc.line)
|
D | t011lexer.py | 71 assert exc.unexpectedType == '-', repr(exc.unexpectedType) 72 assert exc.charPositionInLine == 1, repr(exc.charPositionInLine) 73 assert exc.line == 1, repr(exc.line)
|
/external/chromium-trace/catapult/telemetry/telemetry/testing/ |
D | simple_mock.py | 28 raise Exception('Self %s, got %s' % (repr(self), repr(got))) 30 raise Exception('Self %s, got %s' % (repr(self), repr(got))) 37 raise Exception('Self %s, got %s' % (repr(self), repr(got))) 43 return repr(a) 47 return '%s(%s)->%s' % (self.name, args_text, repr(self.return_value)) 89 repr(got_call))
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/ruby/ |
D | RubyTest.java | 60 Representer repr = new Representer(); in testEmitWithTags() local 61 repr.addClassTag(TestObject.class, new Tag("!ruby/object:Test::Module::Object")); in testEmitWithTags() 62 repr.addClassTag(Sub1.class, new Tag("!ruby/object:Test::Module::Sub1")); in testEmitWithTags() 63 repr.addClassTag(Sub2.class, new Tag("!ruby/object:Test::Module::Sub2")); in testEmitWithTags() 64 Yaml yaml2 = new Yaml(repr, options); in testEmitWithTags() 84 Representer repr = new Representer(); in testEmitWithTags2WithoutTagForParentJavabean() local 85 repr.addClassTag(Sub1.class, new Tag("!ruby/object:Test::Module::Sub1")); in testEmitWithTags2WithoutTagForParentJavabean() 86 repr.addClassTag(Sub2.class, new Tag("!ruby/object:Test::Module::Sub2")); in testEmitWithTags2WithoutTagForParentJavabean() 87 Yaml yaml2 = new Yaml(repr, options); in testEmitWithTags2WithoutTagForParentJavabean()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue60/ |
D | CustomOrderTest.java | 38 Representer repr = new Representer(); in testReversedOrder() local 39 repr.setPropertyUtils(new ReversedPropertyUtils()); in testReversedOrder() 40 Yaml yaml = new Yaml(repr); in testReversedOrder() 57 Representer repr = new Representer(); in testUnsorted() local 58 repr.setPropertyUtils(new UnsortedPropertyUtils()); in testUnsorted() 59 Yaml yaml = new Yaml(repr); in testUnsorted()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue67/ |
D | NonAsciiCharsInClassNameTest.java | 88 Representer repr = new Representer(); in testDumpCustomTag() local 89 repr.addClassTag(Académico.class, new Tag("!foo")); in testDumpCustomTag() 90 Yaml yaml = new Yaml(repr); in testDumpCustomTag() 99 Representer repr = new Representer(); in testDumpEscapedTag() local 100 repr.addClassTag(Académico.class, new Tag("!Académico")); in testDumpEscapedTag() 101 Yaml yaml = new Yaml(repr); in testDumpEscapedTag()
|
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/ |
D | mockhttprequest.py | 44 return repr((self.command, self.host, self.path, self.request_body, 49 return hash(repr(self)) 53 return repr(self) == repr(other)
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/genetics/ |
D | RandomKey.java | 193 List<Double> repr = new ArrayList<Double>(l); in randomPermutation() local 195 repr.add(GeneticAlgorithm.getRandomGenerator().nextDouble()); in randomPermutation() 197 return repr; in randomPermutation() 209 List<Double> repr = new ArrayList<Double>(l); in identityPermutation() local 211 repr.add((double)i/l); in identityPermutation() 213 return repr; in identityPermutation()
|
D | RandomKeyMutation.java | 48 List<Double> repr = originalRk.getRepresentation(); in mutate() local 49 int rInd = GeneticAlgorithm.getRandomGenerator().nextInt(repr.size()); in mutate() 51 List<Double> newRepr = new ArrayList<Double> (repr); in mutate()
|
/external/autotest/client/ |
D | setup_modules_unittest.py | 33 repr(self.stderr_str)) 47 stderr_repr = repr(self.stderr_str) 62 repr(self.stderr_str)) 69 repr(self.stderr_str))
|
/external/fonttools/Lib/fontTools/ |
D | afmLib.py | 116 raise error("syntax error in AFM file: " + repr(line)) 135 raise error("syntax error in AFM file: " + repr(rest)) 147 raise error("syntax error in AFM file: " + repr(rest)) 172 raise error("syntax error in AFM file: " + repr(rest)) 180 raise error("syntax error in AFM file: " + repr(rest)) 221 lines.append("StartCharMetrics " + repr(len(self._chars))) 239 lines.append("StartKernPairs " + repr(len(self._kerning)))
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/javabeans/ |
D | LongTest.java | 55 Representer repr = new Representer(); in testLongRepresenter() local 56 repr.addClassTag(Long.class, new Tag("!!java.lang.Long")); in testLongRepresenter() 57 Yaml yaml = new Yaml(repr, options); in testLongRepresenter()
|
/external/autotest/client/cros/cellular/wardmodem/ |
D | task_loop.py | 256 self._logger.debug('Task posted: %s', repr(callback)) 258 repr(args), repr(kwargs)) 316 repr(retval))
|
/external/snakeyaml/src/test/java/examples/staticstate/ |
D | StaticFieldsWrapperTest.java | 62 Representer repr = new Representer(); in testLocalTag() local 63 repr.addClassTag(Wrapper.class, new Tag("!mybean")); in testLocalTag() 64 Yaml yaml = new Yaml(repr); in testLocalTag()
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/util/ |
D | atexit_with_log.py | 10 logging.debug('Try running %s', repr(function)) 12 logging.debug('Did run %s', repr(function))
|
/external/autotest/client/cros/networking/ |
D | mm1_proxy.py | 66 repr(e)) 127 repr(e)) 146 '|%s|', repr(e)) 244 '|%s|', repr(e))
|