HomeSort by relevance Sort by last modified time
    Searched refs:repr (Results 1 - 25 of 1122) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/tools/
cordic.py 11 print "table of arctan( 1/2^n ) for PI = " + repr(units/65536.0) + " units"
23 sys.stdout.write( comma + repr( int(angle2) ) )
29 print "shrink factor = " + repr( shrink )
30 print "shrink factor 2 = " + repr( int( shrink * (2**32) ) )
31 print "expansion factor = " + repr( 1/shrink )
  /system/netd/server/
Network.cpp 57 std::stringstream repr; local
59 repr << mNetId;
61 repr << kSeparator;
64 repr << "DUMMY";
67 repr << "LOCAL";
70 repr << "PHYSICAL";
73 repr << "VIRTUAL";
76 repr << "unknown";
80 repr << kSeparator << android::base::Join(mInterfaces, ",");
83 return repr.str()
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/tests/
test_default.py 7 self.dumps(type, default=repr),
8 self.dumps(repr(type)))
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/tests/
test_default.py 7 self.dumps(type, default=repr),
8 self.dumps(repr(type)))
  /prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/test/
test_repr.py 21 self.assertTrue(repr(base(42)).startswith(base.__name__))
22 self.assertEqual("<X object at", repr(typ(42))[:12])
25 self.assertEqual("c_char('x')", repr(c_char('x')))
26 self.assertEqual("<X object at", repr(X('x'))[:12])
  /prebuilts/gdb/linux-x86/lib/python2.7/ctypes/test/
test_repr.py 21 self.assertTrue(repr(base(42)).startswith(base.__name__))
22 self.assertEqual("<X object at", repr(typ(42))[:12])
25 self.assertEqual("c_char('x')", repr(c_char('x')))
26 self.assertEqual("<X object at", repr(X('x'))[:12])
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/
test_repr.py 21 self.assertTrue(repr(base(42)).startswith(base.__name__))
22 self.assertEqual("<X object at", repr(typ(42))[:12])
25 self.assertEqual("c_char('x')", repr(c_char('x')))
26 self.assertEqual("<X object at", repr(X('x'))[:12])
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/
test_repr.py 21 self.assertTrue(repr(base(42)).startswith(base.__name__))
22 self.assertEqual("<X object at", repr(typ(42))[:12])
25 self.assertEqual("c_char('x')", repr(c_char('x')))
26 self.assertEqual("<X object at", repr(X('x'))[:12])
  /external/llvm/unittests/ADT/
