Home
last modified time | relevance | path

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

12345678

/external/llvm-project/llvm/test/Transforms/IndVarSimplify/
Deliminate-exit.ll17 ; CHECK-NEXT: call void @side_effect()
33 call void @side_effect()
52 ; CHECK-NEXT: call void @side_effect()
69 call void @side_effect()
89 ; CHECK-NEXT: call void @side_effect()
106 call void @side_effect()
126 ; CHECK-NEXT: call void @side_effect()
143 call void @side_effect()
163 ; CHECK-NEXT: call void @side_effect()
181 call void @side_effect()
[all …]
/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/llvm-project/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/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_command/
Dbktptcmd.py2 import side_effect
8 side_effect.bktptcmd = "function was here"
13 side_effect.fancy = se_string
18 side_effect.fancier = se_string
22 side_effect.not_so_fancy = "Extra args should not be valid"
23 side_effect.not_so_fancy = "Not so fancy"
DTestBreakpointCommandsFromPython.py12 import side_effect
122 side_effect.bktptcmd = None
123 side_effect.callback = None
124 side_effect.fancy = None
125 side_effect.fancier = None
126 side_effect.not_so_fancy = None
140 self.assertEquals("callback was here", side_effect.callback)
141 self.assertEquals("function was here", side_effect.bktptcmd)
142 self.assertEquals("I am fancy", side_effect.fancy)
143 self.assertEquals("I am fancier", side_effect.fancier)
[all …]
DTestBreakpointCommand.py11 import side_effect
113 import side_effect
193 side_effect.one_liner = None
194 side_effect.bktptcmd = None
198 self.assertEquals("one liner was here", side_effect.one_liner)
199 self.assertEquals("function was here", side_effect.bktptcmd)
263 side_effect.frame = None
264 side_effect.bp_loc = None
267 self.expect(side_effect.frame, exe=False, startstr="frame #0:")
268 self.expect(side_effect.bp_loc, exe=False,
/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 …]
/external/llvm-project/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/llvm-project/clang/test/CodeGenCXX/
Dmicrosoft-uuidof.cpp33 void side_effect();
37 GUID thing = (side_effect(), __uuidof(Curly));
44 GUID g = (side_effect(), __uuidof(S1));
96 GUID s1_1 = (side_effect(), __uuidof(S1)); in fun()
102 GUID s1_2 = (side_effect(), __uuidof(S1)); in fun()
108 GUID s1_3 = (side_effect(), __uuidof(s1)); in fun()
/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/llvm-project/lldb/test/API/lang/cpp/operators/
Dmain.cpp3 int side_effect = 0; variable
7 …void *operator new(std::size_t size) { void *p = ::operator new(size); side_effect = 3; return p; } in operator new()
8 …void *operator new[](std::size_t size) { void *p = ::operator new(size); side_effect = 4; return p… in operator new[]()
9 void operator delete(void *p) { std::free(p); side_effect = 1; } in operator delete()
10 void operator delete[](void *p) { std::free(p); side_effect = 2; } in operator delete[]()
/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/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dmodernize-use-nullptr.cpp30 void side_effect() {} in side_effect() function
36 side_effect(); \
46 side_effect(); in test_macro_expansion1()
57 side_effect(); in test_macro_expansion2()
67 side_effect(); in test_macro_expansion3()
71 side_effect(); in test_macro_expansion3()
147 #define decorate(EXPR) side_effect(); EXPR; in test_macro_args()
/external/autotest/server/cros/crosperf/
Ddevice_setup_utils_unittest.py312 mock_run_command.side_effect = run_command
329 mock_run_command.side_effect = AssertionError
382 mock_run_command.side_effect = [
396 mock_run_command.side_effect = [
410 mock_run_command.side_effect = [
423 mock_run_command.side_effect = [
436 mock_run_command.side_effect = [
450 mock_run_command.side_effect = [
481 mock_run_command.side_effect = [
504 mock_run_command.side_effect = [
[all …]
/external/python/mock/mock/tests/
Dtestmock.py116 mock.mock.side_effect = TypeError()
173 mock.side_effect = effect
180 mock.side_effect = effect
185 mock = Mock(side_effect=sentinel.SideEffect)
186 self.assertEqual(mock.side_effect, sentinel.SideEffect,
189 def side_effect(): function
191 mock = Mock(side_effect=side_effect, return_value=sentinel.RETURN)
202 mock.side_effect = [1, 2, 3]
208 mock.side_effect = effect
217 mock.side_effect = ValueError('Bazinga!')
[all …]
/external/llvm-project/lldb/test/API/lang/objc/objc_direct-methods/
Dmain.m3 int side_effect = 0;
23 …//%self.expect_expr("side_effect = 0; [self directCallVoidReturn]; side_effect", result_value="432…
38 side_effect = 4321;
86 …//%self.expect_expr("side_effect = 0; [foo directCallVoidReturn]; side_effect", result_value="4321…
/external/toolchain-utils/cros_utils/
Ddevice_setup_utils_unittest.py272 self.dw.RunCommandOnDut = mock.Mock(side_effect=AssertionError)
311 self.dw.RunCommandOnDut = mock.Mock(side_effect=[
322 self.dw.RunCommandOnDut = mock.Mock(side_effect=[
333 self.dw.RunCommandOnDut = mock.Mock(side_effect=[
344 self.dw.RunCommandOnDut = mock.Mock(side_effect=[
355 self.dw.RunCommandOnDut = mock.Mock(side_effect=[
367 self.dw.RunCommandOnDut = mock.Mock(side_effect=[
385 self.dw.RunCommandOnDut = mock.Mock(side_effect=[
403 self.dw.RunCommandOnDut = mock.Mock(side_effect=[
421 self.dw.RunCommandOnDut = mock.Mock(side_effect=[
[all …]
/external/python/cpython3/Lib/unittest/test/testmock/
Dtestmock.py97 mock.mock.side_effect = TypeError()
154 mock.side_effect = effect
161 mock.side_effect = effect
166 mock = Mock(side_effect=sentinel.SideEffect)
167 self.assertEqual(mock.side_effect, sentinel.SideEffect,
170 def side_effect(): function
172 mock = Mock(side_effect=side_effect, return_value=sentinel.RETURN)
183 mock.side_effect = [1, 2, 3]
189 mock.side_effect = effect
198 mock.side_effect = ValueError('Bazinga!')
[all …]
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_selector_events.py174 self.loop._ssock.recv.side_effect = BlockingIOError
178 self.loop._ssock.recv.side_effect = OSError
182 self.loop._csock.send.side_effect = BlockingIOError
188 self.loop._csock.send.side_effect = RuntimeError()
192 self.loop._selector.get_key.side_effect = KeyError
257 self.loop._selector.get_key.side_effect = KeyError
262 self.loop._selector.get_key.side_effect = KeyError
312 self.loop._selector.get_key.side_effect = KeyError
564 self.protocol.eof_received.side_effect = LookupError()
577 self.protocol.data_received.side_effect = LookupError()
[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/llvm-project/compiler-rt/test/asan/TestCases/
Dspeculative_load.cpp44 inline void side_effect(const void *arg) { in side_effect() function
50 side_effect(&s); // optimizer is too smart otherwise in main()
52 side_effect(ptr); // force use ptr in main()
/external/oss-fuzz/infra/cifuzz/
Daffected_fuzz_targets_test.py58 def test_remove_unaffected_fuzz_targets(self, side_effect, expected_dir_len): argument
67 mocked_get_files.side_effect = side_effect

12345678