Home
last modified time | relevance | path

Searched refs:Bar (Results 1 – 25 of 294) sorted by relevance

12345678910>>...12

/external/clang/test/SemaCXX/
Dwarn-range-loop-analysis.cpp20 struct Bar { struct
21 Bar(Foo);
22 Bar(int);
65 Container<Bar&> bar_container; in test0()
75 for (const Bar x : bar_container) {} in test0()
103 for (const Bar &x : A) {} in test1()
106 for (const Bar x : A) {} in test1()
110 for (Bar x : A) {} in test1()
135 for (const Bar &x : B) {} in test2()
138 for (const Bar x : B) {} in test2()
[all …]
Dpseudo-destructors.cpp5 typedef Foo Bar; // expected-note{{type 'Bar' (aka 'Foo') is declared here}} typedef
28 …a->~Bar(); // expected-error{{destructor type 'Bar' (aka 'Foo') in object destruction expression d… in f()
30 f->~Bar(); in f()
32 i->~Bar(); // expected-error{{does not match}} in f()
34 g().~Bar(); // expected-error{{non-scalar}} in f()
36 f->::~Bar(); in f()
39 f->::~Bar(17, 42); // expected-error{{cannot have any arguments}} in f()
Dzero-length-arrays.cpp12 class Bar { class
19 Bar(): foo_count(0) { } in Bar() function in Bar
20 ~Bar() { } in ~Bar()
24 Bar b; in testBar()
25 Bar b2(b); in testBar()
Dpass-object-size.cpp60 template <typename T> struct Bar { struct
69 …int (Bar<int>::*B)(void *) = &Bar<int>::Foo<double>; //expected-error{{address of overloaded funct… in Decls() local
75 …int (Bar<int>::*B)(void *) = &Bar<int>::Foo<double>; //expected-error{{address of overloaded funct… in Assigns() local
84 struct Bar : public Foo { struct
119 void Bar() { in Bar() function
/external/gmock/test/
Dgmock_stress_test.cc53 MOCK_METHOD1(Bar, int(int n)); // NOLINT
151 ON_CALL(foo, Bar(_)) in TestConcurrentMockObjects()
158 EXPECT_CALL(foo, Bar(0)) in TestConcurrentMockObjects()
165 EXPECT_EQ(1, foo.Bar(0)); in TestConcurrentMockObjects()
166 EXPECT_EQ(1, foo.Bar(0)); in TestConcurrentMockObjects()
194 EXPECT_EQ(1, param.mock_foo->Bar(5)); in Helper1()
202 ON_CALL(foo, Bar(_)) in TestConcurrentCallsOnSameObject()
232 foo->Bar(2); in Helper2()
233 foo->Bar(3); in Helper2()
244 EXPECT_CALL(foo, Bar(0)); in TestPartiallyOrderedExpectationsWithThreads()
[all …]
Dgmock_output_test_.cc55 MOCK_METHOD3(Bar, char(const std::string& s, int i, double x));
143 EXPECT_CALL(foo_, Bar(_, 0, _)); in TEST_F()
149 foo_.Bar("Hi", 0, 0); in TEST_F()
157 EXPECT_CALL(foo_, Bar(_, 0, _)) in TEST_F()
165 foo_.Bar("Hi", 0, 0); in TEST_F()
175 EXPECT_CALL(foo_, Bar(_, _, _)); in TEST_F()
184 EXPECT_CALL(foo_, Bar(Ref(s), _, Ge(0))); in TEST_F()
186 foo_.Bar("Ho", 0, -0.1); // Mismatch arguments in TEST_F()
187 foo_.Bar(s, 0, 0); in TEST_F()
259 ON_CALL(*foo1, Bar(_, _, _)).WillByDefault(Return('a')); in TEST_F()
/external/google-breakpad/src/testing/test/
Dgmock_stress_test.cc53 MOCK_METHOD1(Bar, int(int n)); // NOLINT
151 ON_CALL(foo, Bar(_)) in TestConcurrentMockObjects()
158 EXPECT_CALL(foo, Bar(0)) in TestConcurrentMockObjects()
165 EXPECT_EQ(1, foo.Bar(0)); in TestConcurrentMockObjects()
166 EXPECT_EQ(1, foo.Bar(0)); in TestConcurrentMockObjects()
194 EXPECT_EQ(1, param.mock_foo->Bar(5)); in Helper1()
202 ON_CALL(foo, Bar(_)) in TestConcurrentCallsOnSameObject()
232 foo->Bar(2); in Helper2()
233 foo->Bar(3); in Helper2()
244 EXPECT_CALL(foo, Bar(0)); in TestPartiallyOrderedExpectationsWithThreads()
[all …]
Dgmock_output_test_.cc54 MOCK_METHOD3(Bar, char(const std::string& s, int i, double x));
142 EXPECT_CALL(foo_, Bar(_, 0, _)); in TEST_F()
148 foo_.Bar("Hi", 0, 0); in TEST_F()
156 EXPECT_CALL(foo_, Bar(_, 0, _)) in TEST_F()
164 foo_.Bar("Hi", 0, 0); in TEST_F()
174 EXPECT_CALL(foo_, Bar(_, _, _)); in TEST_F()
183 EXPECT_CALL(foo_, Bar(Ref(s), _, Ge(0))); in TEST_F()
185 foo_.Bar("Ho", 0, -0.1); // Mismatch arguments in TEST_F()
186 foo_.Bar(s, 0, 0); in TEST_F()
258 ON_CALL(*foo1, Bar(_, _, _)).WillByDefault(Return('a')); in TEST_F()
/external/clang/test/Analysis/
Dmember-expr.cpp9 Bar = 1 enumerator
14 clang_analyzer_eval(Baz.Bar == Foo::Bar); // expected-warning{{TRUE}} in testEnumVal()
18 clang_analyzer_eval(Baz.Bar == Foo::Bar); // expected-warning{{TRUE}} in testEnumRef()
22 clang_analyzer_eval(Baz->Bar == Foo::Bar); // expected-warning{{TRUE}} in testEnumPtr()
Drdar-6600344-nil-receiver-undefined-struct-ret.m4 typedef struct Foo { int x; } Bar; typedef
7 - (Bar)foo;
10 - (Bar)foo {
18 Bar f = [obj foo]; // no-warning
24 Bar f = [obj foo]; // no-warning
/external/clang/test/SemaTemplate/
Dms-delayed-default-template-args.cpp37 template <typename T> struct Bar { T x; }; argument
39 template <Bar<Qux> *P>
42 Bar<int> g;
48 template <typename T> struct Bar { T x; }; argument
49 template <typename T = Bar<Weber>> // expected-error {{use of undeclared identifier 'Weber'}}
85 template <typename T> struct Bar { T x; }; struct
87 template <Bar<Xylophone> *P> // expected-error {{use of undeclared identifier 'Xylophone'}}
92 Bar<Xylophone> g;
/external/v8/test/webkit/fast/js/
Dobject-prototype-constructor.js28 var Foo = { Bar: function () {}}; method
29 var f = new Foo.Bar();
34 var Foo2 = { Bar: F}; property
35 var f2 = new Foo2.Bar();
39 var Foo3 = { Bar: new Function("")}; property
40 var f3 = new Foo3.Bar();
/external/clang/test/CodeGen/
Dms-inline-asm.cpp10 struct Bar { struct
18 Foo::Bar::ptr = (int *)0xDEADBEEF; in t1() argument
20 __asm mov eax, Foo :: Bar :: ptr in t1()
32 __asm mov eax, offset Foo::Bar::ptr in t2()
40 __asm mov eax, LENGTH Foo::Bar::ptr in t3()
42 __asm mov eax, LENGTH Foo::Bar::arr in t3()
45 __asm mov eax, TYPE Foo::Bar::ptr in t3()
47 __asm mov eax, TYPE Foo::Bar::arr in t3()
50 __asm mov eax, SIZE Foo::Bar::ptr in t3()
52 __asm mov eax, SIZE Foo::Bar::arr in t3()
Dubsan-type-blacklist.cpp6 class Bar { class
8 virtual ~Bar() {} in ~Bar()
10 class Foo : public Bar {};
12 Bar bar;
/external/clang/test/Profile/
Dcxx-structors.cpp11 struct Bar : public Foo { struct
12 Bar() {} in Bar() function
13 Bar(int x) : Foo(x) {} in Bar() function
14 ~Bar();
19 Bar bar;
/external/llvm/test/tools/dsymutil/X86/
Dmodules.m7 module Bar {
8 header "Bar.h"
12 clang -D BAR_H -E -o Bar.h modules.m
34 // CHECK-NEXT: DW_AT_name{{.*}}"Bar"
37 // CHECK: DW_AT_name {{.*}}"Bar"
45 struct Bar { struct
69 @import Bar; argument
70 typedef struct Bar Bar; struct
111 Bar bar;
/external/guice/core/test/com/google/inject/
DBoundProviderTest.java60 static class Bar {} class in BoundProviderTest
63 final Bar bar;
66 Foo(Bar bar, int i) { in Foo()
74 final Bar bar;
78 public FooProvider(Bar bar) { in FooProvider()
90 final Bar bar;
94 public SingletonFooProvider(Bar bar) { in SingletonFooProvider()
DJitBindingsTest.java79 bind(Bar.class); in testMoreBasicsWork()
84 ensureWorks(injector, FooBar.class, Bar.class, Foo.class); in testMoreBasicsWork()
113 bind(Bar.class); in testBasicsWithEagerSingleton()
118 ensureWorks(injector, FooBar.class, Bar.class, Foo.class); in testBasicsWithEagerSingleton()
147 bind(Bar.class); in testBasicsWithScoped()
152 ensureWorks(injector, FooBar.class, Bar.class, Foo.class); in testBasicsWithScoped()
198 }).getInstance(Bar.class); in testJitGetFails()
201 assertContains(expected.getMessage(), jitFailed(Bar.class)); in testJitGetFails()
218 assertContains(expected.getMessage(), jitFailed(Bar.class)); in testJitInjectionFails()
230 }).getProvider(Bar.class); in testJitProviderGetFails()
[all …]
DProviderInjectionTest.java36 bind(Bar.class); in testProviderInjection()
43 Bar bar = foo.barProvider.get(); in testProviderInjection()
57 bind(Bar.class).toProvider(new Provider<Bar>() { in testProvidersAreInjectedWhenBound()
62 public Bar get() { in testProvidersAreInjectedWhenBound()
63 return new Bar() {}; in testProvidersAreInjectedWhenBound()
177 @Inject Provider<Bar> barProvider;
181 static class Bar {} class in ProviderInjectionTest
/external/protobuf/java/src/test/java/com/google/protobuf/
DLiteEqualsAndHashTest.java33 import protobuf_unittest.lite_equals_and_hash.LiteEqualsAndHash.Bar;
61 .addBar(Bar.newBuilder().setName("foo1")) in testEquals()
65 .addBar(Bar.newBuilder().setName("foo1")) in testEquals()
69 .addBar(Bar.newBuilder().setName("foo2")) in testEquals()
81 Bar bar = Bar.newBuilder().setName("bar").build(); in testEquals()
/external/clang/test/CodeGenCXX/
Dunion-dtor.cpp11 struct Bar { struct
12 Bar();
13 ~Bar();
20 Bar bar;
28 Bar bar;
D2005-02-19-UnnamedVirtualThunkArgument.cpp8 struct Bar { struct
9 Bar();
10 virtual ~Bar();
14 struct Baz : public Foo, public Bar {
Ddebug-info-explicit-cast.cpp9 struct Bar { struct
11 Bar() : B(2){}; in Bar() argument
33 Bar *PB = new Bar; in main()
/external/llvm/test/Analysis/TypeBasedAliasAnalysis/
Dplacement-tbaa.ll6 ; struct Bar { void *p; };
11 ; Bar *b = new (f) Bar;
24 %struct.Bar = type { i8* }
31 %b = alloca %struct.Bar*, align 8
55 %6 = bitcast i8* %5 to %struct.Bar*
59 %7 = phi %struct.Bar* [ %6, %new.notnull ], [ null, %for.body ]
60 store %struct.Bar* %7, %struct.Bar** %b, align 8, !tbaa !4
61 %8 = load %struct.Bar*, %struct.Bar** %b, align 8, !tbaa !4
62 %p = getelementptr inbounds %struct.Bar, %struct.Bar* %8, i32 0, i32 0
/external/clang/test/Rewriter/
Drewrite-nested-blocks.mm44 @interface Bar interface
47 void f(Bar *);
51 void (^myblock)(Bar *b) = ^(Bar *b) {
57 Bar *b = (Bar *)42;

12345678910>>...12