Home
last modified time | relevance | path

Searched refs:Cat (Results 1 – 25 of 70) sorted by relevance

123

/external/python/pybind11/tests/
Dtest_tagbased_polymorphic.cpp18 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 …]
Dtest_local_bindings.cpp89 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()
Dtest_local_bindings.py200 mycat = m.Cat("Fluffy")
204 assert m.Cat.__base__.__name__ == "Pet"
206 assert m.Cat.__base__ is not cm.Dog.__base__
Dtest_tagbased_polymorphic.py7 m.Labrador, m.Dog, m.Chihuahua, m.Cat, m.Panther
/external/clang/test/Rewriter/
Dobjc-modern-class-init.mm17 @interface Root(Cat) @end category
19 @interface Sub(Cat) @end category
21 @implementation Root(Cat) @end category
23 @implementation Sub(Cat) @end category
Dobjc-modern-class-init-hooks.mm17 @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/
Dnon-lazy-classes.m12 @interface A (Cat) @end category
13 @implementation A (Cat) category
24 @interface B (Cat) @end category
25 @implementation B (Cat) category
Did-isa-codegen.m54 @interface Cat {} interface
57 @interface SuperCat : Cat {}
58 +(void)geneticallyAlterCat:(Cat *)cat; argument
62 + (void)geneticallyAlterCat:(Cat *)cat { argument
Dmetadata_symbols.m19 // 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
Dexceptions-asm-attribute.m20 // 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/
DExtensionSpiTest.java100 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 {
DFactoryModuleBuilderTest.java542 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/
Dcategory-method-lookup-2.m10 @interface Bar (Cat) category
14 @implementation Bar (Cat) category
Dcheck-dup-objc-decls-1.m38 @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
Dproperty-typecheck-1.m8 @interface A (Cat) category
12 @implementation A (Cat) category
Dproperty-ownership-attr.m16 @interface Foo (Cat) <P> category
/external/clang/lib/AST/
DDeclObjC.cpp115 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/
Dcommon_comparison_category.pass.cpp28 using Cat = std::common_comparison_category<Args...>; in test_cat() typedef
29 using CatT = typename Cat::type; in test_cat()
/external/clang/test/Coverage/
Dobjc-language-features.inc53 @interface A (Cat)
56 @implementation A (Cat)
/external/python/pybind11/docs/
Dclasses.rst457 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/
DObjCUnusedIVarsChecker.cpp90 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/
Dcasing.txt50 { "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/
DUSRGeneration.h35 void generateUSRForObjCCategory(StringRef Cls, StringRef Cat, raw_ostream &OS);
/external/clang/include/clang/AST/
DDeclObjC.h1548 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/
Dobjc-error-qualified-implementation.m24 @implementation I (Cat) <P> // expected-error {{@implementation declaration cannot be protocol qua… category

123