/external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/ |
H A D | p3-cxx0x.cpp | 24 int foo(); 28 int foo(); 35 int foo(); 40 using InnerNS::foo; // expected-error {{not a class}} 42 using Unrelated::foo; // expected-error {{not a base class}} 43 using C::foo; // expected-error {{refers to its own class}} 44 using Subclass::foo; // expected-error {{not a base class}}
|
H A D | p1.cpp | 7 class foo {}; // expected-note {{candidate}} class 8 test<0> foo(foo); // expected-note {{candidate}} 11 class foo { int x; }; class in namespace:Test0 12 test<1> foo(class foo); 15 test<2> foo(class ::foo); // expected-note {{candidate}} \ 19 using ::foo; 21 class foo [all...] |
/external/clang/test/CXX/expr/expr.unary/expr.unary.op/ |
H A D | p4.cpp | 6 void foo(void (A::*)(int)); // expected-note {{passing argument to parameter here}} 10 foo(&g<int>); // expected-error-re {{can't form member pointer of type 'void (test0::A::*)(int){{( __attribute__\(\(thiscall\)\))?}}' without '&' and class name}} 32 static int foo(short); 33 static int foo(float); 34 int foo(int); 35 int foo(double); 43 int (A::*ptr)(int) = &(A::foo); // expected-error {{cannot create a non-constant pointer to member function}}
|
/external/valgrind/helgrind/tests/ |
H A D | hg05_race2.c | 6 struct foo { struct 15 struct foo *f = (struct foo *)v; 24 struct foo foo; local 27 pthread_create(&a, NULL, th, &foo); 29 pthread_create(&b, NULL, th, &foo);
|
/external/clang/test/CodeGenCXX/ |
H A D | ctor-dtor-alias.cpp | 143 // Test that we replace ~zed with ~bar which is an alias to ~foo. 147 struct foo { struct in namespace:test8 148 ~foo(); 150 foo::~foo() {} 151 struct bar : public foo { 156 zed foo; member in namespace:test8 160 struct foo { struct in namespace:test9 161 __attribute__((stdcall)) ~foo() { 165 struct bar : public foo {}; 215 struct foo : public bar { struct in namespace:test10 231 struct foo : public bar { struct in namespace:test11 241 struct foo { struct in namespace:test12 [all...] |
H A D | uncopyable-args.cpp | 9 void foo(A); 11 foo({}); 19 // WIN64-LABEL: declare void @"\01?foo@trivial@@YAXUA@1@@Z"(i64) 27 void foo(A); 31 foo({}); 40 // WIN64-LABEL: declare void @"\01?foo@default_ctor@@YAXUA@1@@Z"(i64) 51 void foo(A); 53 foo({}); 62 // WIN64-LABEL: declare void @"\01?foo@move_ctor@@YAXUA@1@@Z"(%"struct.move_ctor::A"*) 72 void foo( [all...] |
H A D | vtable-key-function-ios.cpp | 22 virtual inline void foo(); 32 void Test0a::foo() {} function in class:Test0a 38 virtual inline void foo(); 43 void Test0b::foo() {} function in class:Test0b 54 virtual void foo(); 65 inline void Test1a::foo() {} function in class:Test1a 71 virtual void foo(); 76 inline void Test1b::foo() {} function in class:Test1b 88 virtual void foo(); 99 inline void Test2a::foo() {} function in class:Test2a 117 inline void Test2b::foo() {} function in class:Test2b 128 inline void Test2c::foo() {} function in class:Test2c 152 inline void Test3a::foo() {} function in class:Test3a 171 inline void Test3b::foo() {} function in class:Test3b 183 inline void Test3c::foo() {} function in class:Test3c [all...] |
H A D | vtable-key-function-arm.cpp | 22 virtual inline void foo(); 32 void Test0a::foo() {} function in class:Test0a 38 virtual inline void foo(); 43 void Test0b::foo() {} function in class:Test0b 54 virtual void foo(); 63 // 'bar' becomes the key function when 'foo' is defined inline. 64 inline void Test1a::foo() {} function in class:Test1a 70 virtual void foo(); 74 // 'bar' becomes the key function when 'foo' is defined inline. 75 inline void Test1b::foo() {} function in class:Test1b 98 inline void Test2a::foo() {} function in class:Test2a 117 inline void Test2b::foo() {} function in class:Test2b 129 inline void Test2c::foo() {} function in class:Test2c 153 inline void Test3a::foo() {} function in class:Test3a 172 inline void Test3b::foo() {} function in class:Test3b 184 inline void Test3c::foo() {} function in class:Test3c 208 template <> inline void Test4a<int>::foo() {} function in class:Test4a 227 template <> inline void Test4b<int>::foo() {} function in class:Test4b 239 template <> inline void Test4c<int>::foo() {} function in class:Test4c 266 template <> inline void Test5a<int>::foo() {} function in class:Test5a 287 template <> inline void Test5b<int>::foo() {} function in class:Test5b 301 template <> inline void Test5c<int>::foo() {} function in class:Test5c [all...] |
H A D | mangle-abi-examples.cpp | 9 void foo (int) { function in struct:A 14 void foo () { function 24 A().foo(0);
|
/external/clang/test/Sema/ |
H A D | warn-unused-value.c | 8 void foo(); 12 1,foo(); // expected-warning {{expression result unused}} 15 foo(); 18 i,foo(); // expected-warning {{expression result unused}} 19 foo(),i; // expected-warning {{expression result unused}} 21 i,j,foo(); // expected-warning {{expression result unused}} expected-warning {{expression result unused}} 22 i,foo(),j; // expected-warning {{expression result unused}} expected-warning {{expression result unused}} 23 foo(),i,j; // expected-warning {{expression result unused}} expected-warning {{expression result unused}} 27 i++,foo(); 28 foo(), [all...] |
H A D | attr-ownership.c | 3 void f1(void) __attribute__((ownership_takes("foo"))); // expected-error {{'ownership_takes' attribute requires parameter 1 to be an identifier}} 4 void *f2(void) __attribute__((ownership_returns(foo, 1, 2))); // expected-error {{'ownership_returns' attribute takes no more than 1 argument}} 5 void f3(void) __attribute__((ownership_holds(foo, 1))); // expected-error {{'ownership_holds' attribute parameter 1 is out of bounds}} 6 void *f4(void) __attribute__((ownership_returns(foo))); 7 void f5(void) __attribute__((ownership_holds(foo))); // expected-error {{'ownership_holds' attribute takes at least 2 arguments}} 8 void f6(void) __attribute__((ownership_holds(foo, 1, 2, 3))); // expected-error {{'ownership_holds' attribute parameter 1 is out of bounds}} 9 void f7(void) __attribute__((ownership_takes(foo))); // expected-error {{'ownership_takes' attribute takes at least 2 arguments}} 10 void f8(int *i, int *j, int k) __attribute__((ownership_holds(foo, 1, 2, 4))); // expected-error {{'ownership_holds' attribute parameter 3 is out of bounds}} 12 int f9 __attribute__((ownership_takes(foo, 1))); // expected-warning {{'ownership_takes' attribute only applies to functions}} 14 void f10(int i) __attribute__((ownership_holds(foo, [all...] |
/external/v8/test/mjsunit/regress/ |
H A D | regress-1117.js | 33 function foo(y) {return 0 * y; } function 34 assertEquals(1/foo(-42), -Infinity); 35 assertEquals(1/foo(-42), -Infinity); 36 %OptimizeFunctionOnNextCall(foo); 37 assertEquals(1/foo(-42), -Infinity);
|
H A D | regress-2499.js | 30 function foo(word, nBits) { function 36 var expected = foo(word, 1); 37 foo(word, 1); 38 %OptimizeFunctionOnNextCall(foo); 39 var optimized = foo(word, 1);
|
H A D | regress-2537.js | 32 function foo(x, expected) { function 43 foo(1, 1); 44 foo(3, 3); 45 %OptimizeFunctionOnNextCall(foo); 46 foo(large_int, large_int);
|
H A D | regress-264203.js | 30 function foo(x) { function 40 foo(0); 41 foo(0); 42 %OptimizeFunctionOnNextCall(foo); 43 var r = foo(-2);
|
H A D | regress-crbug-122271.js | 36 c.foo = "baz"; 38 function foo(array) { function 39 array.foo = "bar"; 45 foo(a); 46 foo(b);
|
H A D | regress-crbug-309623.js | 38 function foo(i) { function 43 assertEquals(u[0], foo(0)); 44 assertEquals(u[0], foo(0)); 45 %OptimizeFunctionOnNextCall(foo); 46 assertEquals(u[1], foo(1));
|
H A D | regress-inlining-function-literal-context.js | 41 function foo() { function 50 assertArrayEquals([1], foo()); 51 assertArrayEquals([1], foo()); 52 %OptimizeFunctionOnNextCall(foo); 53 assertArrayEquals([1], foo());
|
/external/clang/test/CodeGen/ |
H A D | 2003-10-29-AsmRename.c | 4 struct foo { int X; }; struct 7 extern int Func(struct foo*) __asm__("Func64"); 10 int Func(struct foo *F) {
|
H A D | annotations-field.c | 7 struct foo { struct 11 static struct foo gf; 14 struct foo f; 16 // CHECK: getelementptr inbounds %struct.foo, %struct.foo* %f, i32 0, i32 0 24 // CHECK: bitcast i32* getelementptr inbounds (%struct.foo, %struct.foo* @gf, i32 0, i32 0) to i8*
|
H A D | ms-inline-asm-64.c | 21 struct t3_type foo; local 22 foo.a = 1; 23 foo.b = 2; 25 lea ebx, foo 29 return foo.b; 35 struct t3_type foo; local 36 foo.a = 1; 37 foo.b = 2; 39 lea ebx, foo 41 mov eax, [ebx].foo [all...] |
/external/clang/test/Frontend/ |
H A D | optimization-remark-line-directive.c | 7 int foo(int x, int y) __attribute__((always_inline)); 8 int foo(int x, int y) { return x + y; } function 10 // expected-remark@+2 {{foo inlined into bar}} expected-note@+2 {{could not determine the original source location for /bad/path/to/original.c:1230:25}} 12 int bar(int j) { return foo(j, j - 2); }
|
/external/clang/test/Index/ |
H A D | complete-in-stringify.c | 8 void foo(const char *); 11 foo(M(x())); 12 foo(N(x()));
|
/external/clang/test/OpenMP/ |
H A D | critical_codegen.cpp | 16 void foo() {} function 34 foo(); 47 // TERM_DEBUG: invoke void {{.*}}foo{{.*}}() 54 foo();
|
H A D | master_codegen.cpp | 14 void foo() {} function 42 foo(); 55 // TERM_DEBUG: invoke void {{.*}}foo{{.*}}() 62 foo();
|