Home
last modified time | relevance | path

Searched refs:call_list (Results 1 – 15 of 15) sorted by relevance

/external/u-boot/tools/
Dproftool.c56 struct trace_call *call_list; variable
214 call_list = (struct trace_call *)calloc(count, sizeof(*call_data)); in read_calls()
215 if (!call_list) { in read_calls()
221 call_data = call_list; in read_calls()
502 for (i = 0, call = call_list; i < call_count; i++, call++) { in make_ftrace()
/external/python/mock/mock/tests/
Dtestmock.py912 call.foo.bar().baz().call_list())
928 self.assertEqual(mock.mock_calls, call(1)(2)(3).call_list())
929 self.assertEqual(mock().mock_calls, call(2)(3).call_list())
930 self.assertEqual(mock()().mock_calls, call(3).call_list())
935 call(1)(2)(3).a.b.c(4).call_list())
937 call(2)(3).a.b.c(4).call_list())
939 call(3).a.b.c(4).call_list())
946 call.foo.bar().baz().__int__().call_list())
948 call.baz().__int__().call_list())
950 call().__int__().call_list())
[all …]
Dtesthelpers.py273 self.assertEqual(mock.mock_calls, last_call.call_list())
279 self.assertEqual(call(1).call_list(), mock.mock_calls)
283 self.assertEqual(call(1).method(2).call_list(),
288 self.assertEqual(call(1).method(2)(3).call_list(),
294 self.assertEqual(kall.call_list(), mock.mock_calls)
/external/python/cpython3/Lib/unittest/test/testmock/
Dtestmock.py1000 call.foo.bar().baz().call_list())
1016 self.assertEqual(mock.mock_calls, call(1)(2)(3).call_list())
1017 self.assertEqual(mock().mock_calls, call(2)(3).call_list())
1018 self.assertEqual(mock()().mock_calls, call(3).call_list())
1023 call(1)(2)(3).a.b.c(4).call_list())
1025 call(2)(3).a.b.c(4).call_list())
1027 call(3).a.b.c(4).call_list())
1034 call.foo.bar().baz().__int__().call_list())
1036 call.baz().__int__().call_list())
1038 call().__int__().call_list())
[all …]
Dtesthelpers.py271 self.assertEqual(mock.mock_calls, last_call.call_list())
293 self.assertEqual(call(1).call_list(), mock.mock_calls)
297 self.assertEqual(call(1).method(2).call_list(),
302 self.assertEqual(call(1).method(2)(3).call_list(),
308 self.assertEqual(kall.call_list(), mock.mock_calls)
/external/python/cpython2/Lib/
DSimpleXMLRPCServer.py346 def system_multicall(self, call_list): argument
357 for call in call_list:
Dxmlrpclib.py947 def __init__(self, call_list, name): argument
948 self.__call_list = call_list
/external/python/cpython3/Lib/xmlrpc/
Dserver.py346 def system_multicall(self, call_list): argument
357 for call in call_list:
Dclient.py824 def __init__(self, call_list, name): argument
825 self.__call_list = call_list
/external/python/cpython3/Doc/library/
Dunittest.mock-examples.rst208 >>> expected = call.connection.cursor().execute("SELECT 1").call_list()
214 It is the call to ``.call_list()`` that turns our call object into a list of
513 several entries in ``mock_calls``. We can use :meth:`call.call_list` to create
517 >>> call_list = chained.call_list()
518 >>> assert mock_backend.mock_calls == call_list
1173 >>> calls = call.one().two().three().call_list()
Dunittest.mock.rst1916 .. method:: call.call_list()
1918 For a call object that represents multiple calls, :meth:`call_list`
1922 ``call_list`` is particularly useful for making assertions on "chained calls". A
1927 :meth:`~call.call_list` can construct the sequence of calls from the same
1934 >>> kall.call_list()
1939 >>> m.mock_calls == kall.call_list()
/external/pdfium/third_party/pymock/
Dmock.py2118 def call_list(self): member in _Call
/external/python/cpython2/Lib/test/
D_mock_backport.py2068 def call_list(self): member in _Call
/external/python/cpython3/Lib/unittest/
Dmock.py2132 def call_list(self): member in _Call
/external/python/mock/mock/
Dmock.py2248 def call_list(self): member in _Call