/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/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 | 173 FunctionMockerTest() : foo_(&mock_foo_) {} in FunctionMockerTest() 175 FooInterface* const foo_; member in testing::gmock_generated_function_mockers_test::FunctionMockerTest 182 foo_->VoidReturning(0); in TEST_F() 191 EXPECT_EQ(0, foo_->Nullary()); in TEST_F() 192 EXPECT_EQ(1, foo_->Nullary()); in TEST_F() 201 EXPECT_TRUE(foo_->Unary(2)); in TEST_F() 202 EXPECT_FALSE(foo_->Unary(2)); in TEST_F() 210 EXPECT_EQ(3, foo_->Binary(2, 1)); in TEST_F() 219 EXPECT_EQ(5, foo_->Decimal(true, 'a', 0, 0, 1, 0, 0, 5, NULL, "hi")); in TEST_F() 228 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 | 452 foo_ = message_->field(0); in SetUp() 476 const FieldDescriptor* foo_; member in google::protobuf::descriptor_unittest::DescriptorTest 503 EXPECT_EQ(foo_, message_->field(0)); in TEST_F() 515 EXPECT_EQ(foo_, message_->FindFieldByName("foo")); in TEST_F() 530 EXPECT_EQ(foo_, message_->FindFieldByNumber(1)); in TEST_F() 545 EXPECT_EQ("foo", foo_->name()); in TEST_F() 552 EXPECT_EQ("TestMessage.foo", foo_->full_name()); in TEST_F() 563 EXPECT_EQ(foo_file_, foo_->file()); in TEST_F() 574 EXPECT_EQ(0, foo_->index()); in TEST_F() 581 EXPECT_EQ( 1, foo_->number()); in TEST_F() [all …]
|
/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 | 1196 foo_(descriptor_->FindMethodByName("Foo")), in GeneratedServiceTest() 1202 ASSERT_TRUE(foo_ != NULL); in SetUp() 1207 const MethodDescriptor* foo_; member in google::protobuf::compiler::cpp::cpp_unittest::GeneratedServiceTest 1252 mock_service_.CallMethod(foo_, &mock_controller_, in TEST_F() 1277 mock_service_.CallMethod(foo_, &mock_controller_, in TEST_F() 1283 mock_service_.CallMethod(foo_, &mock_controller_, in TEST_F() 1293 &mock_service_.GetRequestPrototype(foo_)); in TEST_F() 1298 &mock_service_.GetResponsePrototype(foo_)); in TEST_F() 1311 EXPECT_EQ(foo_ , mock_channel_.method_ ); in TEST_F()
|
/external/clang/test/Analysis/ |
D | self-init.m | 292 @synthesize foo = foo_;
|
/external/v8/test/webkit/fast/js/ |
D | parser-syntax-check-expected.txt | 581 PASS Valid: "if (0) foo_; " 582 PASS Valid: "function f() { if (0) foo_; }" 589 PASS Valid: "if (0) obj.foo_; " 590 PASS Valid: "function f() { if (0) obj.foo_; }"
|
/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()
|