Home
last modified time | relevance | path

Searched refs:tbs (Results 1 – 6 of 6) sorted by relevance

/external/iproute2/tc/
Dtc_util.c470 struct rtattr *tbs[TCA_STATS_MAX + 1]; in print_tcstats2_attr() local
472 parse_rtattr_nested(tbs, TCA_STATS_MAX, rta); in print_tcstats2_attr()
474 if (tbs[TCA_STATS_BASIC]) { in print_tcstats2_attr()
476 memcpy(&bs, RTA_DATA(tbs[TCA_STATS_BASIC]), MIN(RTA_PAYLOAD(tbs[TCA_STATS_BASIC]), sizeof(bs))); in print_tcstats2_attr()
481 if (tbs[TCA_STATS_QUEUE]) { in print_tcstats2_attr()
483 memcpy(&q, RTA_DATA(tbs[TCA_STATS_QUEUE]), MIN(RTA_PAYLOAD(tbs[TCA_STATS_QUEUE]), sizeof(q))); in print_tcstats2_attr()
488 if (tbs[TCA_STATS_RATE_EST]) { in print_tcstats2_attr()
490 …memcpy(&re, RTA_DATA(tbs[TCA_STATS_RATE_EST]), MIN(RTA_PAYLOAD(tbs[TCA_STATS_RATE_EST]), sizeof(re… in print_tcstats2_attr()
495 if (tbs[TCA_STATS_QUEUE]) { in print_tcstats2_attr()
497 memcpy(&q, RTA_DATA(tbs[TCA_STATS_QUEUE]), MIN(RTA_PAYLOAD(tbs[TCA_STATS_QUEUE]), sizeof(q))); in print_tcstats2_attr()
[all …]
/external/libnl/lib/route/
Dtc.c92 struct nlattr *tbs[TCA_STATS_MAX + 1]; in tca_msg_parser() local
94 err = nla_parse_nested(tbs, TCA_STATS_MAX, tb[TCA_STATS2], in tca_msg_parser()
99 if (tbs[TCA_STATS_BASIC]) { in tca_msg_parser()
102 bs = nla_data(tbs[TCA_STATS_BASIC]); in tca_msg_parser()
107 if (tbs[TCA_STATS_RATE_EST]) { in tca_msg_parser()
110 re = nla_data(tbs[TCA_STATS_RATE_EST]); in tca_msg_parser()
115 if (tbs[TCA_STATS_QUEUE]) { in tca_msg_parser()
118 q = nla_data(tbs[TCA_STATS_QUEUE]); in tca_msg_parser()
128 if (tbs[TCA_STATS_APP]) { in tca_msg_parser()
129 g->tc_xstats = nl_data_alloc_attr(tbs[TCA_STATS_APP]); in tca_msg_parser()
/external/chromium-trace/trace-viewer/third_party/Paste/paste/exceptions/
Dcollector.py286 tbs = locals['__traceback_supplement__']
290 tbs = globals['__traceback_supplement__']
292 tbs = None
293 if tbs is not None:
294 factory = tbs[0]
295 args = tbs[1:]
/external/boringssl/src/crypto/evp/
Dp_rsa.c166 const uint8_t *tbs, size_t tbslen) { in pkey_rsa_sign() argument
196 if (!RSA_sign(EVP_MD_type(rctx->md), tbs, tbslen, sig, &out_len, rsa)) { in pkey_rsa_sign()
204 !RSA_padding_add_PKCS1_PSS_mgf1(rsa, rctx->tbuf, tbs, rctx->md, in pkey_rsa_sign()
217 return RSA_sign_raw(rsa, siglen, sig, *siglen, tbs, tbslen, rctx->pad_mode); in pkey_rsa_sign()
221 size_t siglen, const uint8_t *tbs, in pkey_rsa_verify() argument
231 return RSA_verify(EVP_MD_type(rctx->md), tbs, tbslen, sig, siglen, rsa); in pkey_rsa_verify()
237 !RSA_verify_PKCS1_PSS_mgf1(rsa, tbs, rctx->md, rctx->mgf1md, in pkey_rsa_verify()
252 CRYPTO_memcmp(tbs, rctx->tbuf, rslen) != 0) { in pkey_rsa_verify()
Dp_ec.c127 const uint8_t *tbs, size_t tbslen) { in pkey_ec_sign() argument
146 if (!ECDSA_sign(type, tbs, tbslen, sig, &sltmp, ec)) { in pkey_ec_sign()
154 const uint8_t *tbs, size_t tbslen) { in pkey_ec_verify() argument
164 return ECDSA_verify(type, tbs, tbslen, sig, siglen, ec); in pkey_ec_verify()
Dinternal.h264 const unsigned char *tbs, size_t tbslen);
268 const unsigned char *tbs, size_t tbslen);