Home
last modified time | relevance | path

Searched refs:foo (Results 1 – 25 of 2883) sorted by relevance

12345678910>>...116

/external/v8/test/mjsunit/
Dstring-replace-gc.js31 var foo = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; variable
33 foo = foo + foo;
34 foo = foo + foo;
35 foo = foo + foo;
36 foo = foo + foo;
37 foo = foo + foo;
38 foo = foo + foo;
39 foo = foo + foo;
40 foo = foo + foo;
41 foo = foo + foo;
[all …]
Dfunction-bind.js31 function foo(x, y, z) { function
35 assertEquals(3, foo.length);
37 var f = foo.bind(foo);
38 assertEquals([foo, 3, 1], f(1, 2, 3));
41 f = foo.bind(foo, 1);
42 assertEquals([foo, 3, 1], f(2, 3));
45 f = foo.bind(foo, 1, 2);
46 assertEquals([foo, 3, 1], f(3));
49 f = foo.bind(foo, 1, 2, 3);
50 assertEquals([foo, 3, 1], f());
[all …]
Dobject-create.js59 var protoFoo = { foo: function() { ctr++; }}; method
60 var fooValue = { foo: { writable: true, value: function() { ctr2++; }}}; property
61 var fooGetter = { foo: { get: function() { return ctr3++; }}}; property
62 var fooSetter = { foo: { set: function() { return ctr4++; }}}; property
63 var fooAmbiguous = { foo: { get: function() { return ctr3++; }, property
70 Object.create(protoFoo).foo();
74 Object.create(Object.create(protoFoo)).foo();
79 v.foo();
84 v.foo = 42;
85 assertEquals(42, v.foo);
[all …]
/external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/
Dp12.cpp28 Opaque<0> foo(Opaque<0>);
29 Opaque<0> foo(Opaque<1>);
30 Opaque<0> foo(Opaque<2>);
35 using Base::foo;
36 Opaque<1> foo(Opaque<1>);
37 Opaque<1> foo(Opaque<3>);
39 void test0() { Opaque<0> _ = foo(Opaque<0>()); } in test0()
40 void test1() { Opaque<1> _ = foo(Opaque<1>()); } in test1()
41 void test2() { Opaque<0> _ = foo(Opaque<2>()); } in test2()
42 void test3() { Opaque<1> _ = foo(Opaque<3>()); } in test3()
[all …]
Dp11.cpp14 namespace ns { void foo(); } // expected-note {{target of using declaration}}
15 int foo(void); // expected-note {{conflicting declaration}}
16 …using ns::foo; // expected-error {{target of using declaration conflicts with declaration already …
20 namespace ns { void foo(); } // expected-note {{target of using declaration}}
21 using ns::foo; //expected-note {{using declaration}}
22 …int foo(void); // expected-error {{declaration conflicts with target of using declaration already …
26 namespace ns { void foo(); } // expected-note 2 {{target of using declaration}}
28 int foo(void); // expected-note {{conflicting declaration}} in test0()
29 …using ns::foo; // expected-error {{target of using declaration conflicts with declaration already … in test0()
33 using ns::foo; //expected-note {{using declaration}} in test1()
[all …]
Dp8.cpp9 void foo(Opaque0); // expected-note 2 {{candidate function}}
12 using ns::foo;
13 using ns::foo;
16 foo(Opaque1()); // expected-error {{no matching function for call}} in test0()
20 void foo(Opaque1);
24 foo(Opaque1()); // expected-error {{no matching function for call}} in test1()
27 using ns::foo;
30 foo(Opaque1()); in test2()
33 using ns::foo;
39 void foo(Opaque0); // expected-note 2 {{candidate function}}
[all …]
Dp1.cpp7 class foo {}; // expected-note {{candidate}} class
8 test<0> foo(foo); // expected-note {{candidate}}
11 class foo { int x; }; class
12 test<1> foo(class foo);
15 test<2> foo(class ::foo); // expected-note {{candidate}} \
19 using ::foo; in test0()
21 class foo a; in test0()
22 test<0> _ = (foo)(a); in test0()
26 using Test0::foo; in test1()
28 class foo a; in test1()
[all …]
/external/clang/test/SemaCXX/
Dcxx0x-delegating-ctors.cpp3 struct foo { struct
5 foo(); argument
6 foo(int);
7 foo(int, int);
8 foo(bool);
9 foo(char);
10 foo(const float*);
11 foo(const float&);
12 foo(void*);
16 foo::foo (int i) : i(i) { in foo() function in foo
[all …]
Dwarn-overloaded-virtual.cpp4 virtual void foo(int); // expected-note {{declared here}}
5 virtual void foo(); // expected-note {{declared here}}
9 void foo(float); // expected-warning {{hides overloaded virtual functions}}
13 void foo(); // expected-note {{declared here}}
17 virtual void foo(void*); // expected-note {{declared here}}
21 virtual void foo(int); // expected-warning {{hides overloaded virtual functions}}
25 virtual void foo(int);
26 virtual void foo();
30 using B3::foo;
31 void foo(float);
[all …]
Ddefault-arg-special-member.cpp4 class foo { class
5 foo(foo&, int); // expected-note {{was not a special member function}}
6 foo(int); // expected-note {{was not a special member function}}
7 foo(const foo&); // expected-note {{was a copy constructor}}
10 foo::foo(foo&, int = 0) { } // expected-warning {{makes this constructor a copy constructor}} in foo() argument
11 foo::foo(int = 0) { } // expected-warning {{makes this constructor a default constructor}} in foo() function in foo
12 foo::foo(const foo& = 0) { } //expected-warning {{makes this constructor a default constructor}} in foo() argument
/external/llvm/unittests/Support/
DCasting.cpp24 struct foo *baz();
25 struct foo *caz();
26 struct foo *daz();
27 struct foo *naz();
31 struct foo { struct
39 template <> struct isa_impl<foo, bar> {
46 foo *bar::baz() { in baz()
47 return cast<foo>(this); in baz()
50 foo *bar::caz() { in caz()
51 return cast_or_null<foo>(this); in caz()
[all …]
/external/llvm/test/MC/ELF/
Drelax-arith.s10 imul $foo, %bx, %bx
11 imul $foo, bar, %bx
12 imul $foo, %ebx, %ebx
13 imul $foo, bar, %ebx
14 imul $foo, %rbx, %rbx
15 imul $foo, bar, %rbx
20 and $foo, %bx
21 andw $foo, bar
22 and $foo, %ebx
23 andl $foo, bar
[all …]
Dcfi.s11 .cfi_personality 0x00, foo
24 .cfi_personality 0x00, foo
31 .cfi_personality 0x02, foo
37 .cfi_personality 0x03, foo
43 .cfi_personality 0x04, foo
49 .cfi_personality 0x0a, foo
55 .cfi_personality 0x0b, foo
61 .cfi_personality 0x0c, foo
67 .cfi_personality 0x08, foo
73 .cfi_personality 0x10, foo
[all …]
/external/bison/tests/
Doutput.at33 foo: {};
42 AT_CHECK_OUTPUT([foo.y], [], [-dv],
43 [foo.output foo.tab.c foo.tab.h])
44 AT_CHECK_OUTPUT([foo.y], [], [-dv],
45 [foo.output foo.tab.c foo.tab.h],
47 AT_CHECK_OUTPUT([foo.y], [], [-dv -o foo.c],
48 [foo.c foo.h foo.output])
49 AT_CHECK_OUTPUT([foo.y], [], [-dv -o foo.tab.c],
50 [foo.output foo.tab.c foo.tab.h])
51 AT_CHECK_OUTPUT([foo.y], [], [-dv -y],
[all …]
/external/webkit/LayoutTests/fast/url/
Dpath-expected.txt6 PASS canonicalize('http://example.com/././foo') is 'http://example.com/foo'
7 PASS canonicalize('http://example.com/./.foo') is 'http://example.com/.foo'
8 PASS canonicalize('http://example.com/foo/.') is 'http://example.com/foo/'
9 PASS canonicalize('http://example.com/foo/./') is 'http://example.com/foo/'
10 PASS canonicalize('http://example.com/foo/bar/..') is 'http://example.com/foo/'
11 PASS canonicalize('http://example.com/foo/bar/../') is 'http://example.com/foo/'
12 PASS canonicalize('http://example.com/foo/..bar') is 'http://example.com/foo/..bar'
13 PASS canonicalize('http://example.com/foo/bar/../ton') is 'http://example.com/foo/ton'
14 PASS canonicalize('http://example.com/foo/bar/../ton/../../a') is 'http://example.com/a'
15 PASS canonicalize('http://example.com/foo/../../..') is 'http://example.com/'
[all …]
Dsegments-expected.txt6 PASS segments('http://user:pass@foo:21/bar;par?b#c') is '["http:","foo","21","/bar;par","?b","#c"]'
7 PASS segments('http:foo.com') is '["http:","example.org","","/foo/foo.com","",""]'
8 PASS segments('\t :foo.com \n') is '["http:","example.org","","/foo/:foo.com","",""]'
9 PASS segments(' foo.com ') is '["http:","example.org","","/foo/foo.com","",""]'
10 PASS segments('a:\t foo.com') is '["a:","",""," foo.com","",""]'
22 PASS segments('') is '["http:","example.org","","/foo/bar","",""]'
23 PASS segments(' \t') is '["http:","example.org","","/foo/bar","",""]'
24 PASS segments(':foo.com/') is '["http:","example.org","","/foo/:foo.com/","",""]'
25 PASS segments(':foo.com\\') is '["http:","example.org","","/foo/:foo.com/","",""]'
26 PASS segments(':') is '["http:","example.org","","/foo/:","",""]'
[all …]
Dstandard-url-expected.txt6 PASS canonicalize('http://www.google.com/foo?bar=baz#') is 'http://www.google.com/foo?bar=baz#'
7 …alize('http://www.google.com/foo?bar=baz# »') should be http://www.google.com/foo?bar=baz# ». Was …
10 …http:////////user:@google.com:99?foo') should be http://user@google.com:99/?foo. Was http://////us…
12 FAIL canonicalize('http://www/foo%2Ehtml') should be http://www/foo.html. Was http://www/foo%2Ehtml.
15 PASS canonicalize('http:\\\\www.google.com\\foo') is 'http://www.google.com/foo'
17 PASS canonicalize('http://foo:80/') is 'http://foo/'
18 PASS canonicalize('http://foo:81/') is 'http://foo:81/'
19 PASS canonicalize('httpa://foo:80/') is 'httpa://foo:80/'
20 PASS canonicalize('http://foo:-80/') is 'http://foo:-80/'
21 PASS canonicalize('https://foo:443/') is 'https://foo/'
[all …]
Dsegments-from-data-url-expected.txt6 PASS segments('http://user:pass@foo:21/bar;par?b#c') is '["http:","foo","21","/bar;par","?b","#c"]'
7 PASS segments('http:foo.com') is '["http:","foo.com","","/","",""]'
8 PASS segments('\t :foo.com \n') is '[":","","","","",""]'
9 PASS segments(' foo.com ') is '[":","","","","",""]'
10 PASS segments('a:\t foo.com') is '["a:","",""," foo.com","",""]'
24 PASS segments(':foo.com/') is '[":","","","","",""]'
25 PASS segments(':foo.com\\') is '[":","","","","",""]'
42 PASS segments('foo://') is '["foo:","","","//","",""]'
45 FAIL segments('http://&a:foo(b]c@d:2/') should be ["http:","d","2","/","",""]. Was [":","","","",""…
47 PASS segments('http://foo.com:b@d/') is '["http:","d","","/","",""]'
[all …]
Dfile-expected.txt6 FAIL canonicalize('file:c:\\foo\\bar.html') should be file:///C:/foo/bar.html. Was file:///tmp/mock…
7 FAIL canonicalize(' File:c|////foo\\bar.html') should be file:///C:////foo/bar.html. Was file:///t…
10 FAIL canonicalize('c:\\foo\\bar') should be file:///C:/foo/bar. Was c:/foo/bar.
11 FAIL canonicalize('C|/foo/bar') should be file:///C:/foo/bar. Was file:///tmp/mock/C|/foo/bar.
12 FAIL canonicalize('/C|\\foo\\bar') should be file:///C:/foo/bar. Was file:///C|/foo/bar.
13 FAIL canonicalize('//C|/foo/bar') should be file:///C:/foo/bar. Was file://C|/foo/bar.
17 FAIL canonicalize('file:c:foo/bar.html') should be file:///C:/foo/bar.html. Was file:///tmp/mock/c:
18 FAIL canonicalize('file:/\\/\\C:\\\\//foo\\bar.html') should be file:///C:////foo/bar.html. Was fil…
19 PASS canonicalize('file:///foo/bar.txt') is 'file:///foo/bar.txt'
20 FAIL canonicalize('FILE:/\\/\\7:\\\\//foo\\bar.html') should be file://7:////foo/bar.html. Was file…
[all …]
/external/v8/test/mjsunit/compiler/
Dassignment.js44 b.foo = 5;
45 b.foo += 12;
47 assertEquals(17, b.foo);
65 b.foo = 5;
66 b.foo += 12;
68 assertEquals(17, b.foo);
87 b.foo = 5;
88 b.foo += 12;
90 assertEquals(17, b.foo);
94 function foo() { function
[all …]
/external/clang/test/CXX/class.access/class.protected/
Dp1.cpp218 void foo(int); // expected-note 3 {{can only access this member on an object of type}}
219 void foo(long);
220 static void foo(Static);
235 a.foo(10); in test()
236 a.foo(Static()); in test()
239 a.foo(10); // expected-error {{'foo' is a protected member}} in test()
240 a.foo(Static()); in test()
243 a.foo(10); // expected-error {{'foo' is a protected member}} in test()
244 a.foo(Static()); in test()
247 a.foo(10); // expected-error {{'foo' is a protected member}} in test()
[all …]
/external/clang/test/Sema/
Dwarn-unused-value.c8 void foo();
12 1,foo(); // expected-warning {{expression result unused}} in pr4806()
15 foo(); in pr4806()
18 i,foo(); // expected-warning {{expression result unused}} in pr4806()
19 foo(),i; // expected-warning {{expression result unused}} in pr4806()
21 …i,j,foo(); // expected-warning {{expression result unused}} expected-warning {{expression r… in pr4806()
22 …i,foo(),j; // expected-warning {{expression result unused}} expected-warning {{expression r… in pr4806()
23foo(),i,j; // expected-warning {{expression result unused}} expected-warning {{expression r… in pr4806()
27 i++,foo(); in pr4806()
28 foo(),i++; in pr4806()
[all …]
/external/clang/test/CodeGenCXX/
Dvisibility.cpp24 class DEFAULT foo { class
26 foo myvec;
137 struct HIDDEN foo { struct
138 foo() { } in foo() function
145 struct barc : public foo {
158 static void foo() {} in foo() function
166 Aref<a>::foo(); in test()
171 void foo();
177 foo(); in test()
203 void foo(A*);
[all …]
Dmember-function-pointers.cpp89 bool foo(int*) const;
96 B1() : pmf(&A::foo), pa(&a) {} in B1()
105 struct foo { struct
106 virtual void bar(foo *);
110 void baz(foo *);
113 void (foo::*ptr1)(void *) = (void (foo::*)(void *))&foo::bar;
116 void (foo::*ptr3)(void) = (void (foo::*)(void))&foo::bar;
152 class foo { class
157 void foo::baz(void) { in baz()
158 void (foo::*ptr)(void) = &foo::baz; in baz()
[all …]
/external/jsr305/sampleUses/src/main/java/edu/umd/cs/findbugs/examples/
DTest.java11 public void foo(@SlashedClassName String foo) {} in foo() argument
13 public void foo2(@DottedClassName String foo) { in foo2() argument
14 foo(foo); // should get warning here in foo2()
17 public void foo3(String foo) { in foo3() argument
18 foo(foo); in foo3()
20 public void foo4(@DottedClassName String foo) { in foo4() argument
21 foo3(foo); in foo4()
24 public void foo5(@SlashedClassName(when=When.MAYBE) String foo) { in foo5()
25 foo(foo); in foo5()
27 public void foo6(@SlashedClassName(when=When.UNKNOWN) String foo) { in foo6()
[all …]

12345678910>>...116