/external/v8/tools/clang/base_bind_rewriters/tests/ |
test-expected.cc | 18 struct Foo { 25 scoped_refptr<int> foo; 26 base::Bind(&Foo::Bar, foo); 27 Bind(&Foo::Bar, foo); 28 base::Bind(&Foo::Bar, (&foo)); 29 base::Bind(&Foo::Bar, foo); [all...] |
test-original.cc | 18 struct Foo { 25 scoped_refptr<int> foo; 26 base::Bind(&Foo::Bar, foo.get()); 27 Bind(&Foo::Bar, foo.get()); 28 base::Bind(&Foo::Bar, (&foo)->get()); 29 base::Bind(&Foo::Bar, foo.get [all...] |
/external/clang/test/SemaTemplate/ |
delegating-constructors.cpp | 19 struct Foo { 20 Foo(int) { } 24 Foo(T, int i) : Foo(i) { } 29 Foo f(1, 1);
|
inject-templated-friend-post.cpp | 25 typedef struct Foo {} Foo; 27 inline std_ostream& operator << (std_ostream&, const Streamer<Foo>&); 29 void test(const Streamer<Foo>& foo) 31 cout << foo; local 51 std_ostream& operator << (std_ostream&, const Streamer<Foo>&); 55 template struct Streamer<Foo>; 59 std_ostream& operator << (std_ostream& o, const Streamer<Foo>&) // expected-note{{is here}} 67 void Streamer<Foo>::operator () (std_ostream& o) const // expected-note{{requested here} 74 Foo foo; local [all...] |
inject-templated-friend.cpp | 30 typedef struct Foo {} Foo; 32 inline std_ostream& operator << (std_ostream&, const Streamer<Foo>&); 34 std_ostream& operator << (std_ostream& o, const Streamer<Foo>&) // expected-note{{is here}} 42 void Streamer<Foo>::operator () (std_ostream& o) const // expected-note{{requested here}} 48 Foo foo; local 49 cout << foo; local
|
/external/compiler-rt/test/asan/TestCases/ |
intra-object-overflow.cc | 9 class Foo { 11 Foo() : pre1(1), pre2(2), post1(3), post2(4) { 13 virtual ~Foo() { 17 // CHECK: #0 {{.*}}Foo::set{{.*}}intra-object-overflow.cc:[[@LINE-2]] 26 Foo *foo = new Foo; local 27 foo->set(idx, 42); 30 delete foo;
|
/external/libcxx/test/libcxx/utilities/meta/ |
is_referenceable.pass.cpp | 23 struct Foo {}; 33 static_assert(( std::__is_referenceable<Foo>::value), ""); 34 static_assert(( std::__is_referenceable<const Foo>::value), ""); 35 static_assert(( std::__is_referenceable<Foo &>::value), ""); 36 static_assert(( std::__is_referenceable<const Foo &>::value), ""); 38 static_assert(( std::__is_referenceable<Foo &&>::value), ""); 39 static_assert(( std::__is_referenceable<const Foo &&>::value), ""); 75 static_assert(( std::__is_referenceable<void (int, float, Foo &)>::value), ""); 77 static_assert((!std::__is_referenceable<void (int, float, Foo &) const>::value), ""); 78 static_assert((!std::__is_referenceable<void (int, float, Foo &) &>::value), "") [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/libcxx/utilities/meta/ |
is_referenceable.pass.cpp | 23 struct Foo {}; 33 static_assert(( std::__is_referenceable<Foo>::value), ""); 34 static_assert(( std::__is_referenceable<const Foo>::value), ""); 35 static_assert(( std::__is_referenceable<Foo &>::value), ""); 36 static_assert(( std::__is_referenceable<const Foo &>::value), ""); 38 static_assert(( std::__is_referenceable<Foo &&>::value), ""); 39 static_assert(( std::__is_referenceable<const Foo &&>::value), ""); 75 static_assert(( std::__is_referenceable<void (int, float, Foo &)>::value), ""); 77 static_assert((!std::__is_referenceable<void (int, float, Foo &) const>::value), ""); 78 static_assert((!std::__is_referenceable<void (int, float, Foo &) &>::value), "") [all...] |
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-cdtest/ |
cdtest-foo.cc | 1 // Class Foo 19 #include "cdtest-foo.h" 21 int Foo::foos = 0; 23 void Foo::init_foo () 25 printf ("BROKENLY calling Foo::init_foo from __init_start; size_of(Foo) = %ld\n", (long) sizeof(Foo)); 30 Foo::Foo () 33 strncpy (message, "default-foo", len) [all...] |
/external/clang/test/CodeGenCXX/ |
cxx0x-delegating-ctors.cpp | 83 class Foo : public virtual Base { 85 Foo(); 86 Foo(const void * inVoid); 87 virtual ~Foo() {} 92 // CHECK-LABEL: define void @_ZN7PR145883FooC1Ev(%"class.PR14588::Foo"* 98 Foo::Foo() : Foo(__null) { other(); } 99 Foo::Foo(const void *inVoid) [all...] |
cxx1y-variable-template-linkage.cpp | 5 // The variable template specialization x<Foo> generated in each file 13 static int &foo() { function 14 struct Foo { }; 17 return x<Foo>; 25 return foo(); 36 &bar() == &foo() ? throw 0 : (void)0; // Should not throw exception at runtime.
|
debug-info-member-call.cpp | 8 struct Foo { 11 Bar *foo() { return b; } function in struct:Foo 14 void test(Foo *f) { 15 f->foo()->bar();
|
partial-init.cpp | 15 struct Foo { 20 static Foo table[] = {
|
/external/clang/test/SemaCXX/ |
warn-sign-conversion.cpp | 11 template <typename T> struct Foo { 25 int c1 = 1 ? i : Foo<bool>::C; 26 int c2 = 1 ? Foo<bool>::C : i; 28 int d1a = 1 ? i : Foo<bool>::D; // expected-warning {{test1::Foo<bool>::(anonymous enum at }} 29 int d1b = 1 ? i : Foo<bool>::D; // expected-warning {{warn-sign-conversion.cpp:13:5)' to 'int'}} 30 int d2a = 1 ? Foo<bool>::D : i; // expected-warning {{operand of ? changes signedness: 'test1::Foo<bool>::(anonymous enum at }} 31 int d2b = 1 ? Foo<bool>::D : i; // expected-warning {{warn-sign-conversion.cpp:13:5)' to 'int'}} 32 int d3a = 1 ? B : Foo<bool>::D; // expected-warning {{operand of ? changes signedness: 'test1::Foo<bool>::(anonymous enu (…) [all...] |
/external/guice/core/test/com/google/inject/ |
BoundProviderTest.java | 29 bind(Foo.class).toProvider(FooProvider.class); 33 Foo a = injector.getInstance(Foo.class); 34 Foo b = injector.getInstance(Foo.class); 46 bind(Foo.class).toProvider(SingletonFooProvider.class); 50 Foo a = injector.getInstance(Foo.class); 51 Foo b = injector.getInstance(Foo.class) [all...] |
/prebuilts/go/darwin-x86/test/fixedbugs/ |
issue6399.go | 5 type Foo interface { 15 f := make([]Foo, 20) 23 func T(f []Foo) {
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
issue6399.go | 5 type Foo interface { 15 f := make([]Foo, 20) 23 func T(f []Foo) {
|
/art/test/636-wrong-static-access/src-ex/ |
Foo.java | 17 public class Foo { 19 // Execute foo once to make sure the dex cache will be updated. 21 foo(); method 26 Main.ensureJitCompiled(Foo.class, "foo"); 28 foo(); method 35 public static void foo() { method in class:Foo
|
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/ |
basic.cpp | 13 E& Foo(const C&); 14 E& Bar() { return Foo(C()); }
|
/external/clang/test/CodeGen/ |
2009-03-08-ZeroEltStructCrash.c | 9 static inline void Foo(struct Union *u) { 13 Foo(u);
|
/external/clang/test/Modules/Inputs/ |
category_left_sub.h | 1 @interface Foo(LeftSub) <P1> 10 @interface Foo(LeftP3) <P3>
|
/external/compiler-rt/test/ubsan/TestCases/TypeCheck/ |
vptr-virtual-base.cpp | 9 struct Foo { virtual int f() { return 0; } }; 12 Foo foo; local 13 T *t = (T*)&foo; 16 // CHECK-NEXT: [[PTR]]: note: object is of type 'Foo'
|
/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/multipackage/grandsub/ |
FooGrandchildComponent.java | 21 import test.multipackage.foo.Foo; 25 Foo<FooGrandchildComponent> foo(); method in interface:FooGrandchildComponent
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
coverage-caller-callee.cc | 27 struct Foo {virtual void f() {if (P) printf("Foo::f()\n");}}; 28 struct Foo1 : Foo {virtual void f() {if (P) printf("%d\n", __LINE__);}}; 29 struct Foo2 : Foo {virtual void f() {if (P) printf("%d\n", __LINE__);}}; 30 struct Foo3 : Foo {virtual void f() {if (P) printf("%d\n", __LINE__);}}; 31 struct Foo4 : Foo {virtual void f() {if (P) printf("%d\n", __LINE__);}}; 32 struct Foo5 : Foo {virtual void f() {if (P) printf("%d\n", __LINE__);}}; 33 struct Foo6 : Foo {virtual void f() {if (P) printf("%d\n", __LINE__);}}; 34 struct Foo7 : Foo {virtual void f() {if (P) printf("%d\n", __LINE__);}}; 35 struct Foo8 : Foo {virtual void f() {if (P) printf("%d\n", __LINE__);}} 48 Foo *foo[20] = { variable [all...] |
/art/test/655-jit-clinit/src/ |
Main.java | 23 Foo.hotMethod(); 30 class Foo { 39 while (!Main.isJitCompiled(Foo.class, "hotMethod")) { 40 Foo.hotMethod();
|