HomeSort by relevance Sort by last modified time
    Searched refs:Bar (Results 226 - 250 of 378) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/guice/core/test/com/google/inject/
ImplicitBindingTest.java 36 assertSame(foo, foo.bar.foo);
40 @Inject Bar bar; field in class:ImplicitBindingTest.Foo
43 static class Bar {
46 public Bar(Foo foo) {
CircularDependencyTest.java 487 @Provides String provideString(Bar bar) {
488 return new String("private 1, " + bar.string);
494 bind(Bar.class);
495 expose(Bar.class);
509 static class Bar {
MethodInterceptionTest.java 82 assertNotNull(nullFoosOne.bar());
156 bindInterceptor(Matchers.any(), Matchers.returns(only(Foo.class).or(only(Bar.class))),
163 Method barMethod = Interceptable.class.getMethod("bar");
224 interceptable.bar();
235 static class Bar {}
244 public Bar bar() { method in class:MethodInterceptionTest.Interceptable
246 return new Bar() {};
  /prebuilts/go/darwin-x86/test/
escape2.go 115 type Bar struct {
120 func NewBar() *Bar {
121 return &Bar{42, nil} // ERROR "&Bar literal escapes to heap$"
124 func NewBarp(x *int) *Bar { // ERROR "leaking param: x to result ~r1 level=-1$"
125 return &Bar{42, x} // ERROR "&Bar literal escapes to heap$"
128 func NewBarp2(x *int) *Bar { // ERROR "NewBarp2 x does not escape$"
129 return &Bar{*x, nil} // ERROR "&Bar literal escapes to heap$
1610 func (b *Buffer) bar() { \/\/ ERROR "leaking param: b$" func
    [all...]
escape2n.go 115 type Bar struct {
120 func NewBar() *Bar {
121 return &Bar{42, nil} // ERROR "&Bar literal escapes to heap$"
124 func NewBarp(x *int) *Bar { // ERROR "leaking param: x to result ~r1 level=-1$"
125 return &Bar{42, x} // ERROR "&Bar literal escapes to heap$"
128 func NewBarp2(x *int) *Bar { // ERROR "NewBarp2 x does not escape$"
129 return &Bar{*x, nil} // ERROR "&Bar literal escapes to heap$
1610 func (b *Buffer) bar() { \/\/ ERROR "leaking param: b$" func
    [all...]
  /prebuilts/go/linux-x86/test/
escape2.go 115 type Bar struct {
120 func NewBar() *Bar {
121 return &Bar{42, nil} // ERROR "&Bar literal escapes to heap$"
124 func NewBarp(x *int) *Bar { // ERROR "leaking param: x to result ~r1 level=-1$"
125 return &Bar{42, x} // ERROR "&Bar literal escapes to heap$"
128 func NewBarp2(x *int) *Bar { // ERROR "NewBarp2 x does not escape$"
129 return &Bar{*x, nil} // ERROR "&Bar literal escapes to heap$
1610 func (b *Buffer) bar() { \/\/ ERROR "leaking param: b$" func
    [all...]
escape2n.go 115 type Bar struct {
120 func NewBar() *Bar {
121 return &Bar{42, nil} // ERROR "&Bar literal escapes to heap$"
124 func NewBarp(x *int) *Bar { // ERROR "leaking param: x to result ~r1 level=-1$"
125 return &Bar{42, x} // ERROR "&Bar literal escapes to heap$"
128 func NewBarp2(x *int) *Bar { // ERROR "NewBarp2 x does not escape$"
129 return &Bar{*x, nil} // ERROR "&Bar literal escapes to heap$
1610 func (b *Buffer) bar() { \/\/ ERROR "leaking param: b$" func
    [all...]
  /external/clang/test/SemaCXX/
conditional-expr.cpp 269 struct Bar {
276 (void)(true ? Bar() : Foo1()); // okay
277 (void)(true ? Bar() : Foo2()); // okay
278 (void)(true ? Bar() : Foo3()); // expected-error{{no viable constructor copying temporary}}
new-delete.cpp 478 class Bar {};
479 Foo<Bar> x;
using-decl-1.cpp 85 namespace ns1 { struct Bar : ns0::Foo {}; }
88 namespace ns2 { struct Baz : ns1::Bar {}; }
  /external/clang/test/SemaTemplate/
ms-lookup-template-base-classes.cpp 208 int *bar() { return &a; } // expected-warning {{lookup into dependent bases}} function in struct:PR16014::B
220 int *bar() { return &b; } // expected-error {{no member named 'b' in 'PR16014::C<PR16014::A>'}} expected-warning {{lookup into dependent bases}} function in struct:PR16014::C
249 void bar() { function in struct:PR19233::A
274 int bar() { function in struct:nonmethod_missing_this::Derived
472 void bar() {
476 x.bar();
609 class Bar;
612 template <class T, class X = Bar>
626 class FooTemplated<T, Bar> : public FooBase {};
630 class FooTemplated : public FooTemplated<T, Bar> {
    [all...]
friend-template.cpp 269 struct Bar {
275 Bar<int> b;
temp_arg_nontype.cpp 72 float bar(float);
73 int bar(int);
84 A6<&Z::bar> *a17_2;
133 struct Bar {};
137 Bar<bool(ns::Foo<int>::value)> x;
254 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
309 bar, enumerator in enum:PR10579::__anon16030::testenum::type
  /external/google-breakpad/src/testing/scripts/generator/cpp/
gmock_class_test.py 61 virtual int Bar();
65 'MOCK_METHOD0(Bar,\nint());',
72 virtual void Bar(bool flag) const;
76 'MOCK_CONST_METHOD1(Bar,\nvoid(bool flag));',
83 virtual int Bar(void);
87 'MOCK_METHOD0(Bar,\nint(void));',
94 virtual void Bar(int
99 'MOCK_METHOD1(Bar,\nvoid(int a));',
106 virtual void Bar(int a, char c = 'x') = 0;
110 'MOCK_METHOD2(Bar,\nvoid(int, char));'
    [all...]
  /external/libmojo/mojo/public/tools/bindings/
generate_type_mappings.py 31 generate_type_mappings.py --dependency foo.typemap --output=bar.typemap \\
32 --start-typemap public_headers=bar.h traits_headers=bar_traits.h \\
33 type_mappings=mojom.Bar=BarImpl
35 generates a bar.typemap containing
38 "mojom.Bar": {
44 "bar.h"
  /prebuilts/go/darwin-x86/src/mime/
type_test.go 55 setType(".bar", "x/bar")
56 setType(".Bar", "x/bar; capital=1")
62 ".bar": "x/bar",
63 ".Bar": "x/bar; capital=1",
  /prebuilts/go/darwin-x86/src/net/http/cgi/
child_test.go 49 if g, e := req.Header.Get("Foo-Bar"), "baz"; e != g {
50 t.Errorf("expected Foo-Bar %q; got %q", e, g)
  /prebuilts/go/darwin-x86/src/net/http/
http_test.go 38 {" Foo,Bar, Baz,lower,,Quux ", []string{"Foo", "Bar", "Baz", "lower", "Quux"}},
  /prebuilts/go/linux-x86/src/mime/
type_test.go 55 setType(".bar", "x/bar")
56 setType(".Bar", "x/bar; capital=1")
62 ".bar": "x/bar",
63 ".Bar": "x/bar; capital=1",
  /prebuilts/go/linux-x86/src/net/http/cgi/
child_test.go 49 if g, e := req.Header.Get("Foo-Bar"), "baz"; e != g {
50 t.Errorf("expected Foo-Bar %q; got %q", e, g)
  /prebuilts/go/linux-x86/src/net/http/
http_test.go 38 {" Foo,Bar, Baz,lower,,Quux ", []string{"Foo", "Bar", "Baz", "lower", "Quux"}},
  /external/guice/core/test/com/google/inject/matcher/
MatcherTest.java 79 assertTrue(annotatedWith(Foo.class).matches(Bar.class));
172 static class Bar {}
  /prebuilts/go/darwin-x86/src/net/http/httputil/
dump_test.go 62 "X-Foo": []string{"X-Bar"},
67 "X-Foo: X-Bar\r\n\r\n",
297 "Foo": []string{"Bar"},
304 Foo: Bar`,
  /prebuilts/go/linux-x86/src/net/http/httputil/
dump_test.go 62 "X-Foo": []string{"X-Bar"},
67 "X-Foo: X-Bar\r\n\r\n",
297 "Foo": []string{"Bar"},
304 Foo: Bar`,
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
FuturesTest.java 209 private static class Bar {}
210 private static class BarChild extends Bar {}
227 Bar bar = Futures.transform(future, function).get(); local
228 assertSame(barChild, bar);
233 AsyncFunction<Foo, Bar> function = new AsyncFunction<Foo, Bar>() {
234 @Override public ListenableFuture<Bar> apply(Foo unused) {
245 AsyncFunction<Foo, Bar> function = new AsyncFunction<Foo, Bar>() {
    [all...]

Completed in 2183 milliseconds

1 2 3 4 5 6 7 8 91011>>