/external/iproute2/ip/ |
ipaddress.c | 163 static void print_queuelen(FILE *f, struct rtattr *tb[IFLA_MAX + 1]) 167 if (tb[IFLA_TXQLEN]) 168 qlen = rta_getattr_u32(tb[IFLA_TXQLEN]); 176 strcpy(ifr.ifr_name, rta_getattr_str(tb[IFLA_IFNAME])); 193 static void print_linkmode(FILE *f, struct rtattr *tb) 195 unsigned int mode = rta_getattr_u8(tb); 209 static char *parse_link_kind(struct rtattr *tb, bool slave) 214 parse_rtattr_nested(linkinfo, IFLA_INFO_MAX, tb); 222 static int match_link_kind(struct rtattr **tb, const char *kind, bool slave) 224 if (!tb[IFLA_LINKINFO] 301 struct rtattr *tb[IFLA_INET6_MAX + 1]; local 913 struct rtattr *tb[IFLA_MAX+1]; local 927 struct rtattr *tb[IFLA_MAX+1]; local 1058 struct rtattr *tb[IFLA_MAX+1]; local 1880 struct rtattr *tb[IFA_MAX + 1]; local 2268 struct rtattr *tb[IFLA_MAX+1]; local [all...] |
link_iptnl.c | 87 struct rtattr *tb[IFLA_MAX + 1]; local 123 parse_rtattr(tb, IFLA_MAX, IFLA_RTA(&req.i), len); 125 if (!tb[IFLA_LINKINFO]) 128 parse_rtattr_nested(linkinfo, IFLA_INFO_MAX, tb[IFLA_LINKINFO]); 383 static void iptunnel_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) 391 if (!tb) 394 if (tb[IFLA_IPTUN_REMOTE]) { 395 unsigned int addr = rta_getattr_u32(tb[IFLA_IPTUN_REMOTE]); 403 if (tb[IFLA_IPTUN_LOCAL]) { 404 unsigned int addr = rta_getattr_u32(tb[IFLA_IPTUN_LOCAL]) [all...] |
iproute.c | 114 unsigned int tb; member in struct:__anon22170 146 static int filter_nlmsg(struct nlmsghdr *n, struct rtattr **tb, int host_len) 156 table = rtm_get_table(r, tb); 168 if (filter.tb) { 169 if (filter.tb == RT_TABLE_LOCAL) { 172 } else if (filter.tb == RT_TABLE_MAIN) { 180 if (filter.tb > 0 && filter.tb != table) 209 if (tb[RTA_VIA]) { 210 struct rtvia *via = RTA_DATA(tb[RTA_VIA]) 319 struct rtattr *tb[RTA_MAX+1]; local 1360 struct rtattr *tb[RTA_MAX+1]; local 1809 struct rtattr *tb[RTA_MAX+1]; local 1871 struct rtattr *tb[RTA_MAX+1]; local [all...] |
/external/iproute2/tc/ |
q_htb.c | 266 struct rtattr *tb[TCA_HTB_MAX + 1]; local 280 parse_rtattr_nested(tb, TCA_HTB_MAX, opt); 282 if (tb[TCA_HTB_PARMS]) { 283 hopt = RTA_DATA(tb[TCA_HTB_PARMS]); 284 if (RTA_PAYLOAD(tb[TCA_HTB_PARMS]) < sizeof(*hopt)) return -1; 293 if (tb[TCA_HTB_RATE64] && 294 RTA_PAYLOAD(tb[TCA_HTB_RATE64]) >= sizeof(rate64)) { 295 rate64 = rta_getattr_u64(tb[TCA_HTB_RATE64]); 299 if (tb[TCA_HTB_CEIL64] && 300 RTA_PAYLOAD(tb[TCA_HTB_CEIL64]) >= sizeof(ceil64) [all...] |
m_tunnel_key.c | 255 struct rtattr *tb[TCA_TUNNEL_KEY_MAX + 1]; local 261 parse_rtattr_nested(tb, TCA_TUNNEL_KEY_MAX, arg); 263 if (!tb[TCA_TUNNEL_KEY_PARMS]) { 267 parm = RTA_DATA(tb[TCA_TUNNEL_KEY_PARMS]); 278 tb[TCA_TUNNEL_KEY_ENC_IPV4_SRC]); 280 tb[TCA_TUNNEL_KEY_ENC_IPV4_DST]); 282 tb[TCA_TUNNEL_KEY_ENC_IPV6_SRC]); 284 tb[TCA_TUNNEL_KEY_ENC_IPV6_DST]); 286 tb[TCA_TUNNEL_KEY_ENC_KEY_ID]); 288 tb[TCA_TUNNEL_KEY_ENC_DST_PORT]) [all...] |
m_gact.c | 171 struct rtattr *tb[TCA_GACT_MAX + 1]; local 176 parse_rtattr_nested(tb, TCA_GACT_MAX, arg); 178 if (tb[TCA_GACT_PARMS] == NULL) { 182 p = RTA_DATA(tb[TCA_GACT_PARMS]); 187 if (tb[TCA_GACT_PROB] != NULL) { 188 pp = RTA_DATA(tb[TCA_GACT_PROB]); 201 if (tb[TCA_GACT_TM]) { 202 struct tcf_t *tm = RTA_DATA(tb[TCA_GACT_TM]);
|
tc_stab.c | 109 struct rtattr *tb[TCA_STAB_MAX + 1]; local 113 parse_rtattr_nested(tb, TCA_STAB_MAX, rta); 115 if (tb[TCA_STAB_BASE]) { 118 memcpy(&s, RTA_DATA(tb[TCA_STAB_BASE]), 119 MIN(RTA_PAYLOAD(tb[TCA_STAB_BASE]), sizeof(s))); 136 if (tb[TCA_STAB_DATA]) { 138 __u16 *data = RTA_DATA(tb[TCA_STAB_DATA]); 140 dlen = RTA_PAYLOAD(tb[TCA_STAB_DATA]) / sizeof(__u16);
|
q_drr.c | 86 struct rtattr *tb[TCA_DRR_MAX + 1]; local 93 parse_rtattr_nested(tb, TCA_DRR_MAX, opt); 95 if (tb[TCA_DRR_QUANTUM]) 97 sprint_size(rta_getattr_u32(tb[TCA_DRR_QUANTUM]), b1));
|
q_prio.c | 101 struct rtattr *tb[TCA_PRIO_MAX+1]; local 106 if (parse_rtattr_nested_compat(tb, TCA_PRIO_MAX, opt, qopt, 114 if (tb[TCA_PRIO_MQ]) 116 rta_getattr_u8(tb[TCA_PRIO_MQ]) ? "on" : "off");
|
q_rr.c | 96 struct rtattr *tb[TCA_PRIO_MAX + 1]; local 101 if (parse_rtattr_nested_compat(tb, TCA_PRIO_MAX, opt, qopt, 109 if (tb[TCA_PRIO_MQ]) 111 rta_getattr_u8(tb[TCA_PRIO_MQ]) ? "on" : "off");
|
/external/libnl/lib/route/qdisc/ |
dsmark.c | 48 struct nlattr *tb[TCA_DSMARK_MAX + 1]; local 51 err = tca_parse(tb, TCA_DSMARK_MAX, tc, dsmark_policy); 55 if (tb[TCA_DSMARK_INDICES]) { 56 dsmark->qdm_indices = nla_get_u16(tb[TCA_DSMARK_INDICES]); 60 if (tb[TCA_DSMARK_DEFAULT_INDEX]) { 62 nla_get_u16(tb[TCA_DSMARK_DEFAULT_INDEX]); 66 if (tb[TCA_DSMARK_SET_TC_INDEX]) { 77 struct nlattr *tb[TCA_DSMARK_MAX + 1]; local 80 err = tca_parse(tb, TCA_DSMARK_MAX, tc, dsmark_policy); 84 if (tb[TCA_DSMARK_MASK]) [all...] |
/external/python/cpython2/Lib/idlelib/ |
run.py | 125 type, value, tb = sys.exc_info() 131 traceback.print_exception(type, value, tb, file=sys.__stderr__) 175 typ, val, tb = excinfo = sys.exc_info() 177 tbe = traceback.extract_tb(tb) 187 def cleanup_traceback(tb, exclude): 188 "Remove excluded traces from beginning/end of tb; get cached lines" 189 orig_tb = tb[:] 190 while tb: 192 if tb[0][0].count(rpcfile): 193 break # found an exclude, break for: and delete tb[0 [all...] |
/frameworks/rs/tests/cpp_api/cppbasic/ |
compute.cpp | 21 Type::Builder tb(rs, e); 22 tb.setX(128); 23 tb.setY(128); 24 sp<const Type> t = tb.create(); 78 Type::Builder tb(rs, e); 79 tb.setX(xDim); 80 tb.setY(yDim); 81 sp<const Type> t = tb.create();
|
/frameworks/rs/tests/cpp_api/cppbasic-shared/ |
compute.cpp | 21 Type::Builder tb(rs, e); 22 tb.setX(128); 23 tb.setY(128); 24 sp<const Type> t = tb.create(); 78 Type::Builder tb(rs, e); 79 tb.setX(xDim); 80 tb.setY(yDim); 81 sp<const Type> t = tb.create();
|
/external/libnl/lib/route/link/ |
inet6.c | 135 struct nlattr *tb[IFLA_INET6_MAX+1]; local 138 err = nla_parse_nested(tb, IFLA_INET6_MAX, attr, inet6_policy); 141 if (tb[IFLA_INET6_CONF] && nla_len(tb[IFLA_INET6_CONF]) % 4) 143 if (tb[IFLA_INET6_STATS] && nla_len(tb[IFLA_INET6_STATS]) % 8) 145 if (tb[IFLA_INET6_ICMP6STATS] && nla_len(tb[IFLA_INET6_ICMP6STATS]) % 8) 148 if (tb[IFLA_INET6_FLAGS]) 149 i6->i6_flags = nla_get_u32(tb[IFLA_INET6_FLAGS]) [all...] |
ipgre.c | 89 struct nlattr *tb[IFLA_IPTUN_MAX + 1]; local 95 err = nla_parse_nested(tb, IFLA_GRE_MAX, data, ipgre_policy); 105 if (tb[IFLA_GRE_LINK]) { 106 ipgre->link = nla_get_u32(tb[IFLA_GRE_LINK]); 110 if (tb[IFLA_GRE_IFLAGS]) { 111 ipgre->iflags = nla_get_u16(tb[IFLA_GRE_IFLAGS]); 115 if (tb[IFLA_GRE_OFLAGS]) { 116 ipgre->oflags = nla_get_u16(tb[IFLA_GRE_OFLAGS]); 120 if (tb[IFLA_GRE_IKEY]) { 121 ipgre->ikey = nla_get_u32(tb[IFLA_GRE_IKEY]) [all...] |
/bionic/libc/dns/nameser/ |
ns_samedomain.c | 200 char ta[NS_MAXDNAME], tb[NS_MAXDNAME]; local 203 ns_makecanon(b, tb, sizeof tb) < 0) 205 if (strcasecmp(ta, tb) == 0)
|
/frameworks/av/media/libstagefright/filters/ |
IntrinsicBlurFilter.cpp | 56 RSC::Type::Builder tb(mRS, e); 57 tb.setX(mWidth); 58 tb.setY(mHeight); 59 RSC::sp<const RSC::Type> t = tb.create();
|
RSFilter.cpp | 65 RSC::Type::Builder tb(mRS, e); 66 tb.setX(mWidth); 67 tb.setY(mHeight); 68 RSC::sp<const RSC::Type> t = tb.create();
|
SaturationFilter.cpp | 56 RSC::Type::Builder tb(mRS, e); 57 tb.setX(mWidth); 58 tb.setY(mHeight); 59 RSC::sp<const RSC::Type> t = tb.create();
|
/frameworks/rs/tests/cpp_api/cppstrided/ |
compute.cpp | 30 Type::Builder tb(rs, e); 31 tb.setX(numElems); 32 tb.setY(numElems); 33 sp<const Type> t = tb.create();
|
/prebuilts/go/darwin-x86/test/fixedbugs/ |
issue15439.go | 16 tb := reflect.TypeOf(b) 22 if !tb.AssignableTo(ta) {
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
issue15439.go | 16 tb := reflect.TypeOf(b) 22 if !tb.AssignableTo(ta) {
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/ |
fix_throw.py | 20 trailer< '(' args=arglist< exc=any ',' val=any [',' tb=any] > ')' >
48 if "tb" in results:
49 tb = results["tb"].clone()
50 tb.prefix = u""
53 with_tb = Attr(e, Name(u'with_traceback')) + [ArgList([tb])]
|
/external/devlib/devlib/ |
exception.py | 85 tb = exc[2] 87 traceback.print_tb(tb, file=sio) 88 del tb # needs to be done explicitly see: http://docs.python.org/2/library/sys.html#sys.exc_info
|