/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/googletest/googlemock/test/ |
D | gmock_output_test_.cc | 71 NaggyMock<MockFoo> foo_; member in GMockOutputTest 77 EXPECT_CALL(foo_, Bar2(0, _)); in TEST_F() 78 foo_.Bar2(0, 0); // Expected call in TEST_F() 86 EXPECT_CALL(foo_, Bar3(0, _)); in TEST_F() 87 foo_.Bar3(0, 0); // Expected call in TEST_F() 93 EXPECT_CALL(foo_, Bar2(_, _)) in TEST_F() 96 foo_.Bar2(2, 2); in TEST_F() 97 foo_.Bar2(1, 1); // Explicit actions in EXPECT_CALL run out. in TEST_F() 101 EXPECT_CALL(foo_, Bar2(0, _)); in TEST_F() 103 foo_.Bar2(1, 0); // Unexpected call in TEST_F() [all …]
|
D | gmock-function-mocker_test.cc | 183 MockMethodFunctionMockerTest() : foo_(&mock_foo_) {} in MockMethodFunctionMockerTest() 185 FooInterface* const foo_; member in testing::gmock_function_mocker_test::MockMethodFunctionMockerTest 192 foo_->VoidReturning(0); in TEST_F() 201 EXPECT_EQ(0, foo_->Nullary()); in TEST_F() 202 EXPECT_EQ(1, foo_->Nullary()); in TEST_F() 211 EXPECT_TRUE(foo_->Unary(2)); in TEST_F() 212 EXPECT_FALSE(foo_->Unary(2)); in TEST_F() 220 EXPECT_EQ(3, foo_->Binary(2, 1)); in TEST_F() 229 EXPECT_EQ(5, foo_->Decimal(true, 'a', 0, 0, 1, 0, 0, 5, nullptr, "hi")); in TEST_F() 239 EXPECT_TRUE(foo_->TakesNonConstReference(a)); 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, nullptr, "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/libchrome/base/ |
D | optional_unittest.cc | 36 TestObject() : foo_(0), bar_(0.0), state_(State::DEFAULT_CONSTRUCTED) {} in TestObject() 39 : foo_(foo), bar_(bar), state_(State::VALUE_CONSTRUCTED) {} in TestObject() 42 : foo_(other.foo_), in TestObject() 48 : foo_(std::move(other.foo_)), in TestObject() 56 foo_ = other.foo_; in operator =() 64 foo_ = other.foo_; in operator =() 74 swap(foo_, other->foo_); in Swap() 82 return std::tie(foo_, bar_) == std::tie(other.foo_, other.bar_); in operator ==() 87 int foo() const { return foo_; } in foo() 92 int foo_; member in base::__anon8c549ea10111::TestObject [all …]
|
/external/perfetto/src/base/ |
D | optional_unittest.cc | 53 TestObject() : foo_(0), bar_(0.0), state_(State::DEFAULT_CONSTRUCTED) {} in TestObject() 56 : foo_(foo), bar_(bar), state_(State::VALUE_CONSTRUCTED) {} in TestObject() 59 : foo_(other.foo_), in TestObject() 65 : foo_(std::move(other.foo_)), in TestObject() 73 foo_ = other.foo_; in operator =() 81 foo_ = other.foo_; in operator =() 91 swap(foo_, other->foo_); in Swap() 99 return std::tie(foo_, bar_) == std::tie(other.foo_, other.bar_); in operator ==() 104 int foo() const { return foo_; } in foo() 109 int foo_; member in perfetto::base::__anon3a00206c0111::TestObject [all …]
|
/external/libchrome/mojo/public/cpp/bindings/tests/ |
D | pickled_types_chromium.h | 38 int foo() const { return foo_; } in foo() 39 void set_foo(int foo) { foo_ = foo; } in set_foo() 49 int foo_ = 0;
|
D | pickled_types_blink.h | 41 int foo() const { return foo_; } in foo() 44 foo_ = foo; in set_foo() 58 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/sfntly/cpp/src/test/ |
D | smart_pointer_test.cc | 26 int foo_; member in Foo 27 int foo() { return foo_; } in foo()
|
/external/libchrome/base/memory/ |
D | protected_memory_unittest.cc | 19 Data(int foo_) : foo(foo_) {} in Data()
|
/external/tensorflow/tensorflow/stream_executor/lib/ |
D | statusor_test.cc | 52 explicit CopyNoAssign(int value) : foo_(value) {} in CopyNoAssign() 53 CopyNoAssign(const CopyNoAssign& other) : foo_(other.foo_) {} in CopyNoAssign() 54 int foo_; member in stream_executor::port::__anon81b7bba50111::CopyNoAssign 264 EXPECT_EQ(original.ValueOrDie().foo_, copy.ValueOrDie().foo_); in TEST()
|
/external/llvm/test/MC/AsmParser/ |
D | macro-args.s | 56 foo_$0_$1_$2_$3:
|
/external/swiftshader/third_party/llvm-7.0/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()
|