/external/iproute2/ip/ |
ipaddress.c | 144 static void print_queuelen(FILE *f, struct rtattr *tb[IFLA_MAX + 1]) 148 if (tb[IFLA_TXQLEN]) 149 qlen = *(int *)RTA_DATA(tb[IFLA_TXQLEN]); 158 strcpy(ifr.ifr_name, rta_getattr_str(tb[IFLA_IFNAME])); 175 static void print_linkmode(FILE *f, struct rtattr *tb) 177 unsigned int mode = rta_getattr_u8(tb); 185 static void print_linktype(FILE *fp, struct rtattr *tb) 191 parse_rtattr_nested(linkinfo, IFLA_INFO_MAX, tb); 365 struct rtattr * tb[IFLA_MAX+1]; local 381 parse_rtattr(tb, IFLA_MAX, IFLA_RTA(ifi), len) 978 struct rtattr *tb[IFA_MAX+1]; local [all...] |
ipntable.c | 357 struct rtattr *tb[NDTA_MAX+1]; local 375 parse_rtattr(tb, NDTA_MAX, NDTA_RTA(ndtm), 378 if (tb[NDTA_NAME]) { 379 const char *name = rta_getattr_str(tb[NDTA_NAME]); 384 if (tb[NDTA_PARMS]) { 385 parse_rtattr(tpb, NDTPA_MAX, RTA_DATA(tb[NDTA_PARMS]), 386 RTA_PAYLOAD(tb[NDTA_PARMS])); 408 if (tb[NDTA_NAME]) { 409 const char *name = rta_getattr_str(tb[NDTA_NAME]); 415 ret = (tb[NDTA_THRESH1] || tb[NDTA_THRESH2] || tb[NDTA_THRESH3] | [all...] |
ipneigh.c | 189 struct rtattr * tb[NDA_MAX+1]; local 217 parse_rtattr(tb, NDA_MAX, NDA_RTA(r), n->nlmsg_len - NLMSG_LENGTH(sizeof(*r))); 219 if (tb[NDA_DST]) { 224 memcpy(&dst.data, RTA_DATA(tb[NDA_DST]), RTA_PAYLOAD(tb[NDA_DST])); 229 if (filter.unused_only && tb[NDA_CACHEINFO]) { 230 struct nda_cacheinfo *ci = RTA_DATA(tb[NDA_CACHEINFO]); 252 if (tb[NDA_DST]) { 255 RTA_PAYLOAD(tb[NDA_DST]), 256 RTA_DATA(tb[NDA_DST]) [all...] |
ip_common.h | 46 static inline int rtm_get_table(struct rtmsg *r, struct rtattr **tb) 49 if (tb[RTA_TABLE]) 50 table = rta_getattr_u32(tb[RTA_TABLE]);
|
/external/iproute2/tc/ |
m_xt.c | 272 struct rtattr *tb[TCA_IPT_MAX + 1]; local 281 parse_rtattr_nested(tb, TCA_IPT_MAX, arg); 283 if (tb[TCA_IPT_TABLE] == NULL) { 287 rta_getattr_str(tb[TCA_IPT_TABLE])); 290 if (tb[TCA_IPT_HOOK] == NULL) { 295 hook = rta_getattr_u32(tb[TCA_IPT_HOOK]); 299 if (tb[TCA_IPT_TARG] == NULL) { 304 t = RTA_DATA(tb[TCA_IPT_TARG]); 327 if (tb[TCA_IPT_INDEX] == NULL) { 331 index = rta_getattr_u32(tb[TCA_IPT_INDEX]) [all...] |
m_xt_old.c | 356 struct rtattr *tb[TCA_IPT_MAX + 1]; local 364 parse_rtattr_nested(tb, TCA_IPT_MAX, arg); 366 if (tb[TCA_IPT_TABLE] == NULL) { 370 rta_getattr_str(tb[TCA_IPT_TABLE])); 373 if (tb[TCA_IPT_HOOK] == NULL) { 378 hook = rta_getattr_u32(tb[TCA_IPT_HOOK]); 382 if (tb[TCA_IPT_TARG] == NULL) { 387 t = RTA_DATA(tb[TCA_IPT_TARG]); 405 if (tb[TCA_IPT_INDEX] == NULL) { 409 index = rta_getattr_u32(tb[TCA_IPT_INDEX]) [all...] |
tc_class.c | 157 struct rtattr * tb[TCA_MAX+1]; local 176 memset(tb, 0, sizeof(tb)); 177 parse_rtattr(tb, TCA_MAX, TCA_RTA(t), len); 179 if (tb[TCA_KIND] == NULL) { 194 fprintf(fp, "class %s %s ", rta_getattr_str(tb[TCA_KIND]), abuf); 210 q = get_qdisc_kind(RTA_DATA(tb[TCA_KIND])); 211 if (tb[TCA_OPTIONS]) { 213 q->print_copt(q, fp, tb[TCA_OPTIONS]); 221 if (tb[TCA_STATS] || tb[TCA_STATS2]) [all...] |
m_ematch.c | 366 static int print_ematch_seq(FILE *fd, struct rtattr **tb, int start, 375 if (tb[i] == NULL) 378 dlen = RTA_PAYLOAD(tb[i]) - sizeof(*hdr); 379 data = (void *) RTA_DATA(tb[i]) + sizeof(*hdr); 384 hdr = RTA_DATA(tb[i]); 399 if (print_ematch_seq(fd, tb, ref + 1, prefix + 1) < 0) 446 struct rtattr **tb; local 448 tb = malloc((hdr->nmatches + 1) * sizeof(struct rtattr *)); 449 if (tb == NULL) 453 if (parse_rtattr_nested(tb, hdr->nmatches, rta) < 0 469 struct rtattr *tb[TCA_EMATCH_TREE_MAX+1]; local [all...] |
m_csum.c | 181 struct rtattr *tb[TCA_CSUM_MAX + 1]; local 196 parse_rtattr_nested(tb, TCA_CSUM_MAX, arg); 198 if (tb[TCA_CSUM_PARMS] == NULL) { 202 sel = RTA_DATA(tb[TCA_CSUM_PARMS]); 232 if (tb[TCA_CSUM_TM]) { 233 struct tcf_t *tm = RTA_DATA(tb[TCA_CSUM_TM]);
|
m_nat.c | 171 struct rtattr *tb[TCA_NAT_MAX + 1]; local 180 parse_rtattr_nested(tb, TCA_NAT_MAX, arg); 182 if (tb[TCA_NAT_PARMS] == NULL) { 186 sel = RTA_DATA(tb[TCA_NAT_PARMS]); 199 if (tb[TCA_NAT_TM]) { 200 struct tcf_t *tm = RTA_DATA(tb[TCA_NAT_TM]);
|
tc_util.h | 83 extern void print_tcstats_attr(FILE *fp, struct rtattr *tb[], char *prefix, struct rtattr **xstats); 90 extern int tc_print_police(FILE *f, struct rtattr *tb); 97 struct rtattr *tb); 99 struct rtattr *tb); 100 extern int tc_print_action(FILE *f, const struct rtattr *tb); 101 extern int tc_print_ipt(FILE *f, const struct rtattr *tb);
|
tc_filter.c | 191 struct rtattr * tb[TCA_MAX+1]; local 205 memset(tb, 0, sizeof(tb)); 206 parse_rtattr(tb, TCA_MAX, TCA_RTA(t), len); 208 if (tb[TCA_KIND] == NULL) { 243 fprintf(fp, "%s ", rta_getattr_str(tb[TCA_KIND])); 244 q = get_filter_kind(RTA_DATA(tb[TCA_KIND])); 245 if (tb[TCA_OPTIONS]) { 247 q->print_fopt(q, fp, tb[TCA_OPTIONS], t->tcm_handle); 253 if (show_stats && (tb[TCA_STATS] || tb[TCA_STATS2])) [all...] |
q_netem.c | 518 struct rtattr *tb[TCA_NETEM_MAX+1]; local 519 parse_rtattr(tb, TCA_NETEM_MAX, RTA_DATA(opt) + sizeof(qopt), 522 if (tb[TCA_NETEM_CORR]) { 523 if (RTA_PAYLOAD(tb[TCA_NETEM_CORR]) < sizeof(*cor)) 525 cor = RTA_DATA(tb[TCA_NETEM_CORR]); 527 if (tb[TCA_NETEM_REORDER]) { 528 if (RTA_PAYLOAD(tb[TCA_NETEM_REORDER]) < sizeof(*reorder)) 530 reorder = RTA_DATA(tb[TCA_NETEM_REORDER]); 532 if (tb[TCA_NETEM_CORRUPT]) { 533 if (RTA_PAYLOAD(tb[TCA_NETEM_CORRUPT]) < sizeof(*corrupt) [all...] |
/external/javassist/src/main/javassist/bytecode/stackmap/ |
MapMaker.java | 170 private void make(byte[] code, TypedBlock tb) 173 BasicBlock.Catch handlers = tb.toCatch; 179 int pos = tb.position; 180 int end = pos + tb.length; 184 if (tb.exit != null) { 185 for (int i = 0; i < tb.exit.length; i++) { 186 TypedBlock e = (TypedBlock)tb.exit[i]; 201 TypedBlock tb = (TypedBlock)handler.body; local 202 if (tb.alreadySet()) 203 mergeMap(tb, false) [all...] |
/external/kernel-headers/original/linux/netfilter/ |
nfnetlink.h | 148 extern void nfattr_parse(struct nfattr *tb[], int maxattr, 151 #define nfattr_parse_nested(tb, max, nfa) \ 152 nfattr_parse((tb), (max), NFA_DATA((nfa)), NFA_PAYLOAD((nfa))) 154 #define nfattr_bad_size(tb, max, cta_min) \ 159 if (tb[__i] && NFA_PAYLOAD(tb[__i]) < cta_min[__i]){ \
|
/external/libvpx/libvpx/test/ |
datarate_test.cc | 41 const vpx_rational_t tb = video->timebase(); local 42 timebase_ = static_cast<double>(tb.num) / tb.den; 206 const vpx_rational_t tb = video->timebase(); local 207 timebase_ = static_cast<double>(tb.num) / tb.den;
|
/external/qemu/audio/ |
audio.h | 154 __typeof (b) tb = b; \ 155 ((ta)>(tb)?(tb):(ta)); \ 160 __typeof (b) tb = b; \ 161 ((ta)<(tb)?(tb):(ta)); \
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
report-include-statistics | 110 my $tb = keys %{ $totalIncludes{$fileb} }; 111 return $ta <=> $tb if $ta != $tb;
|
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsicLUT.cpp | 68 const uchar *tb = &tg[256]; local 69 const uchar *ta = &tb[256]; 73 uchar4 o = {tr[p.x], tg[p.y], tb[p.z], ta[p.w]};
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
Histogram.java | 44 Type.Builder tb = new Type.Builder(mRS, Element.I32(mRS)); local 45 tb.setX(256).setY(steps); 46 Type t = tb.create();
|
GroupTest.java | 66 Type.Builder tb = new Type.Builder(mRS, Element.U8_4(mRS)); local 67 tb.setX(mWidth); 68 tb.setY(mHeight); 69 Type connect = tb.create();
|
/packages/apps/Calculator/src/com/android/calculator2/ |
CalculatorEditable.java | 35 replace(int start, int end, CharSequence tb, int tbstart, int tbend) { 37 return super.replace(start, end, tb, tbstart, tbend); 41 String delta = tb.subSequence(tbstart, tbend).toString();
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_raise.py | 35 raise_stmt< 'raise' exc=any [',' val=any [',' tb=any]] > 73 if "tb" in results: 74 tb = results["tb"].clone() 75 tb.prefix = u"" 83 with_tb = Attr(e, Name(u'with_traceback')) + [ArgList([tb])]
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_raise.py | 35 raise_stmt< 'raise' exc=any [',' val=any [',' tb=any]] > 73 if "tb" in results: 74 tb = results["tb"].clone() 75 tb.prefix = u"" 83 with_tb = Attr(e, Name(u'with_traceback')) + [ArgList([tb])]
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
GroupTest.java | 66 Type.Builder tb = new Type.Builder(mRS, Element.U8_4(mRS)); local 67 tb.setX(mWidth); 68 tb.setY(mHeight); 69 Type connect = tb.create();
|