Home
last modified time | relevance | path

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

12345

/external/llvm/unittests/ADT/
DTwineTest.cpp18 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/libxml2/python/tests/
Doutbuf.py38 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/
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)
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)
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)
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/apache-commons-math/src/main/java/org/apache/commons/math/genetics/
DRandomKey.java193 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()
DRandomKeyMutation.java48 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/chromium-trace/trace-viewer/third_party/Paste/paste/exceptions/
Dformatter.py144 s = repr(s)
149 return repr(s)
158 if len(repr(item)) > 40:
173 return 'In object: %s' % self.emphasize(self.quote(repr(obj)))
223 v = repr(v)
231 parts = [truncate(repr(v)) for v in value]
235 return '%s: %s' % (title, truncate(repr(value)))
280 title, ',<br>&nbsp; &nbsp; '.join(map(self.quote, map(repr, value))))
282 return '%s: <tt>%s</tt>' % (title, self.quote(repr(value)))
313 value = repr(value)
/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-trace/trace-viewer/tracing/third_party/tvcm/third_party/rcssmin/_setup/py3/
Dshell.py123 'argv': repr(_pickle.dumps(argv)),
124 'env': repr(_pickle.dumps(dict(env))),
203 'infile': repr(_pickle.dumps(_os.path.abspath(infile))),
204 'outfile': repr(_pickle.dumps(_os.path.abspath(outfile))),
205 'argv': repr(_pickle.dumps(argv)),
206 'env': repr(_pickle.dumps(env)),
/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/third_party/rjsmin/_setup/py3/
Dshell.py123 'argv': repr(_pickle.dumps(argv)),
124 'env': repr(_pickle.dumps(dict(env))),
203 'infile': repr(_pickle.dumps(_os.path.abspath(infile))),
204 'outfile': repr(_pickle.dumps(_os.path.abspath(outfile))),
205 'argv': repr(_pickle.dumps(argv)),
206 'env': repr(_pickle.dumps(env)),
/external/chromium-trace/trace-viewer/third_party/Paste/paste/
Derrordocument.py47 '%s is not valid'%repr(code))
179 'received an invalid status code %s'%repr(status_code[0])
308 'received an invalid status code %s'%repr(parts[0])
322 'to be a string or None, not %s'%repr(new_url)
/external/selinux/sepolgen/src/sepolgen/
Dlex.py147 tf.write("_lextokens = %s\n" % repr(self.lextokens))
148 tf.write("_lexreflags = %s\n" % repr(self.lexreflags))
149 tf.write("_lexliterals = %s\n" % repr(self.lexliterals))
150 tf.write("_lexstateinfo = %s\n" % repr(self.lexstateinfo))
159 tf.write("_lexstatere = %s\n" % repr(tabre))
160 tf.write("_lexstateignore = %s\n" % repr(self.lexstateignore))
168 tf.write("_lexstateerrorf = %s\n" % repr(taberr))
568 print "lex: Invalid literal %s. Must be a single character" % repr(c)
586 …rint "lex: invalid state specifier %s. Must be a tuple (statename,'exclusive|inclusive')" % repr(s)
591 print "lex: state name %s must be a string" % repr(name)
/external/chromium-trace/trace-viewer/third_party/Paste/tests/
Dtest_fileapp.py29 assert "<Response 200 OK 'mycontent'>" == repr(res)
31 assert "<Response 200 OK 'bingles'>" == repr(harness.get("/"))
86 assert "<Response 200 OK 'mycontent'>" == repr(res)
89 assert "<Response 304 Not Modified ''>" == repr(res)
92 assert "<Response 304 Not Modified ''>" == repr(res)
/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/third_party/rcssmin/_setup/py2/
Dshell.py190 'argv': repr(_pickle.dumps(argv)),
191 'env': repr(_pickle.dumps(env)),
285 'infile': repr(_pickle.dumps(_os.path.abspath(infile))),
286 'outfile': repr(_pickle.dumps(_os.path.abspath(outfile))),
287 'argv': repr(_pickle.dumps(argv)),
288 'env': repr(_pickle.dumps(env)),
/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/third_party/rjsmin/_setup/py2/
Dshell.py190 'argv': repr(_pickle.dumps(argv)),
191 'env': repr(_pickle.dumps(env)),
285 'infile': repr(_pickle.dumps(_os.path.abspath(infile))),
286 'outfile': repr(_pickle.dumps(_os.path.abspath(outfile))),
287 'argv': repr(_pickle.dumps(argv)),
288 'env': repr(_pickle.dumps(env)),
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3d1xshader/src/
Dsm4_parse.cpp138 unsigned repr; in read_op() local
140 repr = optok.index0_repr; in read_op()
142 repr = optok.index1_repr; in read_op()
144 repr = optok.index2_repr; in read_op()
149 switch(repr) in read_op()
/external/lldb/test/logging/
DTestLogging.py84 … "Wrong number of lines in log file; expected: " + repr (len (expected_log_lines)) + " found: " +
/external/chromium-trace/trace-viewer/third_party/Paste/paste/evalexception/media/
DMochiKit.packed.js469 throw new TypeError(m.repr(fn)+" is not a function");
587 var _d4=m.repr;
612 },repr:function(o){ method
624 if(typeof (o.repr)=="function"&&o.repr!=arguments.callee){
625 return o.repr();
652 return "["+m.map(m.repr,o).join(", ")+"]";
1058 m.update(m.NamedError.prototype,{repr:function(){ method
1060 return this.name+"("+m.repr(this.message)+")";
1125 e=new TypeError(typeof (_160)+": "+m.repr(_160)+" is not iterable");
1134 return {repr:function(){
[all …]

12345