Home
last modified time | relevance | path

Searched refs:repr (Results 1 – 25 of 200) sorted by relevance

12345678

/external/llvm/unittests/ADT/
DTwineTest.cpp18 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/antlr/antlr-3.4/runtime/Python/tests/
Dt012lexerXML.py72 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)
Dt006lexer.py54 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)
Dt007lexer.py52 assert exc.unexpectedType == 'o', repr(exc.unexpectedType)
53 assert exc.charPositionInLine == 6, repr(exc.charPositionInLine)
54 assert exc.line == 1, repr(exc.line)
Dt008lexer.py60 assert exc.unexpectedType == 'b', repr(exc.unexpectedType)
61 assert exc.charPositionInLine == 3, repr(exc.charPositionInLine)
62 assert exc.line == 1, repr(exc.line)
Dt009lexer.py61 assert exc.unexpectedType == 'a', repr(exc.unexpectedType)
62 assert exc.charPositionInLine == 1, repr(exc.charPositionInLine)
63 assert exc.line == 1, repr(exc.line)
Dt005lexer.py58 assert exc.expecting == 'f', repr(exc.expecting)
59 assert exc.unexpectedType == '2', repr(exc.unexpectedType)
71 assert exc.unexpectedType == antlr3.EOF, repr(exc.unexpectedType)
Dt011lexer.py71 assert exc.unexpectedType == '-', repr(exc.unexpectedType)
72 assert exc.charPositionInLine == 1, repr(exc.charPositionInLine)
73 assert exc.line == 1, repr(exc.line)
Dt010lexer.py71 assert exc.unexpectedType == '-', repr(exc.unexpectedType)
72 assert exc.charPositionInLine == 1, repr(exc.charPositionInLine)
73 assert exc.line == 1, repr(exc.line)
Dt021hoist.py21 assert enumIs == 'keyword', repr(enumIs)
32 assert enumIs == 'ID', repr(enumIs)
/external/chromium_org/native_client_sdk/src/tools/lib/tests/
Dquote_test.py27 (repr(in_string), repr(specials),
28 ', '.join([repr(a) for a in args] +
29 [repr(k) + ':' + repr(v)
37 (repr(in_string), repr(specials),
38 ', '.join([repr(a) for a in args] +
39 [repr(k) + ':' + repr(v)
/external/chromium_org/tools/telemetry/telemetry/unittest/
Dsimple_mock.py29 raise Exception('Self %s, got %s' % (repr(self), repr(got)))
31 raise Exception('Self %s, got %s' % (repr(self), repr(got)))
38 raise Exception('Self %s, got %s' % (repr(self), repr(got)))
44 return repr(a)
48 return '%s(%s)->%s' % (self.name, args_text, repr(self.return_value))
90 repr(got_call))
/external/chromium_org/tools/deep_memory_profiler/lib/
Dexceptions.py7 return repr(self.args[0])
12 return repr(self.args[0])
17 return "invalid heap profile dump: %s" % repr(self.args[0])
22 return "obsolete heap profile dump version: %s" % repr(self.args[0])
/external/chromium_org/tools/traceline/traceline/scripts/
Dcrit_sec.py41 raise repr(e)
44 raise repr(tid) + '--' + repr(e)
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
Dfilesystem_mock_unittest.py55 …tEqual(expected, actual, 'given %s, expected %s, got %s' % (repr(test), repr(expected), repr(actua…
/external/chromium_org/tools/grit/grit/tool/
Dtest.py21 print 'Options: %s' % repr(global_options)
22 print 'Arguments: %s' % repr(my_arguments)
/external/fonttools/Lib/fontTools/
DafmLib.py116 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/chromium_org/chrome/common/extensions/docs/server2/
Dservlet.py20 return repr(self._dict)
23 return repr(self._dict)
47 return repr(self)
160 return repr(self)
/external/chromium_org/tools/gyp/test/escaping/
Dgyptest-colon.py27 test.read('colon/test.gyp').replace("'a:b.c'", repr(abs_source)))
32 test.read('colon/test.gyp').replace("'a:b.c-d'", repr(abs_copies)))
/external/chromium_org/tools/telemetry/telemetry/web_perf/metrics/
Dresponsiveness_metric.py42 repr(interaction_records), repr(e))
/external/chromium_org/third_party/cython/src/Cython/Plex/
DRegexps.py161 num, self.__class__.__name__, repr(value)))
219 result.str = "Char(%s)" % repr(c)
439 result.str = "Str(%s)" % repr(s)
451 result.str = "Str(%s)" % ','.join(map(repr, strs))
460 result.str = "Any(%s)" % repr(s)
472 result.str = "AnyBut(%s)" % repr(s)
497 result.str = "Range(%s)" % repr(s1)
DTraditional.py33 self.error("Unexpected %s" % repr(self.c))
146 self.error("Missing %s" % repr(c))
151 repr(self.s), self.i, mess))
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/python-yasm/pyxelator/
Dnode.py31 attrs.append( repr(item) )
42 attrs.append( repr(item) )
49 attrs.append( '%s=%s'%(key,repr(val)) )
140 s.append( indent*(level+1)+repr(item) )
147 s.append( indent*(level+1)+"%s"%repr(item) )
/external/chromium_org/third_party/cython/src/Cython/Debugger/Tests/
Dtest_libcython_in_gdb.py265 assert 'a = 0', repr(result)
267 assert 'c = (int) 2' in result, repr(result)
273 assert '__name__ ' in result, repr(result)
274 assert '__doc__ ' in result, repr(result)
275 assert 'os ' in result, repr(result)
276 assert 'c_var ' in result, repr(result)
277 assert 'python_var ' in result, repr(result)
/external/chromium_org/tools/telemetry/telemetry/results/
Dbase_test_results_unittest.py64 print 'exepected:\n%s' % repr(ex)
65 print 'result:\n%s\n' % repr(res)

12345678