Home
last modified time | relevance | path

Searched refs:cb_type (Results 1 – 11 of 11) 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/Modules/clinic/
D_ssl.c.h336 const char *cb_type);
346 const char *cb_type = "tls-unique"; in _ssl__SSLSocket_get_channel_binding() local
360 cb_type = PyUnicode_AsUTF8AndSize(args[0], &cb_type_length); in _ssl__SSLSocket_get_channel_binding()
361 if (cb_type == NULL) { in _ssl__SSLSocket_get_channel_binding()
364 if (strlen(cb_type) != (size_t)cb_type_length) { in _ssl__SSLSocket_get_channel_binding()
369 return_value = _ssl__SSLSocket_get_channel_binding_impl(self, cb_type); in _ssl__SSLSocket_get_channel_binding()
/external/python/cpython3/Lib/
Dssl.py950 def get_channel_binding(self, cb_type="tls-unique"): argument
954 return self._sslobj.get_channel_binding(cb_type)
1362 def get_channel_binding(self, cb_type="tls-unique"): argument
1364 return self._sslobj.get_channel_binding(cb_type)
1366 if cb_type not in CHANNEL_BINDING_TYPES:
1368 "{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/
D_ssl.c2775 const char *cb_type) in _ssl__SSLSocket_get_channel_binding_impl() argument
2781 if (strcmp(cb_type, "tls-unique") == 0) { in _ssl__SSLSocket_get_channel_binding_impl()
2795 cb_type in _ssl__SSLSocket_get_channel_binding_impl()
/external/rust/crates/quiche/deps/boringssl/src/ssl/
Dssl_test.cc3038 auto cb = [&](int is_write, int cb_version, int cb_type, const void *buf, in TEST_P()
3040 if (cb_type != SSL3_RT_HEADER) { in TEST_P()
3073 ctx, [](int is_write, int cb_version, int cb_type, const void *buf, in TEST_P()
3076 (*cb_ptr)(is_write, cb_version, cb_type, buf, len, ssl); in TEST_P()
/external/boringssl/src/ssl/
Dssl_test.cc3038 auto cb = [&](int is_write, int cb_version, int cb_type, const void *buf, in TEST_P()
3040 if (cb_type != SSL3_RT_HEADER) { in TEST_P()
3073 ctx, [](int is_write, int cb_version, int cb_type, const void *buf, in TEST_P()
3076 (*cb_ptr)(is_write, cb_version, cb_type, buf, len, ssl); in TEST_P()
/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.rst1289 .. method:: SSLSocket.get_channel_binding(cb_type="tls-unique")
1294 The *cb_type* parameter allow selection of the desired channel binding