/external/python/cpython2/Lib/ctypes/test/ |
D | test_simplesubclasses.py | 4 class MyInt(c_int): class 6 if type(other) != MyInt: 15 self.assertEqual(MyInt(3), MyInt(3)) 16 self.assertNotEqual(MyInt(42), MyInt(43)) 35 cb = CFUNCTYPE(None, MyInt)(func) 38 self.assertEqual(type(args[-1]), MyInt) 47 _fields_ = [("x", MyInt)] 49 self.assertEqual(X().x, MyInt()) 52 s.x = MyInt(42) 54 self.assertEqual(s.x, MyInt(42))
|
/external/python/cpython3/Lib/ctypes/test/ |
D | test_simplesubclasses.py | 4 class MyInt(c_int): class 6 if type(other) != MyInt: 13 self.assertEqual(MyInt(3), MyInt(3)) 14 self.assertNotEqual(MyInt(42), MyInt(43)) 33 cb = CFUNCTYPE(None, MyInt)(func) 36 self.assertEqual(type(args[-1]), MyInt) 45 _fields_ = [("x", MyInt)] 47 self.assertEqual(X().x, MyInt()) 50 s.x = MyInt(42) 52 self.assertEqual(s.x, MyInt(42))
|
/external/clang/test/Index/ |
D | index-refs.cpp | 4 typedef int MyInt; typedef 11 NS::MyInt NS::gx = EnumVal; 14 NS::MyInt x; in foo() 51 typedef int MyInt; typedef
|
D | index-suppress-refs.m | 5 TYPEDEF(MyInt); 7 MyInt gx; 28 // CHECK-NEXT: [indexDeclaration]: kind: typedef | name: MyInt
|
/external/llvm-project/clang/test/Index/ |
D | index-refs.cpp | 4 typedef int MyInt; typedef 11 NS::MyInt NS::gx = EnumVal; 14 NS::MyInt x; in foo() 51 typedef int MyInt; typedef
|
D | index-suppress-refs.m | 5 TYPEDEF(MyInt); 7 MyInt gx; 28 // CHECK-NEXT: [indexDeclaration]: kind: typedef | name: MyInt
|
/external/llvm-project/clang/test/PCH/ |
D | cxx17-deduction-guide-decl.cpp | 9 typedef int MyInt; typedef 13 explicit Some(T, MyInt) {} in Some() argument
|
/external/llvm-project/lldb/test/API/python_api/value/ |
D | main.c | 24 typedef int MyInt; typedef 38 MyInt a = 12345; in main()
|
/external/llvm-project/clang/test/CodeGenCoroutines/ |
D | coro-await.cpp | 241 enum class MyInt: int {}; enum 242 ScalarAwaiter operator co_await(MyInt); 250 co_await MyInt(42); in TestOpAwait() local
|
/external/llvm-project/clang/test/Sema/ |
D | uninit-variables.c | 200 typedef int MyInt; typedef 201 MyInt test26() { in test26() 202 MyInt x; // expected-note{{initialize the variable 'x' to silence this warning}} in test26()
|
/external/clang/test/Sema/ |
D | uninit-variables.c | 199 typedef int MyInt; typedef 200 MyInt test26() { in test26() 201 MyInt x; // expected-note{{initialize the variable 'x' to silence this warning}} in test26()
|
/external/python/cpython2/Lib/test/ |
D | test_abc.py | 190 class MyInt(int): class 192 self.assertTrue(issubclass(MyInt, A)) 193 self.assertTrue(issubclass(MyInt, (A,)))
|
D | test_cmath.py | 169 class MyInt(object): class 212 self.assertRaises(TypeError, f, MyInt())
|
D | pickletester.py | 1283 for c in (MyInt, MyLong, MyStr, MyTuple): 1645 class MyInt(int): class 1672 myclasses = [MyInt, MyLong, MyFloat,
|
/external/python/cpython3/Lib/test/ |
D | test_abc.py | 407 class MyInt(int): class 409 self.assertTrue(issubclass(MyInt, A)) 410 self.assertTrue(issubclass(MyInt, (A,)))
|
D | test_index.py | 61 class MyInt(int): class 65 my_int = MyInt(7)
|
D | test_int.py | 445 class MyInt(int): class 453 my_int = MyInt(7)
|
D | test_complex.py | 381 class MyInt: class 385 self.assertRaises(TypeError, complex, MyInt()) 386 self.assertRaises(TypeError, complex, 123, MyInt())
|
D | test_cmath.py | 226 class MyInt: class 264 self.assertRaises(TypeError, f, MyInt())
|
D | test_float.py | 235 class MyInt: class 239 self.assertRaises(TypeError, float, MyInt())
|
D | test_statistics.py | 962 class MyInt(int): pass class 963 x = statistics._convert(Fraction(17), MyInt) 964 self.check_exact_equal(x, MyInt(17))
|
D | pickletester.py | 1953 for c in (MyInt, MyTuple): 3064 class MyInt(int): class 3094 myclasses = [MyInt, MyFloat,
|
D | test_descr.py | 1059 class MyInt(int): class 1062 (1).__class__ = MyInt 3525 class MyInt(int): class 3527 m = MyInt(42)
|
D | test_enum.py | 598 class MyInt(int): class 602 class Huh(MyStr, MyInt, Enum):
|
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/ |
D | UnittestProto3.cs | 3587 public long MyInt { property in Google.Protobuf.TestProtos.TestFieldOrderings 3630 if (MyInt != other.MyInt) return false; in Equals() 3640 if (MyInt != 0L) hash ^= MyInt.GetHashCode(); in GetHashCode() 3656 if (MyInt != 0L) { in WriteTo() 3658 output.WriteInt64(MyInt); in WriteTo() 3683 if (MyInt != 0L) { in CalculateSize() 3684 size += 1 + pb::CodedOutputStream.ComputeInt64Size(MyInt); in CalculateSize() 3706 if (other.MyInt != 0L) { in MergeFrom() 3707 MyInt = other.MyInt; in MergeFrom() 3730 MyInt = input.ReadInt64(); in MergeFrom()
|