Home
last modified time | relevance | path

Searched refs:side_effect (Results 1 – 25 of 135) sorted by relevance

123456

/external/llvm/test/Transforms/JumpThreading/
Dimplied-cond.ll3 declare void @side_effect(i32)
8 call void @side_effect(i32 0)
18 ; CHECK: call void @side_effect
20 ; CHECK: call void @side_effect
21 call void @side_effect(i32 0)
26 call void @side_effect(i32 0)
31 call void @side_effect(i32 %t)
38 call void @side_effect(i32 0)
48 ; CHECK: call void @side_effect
50 ; CHECK: call void @side_effect
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/JumpThreading/
Dimplied-cond.ll3 declare void @side_effect(i32)
8 call void @side_effect(i32 0)
18 ; CHECK: call void @side_effect
20 ; CHECK: call void @side_effect
21 call void @side_effect(i32 0)
26 call void @side_effect(i32 0)
31 call void @side_effect(i32 %t)
38 call void @side_effect(i32 0)
48 ; CHECK: call void @side_effect
50 ; CHECK: call void @side_effect
[all …]
/external/python/cpython3/Lib/test/
Dtest_code_module.py35 self.infunc.side_effect = EOFError('Finished')
43 self.infunc.side_effect = EOFError('Finished')
51 self.infunc.side_effect = ["'antioch'", "", EOFError('Finished')]
60 self.infunc.side_effect = ["undefined", EOFError('Finished')]
69 self.infunc.side_effect = ["raise ValueError('')",
78 self.infunc.side_effect = EOFError('Finished')
86 self.infunc.side_effect = EOFError('Finished')
92 self.infunc.side_effect = EOFError('Finished')
101 self.infunc.side_effect = EOFError('Finished')
110 self.infunc.side_effect = EOFError('Finished')
[all …]
Dtest_finalization.py78 self.side_effect()
82 def side_effect(self): member in NonGCSimpleBase
103 def side_effect(self): member in NonGCResurrector
227 def side_effect(self): member in SuicidalSelfCycle
324 def side_effect(self): member in SuicidalChained
430 self.side_effect()
441 def side_effect(self): member in LegacyResurrector
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/ScalarEvolution/
Dlatch-dominating-conditions.ll3 declare void @side_effect(i1)
16 ; CHECK: call void @side_effect(i1 true)
17 call void @side_effect(i1 %folds.to.true)
22 ; CHECK: call void @side_effect(i1 true)
23 call void @side_effect(i1 %folds.to.true)
42 ; CHECK: call void @side_effect(i1 %does.not.fold.to.true)
43 call void @side_effect(i1 %does.not.fold.to.true)
48 ; CHECK: call void @side_effect(i1 %does.not.fold.to.true)
49 call void @side_effect(i1 %does.not.fold.to.true)
/external/llvm/test/Analysis/ScalarEvolution/
Dlatch-dominating-conditions.ll3 declare void @side_effect(i1)
16 ; CHECK: call void @side_effect(i1 true)
17 call void @side_effect(i1 %folds.to.true)
22 ; CHECK: call void @side_effect(i1 true)
23 call void @side_effect(i1 %folds.to.true)
42 ; CHECK: call void @side_effect(i1 %does.not.fold.to.true)
43 call void @side_effect(i1 %does.not.fold.to.true)
48 ; CHECK: call void @side_effect(i1 %does.not.fold.to.true)
49 call void @side_effect(i1 %does.not.fold.to.true)
/external/autotest/client/cros/video/
Dhistogram_verifier_unittest.py92 self.sleep_mock.side_effect = [True, True, False]
106 self.differ.end.side_effect = [{self.bucket_name:1}]
115 self.differ.end.side_effect = [{}, {self.bucket_name:1}]
123 self.differ.end.side_effect = [{self.bucket_name:1, 'unexpected':1}]
135 self.differ.end.side_effect = [{}, {}]
148 self.differ.end.side_effect = [{}, {}, {self.bucket_name: 1}]
163 self.differ.end.side_effect = [{self.bucket_name:1}]
173 self.differ.end.side_effect = [{}, {}, {}]
227 side_effect = [
244 side_effect = [
/external/avb/test/
Dat_auth_unlock_unittest.py334 mock_subp_check_output.side_effect = makeFastbootCommandFake(self)
342 mock_subp_check_output.side_effect = makeFastbootCommandFake(
349 mock_subp_check_output.side_effect = makeFastbootCommandFake(self)
363 mock_subp_check_output.side_effect = makeFastbootCommandFake(
372 mock_subp_check_output.side_effect = makeFastbootCommandFake(
382 mock_subp_check_output.side_effect = makeFastbootCommandFake(
395 mock_subp_check_output.side_effect = makeFastbootCommandFake(self)
410 mock_subp_check_output.side_effect = makeFastbootCommandFake(self)
429 mock_subp_check_output.side_effect = makeFastbootCommandFake(self)
450 mock_subp_check_output.side_effect = makeFastbootCommandFake(self)
[all …]
/external/python/cpython3/Lib/unittest/test/testmock/
Dtestmock.py137 mock.side_effect = effect
144 mock.side_effect = effect
149 mock = Mock(side_effect=sentinel.SideEffect)
150 self.assertEqual(mock.side_effect, sentinel.SideEffect,
153 def side_effect(): function
155 mock = Mock(side_effect=side_effect, return_value=sentinel.RETURN)
167 mock.side_effect = [1, 2, 3]
173 mock.side_effect = effect
183 mock.side_effect = ValueError('Bazinga!')
190 mock = Mock(side_effect=java.lang.RuntimeException("Boom!"))
[all …]
/external/python/oauth2client/tests/contrib/
Dtest_locked_file.py88 mock_open.side_effect = [IOError(errno.ENOENT, '')]
98 mock_open.side_effect = [IOError(errno.EACCES, ''), fh_mock]
109 mock_os_open.side_effect = [OSError(errno.EPERM, '')]
119 mock_time.side_effect = [0, 10]
123 mock_os_open.side_effect = [OSError(errno.EEXIST, '')]
134 mock_time.side_effect = [0, 10]
137 mock_open.side_effect = [IOError(errno.ENOENT, ''), fh_mock]
141 mock_os_open.side_effect = [OSError(errno.EEXIST, '')]
154 mock_time.side_effect = [0, 1]
158 mock_os_open.side_effect = [
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_selector_events.py171 self.loop._ssock.recv.side_effect = BlockingIOError
175 self.loop._ssock.recv.side_effect = OSError
179 self.loop._csock.send.side_effect = BlockingIOError
185 self.loop._csock.send.side_effect = RuntimeError()
205 sock.recv.side_effect = BlockingIOError
221 sock.recv.side_effect = OSError(9)
253 sock.recv.side_effect = BlockingIOError
264 err = sock.recv.side_effect = OSError()
300 sock.send.side_effect = BlockingIOError
315 sock.send.side_effect = OSError(9)
[all …]
Dtest_proactor_events.py85 err = self.loop._proactor.recv.side_effect = ConnectionAbortedError()
95 self.loop._proactor.recv.side_effect = ConnectionAbortedError()
104 self.loop._proactor.recv.side_effect = ConnectionAbortedError()
112 err = self.loop._proactor.recv.side_effect = ConnectionResetError()
123 err = self.loop._proactor.recv.side_effect = (OSError())
162 err = self.loop._proactor.send.side_effect = OSError()
355 self.loop._proactor.recv.side_effect = futures
484 self.protocol.get_buffer.side_effect = lambda hint: self.buf
515 self.protocol.get_buffer.side_effect = LookupError()
528 self.protocol.get_buffer.side_effect = lambda hint: bytearray(0)
[all …]
/external/autotest/client/common_lib/cros/
Dgs_cache_client_unittest.py62 @mock.patch('time.time', side_effect=itertools.cycle([0, 400]))
68 m.side_effect = error.CmdError('cmd', mock.MagicMock(exit_status=1))
73 m.side_effect = error.CmdError('cmd', mock.MagicMock(
80 m.side_effect = None
87 @mock.patch('time.time', side_effect=itertools.cycle([0, 400]))
101 m.side_effect = requests.ConnectionError('Gs Cache is not running.')
155 side_effect=gs_cache_client.CommunicationError()
/external/python/mock/mock/tests/
Dtestmock.py161 mock.side_effect = effect
168 mock.side_effect = effect
173 mock = Mock(side_effect=sentinel.SideEffect)
174 self.assertEqual(mock.side_effect, sentinel.SideEffect,
177 def side_effect(): function
179 mock = Mock(side_effect=side_effect, return_value=sentinel.RETURN)
191 mock.side_effect = [1, 2, 3]
197 mock.side_effect = effect
207 mock.side_effect = ValueError('Bazinga!')
214 mock = Mock(side_effect=java.lang.RuntimeException("Boom!"))
[all …]
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
Dcloud_storage_info_unittest.py136 cs_get_mock.side_effect = _GetIfHashChangedMock
147 cs_get_mock.side_effect = [True] # pylint: disable=redefined-variable-type
160 cs_get_mock.side_effect = _GetIfHashChangedMock
171 unzip_mock.side_effect = _UnzipFileMock
215 cs_get_mock.side_effect = cloud_storage.CloudStorageError
219 cs_get_mock.side_effect = cloud_storage.ServerError
223 cs_get_mock.side_effect = cloud_storage.NotFoundError
227 cs_get_mock.side_effect = cloud_storage.PermissionError
231 cs_get_mock.side_effect = cloud_storage.CredentialsError
/external/compiler-rt/test/asan/TestCases/
Dspeculative_load.cc40 inline void side_effect(const void *arg) { in side_effect() function
46 side_effect(&s); // optimizer is too smart otherwise in main()
48 side_effect(ptr); // force use ptr in main()
/external/autotest/site_utils/
Dautomated_deploy_unittest.py52 run_cmd.side_effect = [self.GIT_LOG_FOR_COMMITS, None, self.PUSH_LOG]
67 run_cmd.side_effect = [self.GIT_LOG_FOR_COMMITS, None, self.PUSH_LOG]
84 run_cmd.side_effect = [self.GIT_LOG_FOR_COMMITS, None, self.PUSH_LOG]
95 run_cmd.side_effect = [self.GIT_LOG_FOR_COMMITS, None,
/external/chromium-trace/catapult/devil/devil/
Ddevil_env_test.py31 mock.Mock(side_effect=lambda _env_var: None)):
37 mock.Mock(side_effect=lambda _env_var: None)):
46 mock.Mock(side_effect=mock_environment)):
/external/tensorflow/tensorflow/python/debug/cli/
Devaluator_test.py154 dump, "get_tensors", side_effect=fake_get_tensors, autospec=True):
171 dump, "get_tensors", side_effect=fake_get_tensors, autospec=True):
185 dump, "get_tensors", side_effect=fake_get_tensors, autospec=True):
207 dump, "get_tensors", side_effect=fake_get_tensors, autospec=True):
227 dump, "get_tensors", side_effect=fake_get_tensors, autospec=True):
241 dump, "get_tensors", side_effect=fake_get_tensors, autospec=True):
/external/llvm/test/Transforms/IndVarSimplify/
Deliminate-comparison.ll213 declare void @side_effect()
226 call void @side_effect()
233 call void @side_effect()
254 call void @side_effect()
261 call void @side_effect()
280 call void @side_effect()
287 call void @side_effect()
308 call void @side_effect()
316 call void @side_effect()
338 call void @side_effect()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/IndVarSimplify/
Deliminate-comparison.ll213 declare void @side_effect()
226 call void @side_effect()
233 call void @side_effect()
254 call void @side_effect()
261 call void @side_effect()
280 call void @side_effect()
287 call void @side_effect()
308 call void @side_effect()
316 call void @side_effect()
338 call void @side_effect()
[all …]
/external/tensorflow/tensorflow/contrib/learn/python/learn/datasets/
Dbase_test.py34 mock_urllib.request.urlretrieve.side_effect = [
49 mock_urllib.request.urlretrieve.side_effect = [
70 mock_urllib.request.urlretrieve.side_effect = [
/external/autotest/server/hosts/
Dcros_repair_unittest.py356 mock_host.run.side_effect = [
367 mock_time.side_effect = itertools.count(0, 20)
379 mock_time.side_effect = itertools.count(0, 20)
381 mock_host.run.side_effect = itertools.cycle([
395 mock_time.side_effect = itertools.count(0, 20)
397 mock_host.run.side_effect = error.AutoservRunError('test', None)
/external/clang/test/SemaCXX/
Dms-const-member-expr.cpp15 S *side_effect(); // expected-note{{declared here}}
17 side_effect()->E; // expected-note{{cannot be used in a constant expression}}
/external/python/cpython3/Lib/distutils/tests/
Dtest_file_util.py65 with patch("os.rename", side_effect=OSError("wrong", 1)), \
73 with patch("os.rename", side_effect=OSError(errno.EXDEV, "wrong")), \
74 patch("os.unlink", side_effect=OSError("wrong", 1)), \
107 with patch("os.link", side_effect=OSError(0, "linking unsupported")):

123456