HomeSort by relevance Sort by last modified time
    Searched refs:tb (Results 51 - 75 of 220) sorted by null

1 23 4 5 6 7 8 9

  /external/iproute2/tc/
q_hfsc.c 236 struct rtattr *tb[TCA_HFSC_MAX+1]; local
242 parse_rtattr_nested(tb, TCA_HFSC_MAX, opt);
244 if (tb[TCA_HFSC_RSC]) {
245 if (RTA_PAYLOAD(tb[TCA_HFSC_RSC]) < sizeof(*rsc))
248 rsc = RTA_DATA(tb[TCA_HFSC_RSC]);
250 if (tb[TCA_HFSC_FSC]) {
251 if (RTA_PAYLOAD(tb[TCA_HFSC_FSC]) < sizeof(*fsc))
254 fsc = RTA_DATA(tb[TCA_HFSC_FSC]);
256 if (tb[TCA_HFSC_USC]) {
257 if (RTA_PAYLOAD(tb[TCA_HFSC_USC]) < sizeof(*usc)
    [all...]
q_netem.c 325 struct rtattr *tb[TCA_NETEM_MAX+1]; local
326 parse_rtattr(tb, TCA_NETEM_MAX, RTA_DATA(opt) + sizeof(qopt),
329 if (tb[TCA_NETEM_CORR]) {
330 if (RTA_PAYLOAD(tb[TCA_NETEM_CORR]) < sizeof(*cor))
332 cor = RTA_DATA(tb[TCA_NETEM_CORR]);
334 if (tb[TCA_NETEM_REORDER]) {
335 if (RTA_PAYLOAD(tb[TCA_NETEM_REORDER]) < sizeof(*reorder))
337 reorder = RTA_DATA(tb[TCA_NETEM_REORDER]);
339 if (tb[TCA_NETEM_CORRUPT]) {
340 if (RTA_PAYLOAD(tb[TCA_NETEM_CORRUPT]) < sizeof(*corrupt)
    [all...]
f_rsvp.c 320 struct rtattr *tb[TCA_RSVP_MAX+1]; local
326 parse_rtattr_nested(tb, TCA_RSVP_MAX, opt);
331 if (tb[TCA_RSVP_PINFO]) {
332 if (RTA_PAYLOAD(tb[TCA_RSVP_PINFO]) < sizeof(*pinfo))
335 pinfo = RTA_DATA(tb[TCA_RSVP_PINFO]);
338 if (tb[TCA_RSVP_CLASSID]) {
341 fprintf(f, "flowid %s ", sprint_tc_classid(*(__u32*)RTA_DATA(tb[TCA_RSVP_CLASSID]), b1));
343 fprintf(f, "tunnel %d skip %d ", *(__u32*)RTA_DATA(tb[TCA_RSVP_CLASSID]), pinfo->tunnelhdr);
347 if (tb[TCA_RSVP_DST]) {
350 if (inet_ntop(family, RTA_DATA(tb[TCA_RSVP_DST]), buf, sizeof(buf)) == 0
    [all...]
q_red.c 162 struct rtattr *tb[TCA_RED_STAB+1]; local
171 parse_rtattr_nested(tb, TCA_RED_STAB, opt);
173 if (tb[TCA_RED_PARMS] == NULL)
175 qopt = RTA_DATA(tb[TCA_RED_PARMS]);
176 if (RTA_PAYLOAD(tb[TCA_RED_PARMS]) < sizeof(*qopt))
m_action.c 261 struct rtattr *tb[TCA_ACT_MAX + 1]; local
268 parse_rtattr_nested(tb, TCA_ACT_MAX, arg);
269 if (tb[TCA_ACT_KIND] == NULL) {
275 a = get_action_kind(RTA_DATA(tb[TCA_ACT_KIND]));
285 err = a->print_aopt(a,f,tb[TCA_ACT_OPTIONS]);
291 if (show_stats && tb[TCA_ACT_STATS]) {
293 print_tcstats2_attr(f, tb[TCA_ACT_STATS], "\t", NULL);
305 struct rtattr *tb[TCA_ACT_MAX_PRIO + 1]; local
310 parse_rtattr_nested(tb, TCA_ACT_MAX_PRIO, arg);
312 if (tab_flush && NULL != tb[0] && NULL == tb[1])
338 struct rtattr * tb[TCAA_MAX+1]; local
    [all...]
q_cbq.c 440 struct rtattr *tb[TCA_CBQ_MAX+1]; local
451 parse_rtattr_nested(tb, TCA_CBQ_MAX, opt);
453 if (tb[TCA_CBQ_RATE]) {
454 if (RTA_PAYLOAD(tb[TCA_CBQ_RATE]) < sizeof(*r))
457 r = RTA_DATA(tb[TCA_CBQ_RATE]);
459 if (tb[TCA_CBQ_LSSOPT]) {
460 if (RTA_PAYLOAD(tb[TCA_CBQ_LSSOPT]) < sizeof(*lss))
463 lss = RTA_DATA(tb[TCA_CBQ_LSSOPT]);
465 if (tb[TCA_CBQ_WRROPT]) {
466 if (RTA_PAYLOAD(tb[TCA_CBQ_WRROPT]) < sizeof(*wrr)
    [all...]
m_police.c 326 struct rtattr *tb[TCA_POLICE_MAX+1]; local
332 parse_rtattr_nested(tb, TCA_POLICE_MAX, arg);
334 if (tb[TCA_POLICE_TBF] == NULL) {
339 if (RTA_PAYLOAD(tb[TCA_POLICE_TBF]) < sizeof(*p)) {
344 p = RTA_DATA(tb[TCA_POLICE_TBF]);
355 if (tb[TCA_POLICE_AVRATE])
356 fprintf(f, "avrate %s ", sprint_rate(*(__u32*)RTA_DATA(tb[TCA_POLICE_AVRATE]), b1));
358 if (tb[TCA_POLICE_RESULT]) {
359 fprintf(f, "/%s ", police_action_n2a(*(int*)RTA_DATA(tb[TCA_POLICE_RESULT]), b1, sizeof(b1)));
q_htb.c 245 struct rtattr *tb[TCA_HTB_RTAB+1]; local
256 parse_rtattr_nested(tb, TCA_HTB_RTAB, opt);
258 if (tb[TCA_HTB_PARMS]) {
260 hopt = RTA_DATA(tb[TCA_HTB_PARMS]);
261 if (RTA_PAYLOAD(tb[TCA_HTB_PARMS]) < sizeof(*hopt)) return -1;
292 if (tb[TCA_HTB_INIT]) {
293 gopt = RTA_DATA(tb[TCA_HTB_INIT]);
294 if (RTA_PAYLOAD(tb[TCA_HTB_INIT]) < sizeof(*gopt)) return -1;
m_mirred.c 257 struct rtattr *tb[TCA_MIRRED_MAX + 1]; local
264 parse_rtattr_nested(tb, TCA_MIRRED_MAX, arg);
266 if (tb[TCA_MIRRED_PARMS] == NULL) {
270 p = RTA_DATA(tb[TCA_MIRRED_PARMS]);
288 if (tb[TCA_MIRRED_TM]) {
289 struct tcf_t *tm = RTA_DATA(tb[TCA_MIRRED_TM]);
m_ipt.c 538 struct rtattr *tb[TCA_IPT_MAX + 1]; local
548 parse_rtattr_nested(tb, TCA_IPT_MAX, arg);
550 if (tb[TCA_IPT_TABLE] == NULL) {
554 (char *) RTA_DATA(tb[TCA_IPT_TABLE]));
557 if (tb[TCA_IPT_HOOK] == NULL) {
562 hook = *(__u32 *) RTA_DATA(tb[TCA_IPT_HOOK]);
566 if (tb[TCA_IPT_TARG] == NULL) {
571 t = RTA_DATA(tb[TCA_IPT_TARG]);
589 if (tb[TCA_IPT_INDEX] == NULL) {
593 index = *(__u32 *) RTA_DATA(tb[TCA_IPT_INDEX])
    [all...]
q_gred.c 262 struct rtattr *tb[TCA_GRED_STAB+1]; local
274 parse_rtattr_nested(tb, TCA_GRED_STAB, opt);
276 if (tb[TCA_GRED_PARMS] == NULL)
279 qopt = RTA_DATA(tb[TCA_GRED_PARMS]);
280 if (RTA_PAYLOAD(tb[TCA_GRED_PARMS]) < sizeof(*qopt)*MAX_DPs) {
q_tbf.c 220 struct rtattr *tb[TCA_TBF_PTAB+1]; local
230 parse_rtattr_nested(tb, TCA_TBF_PTAB, opt);
232 if (tb[TCA_TBF_PARMS] == NULL)
235 qopt = RTA_DATA(tb[TCA_TBF_PARMS]);
236 if (RTA_PAYLOAD(tb[TCA_TBF_PARMS]) < sizeof(*qopt))
f_u32.c 1143 struct rtattr *tb[TCA_U32_MAX+1]; local
1150 parse_rtattr_nested(tb, TCA_U32_MAX, opt);
1160 if (tb[TCA_U32_SEL]) {
1161 if (RTA_PAYLOAD(tb[TCA_U32_SEL]) < sizeof(*sel))
1164 sel = RTA_DATA(tb[TCA_U32_SEL]);
1167 if (tb[TCA_U32_DIVISOR]) {
1168 fprintf(f, "ht divisor %d ", *(__u32*)RTA_DATA(tb[TCA_U32_DIVISOR]));
1169 } else if (tb[TCA_U32_HASH]) {
1170 __u32 htid = *(__u32*)RTA_DATA(tb[TCA_U32_HASH]);
1176 if (tb[TCA_U32_CLASSID])
    [all...]
  /external/iproute2/ip/
ipaddress.c 154 static void print_linktype(FILE *fp, struct rtattr *tb)
160 parse_rtattr_nested(linkinfo, IFLA_INFO_MAX, tb);
194 struct rtattr * tb[IFLA_MAX+1]; local
210 parse_rtattr(tb, IFLA_MAX, IFLA_RTA(ifi), len);
211 if (tb[IFLA_IFNAME] == NULL) {
216 fnmatch(filter.label, RTA_DATA(tb[IFLA_IFNAME]), 0))
223 tb[IFLA_IFNAME] ? (char*)RTA_DATA(tb[IFLA_IFNAME]) : "<nil>");
225 if (tb[IFLA_LINK]) {
227 int iflink = *(int*)RTA_DATA(tb[IFLA_LINK])
813 struct rtattr *tb[IFA_MAX+1]; local
    [all...]
xfrm_policy.c 410 struct rtattr * tb[XFRMA_MAX+1]; local
453 parse_rtattr(tb, XFRMA_MAX, rta, len);
455 if (tb[XFRMA_POLICY_TYPE]) {
458 if (RTA_PAYLOAD(tb[XFRMA_POLICY_TYPE]) < sizeof(*upt)) {
462 upt = (struct xfrm_userpolicy_type *)RTA_DATA(tb[XFRMA_POLICY_TYPE]);
478 if (!tb[XFRMA_POLICY]) {
482 if (RTA_PAYLOAD(tb[XFRMA_POLICY]) < sizeof(*xpinfo)) {
486 xpinfo = (struct xfrm_userpolicy_info *)RTA_DATA(tb[XFRMA_POLICY]);
489 xfrm_policy_info_print(xpinfo, tb, fp, NULL, NULL);
629 struct rtattr *tb[XFRMA_MAX+1] local
817 struct rtattr * tb[XFRMA_SPD_MAX+1]; local
    [all...]
ipxfrm.c 632 void xfrm_xfrma_print(struct rtattr *tb[], __u16 family,
635 if (tb[XFRMA_ALG_AUTH]) {
636 struct rtattr *rta = tb[XFRMA_ALG_AUTH];
641 if (tb[XFRMA_ALG_AEAD]) {
642 struct rtattr *rta = tb[XFRMA_ALG_AEAD];
647 if (tb[XFRMA_ALG_CRYPT]) {
648 struct rtattr *rta = tb[XFRMA_ALG_CRYPT];
653 if (tb[XFRMA_ALG_COMP]) {
654 struct rtattr *rta = tb[XFRMA_ALG_COMP];
659 if (tb[XFRMA_ENCAP])
    [all...]
xfrm.h 140 void xfrm_xfrma_print(struct rtattr *tb[], __u16 family,
143 struct rtattr *tb[], FILE *fp, const char *prefix,
146 struct rtattr *tb[], FILE *fp, const char *prefix,
  /external/dropbear/libtommath/
bn_mp_div.c 23 mp_int ta, tb, tq, q; local
45 if ((res = mp_init_multi(&ta, &tb, &tq, &q, NULL) != MP_OKAY)) {
53 ((res = mp_abs(b, &tb)) != MP_OKAY) ||
54 ((res = mp_mul_2d(&tb, n, &tb)) != MP_OKAY) ||
60 if (mp_cmp(&tb, &ta) != MP_GT) {
61 if (((res = mp_sub(&ta, &tb, &ta)) != MP_OKAY) ||
66 if (((res = mp_div_2d(&tb, 1, &tb, NULL)) != MP_OKAY) ||
84 mp_clear_multi(&ta, &tb, &tq, &q, NULL)
    [all...]
  /external/speex/libspeex/
jitter.c 90 static void tb_init(struct TimingBuffer *tb)
92 tb->filled = 0;
93 tb->curr_count = 0;
97 static void tb_add(struct TimingBuffer *tb, spx_int16_t timing)
101 if (tb->filled >= MAX_TIMINGS && timing >= tb->timing[tb->filled-1])
103 tb->curr_count++;
110 while (pos<tb->filled && timing >= tb->timing[pos]
188 struct TimingBuffer *tb; local
    [all...]
  /packages/apps/Email/tests/src/com/android/email/mail/internet/
MimeUtilityTest.java 332 TextBody tb = new TextBody(theText); local
337 p.setBody(tb);
343 p.setBody(tb);
349 p.setBody(tb);
372 TextBody tb = new TextBody(UNICODE_EXPECT); local
377 p.setBody(tb);
384 p.setBody(tb);
391 p.setBody(tb);
398 p.setBody(tb);
409 p.setBody(tb);
    [all...]
  /external/clearsilver/python/examples/base/
handle_error.py 57 tb = who_calls.pretty_who_calls(strip=1) + "\n"
58 sys.stderr.write(tb)
61 dump_bug(LV_WARNING, "handleException", msg, tb)
  /external/openssl/ssl/
d1_lib.c 380 struct _timeb tb; local
381 _ftime(&tb);
382 t->tv_sec = (long)tb.time;
383 t->tv_usec = (long)tb.millitm * 1000;
385 struct timeb tb;
386 ftime(&tb);
387 t->tv_sec = (long)tb.time;
388 t->tv_usec = (long)tb.millitm * 1000;
  /frameworks/base/core/java/android/text/
SpannableStringBuilder.java 207 public SpannableStringBuilder insert(int where, CharSequence tb, int start, int end) {
208 return replace(where, where, tb, start, end);
212 public SpannableStringBuilder insert(int where, CharSequence tb) {
213 return replace(where, where, tb, 0, tb.length());
268 CharSequence tb, int tbstart, int tbend) {
269 return change(true, start, end, tb, tbstart, tbend);
273 CharSequence tb, int tbstart, int tbend) {
325 TextUtils.getChars(tb, tbstart, tbend, mText, start);
327 if (tb instanceof Spanned)
    [all...]
  /dalvik/dx/src/com/android/dx/ssa/
LiteralOpUpgrader.java 67 TypeBearer tb = spec.getTypeBearer(); local
68 if (tb instanceof CstLiteralBits) {
69 CstLiteralBits clb = (CstLiteralBits) tb;
  /external/webkit/WebCore/rendering/
RenderTable.cpp 772 const BorderValue& tb = style()->borderLeft(); local
773 if (tb.style() == BHIDDEN)
775 if (tb.style() > BHIDDEN)
776 borderWidth = tb.width;
831 const BorderValue& tb = style()->borderRight(); local
832 if (tb.style() == BHIDDEN)
834 if (tb.style() > BHIDDEN)
835 borderWidth = tb.width;
920 const BorderValue& tb = style()->borderTop(); local
921 if (tb.style() == BHIDDEN
946 const BorderValue& tb = style()->borderBottom(); local
961 const BorderValue& tb = style()->borderLeft(); local
991 const BorderValue& tb = style()->borderRight(); local
    [all...]

Completed in 215 milliseconds

1 23 4 5 6 7 8 9