Home
last modified time | relevance | path

Searched refs:cb_type (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython2/Lib/plat-irix6/
Dreadcd.py13 def _doatime(self, cb_type, data): argument
17 func, arg = self.callbacks[cb_type]
19 func(arg, cb_type, data)
21 def _dopnum(self, cb_type, data): argument
25 func, arg = self.callbacks[cb_type]
27 func(arg, cb_type, data)
126 def setcallback(self, cb_type, func, arg): argument
127 if cb_type < 0 or cb_type >= 8:
129 self.callbacks[cb_type] = (func, arg)
133 if cb_type != CD.PNUM:
[all …]
/external/python/cpython2/Lib/plat-irix5/
Dreadcd.py13 def _doatime(self, cb_type, data): argument
17 func, arg = self.callbacks[cb_type]
19 func(arg, cb_type, data)
21 def _dopnum(self, cb_type, data): argument
25 func, arg = self.callbacks[cb_type]
27 func(arg, cb_type, data)
126 def setcallback(self, cb_type, func, arg): argument
127 if cb_type < 0 or cb_type >= 8:
129 self.callbacks[cb_type] = (func, arg)
133 if cb_type != CD.PNUM:
[all …]
/external/ppp/pppd/
Dcbcp.c367 u_char cb_type; local
373 cb_type = us->us_allowed & us->us_type;
374 dbglog("cbcp_resp cb_type=%d", cb_type);
377 if (!cb_type)
381 if (cb_type & ( 1 << CB_CONF_USER ) ) {
398 if (cb_type & ( 1 << CB_CONF_ADMIN ) ) {
408 if (cb_type & ( 1 << CB_CONF_NO ) ) {
/external/python/cpython3/Lib/
Dssl.py769 def get_channel_binding(self, cb_type="tls-unique"): argument
773 return self._sslobj.get_channel_binding(cb_type)
1169 def get_channel_binding(self, cb_type="tls-unique"): argument
1175 return self._sslobj.get_channel_binding(cb_type)
1177 if cb_type not in CHANNEL_BINDING_TYPES:
1179 "{0} channel binding type not implemented".format(cb_type)
/external/python/cpython2/Lib/
Dssl.py912 def get_channel_binding(self, cb_type="tls-unique"): argument
917 if cb_type not in CHANNEL_BINDING_TYPES:
919 if cb_type != "tls-unique":
922 .format(cb_type))
/external/python/cpython3/Modules/clinic/
D_ssl.c.h325 const char *cb_type);
333 const char *cb_type = "tls-unique"; in _ssl__SSLSocket_get_channel_binding() local
336 &cb_type)) { in _ssl__SSLSocket_get_channel_binding()
339 return_value = _ssl__SSLSocket_get_channel_binding_impl(self, cb_type); in _ssl__SSLSocket_get_channel_binding()
/external/boringssl/src/ssl/
Dssl_test.cc2962 auto cb = [&](int is_write, int cb_version, int cb_type, const void *buf, in TEST_P()
2964 if (cb_type != SSL3_RT_HEADER) { in TEST_P()
2997 ctx, [](int is_write, int cb_version, int cb_type, const void *buf, in TEST_P()
3000 (*cb_ptr)(is_write, cb_version, cb_type, buf, len, ssl); in TEST_P()
/external/python/cpython3/Modules/
D_ssl.c2635 const char *cb_type) in _ssl__SSLSocket_get_channel_binding_impl() argument
2641 if (strcmp(cb_type, "tls-unique") == 0) { in _ssl__SSLSocket_get_channel_binding_impl()
2655 cb_type in _ssl__SSLSocket_get_channel_binding_impl()
/external/python/cpython2/Doc/library/
Dssl.rst985 .. method:: SSLSocket.get_channel_binding(cb_type="tls-unique")
990 The *cb_type* parameter allow selection of the desired channel binding
/external/python/cpython3/Doc/library/
Dssl.rst1277 .. method:: SSLSocket.get_channel_binding(cb_type="tls-unique")
1282 The *cb_type* parameter allow selection of the desired channel binding