Home
last modified time | relevance | path

Searched refs:callback_args (Results 1 – 13 of 13) sorted by relevance

/external/grpc-grpc/src/ruby/ext/grpc/
Drb_call_credentials.c57 static VALUE grpc_rb_call_credentials_callback(VALUE callback_args) { in grpc_rb_call_credentials_callback() argument
59 VALUE metadata = rb_funcall(rb_ary_entry(callback_args, 0), rb_intern("call"), in grpc_rb_call_credentials_callback()
60 1, rb_ary_entry(callback_args, 1)); in grpc_rb_call_credentials_callback()
90 VALUE callback_args = rb_ary_new(); in grpc_rb_call_credentials_callback_with_gil() local
99 rb_ary_push(callback_args, params->get_metadata); in grpc_rb_call_credentials_callback_with_gil()
100 rb_ary_push(callback_args, args); in grpc_rb_call_credentials_callback_with_gil()
101 result = rb_rescue(grpc_rb_call_credentials_callback, callback_args, in grpc_rb_call_credentials_callback_with_gil()
/external/libnetfilter_conntrack/examples/
Dnfct-mnl-set-label.c9 struct callback_args { struct
15 static void set_label(struct nf_conntrack *ct, struct callback_args *cbargs) in set_label() argument
128 struct callback_args cbargs; in main()
/external/python/cpython2/Lib/
Doptparse.py714 if (self.callback_args is not None and
715 type(self.callback_args) is not types.TupleType):
718 % self.callback_args, self)
729 if self.callback_args is not None:
807 args = self.callback_args or ()
/external/python/cpython3/Lib/
Doptparse.py710 if (self.callback_args is not None and
711 not isinstance(self.callback_args, tuple)):
714 % self.callback_args, self)
725 if self.callback_args is not None:
803 args = self.callback_args or ()
/external/python/cpython3/Lib/test/
Dtest_threading.py1338 self.callback_args = []
1353 self.assertEqual(len(self.callback_args), 2)
1354 self.assertEqual(self.callback_args, [((), {}), ((), {})])
1359 self.callback_args.append((args[:], kwargs.copy()))
Dtest_optparse.py1148 callback_args=(3, int), type="string",
Dtest_argparse.py4434 self.assertTypeError('-y', callback_args=())
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tfe_src.cc2462 tensorflow::Safe_PyObjectPtr callback_args( local
2466 PyObject_CallObject(forward_gradient_function, callback_args.get()));
3261 tensorflow::Safe_PyObjectPtr callback_args(Py_BuildValue( local
3267 PyObject_CallObject(gradient_function, callback_args.get()));
3532 tensorflow::Safe_PyObjectPtr callback_args( local
3547 PyObject_CallObject(callback_fn, callback_args.get());
/external/python/pyopenssl/src/OpenSSL/
Dcrypto.py2051 helper.callback_args,
2805 def callback_args(self): member in _PassphraseHelper
2907 bio, _ffi.NULL, helper.callback, helper.callback_args
/external/python/cpython3/Doc/library/
Doptparse.rst1052 .. attribute:: Option.callback_args
1217 :attr:`~Option.type`, :attr:`~Option.nargs`, :attr:`~Option.callback_args`,
1582 :attr:`~Option.callback_args` and :attr:`~Option.callback_kwargs`. Thus, the
1604 :attr:`~Option.callback_args`
1664 :attr:`~Option.callback_args` option attribute.
/external/python/cpython2/Doc/library/
Doptparse.rst1054 .. attribute:: Option.callback_args
1219 :attr:`~Option.type`, :attr:`~Option.nargs`, :attr:`~Option.callback_args`,
1584 :attr:`~Option.callback_args` and :attr:`~Option.callback_kwargs`. Thus, the
1606 :attr:`~Option.callback_args`
1666 :attr:`~Option.callback_args` option attribute.
/external/python/cpython2/Lib/test/
Dtest_optparse.py1150 callback_args=(3, int), type="string",
Dtest_argparse.py4103 self.assertTypeError('-y', callback_args=())