TwineTest.cpp 18 std::string repr(const Twine &Value) { function in namespace:__anon19676
52 // Check verse repr, since we care about the actual representation not just
57 repr(Twine("hi").concat(Twine::createNull())));
59 repr(Twine::createNull().concat(Twine("hi"))));
63 repr(Twine("hi").concat(Twine())));
65 repr(Twine().concat(Twine("hi"))));
67 repr(Twine().concat(Twine(SmallString<5>("hi")))));
69 repr(Twine(SmallString<7>("hey")).concat(Twine("there"))));
73 repr(Twine("a").concat(Twine("b"))));
77 repr(Twine("a").concat(Twine("b")).concat(Twine("c"))))
    [all...]
  /external/libxml2/python/tests/
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))
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_repr.py 2 Test cases for the repr module
12 from repr import repr as r # Don't shadow builtin repr
13 from repr import Repr
30 expected = repr(s)[:13] + "..." + repr(s)[-14:]
33 eq(r("\"'"), repr("\"'"))
35 expected = repr(s)[:13] + "..." + repr(s)[-14:
    [all...]
test_univnewlines2k.py 53 self.assertEqual(repr(fp.newlines), repr(self.NEWLINE))
59 self.assertEqual(repr(fp.newlines), repr(self.NEWLINE))
69 self.assertEqual(repr(fp.newlines), repr(self.NEWLINE))
110 self.assertEqual(repr(fp.newlines), repr(None))
113 self.assertEqual(repr(fp.newlines), repr(self.NEWLINE)
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_repr.py 2 Test cases for the repr module
12 from repr import repr as r # Don't shadow builtin repr
13 from repr import Repr
30 expected = repr(s)[:13] + "..." + repr(s)[-14:]
33 eq(r("\"'"), repr("\"'"))
35 expected = repr(s)[:13] + "..." + repr(s)[-14:
    [all...]
test_univnewlines2k.py 53 self.assertEqual(repr(fp.newlines), repr(self.NEWLINE))
59 self.assertEqual(repr(fp.newlines), repr(self.NEWLINE))
69 self.assertEqual(repr(fp.newlines), repr(self.NEWLINE))
110 self.assertEqual(repr(fp.newlines), repr(None))
113 self.assertEqual(repr(fp.newlines), repr(self.NEWLINE)
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_repr.py 2 Test cases for the repr module
12 from repr import repr as r # Don't shadow builtin repr
13 from repr import Repr
30 expected = repr(s)[:13] + "..." + repr(s)[-14:]
33 eq(r("\"'"), repr("\"'"))
35 expected = repr(s)[:13] + "..." + repr(s)[-14:
    [all...]
test_univnewlines2k.py 53 self.assertEqual(repr(fp.newlines), repr(self.NEWLINE))
59 self.assertEqual(repr(fp.newlines), repr(self.NEWLINE))
69 self.assertEqual(repr(fp.newlines), repr(self.NEWLINE))
110 self.assertEqual(repr(fp.newlines), repr(None))
113 self.assertEqual(repr(fp.newlines), repr(self.NEWLINE)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_repr.py 2 Test cases for the repr module
12 from repr import repr as r # Don't shadow builtin repr
13 from repr import Repr
30 expected = repr(s)[:13] + "..." + repr(s)[-14:]
33 eq(r("\"'"), repr("\"'"))
35 expected = repr(s)[:13] + "..." + repr(s)[-14:
    [all...]
test_univnewlines2k.py 53 self.assertEqual(repr(fp.newlines), repr(self.NEWLINE))
59 self.assertEqual(repr(fp.newlines), repr(self.NEWLINE))
69 self.assertEqual(repr(fp.newlines), repr(self.NEWLINE))
110 self.assertEqual(repr(fp.newlines), repr(None))
113 self.assertEqual(repr(fp.newlines), repr(self.NEWLINE)
    [all...]
  /external/apache-commons-math/src/main/java/org/apache/commons/math/genetics/
RandomKeyMutation.java 48 List<Double> repr = originalRk.getRepresentation(); local
49 int rInd = GeneticAlgorithm.getRandomGenerator().nextInt(repr.size());
51 List<Double> newRepr = new ArrayList<Double> (repr);
  /external/chromium-trace/catapult/telemetry/third_party/webpagereplay/
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/clang/bindings/python/tests/cindex/
test_file.py 9 assert repr(file) == "<File: t.c>"
  /external/skia/platform_tools/android/tests/
run_all.py 19 print repr(results)
  /external/skia/tools/
test_all.py 20 print repr(results)
  /external/antlr/antlr-3.4/runtime/Python/tests/
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)
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/ruby/
RubyTest.java 60 Representer repr = new Representer(); local
61 repr.addClassTag(TestObject.class, new Tag("!ruby/object:Test::Module::Object"));
62 repr.addClassTag(Sub1.class, new Tag("!ruby/object:Test::Module::Sub1"));
63 repr.addClassTag(Sub2.class, new Tag("!ruby/object:Test::Module::Sub2"));
64 Yaml yaml2 = new Yaml(repr, options);
84 Representer repr = new Representer(); local
85 repr.addClassTag(Sub1.class, new Tag("!ruby/object:Test::Module::Sub1"));
86 repr.addClassTag(Sub2.class, new Tag("!ruby/object:Test::Module::Sub2"));
87 Yaml yaml2 = new Yaml(repr, options);

Completed in 1257 milliseconds

1 2 3 4 5 6 7 8 91011>>