Home
last modified time | relevance | path

Searched refs:Return (Results 1 – 25 of 1108) sorted by relevance

12345678910>>...45

/external/webrtc/webrtc/modules/audio_processing/agc/
Dagc_manager_direct_unittest.cc25 using ::testing::Return;
60 EXPECT_CALL(*agc_, GetRmsErrorDb(_)).WillOnce(Return(false)); in FirstProcess()
83 EXPECT_CALL(*agc_, Process(_, _, _)).WillOnce(Return(0)); in CallProcess()
111 .WillOnce(DoAll(SetArgPointee<0>(5), Return(true))); in TEST_F()
116 .WillOnce(DoAll(SetArgPointee<0>(10), Return(true))); in TEST_F()
121 .WillOnce(DoAll(SetArgPointee<0>(11), Return(true))); in TEST_F()
126 .WillOnce(DoAll(SetArgPointee<0>(20), Return(true))); in TEST_F()
132 .WillOnce(DoAll(SetArgPointee<0>(5), Return(true))); in TEST_F()
135 .WillOnce(DoAll(SetArgPointee<0>(0), Return(true))); in TEST_F()
140 .WillOnce(DoAll(SetArgPointee<0>(-1), Return(true))); in TEST_F()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.0/
Dsta_network.h55 Return<void> getId(getId_cb _hidl_cb) override;
56 Return<void> getInterfaceName(getInterfaceName_cb _hidl_cb) override;
57 Return<void> getType(getType_cb _hidl_cb) override;
58 Return<void> registerCallback(
61 Return<void> setSsid(
63 Return<void> setBssid(
65 Return<void> setScanSsid(bool enable, setScanSsid_cb _hidl_cb) override;
66 Return<void> setKeyMgmt(
68 Return<void> setProto(
70 Return<void> setAuthAlg(
[all …]
Dsta_iface.h65 Return<void> getName(getName_cb _hidl_cb) override;
66 Return<void> getType(getType_cb _hidl_cb) override;
67 Return<void> addNetwork(addNetwork_cb _hidl_cb) override;
68 Return<void> removeNetwork(
70 Return<void> getNetwork(
72 Return<void> listNetworks(listNetworks_cb _hidl_cb) override;
73 Return<void> registerCallback(
76 Return<void> reassociate(reassociate_cb _hidl_cb) override;
77 Return<void> reconnect(reconnect_cb _hidl_cb) override;
78 Return<void> disconnect(disconnect_cb _hidl_cb) override;
[all …]
Dp2p_iface.h55 Return<void> getName(getName_cb _hidl_cb) override;
56 Return<void> getType(getType_cb _hidl_cb) override;
57 Return<void> addNetwork(addNetwork_cb _hidl_cb) override;
58 Return<void> removeNetwork(
60 Return<void> getNetwork(
62 Return<void> listNetworks(listNetworks_cb _hidl_cb) override;
63 Return<void> registerCallback(
66 Return<void> getDeviceAddress(getDeviceAddress_cb _hidl_cb) override;
67 Return<void> setSsidPostfix(
70 Return<void> setGroupIdle(
[all …]
/external/google-breakpad/src/common/dwarf/
Ddwarf2diehandler_unittest.cc50 using ::testing::Return;
114 .WillOnce(Return(false)); in TEST()
133 .WillOnce(Return(true)); in TEST()
137 .WillOnce(Return(false)); in TEST()
160 .WillOnce(Return(true)); in TEST()
163 .WillOnce(Return(true)); in TEST()
166 .WillOnce(Return(false)); in TEST()
168 .WillOnce(Return()); in TEST()
200 .WillOnce(Return(true)); in TEST()
205 .WillOnce(Return(true)); in TEST()
[all …]
Ddwarf2reader_cfi_unittest.cc82 using testing::Return;
209 .WillOnce(Return()); in TEST_F()
234 .WillOnce(Return()); in TEST_F()
258 .WillOnce(Return()); in TEST_F()
284 .WillOnce(Return()); in TEST_F()
334 .WillOnce(Return(true)); in TEST_F()
335 EXPECT_CALL(handler, End()).WillOnce(Return(true)); in TEST_F()
370 .WillOnce(Return(true)); in TEST_F()
371 EXPECT_CALL(handler, End()).WillOnce(Return(true)); in TEST_F()
377 .WillOnce(Return(true)); in TEST_F()
[all …]
/external/libbrillo/brillo/http/
Dhttp_transport_curl_unittest.cc19 using testing::Return;
35 EXPECT_CALL(*curl_api_, EasyInit()).WillOnce(Return(handle_)); in SetUp()
37 .WillOnce(Return(CURLE_OK)); in SetUp()
39 .WillOnce(Return(CURLE_OK)); in SetUp()
41 .WillOnce(Return(CURLE_OK)); in SetUp()
43 .WillRepeatedly(Return(CURLE_OK)); in SetUp()
60 .WillOnce(Return(CURLE_OK)); in TEST_F()
63 .WillOnce(Return(CURLE_OK)); in TEST_F()
66 .WillOnce(Return(CURLE_OK)); in TEST_F()
68 .WillOnce(Return(CURLE_OK)); in TEST_F()
[all …]
Dhttp_connection_curl_unittest.cc24 using testing::Return;
156 .WillOnce(Return(CURLE_OK)); in SetUp()
186 .WillOnce(Return(CURLE_OK)); in TEST_F()
188 .WillOnce(Return(CURLE_OK)); in TEST_F()
194 .WillOnce(Return(CURLE_OK)); in TEST_F()
197 .WillOnce(Return(CURLE_OK)); in TEST_F()
199 .WillOnce(Return(CURLE_OK)); in TEST_F()
202 .WillOnce(Return(CURLE_OK)); in TEST_F()
205 .WillOnce(Return(CURLE_OK)); in TEST_F()
207 .WillOnce(Return(CURLE_OK)); in TEST_F()
[all …]
/external/google-breakpad/src/common/
Dstabs_reader_unittest.cc55 using ::testing::Return;
296 .WillOnce(Return(true)); in TEST_F()
298 .WillOnce(Return(true)); in TEST_F()
301 .WillOnce(Return(true)); in TEST_F()
304 .WillOnce(Return(true)); in TEST_F()
306 .WillOnce(Return(true)); in TEST_F()
308 .WillOnce(Return(true)); in TEST_F()
311 .WillOnce(Return(true)); in TEST_F()
314 .WillOnce(Return(true)); in TEST_F()
316 .WillOnce(Return(true)); in TEST_F()
[all …]
/external/webrtc/webrtc/modules/pacing/
Dpacket_router_unittest.cc24 using ::testing::Return;
47 EXPECT_CALL(rtp_1, SendingMedia()).Times(1).WillOnce(Return(true)); in TEST_F()
48 EXPECT_CALL(rtp_1, SSRC()).Times(1).WillOnce(Return(kSsrc1)); in TEST_F()
52 .WillOnce(Return(true)); in TEST_F()
62 EXPECT_CALL(rtp_1, SendingMedia()).Times(1).WillOnce(Return(false)); in TEST_F()
63 EXPECT_CALL(rtp_2, SendingMedia()).Times(1).WillOnce(Return(true)); in TEST_F()
64 EXPECT_CALL(rtp_2, SSRC()).Times(1).WillOnce(Return(kSsrc2)); in TEST_F()
69 .WillOnce(Return(true)); in TEST_F()
74 EXPECT_CALL(rtp_1, SendingMedia()).Times(1).WillOnce(Return(false)); in TEST_F()
76 EXPECT_CALL(rtp_2, SendingMedia()).Times(1).WillOnce(Return(false)); in TEST_F()
[all …]
/external/v8/testing/gmock/test/
Dgmock-generated-function-mockers_test.cc71 using testing::Return;
200 .WillOnce(Return(1)); in TEST_F()
210 .WillOnce(Return(true)); in TEST_F()
219 .WillOnce(Return(3)); in TEST_F()
228 .WillOnce(Return(5)); in TEST_F()
237 .WillOnce(Return(true)); in TEST_F()
246 .WillOnce(Return("Hello")); in TEST_F()
264 .WillOnce(Return(1)); in TEST_F()
266 .WillOnce(Return(2)); in TEST_F()
275 .WillOnce(Return(1)); in TEST_F()
[all …]
Dgmock-spec-builders_test.cc91 using testing::Return;
211 ON_CALL(cc, Method()).WillByDefault(Return(42)); in TEST()
225 EXPECT_CALL(cc, Method()).WillOnce(Return(42)); in TEST()
255 .WillByDefault(Return()); in TEST()
258 .WillByDefault(Return()); in TEST()
268 .WillByDefault(Return(Result())); in TEST()
286 .WillByDefault(Return()) in TEST()
287 .WillByDefault(Return()); in TEST()
348 .WillOnce(Return()) in TEST()
359 .WillOnce(Return()); in TEST()
[all …]
Dgmock_link_test.h164 using testing::Return;
245 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(Return()); in TEST()
254 EXPECT_CALL(mock, StringFromString(_)).WillOnce(Return(&ch)); in TEST()
262 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(Return()); in TEST()
374 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(WithoutArgs(Return())); in TEST()
384 .WillOnce(DoAll(SetArgPointee<0>('y'), Return())); in TEST()
393 ON_CALL(mock, VoidFromString(_)).WillByDefault(Return()); in TEST()
402 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(IgnoreResult(Return(42))); in TEST()
474 ON_CALL(mock, VoidFromString(_)).WillByDefault(Return()); in TEST()
481 ON_CALL(mock, VoidFromString(A<char*>())).WillByDefault(Return()); in TEST()
[all …]
/external/googletest/googlemock/test/
Dgmock-generated-function-mockers_test.cc70 using testing::Return;
202 .WillOnce(Return(1)); in TEST_F()
212 .WillOnce(Return(true)); in TEST_F()
221 .WillOnce(Return(3)); in TEST_F()
230 .WillOnce(Return(5)); in TEST_F()
239 .WillOnce(Return(true)); in TEST_F()
248 .WillOnce(Return("Hello")); in TEST_F()
266 .WillOnce(Return(1)); in TEST_F()
268 .WillOnce(Return(2)); in TEST_F()
277 .WillOnce(Return(1)); in TEST_F()
[all …]
Dgmock-spec-builders_test.cc91 using testing::Return;
210 ON_CALL(cc, Method()).WillByDefault(Return(42)); in TEST()
224 EXPECT_CALL(cc, Method()).WillOnce(Return(42)); in TEST()
254 .WillByDefault(Return()); in TEST()
257 .WillByDefault(Return()); in TEST()
267 .WillByDefault(Return(Result())); in TEST()
285 .WillByDefault(Return()) in TEST()
286 .WillByDefault(Return()); in TEST()
347 .WillOnce(Return()) in TEST()
358 .WillOnce(Return()); in TEST()
[all …]
Dgmock_link_test.h164 using testing::Return;
245 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(Return()); in TEST()
254 EXPECT_CALL(mock, StringFromString(_)).WillOnce(Return(&ch)); in TEST()
262 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(Return()); in TEST()
374 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(WithoutArgs(Return())); in TEST()
384 .WillOnce(DoAll(SetArgPointee<0>('y'), Return())); in TEST()
393 ON_CALL(mock, VoidFromString(_)).WillByDefault(Return()); in TEST()
402 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(IgnoreResult(Return(42))); in TEST()
474 ON_CALL(mock, VoidFromString(_)).WillByDefault(Return()); in TEST()
481 ON_CALL(mock, VoidFromString(A<char*>())).WillByDefault(Return()); in TEST()
[all …]
/external/google-breakpad/src/testing/test/
Dgmock-generated-function-mockers_test.cc71 using testing::Return;
177 .WillOnce(Return(1)); in TEST_F()
187 .WillOnce(Return(true)); in TEST_F()
196 .WillOnce(Return(3)); in TEST_F()
205 .WillOnce(Return(5)); in TEST_F()
214 .WillOnce(Return(true)); in TEST_F()
223 .WillOnce(Return("Hello")); in TEST_F()
241 .WillOnce(Return(1)); in TEST_F()
243 .WillOnce(Return(2)); in TEST_F()
252 .WillOnce(Return(1)); in TEST_F()
[all …]
Dgmock-spec-builders_test.cc89 using testing::Return;
203 ON_CALL(cc, Method()).WillByDefault(Return(42)); in TEST()
217 EXPECT_CALL(cc, Method()).WillOnce(Return(42)); in TEST()
247 .WillByDefault(Return()); in TEST()
250 .WillByDefault(Return()); in TEST()
260 .WillByDefault(Return(Result())); in TEST()
278 .WillByDefault(Return()) in TEST()
279 .WillByDefault(Return()); in TEST()
340 .WillOnce(Return()) in TEST()
351 .WillOnce(Return()); in TEST()
[all …]
Dgmock_link_test.h164 using testing::Return;
245 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(Return()); in TEST()
254 EXPECT_CALL(mock, StringFromString(_)).WillOnce(Return(&ch)); in TEST()
262 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(Return()); in TEST()
374 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(WithoutArgs(Return())); in TEST()
384 .WillOnce(DoAll(SetArgPointee<0>('y'), Return())); in TEST()
393 ON_CALL(mock, VoidFromString(_)).WillByDefault(Return()); in TEST()
402 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(IgnoreResult(Return(42))); in TEST()
474 ON_CALL(mock, VoidFromString(_)).WillByDefault(Return()); in TEST()
481 ON_CALL(mock, VoidFromString(A<char*>())).WillByDefault(Return()); in TEST()
[all …]
/external/python/cpython2/Doc/library/
Dsymtable.rst26 Return the toplevel :class:`SymbolTable` for the Python source *code*.
40 Return the type of the symbol table. Possible values are ``'class'``,
45 Return the table's identifier.
49 Return the table's name. This is the name of the class if the table is
55 Return the number of the first line in the block this table represents.
59 Return ``True`` if the locals in this table can be optimized.
63 Return ``True`` if the block is a nested class or function.
67 Return ``True`` if the block has nested namespaces within it. These can
72 Return ``True`` if the block uses ``exec``.
76 Return ``True`` if the block uses a starred from-import.
[all …]
/external/libbrillo/brillo/streams/
Dstream_unittest.cc19 using testing::Return;
76 EXPECT_CALL(stream_mock, GetPosition()).WillOnce(Return(123)); in TEST()
77 EXPECT_CALL(stream_mock, SetSizeBlocking(123, _)).WillOnce(Return(true)); in TEST()
84 .WillOnce(Return(true)); in TEST()
91 .WillOnce(Return(true)); in TEST()
119 DoAll(SetArgPointee<2>(0), SetArgPointee<3>(false), Return(true))); in TEST()
121 .WillOnce(DoAll(SaveArg<1>(&data_callback), Return(true))); in TEST()
155 Return(true))); in TEST()
178 DoAll(SetArgPointee<2>(5), SetArgPointee<3>(false), Return(true))); in TEST()
227 DoAll(SetArgPointee<2>(0), SetArgPointee<3>(false), Return(true))); in TEST()
[all …]
Dmemory_containers_unittest.cc18 using testing::Return;
69 EXPECT_CALL(container_, GetSize()).WillOnce(Return(100)); in TEST_F()
71 .WillOnce(Return(const_buffer_)); in TEST_F()
85 EXPECT_CALL(container_, GetSize()).WillOnce(Return(100)); in TEST_F()
87 .WillOnce(Return(const_buffer_)); in TEST_F()
97 EXPECT_CALL(container_, GetSize()).WillOnce(Return(100)); in TEST_F()
110 EXPECT_CALL(container_, GetSize()).WillOnce(Return(100)); in TEST_F()
112 .WillOnce(DoAll(WithArgs<1>(Invoke(OnReadError)), Return(nullptr))); in TEST_F()
127 EXPECT_CALL(container_, GetSize()).WillOnce(Return(100)); in TEST_F()
129 .WillOnce(Return(buffer_)); in TEST_F()
[all …]
Dinput_stream_set_unittest.cc16 using testing::Return;
69 EXPECT_CALL(*itf1_, CanGetSize()).WillOnce(Return(true)); in TEST_F()
70 EXPECT_CALL(*itf2_, CanGetSize()).WillOnce(Return(true)); in TEST_F()
75 .WillOnce(Return(false)); in TEST_F()
83 EXPECT_CALL(*itf1_, CanGetSize()).WillOnce(Return(true)); in TEST_F()
84 EXPECT_CALL(*itf2_, CanGetSize()).WillOnce(Return(true)); in TEST_F()
87 EXPECT_CALL(*itf1_, CanGetSize()).WillOnce(Return(false)); in TEST_F()
90 EXPECT_CALL(*itf1_, CanGetSize()).WillOnce(Return(true)); in TEST_F()
91 EXPECT_CALL(*itf2_, CanGetSize()).WillOnce(Return(false)); in TEST_F()
96 EXPECT_CALL(*itf1_, GetRemainingSize()).WillOnce(Return(10)); in TEST_F()
[all …]
/external/webrtc/webrtc/modules/audio_coding/codecs/cng/
Daudio_encoder_cng_unittest.cc19 using ::testing::Return;
43 EXPECT_CALL(mock_encoder_, NumChannels()).WillRepeatedly(Return(1)); in AudioEncoderCngTest()
65 .WillRepeatedly(Return(sample_rate_hz_)); in CreateCng()
69 EXPECT_CALL(mock_encoder_, Max10MsFramesInAPacket()).WillOnce(Return(1u)); in CreateCng()
71 .WillRepeatedly(Return(kMockMaxEncodedBytes)); in CreateCng()
93 .WillOnce(Return(info)); in ExpectEncodeCalls()
97 .WillOnce(Return(info)); in ExpectEncodeCalls()
105 .WillRepeatedly(Return(blocks_per_frame)); in CheckBlockGrouping()
108 .WillRepeatedly(Return(active_speech ? Vad::kActive : Vad::kPassive)); in CheckBlockGrouping()
136 .WillRepeatedly(Return(blocks_per_frame)); in CheckVadInputSize()
[all …]
/external/google-breakpad/src/processor/
Dminidump_processor_unittest.cc170 using ::testing::Return;
333 EXPECT_CALL(dump, path()).WillRepeatedly(Return("mock minidump")); in TEST_F()
334 EXPECT_CALL(dump, Read()).WillRepeatedly(Return(true)); in TEST_F()
339 WillOnce(Return(reinterpret_cast<MDRawHeader*>(NULL))). in TEST_F()
340 WillRepeatedly(Return(&fakeHeader)); in TEST_F()
346 WillOnce(Return(reinterpret_cast<MinidumpThreadList*>(NULL))); in TEST_F()
348 WillRepeatedly(Return(reinterpret_cast<MinidumpSystemInfo*>(NULL))); in TEST_F()
367 _, _, _, _)).WillOnce(Return(SymbolSupplier::NOT_FOUND)); in TEST_F()
371 _, _, _, _)).WillRepeatedly(Return(SymbolSupplier::NOT_FOUND)); in TEST_F()
385 _, _, _, _)).WillOnce(Return(SymbolSupplier::NOT_FOUND)); in TEST_F()
[all …]

12345678910>>...45