/external/cronet/buildtools/third_party/libc++/trunk/test/std/language.support/cmp/cmp.concept/ |
D | three_way_comparable_with.compile.pass.cpp | 18 template <class T, class U = T, typename Cat = std::partial_ordering> 20 constexpr bool result = std::three_way_comparable_with<T, U, Cat>; in check_three_way_comparable_with() 21 static_assert(std::three_way_comparable_with<U, T, Cat> == result); in check_three_way_comparable_with() 22 static_assert(std::three_way_comparable_with<T, U const, Cat> == result); in check_three_way_comparable_with() 23 static_assert(std::three_way_comparable_with<T const, U const, Cat> == result); in check_three_way_comparable_with() 24 static_assert(std::three_way_comparable_with<T, U const&, Cat> == result); in check_three_way_comparable_with() 25 static_assert(std::three_way_comparable_with<T const, U const&, Cat> == result); in check_three_way_comparable_with() 26 static_assert(std::three_way_comparable_with<T, U const&&, Cat> == result); in check_three_way_comparable_with() 27 static_assert(std::three_way_comparable_with<T const, U const&&, Cat> == result); in check_three_way_comparable_with() 29 static_assert(std::three_way_comparable_with<T&, U const, Cat> == result); in check_three_way_comparable_with() [all …]
|
/external/python/pybind11/tests/ |
D | test_tagbased_polymorphic.cpp | 24 Cat = 200, Panther, LastCat = 299 enumerator 58 struct Cat : Animal struct 60 Cat(const std::string& _name, Kind _kind = Kind::Cat) : Animal(_name, _kind) {} in Cat() function 64 struct Panther : Cat argument 66 Panther(const std::string& _name) : Cat(_name, Kind::Panther) {} in Panther() 81 ret.emplace_back(new Cat("Tiger", Cat::Kind::Cat)); in create_zoo() 96 case Kind::Cat: break; in type_of_kind() 102 if (kind >= Kind::Cat && kind <= Kind::LastCat) return &typeid(Cat); in type_of_kind() 135 py::class_<Cat, Animal>(m, "Cat") in TEST_SUBMODULE() 137 .def("purr", &Cat::purr); in TEST_SUBMODULE() [all …]
|
D | test_local_bindings.cpp | 89 class Cat : public pets::Pet { public: Cat(std::string name) : Pet(name) {}; }; in TEST_SUBMODULE() function in TEST_SUBMODULE::Cat 93 py::class_<Cat, pets::Pet>(m, "Cat") in TEST_SUBMODULE()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/creators/ |
D | TestPolymorphicCreators.java | 32 return new Cat(); in create() 45 static class Cat extends Animal class in TestPolymorphicCreators 49 public Cat() { } in Cat() method in TestPolymorphicCreators.Cat 112 assertEquals(Cat.class, animal.getClass()); in testManualPolymorphicCatBasic() 114 Cat cat = (Cat) animal; in testManualPolymorphicCatBasic() 124 assertEquals(Cat.class, animal.getClass()); in testManualPolymorphicCatWithReorder() 127 assertTrue(((Cat) animal).likesCream); in testManualPolymorphicCatWithReorder()
|
/external/zucchini/ |
D | reloc_win32_unittest.cc | 148 EXPECT_EQ(Cat(Cat(exp0, exp1), exp2), EmitAll(kBlock0, kBlockEnd)); in TEST_F() 149 EXPECT_EQ(Cat(Cat(exp0, exp1), exp2), EmitAll(0, image_size)); in TEST_F() 170 EXPECT_EQ(Cat(Cat(exp0, exp1), exp2), EmitAll(kBlock0 - 5U, kBlockEnd)); in TEST_F() 171 EXPECT_EQ(Cat(Cat(exp0, exp1), exp2), EmitAll(kBlock0 + 6U, kBlockEnd)); in TEST_F() 172 EXPECT_EQ(Cat(Cat(exp0, exp1), Sub(exp2, 0, 5)), in TEST_F() 174 EXPECT_EQ(Cat(Sub(exp0, 2, 4), Sub(exp1, 0, 1)), in TEST_F() 176 EXPECT_EQ(Cat(Sub(exp0, 2, 4), Sub(exp1, 0, 1)), in TEST_F() 178 EXPECT_EQ(Cat(Sub(exp0, 2, 4), Sub(exp1, 0, 1)), in TEST_F() 181 EXPECT_EQ(Cat(Sub(exp1, 1, 2), exp2), EmitAll(kBlock1 + 10U, kBlockEnd + 5)); in TEST_F()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/ |
D | TestTypedDeserialization.java | 47 static class Cat extends Animal class in TestTypedDeserialization 52 public Cat(@JsonProperty("furColor") String c) { in Cat() method in TestTypedDeserialization.Cat 142 Animal a = m.readValue(asJSONObjectValueString("@classy", Cat.class.getName(), in testSimpleClassAsProperty() 145 assertEquals(Cat.class, a.getClass()); in testSimpleClassAsProperty() 146 Cat c = (Cat) a; in testSimpleClassAsProperty() 187 … +asJSONObjectValueString(m, "@classy", Cat.class.getName(), "name", "Hello", "furColor", "white") in testListAsArray() 203 Cat c = (Cat) animals.get(0); in testListAsArray() 217 …String jsonCat = asJSONObjectValueString(m, "@classy", Cat.class.getName(), "name", "Nilson", "fur… in testCagedAnimal() 224 Cat c = (Cat) a; in testCagedAnimal()
|
D | TestTypedSerialization.java | 44 static class Cat extends Animal class in TestTypedSerialization 48 private Cat() { super(null); } in Cat() method in TestTypedSerialization.Cat 49 public Cat(String name, String c) { in Cat() method in TestTypedSerialization.Cat 90 Map<String,Object> result = writeAndMap(MAPPER, new Cat("Beelzebub", "tabby")); in testSimpleClassAsProperty() 96 assertEquals(Cat.class.getName(), result.get(classProp)); in testSimpleClassAsProperty() 106 Map<String,Object> result = writeAndMap(m, new Cat("Venla", "black")); in testTypeAsWrapper() 156 Animal[] animals = new Animal[] { new Cat("Miuku", "white"), new Dog("Murre", 9) }; in testInArray() 173 assertEquals(Cat.class.getName(), a1.get(classProp)); in testInArray()
|
D | TestTypeNames.java | 123 @Type(Cat.class) /* defaults to "TestTypedNames$Cat" then */ 165 abstract class Cat extends Animal { class 167 public Cat() { } in Cat() method in Cat 168 public Cat(String n, boolean p) { in Cat() method in Cat 175 return super.equals(o) && ((Cat) o).purrs == purrs; in equals() 187 class MaineCoon extends Cat { 195 class Persian extends Cat {
|
D | ExistingPropertyTest.java | 71 @Type(value = Cat.class, name = "kitty") 99 static class Cat extends Animal class in ExistingPropertyTest 103 private Cat() { super(null); } in Cat() method in ExistingPropertyTest.Cat 104 public Cat(String name, String c) { in Cat() method in ExistingPropertyTest.Cat 207 private static final Cat beelzebub = new Cat("Beelzebub", "tabby"); 334 assertTrue(beelzebubDeserialized instanceof Cat); in testSimpleClassAsExistingPropertyDeserializationAnimals() 335 assertSame(beelzebubDeserialized.getClass(), Cat.class); in testSimpleClassAsExistingPropertyDeserializationAnimals() 337 assertEquals(beelzebub.furColor, ((Cat) beelzebubDeserialized).furColor); in testSimpleClassAsExistingPropertyDeserializationAnimals() 342 assertTrue(beelzebubExtracted instanceof Cat); in testSimpleClassAsExistingPropertyDeserializationAnimals() 343 assertSame(beelzebubExtracted.getClass(), Cat.class); in testSimpleClassAsExistingPropertyDeserializationAnimals() [all …]
|
D | TestTypedContainerSerialization.java | 25 @Type(value = Cat.class, name = "kitty") }) 53 static class Cat extends Animal { class in TestTypedContainerSerialization 56 public Cat() { in Cat() method in TestTypedContainerSerialization.Cat 61 public Cat(@JsonProperty("furColor") String c) { in Cat() method in TestTypedContainerSerialization.Cat
|
/external/clang/test/Rewriter/ |
D | objc-modern-class-init.mm | 17 @interface Root(Cat) @end category 19 @interface Sub(Cat) @end category 21 @implementation Root(Cat) @end category 23 @implementation Sub(Cat) @end category
|
D | objc-modern-class-init-hooks.mm | 17 @interface Root(Cat) @end category 19 @interface Sub(Cat) @end category 21 @implementation Root(Cat) @end category 23 @implementation Sub(Cat) @end category
|
/external/clang/test/CodeGenObjC/ |
D | non-lazy-classes.m | 12 @interface A (Cat) @end category 13 @implementation A (Cat) category 24 @interface B (Cat) @end category 25 @implementation B (Cat) category
|
D | id-isa-codegen.m | 54 @interface Cat {} interface 57 @interface SuperCat : Cat {} 58 +(void)geneticallyAlterCat:(Cat *)cat; argument 62 + (void)geneticallyAlterCat:(Cat *)cat { argument
|
D | metadata_symbols.m | 19 // CHECK-X86_64: define internal void @"\01-[A(Cat) im1]" 30 // CHECK-X86_64-HIDDEN: define internal void @"\01-[A(Cat) im1]" 43 // CHECK-ARMV6: define internal void @"\01-[A(Cat) im1]" 53 @implementation A (Cat) category
|
D | exceptions-asm-attribute.m | 20 // CHECK-X86_64: define internal void @"\01-[A(Cat) im1]" 31 // CHECK-X86_64-HIDDEN: define internal void @"\01-[A(Cat) im1]" 44 // CHECK-ARMV6: define internal void @"\01-[A(Cat) im1]" 55 @implementation A (Cat) category
|
/external/auto/value/src/it/functional/src/test/java/com/google/auto/value/ |
D | AutoOneOfTest.java | 49 public abstract static class Cat { class in AutoOneOfTest 50 public static Cat create() { in create() 73 public static Pet create(Cat cat) { in create() 83 public abstract Cat cat(); in cat() 104 Cat cat = Cat.create(); in equality() 123 Cat cat = Cat.create(); in getWrongType() 144 Cat cat = Cat.create(); in getKind() 207 public abstract Cat getCat(); in getCat() 215 public static PetWithGet create(Cat cat) { in create()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/ext/ |
D | ExternalTypeId2588Test.java | 15 static class Cat implements Animal { } class in ExternalTypeId2588Test 45 if (suggestedType.isAssignableFrom(Cat.class)) { in idFromValueAndType() 56 return context.constructType(Cat.class); in typeFromId()
|
/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/ |
D | ExtensionSpiTest.java | 100 validateAssistedMethod(method, name, Cat.class, ImmutableList.<Key<?>>of()); in validateVisitor() 141 Cat createCat(String owner); in createCat() 159 private static class Cat implements Animal { class in ExtensionSpiTest 161 Cat(@Assisted String owner) {} in Cat() method in ExtensionSpiTest.Cat 186 private static class CatWithAName extends Cat {
|
/external/clang/lib/AST/ |
D | DeclObjC.cpp | 115 for (const auto *Cat : ID->visible_categories()) { in HasUserDeclaredSetterMethod() local 116 if (ObjCMethodDecl *MD = Cat->getInstanceMethod(Sel)) in HasUserDeclaredSetterMethod() 119 if (Cat->IsClassExtension()) in HasUserDeclaredSetterMethod() 125 for (const auto *P : Cat->properties()) in HasUserDeclaredSetterMethod() 251 for (const auto *Cat : OID->visible_categories()) { in FindPropertyDeclaration() local 252 if (!Cat->IsClassExtension()) in FindPropertyDeclaration() 253 if (ObjCPropertyDecl *P = Cat->FindPropertyDeclaration( in FindPropertyDeclaration() 675 for (const auto *Cat : ClassDecl->visible_categories()) in lookupMethod() local 676 if ((MethodDecl = Cat->getMethod(Sel, isInstance))) in lookupMethod() 677 if (C != Cat || !MethodDecl->isImplicit()) in lookupMethod() [all …]
|
/external/clang/test/SemaObjC/ |
D | category-method-lookup-2.m | 10 @interface Bar (Cat) category 14 @implementation Bar (Cat) category
|
D | check-dup-objc-decls-1.m | 38 @interface A(Cat)<P> @end // expected-note {{previous definition is here}} category 39 @interface A(Cat)<Q> @end // expected-warning {{duplicate definition of category 'Cat' on interface… category
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/language.support/cmp/cmp.common/ |
D | common_comparison_category.pass.cpp | 27 using Cat = std::common_comparison_category<Args...>; in test_cat() typedef 28 using CatT = typename Cat::type; in test_cat()
|
/external/libcxx/test/std/language.support/cmp/cmp.common/ |
D | common_comparison_category.pass.cpp | 28 using Cat = std::common_comparison_category<Args...>; in test_cat() typedef 29 using CatT = typename Cat::type; in test_cat()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/convert/ |
D | TestUpdateViaObjectReader.java | 84 @JsonSubTypes({ @JsonSubTypes.Type(value = Cat.class) }) 97 static class Cat extends AbstractAnimal { } class in TestUpdateViaObjectReader 263 String catJson = MAPPER.writeValueAsString(new Cat()); in test1831UsingNode() 272 String catJson = MAPPER.writeValueAsString(new Cat()); in test1831UsingString()
|