/external/clang/test/SemaTemplate/ |
class-template-decl.cpp | 63 template<typename T2> class Bar; 64 typedef Bar<T1> Baz; 67 struct Bar { 68 Bar() {} 74 Foo<int>::Bar<int> y(x);
|
instantiate-local-class.cpp | 18 void Bar() { 31 x.Bar<int>();
|
temp_explicit.cpp | 120 struct Bar 126 struct Foo<int>::Bar<void>
|
deduction.cpp | 144 class Bar {
|
temp_arg_nontype.cpp | 72 float bar(float); 73 int bar(int); 81 A6<&Z::bar> *a17_2; 129 struct Bar {}; 133 Bar<bool(ns::Foo<int>::value)> x; 250 void bar() { foo <0x80000000> (); } // expected-warning{{non-type template argument value '2147483648' truncated to '-2147483648' for template parameter of type 'int'}} function in namespace:PR8372 305 bar, enumerator in enum:PR10579::__anon5858::testenum::type
|
/external/protobuf/python/google/protobuf/internal/ |
service_reflection_test.py | 80 self.assertEqual('Method Bar not implemented.', 87 def Bar(self, rpc_controller, request, done):
|
/external/android-mock/tests/com/google/android/testing/mocking/ |
ConstructorCreationTests.java | 36 public static class Bar { 38 Bar(double value) { this.value = value; } 51 public TestClass(Foo foo, Bar bar) { 52 this(foo.get(), bar.get()); 90 doesNotHaveConstructor(new Bar(2)); 91 hasConstructor(new Foo(1), new Bar(2)); 116 new Object[]{new Foo(1), new Bar(2)}, 117 new Type[]{Foo.class, Bar.class});
|
/external/clang/test/CXX/temp/temp.decls/temp.class/temp.mem.func/ |
p1.cpp | 84 class Bar { 91 void X2<T>::Bar<F>::Func() {}
|
/external/clang/test/SemaCXX/ |
copy-initialization.cpp | 22 void bar(); // expected-note{{declared here}} 26 void test(const foo *P) { P->bar(); } // expected-error{{'bar' not viable: 'this' argument has type 'const foo', but function is not marked const}} 34 struct Bar { 41 f(Bar()); // expected-error{{no viable constructor copying parameter of type 'const PR6757::Foo'}}
|
function-redecl.cpp | 38 void Bar(); // expected-note {{'Bar' declared here}} 40 friend void bar(); // expected-error {{no matching function 'bar' found in local scope; did you mean 'Bar'}} 64 class Bar { 70 void Bar::f(Foo::Inner foo) { // expected-error {{out-of-line definition of 'f' does not match any declaration in 'Bar'}}
|
using-decl-1.cpp | 86 namespace ns1 { struct Bar : ns0::Foo {}; } 89 namespace ns2 { struct Baz : ns1::Bar {}; }
|
warn-global-constructors.cpp | 91 struct Bar { 92 ~Bar(); 94 void bar() { function in namespace:pr8095 95 static Bar b;
|
warn-missing-noreturn.cpp | 111 struct Bar { 121 Bar b;
|
warn-shadow.cpp | 51 int Bar; 55 double Bar = 12; // Don't warn.
|
friend.cpp | 39 class Bar {
|
warn-enum-compare.cpp | 4 enum Bar { BarD, BarE, BarF }; 23 Bar getBar(); 27 Bar y = BarD; 84 while (x == y); // expected-warning {{comparison of two values with different enumeration types ('Foo' and 'Bar')}} 85 while (x != y); // expected-warning {{comparison of two values with different enumeration types ('Foo' and 'Bar')}} 86 while (x >= y); // expected-warning {{comparison of two values with different enumeration types ('Foo' and 'Bar')}} 87 while (x <= y); // expected-warning {{comparison of two values with different enumeration types ('Foo' and 'Bar')}} 88 while (x > y); // expected-warning {{comparison of two values with different enumeration types ('Foo' and 'Bar')}} 89 while (x < y); // expected-warning {{comparison of two values with different enumeration types ('Foo' and 'Bar')}} 91 while (FooB == y); // expected-warning {{comparison of two values with different enumeration types ('Foo' and 'Bar')}} [all...] |
virtual-override.cpp | 195 class Bar : public Foo {
|
conditional-expr.cpp | 246 struct Bar { 253 (void)(true ? Bar() : Foo1()); // okay 254 (void)(true ? Bar() : Foo2()); // okay 255 (void)(true ? Bar() : Foo3()); // expected-error{{no viable constructor copying temporary}}
|
new-delete.cpp | 471 class Bar {}; 472 Foo<Bar> x;
|
/ndk/tests/device/test-gabi++/jni/ |
test_gabixx_rtti.cpp | 31 class Bar: public Foo 36 std::printf("in Bar!\n"); 56 Foo* foo = new Bar(); 57 Bar* bar; local 94 bar = dynamic_cast<Bar*>(foo); 95 if (bar != NULL) { 96 printf("OK: 'foo' is pointing to a Bar class instance.\n"); 98 fprintf(stderr, "KO: Could not dynamically cast 'foo' to a 'Bar*'\n") [all...] |
/ndk/tests/device/test-stlport-rtti/jni/ |
test_stlport_rtti.cpp | 31 class Bar: public Foo 36 std::printf("in Bar!\n"); 56 Foo* foo = new Bar(); 57 Bar* bar; local 94 bar = dynamic_cast<Bar*>(foo); 95 if (bar != NULL) { 96 printf("OK: 'foo' is pointing to a Bar class instance.\n"); 98 fprintf(stderr, "KO: Could not dynamically cast 'foo' to a 'Bar*'\n") [all...] |
/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/ |
examples.cpp | 132 class Bar 145 typedef First::Bar<Second::Foo> Special;
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
FuturesTest.java | 174 private static class Bar {} 175 private static class BarChild extends Bar {} 193 Bar bar = Futures.transform(future, function).get(); local 194 assertSame(barChild, bar); 375 new FunctionSpy<Object, String>(Functions.constant("bar")); 379 assertEquals("bar", transformed.get()); 381 assertEquals("bar", transformed.get()); 432 Bar bar = Futures.transform(future, function).get() [all...] |
/external/clang/test/Analysis/ |
misc-ps-region-store.cpp | 187 struct Bar; 188 Bar* bar_; 205 bool Bar(); 209 bool Foo2<T>::Bar() { 218 void Bar(); 224 void Foo3<T>::Bar() { 268 struct Rdar9212495_C { virtual void bar() const; }; 275 val.bar(); // FIXME: This should eventually be a null dereference.
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
cpp_unittest.cc | 318 message1.add_repeated_nested_enum(unittest::TestAllTypes::BAR); 323 message2.set_optional_nested_enum(unittest::TestAllTypes::BAR); 334 EXPECT_EQ(unittest::TestAllTypes::BAR, message1.optional_nested_enum()); 359 EXPECT_EQ(unittest::TestAllTypes::BAR, message2.repeated_nested_enum(1)); 754 unittest::TestAllTypes::NestedEnum a = unittest::TestAllTypes::BAR; 759 case unittest::TestAllTypes::BAR: [all...] |