Home
last modified time | relevance | path

Searched refs:call_args (Results 1 – 25 of 30) sorted by relevance

12

/third_party/node/src/
Dinspector_js_api.cc183 SlicedArguments call_args(args, /* start */ 2); in CallAndPauseOnStart() local
187 call_args.length(), call_args.out()); in CallAndPauseOnStart()
198 SlicedArguments call_args(info, /* start */ 2); in InspectorConsoleCall() local
207 call_args.length(), in InspectorConsoleCall()
208 call_args.out()); in InspectorConsoleCall()
219 call_args.length(), in InspectorConsoleCall()
220 call_args.out()).FromMaybe(Local<Value>()); in InspectorConsoleCall()
Dnode_perf.cc333 SlicedArguments call_args(args); in TimerFunctionCall() local
344 ret = fn->NewInstance(context, call_args.length(), call_args.out()) in TimerFunctionCall()
347 ret = fn->Call(context, args.This(), call_args.length(), call_args.out()); in TimerFunctionCall()
/third_party/python/Lib/test/
Dtest_script_helper.py50 popen_command = mock_popen.call_args[0][0]
67 popen_command = mock_popen.call_args[0][0]
111 check_call_command = mock_check_call.call_args[0][0]
Dtest_ensurepip.py100 additional_paths = self.run_pip.call_args[0][1]
320 additional_paths = self.run_pip.call_args[0][1]
Dtest_webbrowser.py42 popen_args = subprocess.Popen.call_args[0][0]
D_test_multiprocessing.py2394 call_args = self.manager.list() if self.TYPE == 'manager' else []
2396 callback=call_args.append,
2397 error_callback=call_args.append).wait()
2398 self.assertEqual(1, len(call_args))
2399 self.assertEqual([1], call_args[0])
2401 callback=call_args.append,
2402 error_callback=call_args.append).wait()
2403 self.assertEqual(2, len(call_args))
2404 self.assertIsInstance(call_args[1], ValueError)
Dtest_compileall.py239 self.assertEqual(pool_mock.call_args[1]['max_workers'], None)
817 self.assertEqual(compile_dir.call_args[-1]['workers'], 0)
Dtest_shutil.py2322 self.assertEqual(m.call_args[0][2], 1 * 1024 * 1024)
2332 self.assertEqual(m.call_args[0][2], 3)
2529 blocksize = m.call_args[0][3]
2539 blocksize = m.call_args[0][3]
/third_party/jerryscript/jerry-core/ecma/builtin-objects/typedarray/
Decma-builtin-typedarray-prototype.c228 ecma_value_t call_args[] = { get_value, current_index, this_arg }; in ecma_builtin_typedarray_prototype_exec_routine() local
230 ecma_value_t call_value = ecma_op_function_call (func_object_p, cb_this_arg, call_args, 3); in ecma_builtin_typedarray_prototype_exec_routine()
476 ecma_value_t call_args[] = { get_value, current_index, this_arg }; in ecma_builtin_typedarray_prototype_map() local
478 ecma_value_t mapped_value = ecma_op_function_call (func_object_p, cb_this_arg, call_args, 3); in ecma_builtin_typedarray_prototype_map()
603 ecma_value_t call_args[] = { accumulator, get_value, current_index, this_arg }; in ecma_builtin_typedarray_prototype_reduce_with_direction() local
609 call_args, in ecma_builtin_typedarray_prototype_reduce_with_direction()
737 ecma_value_t call_args[] = { get_value, current_index, this_arg }; in ecma_builtin_typedarray_prototype_filter() local
739 ecma_value_t call_value = ecma_op_function_call (func_object_p, cb_this_arg, call_args, 3); in ecma_builtin_typedarray_prototype_filter()
1625 ecma_value_t call_args[] = { element_value, ecma_make_uint32_value (buffer_index), this_arg }; in ecma_builtin_typedarray_prototype_find_helper() local
1627 … ecma_value_t call_value = ecma_op_function_call (func_object_p, predicate_this_arg, call_args, 3); in ecma_builtin_typedarray_prototype_find_helper()
/third_party/python/Lib/unittest/test/testmock/
Dtestmock.py68 self.assertEqual(mock.call_args, None,
252 self.assertEqual(mock.call_args, None, "call_args not reset")
295 self.assertEqual(mock.call_args, ((sentinel.Arg,), {}),
297 self.assertEqual(mock.call_args.args, (sentinel.Arg,),
299 self.assertEqual(mock.call_args.kwargs, {},
310 self.assertEqual(mock.call_args,
332 self.assertEqual(mock.call_args,
334 self.assertEqual(mock.call_args.args, (sentinel.Arg,))
335 self.assertEqual(mock.call_args.kwargs, {"kw": sentinel.Kwarg})
339 self.assertFalse(mock.call_args == "a long sequence")
[all …]
Dtesthelpers.py284 self.assertEqual(mock.call_args, call(1, 2, a=3, b=4))
285 self.assertNotEqual(mock.call_args, call(1, 2, 3))
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-array-prototype.c1902 ecma_value_t call_args[] = { get_value, current_index, ecma_make_object_value (obj_p) }; in ecma_builtin_array_apply() local
1904 ecma_value_t call_value = ecma_op_function_call (func_object_p, arg2, call_args, 3); in ecma_builtin_array_apply()
2003 ecma_value_t call_args[] = { current_value, current_index, ecma_make_object_value (obj_p) }; in ecma_builtin_array_prototype_object_map() local
2005 ecma_value_t mapped_value = ecma_op_function_call (func_object_p, arg2, call_args, 3); in ecma_builtin_array_prototype_object_map()
2098 ecma_value_t call_args[] = { get_value, current_index, ecma_make_object_value (obj_p) }; in ecma_builtin_array_prototype_object_filter() local
2100 ecma_value_t call_value = ecma_op_function_call (func_object_p, arg2, call_args, 3); in ecma_builtin_array_prototype_object_filter()
2241 …ecma_value_t call_args[] = {accumulator, current_value, current_index, ecma_make_object_value (obj… in ecma_builtin_array_reduce_from() local
2245 call_args, in ecma_builtin_array_reduce_from()
2399 ecma_value_t call_args[] = { get_value, current_index, ecma_make_object_value (obj_p) }; in ecma_builtin_array_prototype_object_find() local
2401 … ecma_value_t call_value = ecma_op_function_call (func_object_p, predicate_this_arg, call_args, 3); in ecma_builtin_array_prototype_object_find()
Decma-builtin-json.c1148 ecma_value_t call_args[] = { key_value }; in ecma_builtin_json_serialize_property() local
1151 ecma_value_t result = ecma_op_function_call (to_json_obj_p, value, call_args, 1); in ecma_builtin_json_serialize_property()
1170 ecma_value_t call_args[] = { key_value, value }; in ecma_builtin_json_serialize_property() local
1172 …alue_t result = ecma_op_function_call (context_p->replacer_function_p, holder_value, call_args, 2); in ecma_builtin_json_serialize_property()
/third_party/python/Lib/test/test_asyncio/
Dtest_selector_events.py197 fd, mask, (r, w) = self.loop._selector.register.call_args[0]
214 fd, mask, (r, w) = self.loop._selector.modify.call_args[0]
229 fd, mask, (r, w) = self.loop._selector.modify.call_args[0]
254 self.loop._selector.modify.call_args[0])
267 fd, mask, (r, w) = self.loop._selector.register.call_args[0]
284 fd, mask, (r, w) = self.loop._selector.modify.call_args[0]
309 self.loop._selector.modify.call_args[0])
1135 self.sock.sendto.call_args[0], (data, ('0.0.0.0', 1234)))
1143 self.sock.sendto.call_args[0], (data, ('0.0.0.0', 1234)))
1151 self.sock.sendto.call_args[0], (data, ('0.0.0.0', 1234)))
[all …]
Dtest_base_events.py369 t = self.loop._selector.select.call_args[0][0]
1291 _, kwargs = m_socket.socket.call_args
1306 [address] = sock.connect.call_args[0]
1310 _, kwargs = m_socket.socket.call_args
1335 _, kwargs = m_socket.socket.call_args
1367 _, kwargs = m_socket.socket.call_args
1932 fmt, *args = m_logger.warning.call_args[0]
1940 fmt, *args = m_logger.warning.call_args[0]
Dtest_proactor_events.py785 loop = call_soon.call_args[0][0]
809 loop = call_soon.call_args[0][0]
Dtest_tasks.py2487 message = m_log.error.call_args[0][0]
2674 message = m_log.error.call_args[0][0]
2930 exc = exc_handler.call_args[0][0]['exception']
2956 exc = exc_handler.call_args[0][0]['exception']
3686 (loop, context), kwargs = callback.call_args
Dtest_subprocess.py68 self.assertEqual(protocol.connection_lost.call_args[0], (None,))
Dtest_unix_events.py185 (signal.SIGHUP, m_signal.SIG_DFL), m_signal.signal.call_args[0])
203 m_signal.signal.call_args[0])
/third_party/python/Lib/unittest/
Dmock.py227 funcopy.call_args = None
550 call_args = _delegating_property('call_args') variable in NonCallableMock
586 self.call_args = None
807 call_args = self.call_args
808 actual_string = self._format_mock_call_signature(*call_args)
905 if self.call_args is None:
916 actual = self._call_matcher(self.call_args)
1118 self.call_args = _call
/third_party/python/Lib/idlelib/idle_test/
Dtest_squeezer.py346 tooltip_text = MockHovertip.call_args[0][1]
446 self.assertEqual(mock_view_text.call_args[0][2], 'TEXT')
/third_party/python/Doc/library/
Dunittest.mock.rst610 .. attribute:: call_args
621 >>> print(mock.call_args)
624 >>> mock.call_args
626 >>> mock.call_args == ()
629 >>> mock.call_args
631 >>> mock.call_args == ((3, 4),)
633 >>> mock.call_args.args
635 >>> mock.call_args.kwargs
638 >>> mock.call_args
640 >>> mock.call_args.args
[all …]
/third_party/jerryscript/jerry-core/ecma/operations/
Decma-container-object.c861 ecma_value_t call_args[] = { value_arg, key_arg, this_arg }; in ecma_op_container_foreach() local
862 … ecma_value_t call_value = ecma_op_function_call (func_object_p, predicate_this_arg, call_args, 3); in ecma_op_container_foreach()
Decma-typedarray-object.c707 ecma_value_t call_args[] = { current_value, current_index }; in ecma_op_typedarray_from_helper() local
709 ecma_value_t cb_value = ecma_op_function_call (func_object_p, this_val, call_args, 2); in ecma_op_typedarray_from_helper()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DStatepoint.h186 iterator_range<arg_iterator> call_args() const { in call_args() function

12