Searched refs:tb (Results 51 - 75 of 154) sorted by relevance

1234567

/external/iproute2/ip/
H A Dip_common.h43 static inline int rtm_get_table(struct rtmsg *r, struct rtattr **tb) argument
46 if (tb[RTA_TABLE])
47 table = *(__u32*) RTA_DATA(tb[RTA_TABLE]);
H A Dipaddress.c155 static void print_linktype(FILE *fp, struct rtattr *tb) argument
161 parse_rtattr_nested(linkinfo, IFLA_INFO_MAX, tb);
225 struct rtattr * tb[IFLA_MAX+1]; local
241 parse_rtattr(tb, IFLA_MAX, IFLA_RTA(ifi), len);
242 if (tb[IFLA_IFNAME] == NULL) {
247 fnmatch(filter.label, RTA_DATA(tb[IFLA_IFNAME]), 0))
254 tb[IFLA_IFNAME] ? (char*)RTA_DATA(tb[IFLA_IFNAME]) : "<nil>");
256 if (tb[IFLA_LINK]) {
258 int iflink = *(int*)RTA_DATA(tb[IFLA_LIN
911 struct rtattr *tb[IFA_MAX+1]; local
[all...]
H A Dxfrm_monitor.c51 struct rtattr * tb[XFRMA_MAX+1]; local
60 parse_rtattr(tb, XFRMA_MAX, XFRMACQ_RTA(xacq), len);
82 xfrm_policy_info_print(&xacq->policy, tb, fp, " ", " policy ");
139 struct rtattr * tb[XFRMA_MAX+1]; local
151 parse_rtattr(tb, XFRMA_MAX, NLMSG_DATA(n), len);
153 if (tb[XFRMA_POLICY_TYPE]) {
158 if (RTA_PAYLOAD(tb[XFRMA_POLICY_TYPE]) < sizeof(*upt))
161 upt = (struct xfrm_userpolicy_type *)RTA_DATA(tb[XFRMA_POLICY_TYPE]);
180 struct rtattr * tb[XFRMA_MAX+1]; local
200 parse_rtattr(tb, XFRMA_MA
[all...]
H A Dipxfrm.c668 void xfrm_xfrma_print(struct rtattr *tb[], __u16 family, argument
671 if (tb[XFRMA_MARK]) {
672 struct rtattr *rta = tb[XFRMA_MARK];
677 if (tb[XFRMA_ALG_AUTH]) {
678 struct rtattr *rta = tb[XFRMA_ALG_AUTH];
683 if (tb[XFRMA_ALG_AEAD]) {
684 struct rtattr *rta = tb[XFRMA_ALG_AEAD];
689 if (tb[XFRMA_ALG_CRYPT]) {
690 struct rtattr *rta = tb[XFRMA_ALG_CRYPT];
695 if (tb[XFRMA_ALG_COM
797 xfrm_state_info_print(struct xfrm_usersa_info *xsinfo, struct rtattr *tb[], FILE *fp, const char *prefix, const char *title) argument
852 xfrm_policy_info_print(struct xfrm_userpolicy_info *xpinfo, struct rtattr *tb[], FILE *fp, const char *prefix, const char *title) argument
[all...]
H A Dxfrm_policy.c425 struct rtattr * tb[XFRMA_MAX+1]; local
468 parse_rtattr(tb, XFRMA_MAX, rta, len);
470 if (tb[XFRMA_POLICY_TYPE]) {
473 if (RTA_PAYLOAD(tb[XFRMA_POLICY_TYPE]) < sizeof(*upt)) {
477 upt = (struct xfrm_userpolicy_type *)RTA_DATA(tb[XFRMA_POLICY_TYPE]);
493 if (!tb[XFRMA_POLICY]) {
497 if (RTA_PAYLOAD(tb[XFRMA_POLICY]) < sizeof(*xpinfo)) {
501 xpinfo = (struct xfrm_userpolicy_info *)RTA_DATA(tb[XFRMA_POLICY]);
504 xfrm_policy_info_print(xpinfo, tb, fp, NULL, NULL);
656 struct rtattr *tb[XFRMA_MA local
844 struct rtattr * tb[XFRMA_SPD_MAX+1]; local
[all...]
/external/iproute2/tc/
H A Dtc_filter.c191 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 ", (char*)RTA_DATA(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_STAT
[all...]
H A Dq_hfsc.c236 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_US
[all...]
H A Dq_netem.c323 struct rtattr *tb[TCA_NETEM_MAX+1]; local
324 parse_rtattr(tb, TCA_NETEM_MAX, RTA_DATA(opt) + sizeof(qopt),
327 if (tb[TCA_NETEM_CORR]) {
328 if (RTA_PAYLOAD(tb[TCA_NETEM_CORR]) < sizeof(*cor))
330 cor = RTA_DATA(tb[TCA_NETEM_CORR]);
332 if (tb[TCA_NETEM_REORDER]) {
333 if (RTA_PAYLOAD(tb[TCA_NETEM_REORDER]) < sizeof(*reorder))
335 reorder = RTA_DATA(tb[TCA_NETEM_REORDER]);
337 if (tb[TCA_NETEM_CORRUPT]) {
338 if (RTA_PAYLOAD(tb[TCA_NETEM_CORRUP
[all...]
H A Df_rsvp.c318 struct rtattr *tb[TCA_RSVP_MAX+1]; local
324 parse_rtattr_nested(tb, TCA_RSVP_MAX, opt);
329 if (tb[TCA_RSVP_PINFO]) {
330 if (RTA_PAYLOAD(tb[TCA_RSVP_PINFO]) < sizeof(*pinfo))
333 pinfo = RTA_DATA(tb[TCA_RSVP_PINFO]);
336 if (tb[TCA_RSVP_CLASSID]) {
339 fprintf(f, "flowid %s ", sprint_tc_classid(*(__u32*)RTA_DATA(tb[TCA_RSVP_CLASSID]), b1));
341 fprintf(f, "tunnel %d skip %d ", *(__u32*)RTA_DATA(tb[TCA_RSVP_CLASSID]), pinfo->tunnelhdr);
345 if (tb[TCA_RSVP_DST]) {
348 if (inet_ntop(family, RTA_DATA(tb[TCA_RSVP_DS
[all...]
H A Dq_red.c148 struct rtattr *tb[TCA_RED_STAB+1]; local
157 parse_rtattr_nested(tb, TCA_RED_STAB, opt);
159 if (tb[TCA_RED_PARMS] == NULL)
161 qopt = RTA_DATA(tb[TCA_RED_PARMS]);
162 if (RTA_PAYLOAD(tb[TCA_RED_PARMS]) < sizeof(*qopt))
H A Dm_action.c261 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[
338 struct rtattr * tb[TCAA_MAX+1]; local
[all...]
H A Dq_cbq.c439 struct rtattr *tb[TCA_CBQ_MAX+1]; local
450 parse_rtattr_nested(tb, TCA_CBQ_MAX, opt);
452 if (tb[TCA_CBQ_RATE]) {
453 if (RTA_PAYLOAD(tb[TCA_CBQ_RATE]) < sizeof(*r))
456 r = RTA_DATA(tb[TCA_CBQ_RATE]);
458 if (tb[TCA_CBQ_LSSOPT]) {
459 if (RTA_PAYLOAD(tb[TCA_CBQ_LSSOPT]) < sizeof(*lss))
462 lss = RTA_DATA(tb[TCA_CBQ_LSSOPT]);
464 if (tb[TCA_CBQ_WRROPT]) {
465 if (RTA_PAYLOAD(tb[TCA_CBQ_WRROP
[all...]
H A Dm_police.c326 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)));
H A Dq_htb.c243 struct rtattr *tb[TCA_HTB_RTAB+1]; local
254 parse_rtattr_nested(tb, TCA_HTB_RTAB, opt);
256 if (tb[TCA_HTB_PARMS]) {
258 hopt = RTA_DATA(tb[TCA_HTB_PARMS]);
259 if (RTA_PAYLOAD(tb[TCA_HTB_PARMS]) < sizeof(*hopt)) return -1;
290 if (tb[TCA_HTB_INIT]) {
291 gopt = RTA_DATA(tb[TCA_HTB_INIT]);
292 if (RTA_PAYLOAD(tb[TCA_HTB_INIT]) < sizeof(*gopt)) return -1;
H A Dm_mirred.c252 struct rtattr *tb[TCA_MIRRED_MAX + 1]; local
259 parse_rtattr_nested(tb, TCA_MIRRED_MAX, arg);
261 if (tb[TCA_MIRRED_PARMS] == NULL) {
265 p = RTA_DATA(tb[TCA_MIRRED_PARMS]);
283 if (tb[TCA_MIRRED_TM]) {
284 struct tcf_t *tm = RTA_DATA(tb[TCA_MIRRED_TM]);
H A Dm_ipt.c538 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_INDE
[all...]
H A Dq_gred.c257 struct rtattr *tb[TCA_GRED_STAB+1]; local
269 parse_rtattr_nested(tb, TCA_GRED_STAB, opt);
271 if (tb[TCA_GRED_PARMS] == NULL)
274 qopt = RTA_DATA(tb[TCA_GRED_PARMS]);
275 if (RTA_PAYLOAD(tb[TCA_GRED_PARMS]) < sizeof(*qopt)*MAX_DPs) {
H A Dq_tbf.c220 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))
/external/webkit/Tools/Scripts/
H A Dreport-include-statistics110 my $tb = keys %{ $totalIncludes{$fileb} };
111 return $ta <=> $tb if $ta != $tb;
/external/qemu/
H A Dcpu-exec.c105 TranslationBlock *tb; local
112 tb = tb_gen_code(env, orig_tb->pc, orig_tb->cs_base, orig_tb->flags,
114 env->current_tb = tb;
116 next_tb = tcg_qemu_tb_exec(tb->tc_ptr);
122 cpu_pc_from_tb(env, tb);
124 tb_phys_invalidate(tb, -1);
125 tb_free(tb);
132 TranslationBlock *tb, **ptb1; local
145 tb = *ptb1;
146 if (!tb)
183 TranslationBlock *tb; local
248 TranslationBlock *tb; local
813 TranslationBlock *tb; local
[all...]
H A Dandroid-trace.h45 extern void trace_bb_helper(uint64_t bb_num, struct TranslationBlock *tb);
/external/dropbear/libtommath/
H A Dbn_mp_div.c23 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,
[all...]
/external/speex/libspeex/
H A Djitter.c90 static void tb_init(struct TimingBuffer *tb) argument
92 tb->filled = 0;
93 tb->curr_count = 0;
97 static void tb_add(struct TimingBuffer *tb, spx_int16_t timing) argument
101 if (tb->filled >= MAX_TIMINGS && timing >= tb->timing[tb->filled-1])
103 tb->curr_count++;
110 while (pos<tb->filled && timing >= tb
188 struct TimingBuffer *tb; local
[all...]
/external/chromium/third_party/libevent/
H A Devutil.c211 struct _timeb tb; local
216 _ftime(&tb);
217 tv->tv_sec = (long) tb.time;
218 tv->tv_usec = ((int) tb.millitm) * 1000;
/external/antlr/antlr-3.4/runtime/Perl5/t/lib/ANTLR/Runtime/
H A DTest.pm56 my $tb = $CLASS->builder;
109 return $tb->is_eq($actual, $expected, $name);

Completed in 341 milliseconds

1234567