Home
last modified time | relevance | path

Searched refs:called (Results 1 – 25 of 2599) sorted by relevance

12345678910>>...104

/external/libbrillo/brillo/dbus/
Ddbus_param_reader_unittest.cc22 bool called = false; in TEST() local
23 auto callback = [&called]() { called = true; }; in TEST()
25 EXPECT_TRUE(called); in TEST()
33 bool called = false; in TEST() local
34 auto callback = [&called](int param1) { in TEST()
36 called = true; in TEST()
40 EXPECT_TRUE(called); in TEST()
51 bool called = false; in TEST() local
52 auto callback = [&called](bool p1, int p2, const VariantDictionary& p3) { in TEST()
57 called = true; in TEST()
[all …]
/external/libchrome/mojo/public/cpp/bindings/tests/
Dsync_handle_registry_unittest.cc30 auto callback = [](bool* called) { *called = true; }; in TEST_F() argument
63 auto callback1 = base::Bind([](bool* called) { *called = true; }, &called1); in TEST_F() argument
66 scoped_refptr<SyncHandleRegistry> registry, bool* called) { in TEST_F() argument
68 *called = true; in TEST_F()
71 auto callback3 = base::Bind([](bool* called) { *called = true; }, &called3); in TEST_F() argument
103 bool called = false; in TEST_F() local
108 scoped_refptr<SyncHandleRegistry> registry, bool* called) { in TEST_F() argument
109 EXPECT_FALSE(*called); in TEST_F()
113 *called = true; in TEST_F()
120 base::Bind([](bool* called) { *called = true; }, &nested_called); in TEST_F() argument
[all …]
Dbinding_unittest.cc73 bool called = false; in TEST_P() local
78 SetFlagAndRunClosure(&called, run_loop.QuitClosure())); in TEST_P()
83 EXPECT_FALSE(called); in TEST_P()
85 EXPECT_TRUE(called); in TEST_P()
97 bool called = false; in TEST_P() local
102 SetFlagAndRunClosure<int32_t>(&called, in TEST_P()
105 EXPECT_TRUE(called); in TEST_P()
114 called = false; in TEST_P()
116 SetFlagAndRunClosure<int32_t>(&called, in TEST_P()
119 EXPECT_FALSE(called); in TEST_P()
[all …]
/external/libcxx/test/libcxx/algorithms/
Ddebug_less.pass.cpp38 static int called; member
40 called = 0; in reset()
44 int CompareBase::called = 0; member in CompareBase
49 ++CompareBase::called; in operator ()()
57 ++CompareBase::called; in operator ()()
65 ++CompareBase::called; in operator ()()
70 ++CompareBase::called; in operator ()()
78 ++CompareBase::called; in operator ()()
89 int& called = CompareBase::called; in test_passing() local
90 called = 0; in test_passing()
[all …]
/external/tensorflow/tensorflow/core/util/
Dreffed_status_callback_test.cc30 bool called = false; in TEST() local
32 auto done = [&called, &status](const Status& s) { in TEST()
33 called = true; in TEST()
37 EXPECT_FALSE(called); in TEST()
39 EXPECT_TRUE(called); in TEST()
44 bool called = false; in TEST() local
46 auto done = [&called, &status](const Status& s) { in TEST()
47 called = true; in TEST()
53 EXPECT_FALSE(called); in TEST()
55 EXPECT_TRUE(called); in TEST()
[all …]
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_unix_events.py138 self.assertFalse(m_logging.info.called)
153 self.assertFalse(m_logging.info.called)
164 self.assertTrue(m_signal.set_wakeup_fd.called)
165 self.assertTrue(m_signal.signal.called)
180 self.assertFalse(m_signal.set_wakeup_fd.called)
181 self.assertTrue(m_signal.signal.called)
250 self.assertFalse(m_signal.signal.called)
377 self.assertTrue(sock.close.called)
383 self.assertTrue(sock.close.called)
695 self.assertFalse(self.protocol.data_received.called)
[all …]
Dtest_proactor_events.py57 self.assertFalse(self.protocol.data_received.called)
58 self.assertFalse(self.protocol.eof_received.called)
80 self.assertFalse(self.loop._proactor.recv.called)
81 self.assertTrue(self.protocol.eof_received.called)
82 self.assertTrue(tr.close.called)
101 self.assertFalse(tr._fatal_error.called)
109 self.assertTrue(tr._fatal_error.called)
119 self.assertFalse(tr._fatal_error.called)
150 self.assertFalse(tr._loop_writing.called)
218 self.assertFalse(self.protocol.connection_lost.called)
[all …]
/external/google-breakpad/src/testing/test/
Dgmock_output_test_golden.txt24 Expected to be called twice, but has only 1 WillOnce().
41 Expected: to be called once
42 Actual: never called - unsatisfied and active
54 Expected: to be called once
55 Actual: never called - unsatisfied and active
59 Mock function called more times than expected - returning default value.
62 Expected: to be called once
63 Actual: called twice - over-saturated and active
67 Mock function called more times than expected - returning directly.
69 Expected: to be called once
[all …]
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_configdialog.py80 d.set_samples.called = 0
85 self.assertEqual(d.set_samples.called, 1)
166 d.set_samples.called = 0
173 self.assertEqual(d.set_samples.called, 1)
181 self.assertEqual(d.set_samples.called, 2)
189 self.assertEqual(d.set_samples.called, 3)
260 d.set_theme_type.called = 0
261 d.paint_theme_sample.called = 0
262 d.set_highlight_target.called = 0
263 d.set_color_sample.called = 0
[all …]
Dtest_textview.py51 self.assertTrue(VW.transient.called)
52 self.assertTrue(VW.grab_set.called)
53 self.assertTrue(VW.wait_window.called)
58 self.assertFalse(VW.transient.called)
59 self.assertFalse(VW.grab_set.called)
60 self.assertFalse(VW.wait_window.called)
67 self.assertTrue(view.destroy.called)
143 self.called = False
151 self.called = True
157 self.assertEqual(self.called, True)
[all …]
/external/adhd/cras/src/tests/
Dfile_wait_unittest.cc36 size_t called; member
46 result->called++; in FileWaitCallback()
63 file_wait_result.called = 0; in SimpleFileWait()
69 EXPECT_EQ(1, file_wait_result.called); in SimpleFileWait()
72 EXPECT_EQ(0, file_wait_result.called); in SimpleFileWait()
77 file_wait_result.called = 0; in SimpleFileWait()
84 EXPECT_EQ(1, file_wait_result.called); in SimpleFileWait()
134 file_wait_result.called = 0; in TEST()
139 EXPECT_EQ(file_wait_result.called, 1); in TEST()
158 file_wait_result.called = 0; in TEST()
[all …]
/external/libbrillo/brillo/message_loops/
Dmessage_loop_unittest.cc86 bool called = false; in TYPED_TEST() local
87 TaskId task_id = this->loop_->PostTask(FROM_HERE, Bind(&SetToTrue, &called)); in TYPED_TEST()
90 EXPECT_TRUE(called); in TYPED_TEST()
95 bool called = false; in TYPED_TEST() local
96 TaskId task_id = this->loop_->PostTask(FROM_HERE, Bind(&SetToTrue, &called)); in TYPED_TEST()
99 EXPECT_FALSE(called); in TYPED_TEST()
105 bool called = false; in TYPED_TEST() local
107 FROM_HERE, Bind(&SetToTrue, &called), TimeDelta::FromMilliseconds(50)); in TYPED_TEST()
111 Bind(&ReturnBool, &called)); in TYPED_TEST()
114 EXPECT_TRUE(called); in TYPED_TEST()
[all …]
/external/v8/tools/clang/plugins/tests/
Dipc.txt1 ipc.cpp:83:26: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'size_t'.
4 ipc.cpp:107:24: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'long'.
7 ipc.cpp:135:29: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'size_t'.
10 ipc.cpp:145:29: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'time_t'.
13 ipc.cpp:156:27: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'long'.
16 ipc.cpp:162:29: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'clock_t'.
68 ipc.cpp:216:3: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'long'.
74 ipc.cpp:217:3: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'unsigned long…
80 ipc.cpp:218:3: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'intmax_t'.
86 ipc.cpp:219:3: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'uintmax_t'.
[all …]
/external/googletest/googlemock/test/
Dgmock_output_test_golden.txt24 Expected to be called twice, but has only 1 WillOnce().
41 Expected: to be called once
42 Actual: never called - unsatisfied and active
54 Expected: to be called once
55 Actual: never called - unsatisfied and active
59 Mock function called more times than expected - returning default value.
62 Expected: to be called once
63 Actual: called twice - over-saturated and active
67 Mock function called more times than expected - returning directly.
69 Expected: to be called once
[all …]
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
Ddependency_manager_unittest.py62 self.assertFalse(dep_info.Update.called)
82 self.assertFalse(dep_info1.Update.called)
83 self.assertFalse(dep_info2.Update.called)
108 self.assertFalse(dep_info1.Update.called)
109 self.assertFalse(dep_info2.Update.called)
110 self.assertFalse(dep_info3.Update.called)
155 self.assertFalse(dep_info.Update.called)
156 self.assertFalse(dep_info_a.Update.called)
157 self.assertFalse(dep_info_b.Update.called)
158 self.assertFalse(dep_info_c.Update.called)
[all …]
/external/autotest/client/bin/self-test/tests/
D034-stepper-iterate-out2 --STEPTEST-- step_init called
3 --STEPTEST-- step_test called iteration=1
4 --STEPTEST-- step_test called iteration=2
5 --STEPTEST-- step_test called iteration=3
6 --STEPTEST-- step_test called iteration=4
7 --STEPTEST-- step_test called iteration=5
D044-stepper-boot-iterate-out2 --STEPTEST-- step_init called
3 --STEPTEST-- step_test called iteration=1
6 --STEPTEST-- step_test called iteration=2
9 --STEPTEST-- step_test called iteration=3
12 --STEPTEST-- step_test called iteration=4
15 --STEPTEST-- step_test called iteration=5
/external/libcxx/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/
Dcustom_alloc.pass.cpp19 int called = 0; variable
24 ++called; in my_alloc()
30 ++called; in my_free()
46 assert(called == 0); in main()
48 assert(called == 1); in main()
50 assert(called == 2); in main()
/external/syzkaller/pkg/report/testdata/linux/report/
D2255 [ 32.355327] binder: 3798:3799 ERROR: BC_REGISTER_LOOPER called without request
17 [ 32.418220] binder: 3801:3802 ERROR: BC_REGISTER_LOOPER called without request
27 [ 32.485214] binder: 3805:3806 ERROR: BC_REGISTER_LOOPER called without request
40 [ 32.552349] binder: 3809:3810 ERROR: BC_REGISTER_LOOPER called without request
53 [ 32.619416] binder: 3813:3814 ERROR: BC_REGISTER_LOOPER called without request
67 [ 32.687638] binder: 3817:3818 ERROR: BC_REGISTER_LOOPER called without request
80 [ 32.755770] binder: 3821:3822 ERROR: BC_REGISTER_LOOPER called without request
92 [ 32.824108] binder: 3825:3826 ERROR: BC_REGISTER_LOOPER called without request
104 [ 32.892457] binder: 3829:3830 ERROR: BC_REGISTER_LOOPER called without request
116 [ 32.960817] binder: 3833:3834 ERROR: BC_REGISTER_LOOPER called without request
[all …]
/external/robolectric-shadows/shadows/supportv4/src/test/java/org/robolectric/shadows/support/v4/
DShadowLocalBroadcastManagerTest.java38 final boolean[] called = new boolean[1]; in shouldSendBroadcasts()
42 called[0] = true; in shouldSendBroadcasts()
48 assertFalse(called[0]); in shouldSendBroadcasts()
50 assertTrue(called[0]); in shouldSendBroadcasts()
56 final boolean[] called = new boolean[1]; in shouldSendBroadcastsWithDataScheme()
60 called[0] = true; in shouldSendBroadcastsWithDataScheme()
68 assertFalse(called[0]); in shouldSendBroadcastsWithDataScheme()
70 assertTrue(called[0]); in shouldSendBroadcastsWithDataScheme()
76 final boolean[] called = new boolean[1]; in shouldUnregisterReceiver()
80 called[0] = true; in shouldUnregisterReceiver()
[all …]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/
D23-8.c81 int called = 0; variable
87 called++; in handler()
89 if (called == 2) { in handler()
93 if (called == 1) { in handler()
116 called++; in handler()
153 while (called != 4) in main()
D23-24.c81 int called = 0; variable
87 called++; in handler()
89 if (called == 2) { in handler()
93 if (called == 1) { in handler()
116 called++; in handler()
153 while (called != 4) in main()
D23-26.c81 int called = 0; variable
87 called++; in handler()
89 if (called == 2) { in handler()
93 if (called == 1) { in handler()
116 called++; in handler()
153 while (called != 4) in main()
D23-1.c81 int called = 0; variable
87 called++; in handler()
89 if (called == 2) { in handler()
93 if (called == 1) { in handler()
116 called++; in handler()
153 while (called != 4) in main()
D23-16.c81 int called = 0; variable
87 called++; in handler()
89 if (called == 2) { in handler()
93 if (called == 1) { in handler()
116 called++; in handler()
153 while (called != 4) in main()

12345678910>>...104