/external/python/pybind11/tests/ |
D | test_tagbased_polymorphic.cpp | 18 Cat = 200, Panther, LastCat = 299 enumerator 52 struct Cat : Animal struct 54 Cat(const std::string& _name, Kind _kind = Kind::Cat) : Animal(_name, _kind) {} in Cat() argument 58 struct Panther : Cat argument 60 Panther(const std::string& _name) : Cat(_name, Kind::Panther) {} in Panther() 75 ret.emplace_back(new Cat("Tiger", Cat::Kind::Cat)); in create_zoo() 90 case Kind::Cat: break; in type_of_kind() 96 if (kind >= Kind::Cat && kind <= Kind::LastCat) return &typeid(Cat); in type_of_kind() 129 py::class_<Cat, Animal>(m, "Cat") in TEST_SUBMODULE() 131 .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() class 93 py::class_<Cat, pets::Pet>(m, "Cat") in TEST_SUBMODULE()
|
D | test_local_bindings.py | 200 mycat = m.Cat("Fluffy") 204 assert m.Cat.__base__.__name__ == "Pet" 206 assert m.Cat.__base__ is not cm.Dog.__base__
|
D | test_tagbased_polymorphic.py | 7 m.Labrador, m.Dog, m.Chihuahua, m.Cat, m.Panther
|
/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/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 {
|
D | FactoryModuleBuilderTest.java | 542 Cat createCat(String name); in createCat() 544 Cat createCat(int age); in createCat() 561 private static class Cat implements Animal { class in FactoryModuleBuilderTest 565 Cat(@Assisted String a, @Named("cat1") String b) {} in Cat() method in FactoryModuleBuilderTest.Cat 568 Cat(@Assisted int a, @Named("cat2") String b) {} in Cat() method in FactoryModuleBuilderTest.Cat 571 Cat(@Assisted byte a, @Named("catfail") String b) {} // not a dependency! in Cat() method in FactoryModuleBuilderTest.Cat
|
/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
|
D | property-typecheck-1.m | 8 @interface A (Cat) category 12 @implementation A (Cat) category
|
D | property-ownership-attr.m | 16 @interface Foo (Cat) <P> category
|
/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/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/clang/test/Coverage/ |
D | objc-language-features.inc | 53 @interface A (Cat) 56 @implementation A (Cat)
|
/external/python/pybind11/docs/ |
D | classes.rst | 457 Cat 478 .value("Cat", Pet::Kind::Cat) 489 >>> p = Pet('Lucy', Pet.Cat) 491 Kind.Cat 500 {'Dog': Kind.Dog, 'Cat': Kind.Cat} 511 >>> p = Pet( "Lucy", Pet.Cat ) 514 Pet.Cat 516 'Pet.Cat' 518 'Cat'
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | ObjCUnusedIVarsChecker.cpp | 90 for (const auto *Cat : ID->getClassInterface()->visible_categories()) { in Scan() local 91 if (const ObjCCategoryImplDecl *CID = Cat->getImplementation()) in Scan()
|
/external/icu/icu4c/source/test/testdata/ |
D | casing.txt | 50 { "a ʻCaT. A ʻdOg! ʻeTc.", "A ʻCat. A ʻDog! ʻEtc.", "", "-1", "" }, // default 54 { "ʻcAt! ʻeTc.", "ʻCat! ʻetc.", "", "-2", "" }, // -2=Trivial break iterator
|
/external/clang/include/clang/Index/ |
D | USRGeneration.h | 35 void generateUSRForObjCCategory(StringRef Cls, StringRef Cat, raw_ostream &OS);
|
/external/clang/include/clang/AST/ |
D | DeclObjC.h | 1548 static bool isVisibleCategory(ObjCCategoryDecl *Cat); 1618 static bool isVisibleExtension(ObjCCategoryDecl *Cat); 1654 static bool isKnownExtension(ObjCCategoryDecl *Cat); 1771 const ObjCCategoryDecl *Cat, in lookupPropertyAccessor() argument 1776 Cat); in lookupPropertyAccessor() 2779 inline bool ObjCInterfaceDecl::isVisibleCategory(ObjCCategoryDecl *Cat) { in isVisibleCategory() argument 2780 return !Cat->isHidden(); in isVisibleCategory() 2783 inline bool ObjCInterfaceDecl::isVisibleExtension(ObjCCategoryDecl *Cat) { in isVisibleExtension() argument 2784 return Cat->IsClassExtension() && !Cat->isHidden(); in isVisibleExtension() 2787 inline bool ObjCInterfaceDecl::isKnownExtension(ObjCCategoryDecl *Cat) { in isKnownExtension() argument [all …]
|
/external/clang/test/Parser/ |
D | objc-error-qualified-implementation.m | 24 @implementation I (Cat) <P> // expected-error {{@implementation declaration cannot be protocol qua… category
|