/external/python/cpython2/Lib/ctypes/test/ |
test_refcounts.py | 14 from sys import getrefcount as grc 24 self.assertEqual(grc(callback), 2) 27 self.assertGreater(grc(callback), 2) 34 self.assertEqual(grc(callback), 2) 38 from sys import getrefcount as grc 42 self.assertEqual(grc(func), 2) 46 self.assertGreater(grc(func), 2) 50 self.assertGreaterEqual(grc(func), 2) 54 self.assertEqual(grc(func), 2) 62 self.assertGreater(grc(func), 2 [all...] |
test_python_api.py | 12 from sys import getrefcount as grc 33 refcnt = grc(s) 35 self.assertEqual(grc(s), refcnt) 38 self.assertEqual(grc(s), refcnt) 45 ref42 = grc(42) 49 self.assertEqual(grc(42), ref42) 55 self.assertEqual(grc(res), ref42 + 1) 57 self.assertEqual(grc(42), ref42) 61 ref = grc(s) 66 self.assertEqual(grc(s), ref + 1 [all...] |
test_internals.py | 4 from sys import getrefcount as grc 26 refcnt = grc(i) 28 self.assertEqual(refcnt, grc(i)) 33 refcnt = grc(s) 35 self.assertEqual(refcnt + 1, grc(s))
|
test_stringptr.py | 18 from sys import getrefcount as grc 19 self.assertEqual(grc(b), 2) 21 self.assertEqual(grc(b), 3)
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/test/ |
test_refcounts.py | 14 from sys import getrefcount as grc 24 self.assertEqual(grc(callback), 2) 27 self.assertTrue(grc(callback) > 2) 34 self.assertEqual(grc(callback), 2) 38 from sys import getrefcount as grc 42 self.assertEqual(grc(func), 2) 46 self.assertTrue(grc(func) > 2) 50 self.assertTrue(grc(func) >= 2) 54 self.assertTrue(grc(func) == 2) 62 self.assertTrue(grc(func) > 2 [all...] |
test_python_api.py | 12 from sys import getrefcount as grc 33 refcnt = grc(s) 35 self.assertEqual(grc(s), refcnt) 38 self.assertEqual(grc(s), refcnt) 45 ref42 = grc(42) 49 self.assertEqual(grc(42), ref42) 55 self.assertEqual(grc(res), ref42 + 1) 57 self.assertEqual(grc(42), ref42) 61 ref = grc(s) 66 self.assertEqual(grc(s), ref + 1 [all...] |
test_internals.py | 4 from sys import getrefcount as grc 26 refcnt = grc(i) 28 self.assertEqual(refcnt, grc(i)) 33 refcnt = grc(s) 35 self.assertEqual(refcnt + 1, grc(s))
|
test_stringptr.py | 18 from sys import getrefcount as grc 19 self.assertEqual(grc(b), 2) 21 self.assertEqual(grc(b), 3)
|
test_callbacks.py | 103 from sys import getrefcount as grc 105 initial = grc(o) 108 before = grc(o) 111 after = grc(o)
|
/prebuilts/gdb/linux-x86/lib/python2.7/ctypes/test/ |
test_refcounts.py | 14 from sys import getrefcount as grc 24 self.assertEqual(grc(callback), 2) 27 self.assertTrue(grc(callback) > 2) 34 self.assertEqual(grc(callback), 2) 38 from sys import getrefcount as grc 42 self.assertEqual(grc(func), 2) 46 self.assertTrue(grc(func) > 2) 50 self.assertTrue(grc(func) >= 2) 54 self.assertTrue(grc(func) == 2) 62 self.assertTrue(grc(func) > 2 [all...] |
test_python_api.py | 12 from sys import getrefcount as grc 33 refcnt = grc(s) 35 self.assertEqual(grc(s), refcnt) 38 self.assertEqual(grc(s), refcnt) 45 ref42 = grc(42) 49 self.assertEqual(grc(42), ref42) 55 self.assertEqual(grc(res), ref42 + 1) 57 self.assertEqual(grc(42), ref42) 61 ref = grc(s) 66 self.assertEqual(grc(s), ref + 1 [all...] |
test_internals.py | 4 from sys import getrefcount as grc 26 refcnt = grc(i) 28 self.assertEqual(refcnt, grc(i)) 33 refcnt = grc(s) 35 self.assertEqual(refcnt + 1, grc(s))
|
test_stringptr.py | 18 from sys import getrefcount as grc 19 self.assertEqual(grc(b), 2) 21 self.assertEqual(grc(b), 3)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_refcounts.py | 14 from sys import getrefcount as grc 24 self.assertEqual(grc(callback), 2) 27 self.assertTrue(grc(callback) > 2) 34 self.assertEqual(grc(callback), 2) 38 from sys import getrefcount as grc 42 self.assertEqual(grc(func), 2) 46 self.assertTrue(grc(func) > 2) 50 self.assertTrue(grc(func) >= 2) 54 self.assertTrue(grc(func) == 2) 62 self.assertTrue(grc(func) > 2 [all...] |
test_python_api.py | 12 from sys import getrefcount as grc 33 refcnt = grc(s) 35 self.assertEqual(grc(s), refcnt) 38 self.assertEqual(grc(s), refcnt) 45 ref42 = grc(42) 49 self.assertEqual(grc(42), ref42) 55 self.assertEqual(grc(res), ref42 + 1) 57 self.assertEqual(grc(42), ref42) 61 ref = grc(s) 66 self.assertEqual(grc(s), ref + 1 [all...] |
test_internals.py | 4 from sys import getrefcount as grc 26 refcnt = grc(i) 28 self.assertEqual(refcnt, grc(i)) 33 refcnt = grc(s) 35 self.assertEqual(refcnt + 1, grc(s))
|
test_stringptr.py | 18 from sys import getrefcount as grc 19 self.assertEqual(grc(b), 2) 21 self.assertEqual(grc(b), 3)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_refcounts.py | 14 from sys import getrefcount as grc 24 self.assertEqual(grc(callback), 2) 27 self.assertTrue(grc(callback) > 2) 34 self.assertEqual(grc(callback), 2) 38 from sys import getrefcount as grc 42 self.assertEqual(grc(func), 2) 46 self.assertTrue(grc(func) > 2) 50 self.assertTrue(grc(func) >= 2) 54 self.assertTrue(grc(func) == 2) 62 self.assertTrue(grc(func) > 2 [all...] |
test_python_api.py | 12 from sys import getrefcount as grc 33 refcnt = grc(s) 35 self.assertEqual(grc(s), refcnt) 38 self.assertEqual(grc(s), refcnt) 45 ref42 = grc(42) 49 self.assertEqual(grc(42), ref42) 55 self.assertEqual(grc(res), ref42 + 1) 57 self.assertEqual(grc(42), ref42) 61 ref = grc(s) 66 self.assertEqual(grc(s), ref + 1 [all...] |
test_internals.py | 4 from sys import getrefcount as grc 26 refcnt = grc(i) 28 self.assertEqual(refcnt, grc(i)) 33 refcnt = grc(s) 35 self.assertEqual(refcnt + 1, grc(s))
|
test_stringptr.py | 18 from sys import getrefcount as grc 19 self.assertEqual(grc(b), 2) 21 self.assertEqual(grc(b), 3)
|
/prebuilts/go/darwin-x86/test/safe/ |
nousesafe.go | 1 // $G $D/pkg.go && pack grc pkg.a pkg.$A 2> /dev/null && rm pkg.$A && errchk $G -I . -u $D/main.go
|
/prebuilts/go/linux-x86/test/safe/ |
nousesafe.go | 1 // $G $D/pkg.go && pack grc pkg.a pkg.$A 2> /dev/null && rm pkg.$A && errchk $G -I . -u $D/main.go
|
/prebuilts/go/darwin-x86/test/fixedbugs/ |
bug302.go | 19 run("go", "tool", "pack", "grc", "pp.a", "p.o")
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
bug302.go | 19 run("go", "tool", "pack", "grc", "pp.a", "p.o")
|