/external/google-breakpad/src/testing/test/ |
D | gmock_output_test_.cc | 64 MockFoo foo_; member in GMockOutputTest 70 EXPECT_CALL(foo_, Bar2(0, _)); in TEST_F() 71 foo_.Bar2(0, 0); // Expected call in TEST_F() 79 EXPECT_CALL(foo_, Bar3(0, _)); in TEST_F() 80 foo_.Bar3(0, 0); // Expected call in TEST_F() 86 EXPECT_CALL(foo_, Bar2(_, _)) in TEST_F() 89 foo_.Bar2(2, 2); in TEST_F() 90 foo_.Bar2(1, 1); // Explicit actions in EXPECT_CALL run out. in TEST_F() 94 EXPECT_CALL(foo_, Bar2(0, _)); in TEST_F() 96 foo_.Bar2(1, 0); // Unexpected call in TEST_F() [all …]
|
D | gmock-generated-function-mockers_test.cc | 161 FunctionMockerTest() : foo_(&mock_foo_) {} in FunctionMockerTest() 163 FooInterface* const foo_; member in testing::gmock_generated_function_mockers_test::FunctionMockerTest 170 foo_->VoidReturning(0); in TEST_F() 179 EXPECT_EQ(0, foo_->Nullary()); in TEST_F() 180 EXPECT_EQ(1, foo_->Nullary()); in TEST_F() 189 EXPECT_TRUE(foo_->Unary(2)); in TEST_F() 190 EXPECT_FALSE(foo_->Unary(2)); in TEST_F() 198 EXPECT_EQ(3, foo_->Binary(2, 1)); in TEST_F() 207 EXPECT_EQ(5, foo_->Decimal(true, 'a', 0, 0, 1, 0, 0, 5, NULL, "hi")); in TEST_F() 216 EXPECT_TRUE(foo_->TakesNonConstReference(a)); in TEST_F() [all …]
|
D | gmock_output_test_golden.txt | 3 FILE:#: EXPECT_CALL(foo_, Bar2(0, _)) invoked 6 FILE:#: Mock function call matches EXPECT_CALL(foo_, Bar2(0, _))... 13 FILE:#: EXPECT_CALL(foo_, Bar3(0, _)) invoked 16 FILE:#: Mock function call matches EXPECT_CALL(foo_, Bar3(0, _))... 23 FILE:#: Too few actions specified in EXPECT_CALL(foo_, Bar2(_, _))... 26 FILE:#: Actions ran out in EXPECT_CALL(foo_, Bar2(_, _))... 38 FILE:#: EXPECT_CALL(foo_, Bar2(0, _))... 51 FILE:#: EXPECT_CALL(foo_, Bar3(0, _))... 95 FILE:#: tried expectation #0: EXPECT_CALL(foo_, Bar2(_, _))... 100 FILE:#: tried expectation #1: EXPECT_CALL(foo_, Bar2(0, 0))... [all …]
|
/external/v8/testing/gmock/test/ |
D | gmock_output_test_.cc | 65 NaggyMock<MockFoo> foo_; member in GMockOutputTest 71 EXPECT_CALL(foo_, Bar2(0, _)); in TEST_F() 72 foo_.Bar2(0, 0); // Expected call in TEST_F() 80 EXPECT_CALL(foo_, Bar3(0, _)); in TEST_F() 81 foo_.Bar3(0, 0); // Expected call in TEST_F() 87 EXPECT_CALL(foo_, Bar2(_, _)) in TEST_F() 90 foo_.Bar2(2, 2); in TEST_F() 91 foo_.Bar2(1, 1); // Explicit actions in EXPECT_CALL run out. in TEST_F() 95 EXPECT_CALL(foo_, Bar2(0, _)); in TEST_F() 97 foo_.Bar2(1, 0); // Unexpected call in TEST_F() [all …]
|
D | gmock-generated-function-mockers_test.cc | 184 FunctionMockerTest() : foo_(&mock_foo_) {} in FunctionMockerTest() 186 FooInterface* const foo_; member in testing::gmock_generated_function_mockers_test::FunctionMockerTest 193 foo_->VoidReturning(0); in TEST_F() 202 EXPECT_EQ(0, foo_->Nullary()); in TEST_F() 203 EXPECT_EQ(1, foo_->Nullary()); in TEST_F() 212 EXPECT_TRUE(foo_->Unary(2)); in TEST_F() 213 EXPECT_FALSE(foo_->Unary(2)); in TEST_F() 221 EXPECT_EQ(3, foo_->Binary(2, 1)); in TEST_F() 230 EXPECT_EQ(5, foo_->Decimal(true, 'a', 0, 0, 1, 0, 0, 5, NULL, "hi")); in TEST_F() 239 EXPECT_TRUE(foo_->TakesNonConstReference(a)); in TEST_F() [all …]
|
D | gmock_output_test_golden.txt | 3 FILE:#: EXPECT_CALL(foo_, Bar2(0, _)) invoked 6 FILE:#: Mock function call matches EXPECT_CALL(foo_, Bar2(0, _))... 13 FILE:#: EXPECT_CALL(foo_, Bar3(0, _)) invoked 16 FILE:#: Mock function call matches EXPECT_CALL(foo_, Bar3(0, _))... 23 FILE:#: Too few actions specified in EXPECT_CALL(foo_, Bar2(_, _))... 26 FILE:#: Actions ran out in EXPECT_CALL(foo_, Bar2(_, _))... 38 FILE:#: EXPECT_CALL(foo_, Bar2(0, _))... 51 FILE:#: EXPECT_CALL(foo_, Bar3(0, _))... 95 FILE:#: tried expectation #0: EXPECT_CALL(foo_, Bar2(_, _))... 100 FILE:#: tried expectation #1: EXPECT_CALL(foo_, Bar2(0, 0))... [all …]
|
/external/googletest/googlemock/test/ |
D | gmock_output_test_.cc | 65 NaggyMock<MockFoo> foo_; member in GMockOutputTest 71 EXPECT_CALL(foo_, Bar2(0, _)); in TEST_F() 72 foo_.Bar2(0, 0); // Expected call in TEST_F() 80 EXPECT_CALL(foo_, Bar3(0, _)); in TEST_F() 81 foo_.Bar3(0, 0); // Expected call in TEST_F() 87 EXPECT_CALL(foo_, Bar2(_, _)) in TEST_F() 90 foo_.Bar2(2, 2); in TEST_F() 91 foo_.Bar2(1, 1); // Explicit actions in EXPECT_CALL run out. in TEST_F() 95 EXPECT_CALL(foo_, Bar2(0, _)); in TEST_F() 97 foo_.Bar2(1, 0); // Unexpected call in TEST_F() [all …]
|
D | gmock-generated-function-mockers_test.cc | 186 FunctionMockerTest() : foo_(&mock_foo_) {} in FunctionMockerTest() 188 FooInterface* const foo_; member in testing::gmock_generated_function_mockers_test::FunctionMockerTest 195 foo_->VoidReturning(0); in TEST_F() 204 EXPECT_EQ(0, foo_->Nullary()); in TEST_F() 205 EXPECT_EQ(1, foo_->Nullary()); in TEST_F() 214 EXPECT_TRUE(foo_->Unary(2)); in TEST_F() 215 EXPECT_FALSE(foo_->Unary(2)); in TEST_F() 223 EXPECT_EQ(3, foo_->Binary(2, 1)); in TEST_F() 232 EXPECT_EQ(5, foo_->Decimal(true, 'a', 0, 0, 1, 0, 0, 5, NULL, "hi")); in TEST_F() 241 EXPECT_TRUE(foo_->TakesNonConstReference(a)); in TEST_F() [all …]
|
D | gmock_output_test_golden.txt | 3 FILE:#: EXPECT_CALL(foo_, Bar2(0, _)) invoked 6 FILE:#: Mock function call matches EXPECT_CALL(foo_, Bar2(0, _))... 13 FILE:#: EXPECT_CALL(foo_, Bar3(0, _)) invoked 16 FILE:#: Mock function call matches EXPECT_CALL(foo_, Bar3(0, _))... 23 FILE:#: Too few actions specified in EXPECT_CALL(foo_, Bar2(_, _))... 26 FILE:#: Actions ran out in EXPECT_CALL(foo_, Bar2(_, _))... 38 FILE:#: EXPECT_CALL(foo_, Bar2(0, _))... 51 FILE:#: EXPECT_CALL(foo_, Bar3(0, _))... 95 FILE:#: tried expectation #0: EXPECT_CALL(foo_, Bar2(_, _))... 100 FILE:#: tried expectation #1: EXPECT_CALL(foo_, Bar2(0, 0))... [all …]
|
/external/clang/test/Sema/ |
D | warn-thread-safety-analysis.c | 44 struct Foo foo_ = {&mu1}; variable 45 int a_ GUARDED_BY(foo_.mu_); 46 int *b_ PT_GUARDED_BY(foo_.mu_) = &a_; 67 void set_value(int *a, int value) EXCLUSIVE_LOCKS_REQUIRED(foo_.mu_) { in set_value() 71 int get_value(int *p) SHARED_LOCKS_REQUIRED(foo_.mu_){ in get_value() 106 mutex_exclusive_lock(foo_.mu_); in main() 108 mutex_unlock(foo_.mu_); in main() 109 mutex_shared_lock(foo_.mu_); in main() 111 mutex_unlock(foo_.mu_); in main() 115 mutex_exclusive_lock(foo_.mu_); in main() [all …]
|
/external/protobuf/src/google/protobuf/ |
D | descriptor_unittest.cc | 644 foo_ = message_->field(0); in SetUp() 686 const FieldDescriptor* foo_; member in google::protobuf::descriptor_unittest::DescriptorTest 715 EXPECT_EQ(foo_, message_->field(0)); in TEST_F() 727 EXPECT_EQ(foo_, message_->FindFieldByName("foo")); in TEST_F() 742 EXPECT_EQ(foo_, message_->FindFieldByNumber(1)); in TEST_F() 757 EXPECT_EQ("foo", foo_->name()); in TEST_F() 764 EXPECT_EQ("TestMessage.foo", foo_->full_name()); in TEST_F() 804 EXPECT_EQ(foo_file_, foo_->file()); in TEST_F() 815 EXPECT_EQ(0, foo_->index()); in TEST_F() 822 EXPECT_EQ( 1, foo_->number()); in TEST_F() [all …]
|
/external/libmojo/mojo/public/cpp/bindings/tests/ |
D | pickled_types_blink.h | 42 int foo() const { return foo_; } in foo() 45 foo_ = foo; in set_foo() 55 int foo_ = 0;
|
D | pickled_types_chromium.h | 39 int foo() const { return foo_; } in foo() 40 void set_foo(int foo) { foo_ = foo; } in set_foo() 50 int foo_ = 0;
|
D | pickled_types_blink.cc | 16 : foo_(foo), bar_(bar) { in PickledStructBlink() 17 DCHECK_GE(foo_, 0); in PickledStructBlink()
|
D | pickled_types_chromium.cc | 15 : foo_(foo), bar_(bar) {} in PickledStructChromium()
|
/external/v8/tools/clang/rewrite_scoped_refptr/tests/ |
D | const-scoped_refptr&-to-raw-adds-get-original.cc | 13 const scoped_refptr<Foo>& foo() const { return foo_; } in foo() 16 scoped_refptr<Foo> foo_; member in Bar
|
D | const-scoped_refptr&-to-raw-adds-get-expected.cc | 13 const scoped_refptr<Foo>& foo() const { return foo_; } in foo() 16 scoped_refptr<Foo> foo_; member in Bar
|
/external/libchrome/base/ |
D | optional_unittest.cc | 30 TestObject() : foo_(0), bar_(0.0), state_(State::DEFAULT_CONSTRUCTED) {} in TestObject() 33 : foo_(foo), bar_(bar), state_(State::VALUE_CONSTRUCTED) {} in TestObject() 36 : foo_(other.foo_), bar_(other.bar_), state_(State::COPY_CONSTRUCTED) {} in TestObject() 39 : foo_(std::move(other.foo_)), in TestObject() 46 foo_ = other.foo_; in operator =() 53 foo_ = other.foo_; in operator =() 62 swap(foo_, other->foo_); in Swap() 69 return foo_ == other.foo_ && bar_ == other.bar_; in operator ==() 72 int foo() const { return foo_; } in foo() 76 int foo_; member in base::__anon378150570111::TestObject
|
/external/sfntly/cpp/src/test/ |
D | smart_pointer_test.cc | 26 int foo_; member in Foo 27 int foo() { return foo_; } in foo()
|
/external/llvm/test/MC/AsmParser/ |
D | macro-args.s | 56 foo_$0_$1_$2_$3:
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_unittest.cc | 1252 foo_(descriptor_->FindMethodByName("Foo")), in GeneratedServiceTest() 1258 ASSERT_TRUE(foo_ != NULL); in SetUp() 1263 const MethodDescriptor* foo_; member in google::protobuf::compiler::cpp::cpp_unittest::GeneratedServiceTest 1308 mock_service_.CallMethod(foo_, &mock_controller_, in TEST_F() 1333 mock_service_.CallMethod(foo_, &mock_controller_, in TEST_F() 1339 mock_service_.CallMethod(foo_, &mock_controller_, in TEST_F() 1349 &mock_service_.GetRequestPrototype(foo_)); in TEST_F() 1354 &mock_service_.GetResponsePrototype(foo_)); in TEST_F() 1367 EXPECT_EQ(foo_ , mock_channel_.method_ ); in TEST_F()
|
/external/clang/test/Analysis/ |
D | self-init.m | 292 @synthesize foo = foo_;
|
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/ |
D | UnittestProto3.cs | 4416 get { return fooCase_ == FooOneofCase.FooInt ? (int) foo_ : 0; } 4418 foo_ = value; 4426 get { return fooCase_ == FooOneofCase.FooString ? (string) foo_ : ""; } 4428 foo_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 4436 …Case_ == FooOneofCase.FooMessage ? (global::Google.Protobuf.TestProtos.TestAllTypes) foo_ : null; } 4438 foo_ = value; 4443 private object foo_; field in Google.Protobuf.TestProtos.TestOneof 4458 foo_ = null; in ClearFoo()
|
/external/clang/test/SemaCXX/ |
D | warn-thread-safety-analysis.cpp | 996 Foo *foo_; member in thread_annot_lock_43::FooBar 997 int GetA() EXCLUSIVE_LOCKS_REQUIRED(foo_->mu_) { return a_; } in GetA() 998 int a_ GUARDED_BY(foo_->mu_); 1006 fb->foo_->mu_->Lock(); in main() 1008 fb->foo_->mu_->Unlock(); in main()
|