HomeSort by relevance Sort by last modified time
    Searched refs:tb (Results 251 - 275 of 1770) sorted by null

<<11121314151617181920>>

  /external/libnl/lib/route/
rule.c 89 struct nlattr *tb[FRA_MAX+1]; local
101 err = nlmsg_parse(n, sizeof(*frh), tb, FRA_MAX, rule_policy);
119 if (tb[FRA_TABLE]) {
120 rule->r_table = nla_get_u32(tb[FRA_TABLE]);
124 if (tb[FRA_IIFNAME]) {
125 nla_strlcpy(rule->r_iifname, tb[FRA_IIFNAME], IFNAMSIZ);
129 if (tb[FRA_OIFNAME]) {
130 nla_strlcpy(rule->r_oifname, tb[FRA_OIFNAME], IFNAMSIZ);
134 if (tb[FRA_PRIORITY]) {
135 rule->r_prio = nla_get_u32(tb[FRA_PRIORITY])
    [all...]
  /external/iproute2/tc/
tc_qdisc.c 207 struct rtattr *tb[TCA_MAX+1]; local
224 parse_rtattr(tb, TCA_MAX, TCA_RTA(t), len);
226 if (tb[TCA_KIND] == NULL) {
246 rta_getattr_str(tb[TCA_KIND]),
249 fprintf(fp, "qdisc %s %x: ", rta_getattr_str(tb[TCA_KIND]),
266 if (strcmp("pfifo_fast", RTA_DATA(tb[TCA_KIND])) == 0)
269 q = get_qdisc_kind(RTA_DATA(tb[TCA_KIND]));
271 if (tb[TCA_OPTIONS]) {
273 q->print_qopt(q, fp, tb[TCA_OPTIONS]);
279 if (show_details && tb[TCA_STAB])
    [all...]
m_police.c 188 /* Must at least do late binding, use TB or ewma policing */
194 /* When the TB policer is used, burst is required */
262 struct rtattr *tb[TCA_POLICE_MAX+1]; local
269 parse_rtattr_nested(tb, TCA_POLICE_MAX, arg);
271 if (tb[TCA_POLICE_TBF] == NULL) {
276 if (RTA_PAYLOAD(tb[TCA_POLICE_TBF]) < sizeof(*p)) {
281 p = RTA_DATA(tb[TCA_POLICE_TBF]);
294 if (tb[TCA_POLICE_AVRATE])
296 sprint_rate(rta_getattr_u32(tb[TCA_POLICE_AVRATE]),
301 if (tb[TCA_POLICE_RESULT])
    [all...]
q_hfsc.c 232 struct rtattr *tb[TCA_HFSC_MAX+1]; local
238 parse_rtattr_nested(tb, TCA_HFSC_MAX, opt);
240 if (tb[TCA_HFSC_RSC]) {
241 if (RTA_PAYLOAD(tb[TCA_HFSC_RSC]) < sizeof(*rsc))
244 rsc = RTA_DATA(tb[TCA_HFSC_RSC]);
246 if (tb[TCA_HFSC_FSC]) {
247 if (RTA_PAYLOAD(tb[TCA_HFSC_FSC]) < sizeof(*fsc))
250 fsc = RTA_DATA(tb[TCA_HFSC_FSC]);
252 if (tb[TCA_HFSC_USC]) {
253 if (RTA_PAYLOAD(tb[TCA_HFSC_USC]) < sizeof(*usc)
    [all...]
q_tbf.c 253 struct rtattr *tb[TCA_TBF_MAX+1]; local
267 parse_rtattr_nested(tb, TCA_TBF_MAX, opt);
269 if (tb[TCA_TBF_PARMS] == NULL)
272 qopt = RTA_DATA(tb[TCA_TBF_PARMS]);
273 if (RTA_PAYLOAD(tb[TCA_TBF_PARMS]) < sizeof(*qopt))
276 if (tb[TCA_TBF_RATE64] &&
277 RTA_PAYLOAD(tb[TCA_TBF_RATE64]) >= sizeof(rate64))
278 rate64 = rta_getattr_u64(tb[TCA_TBF_RATE64]);
290 if (tb[TCA_TBF_PRATE64] &&
291 RTA_PAYLOAD(tb[TCA_TBF_PRATE64]) >= sizeof(prate64)
    [all...]
q_choke.c 167 struct rtattr *tb[TCA_CHOKE_MAX+1]; local
174 parse_rtattr_nested(tb, TCA_CHOKE_MAX, opt);
176 if (tb[TCA_CHOKE_PARMS] == NULL)
178 qopt = RTA_DATA(tb[TCA_CHOKE_PARMS]);
179 if (RTA_PAYLOAD(tb[TCA_CHOKE_PARMS]) < sizeof(*qopt))
181 if (tb[TCA_CHOKE_MAX_P] &&
182 RTA_PAYLOAD(tb[TCA_CHOKE_MAX_P]) >= sizeof(__u32))
183 max_P = rta_getattr_u32(tb[TCA_CHOKE_MAX_P]);
q_red.c 158 struct rtattr *tb[TCA_RED_MAX + 1]; local
169 parse_rtattr_nested(tb, TCA_RED_MAX, opt);
171 if (tb[TCA_RED_PARMS] == NULL)
173 qopt = RTA_DATA(tb[TCA_RED_PARMS]);
174 if (RTA_PAYLOAD(tb[TCA_RED_PARMS]) < sizeof(*qopt))
177 if (tb[TCA_RED_MAX_P] &&
178 RTA_PAYLOAD(tb[TCA_RED_MAX_P]) >= sizeof(__u32))
179 max_P = rta_getattr_u32(tb[TCA_RED_MAX_P]);
m_ipt.c 433 struct rtattr *tb[TCA_IPT_MAX + 1]; local
443 parse_rtattr_nested(tb, TCA_IPT_MAX, arg);
445 if (tb[TCA_IPT_TABLE] == NULL) {
449 rta_getattr_str(tb[TCA_IPT_TABLE]));
452 if (tb[TCA_IPT_HOOK] == NULL) {
458 hook = rta_getattr_u32(tb[TCA_IPT_HOOK]);
462 if (tb[TCA_IPT_TARG] == NULL) {
468 t = RTA_DATA(tb[TCA_IPT_TARG]);
486 if (tb[TCA_IPT_INDEX] == NULL) {
491 index = rta_getattr_u32(tb[TCA_IPT_INDEX])
    [all...]
  /external/python/cpython3/Lib/
traceback.py 43 def print_tb(tb, limit=None, file=None):
44 """Print up to 'limit' stack trace entries from the traceback 'tb'.
51 print_list(extract_tb(tb, limit=limit), file=file)
53 def format_tb(tb, limit=None):
54 """A shorthand for 'format_list(extract_tb(tb, limit))'."""
55 return extract_tb(tb, limit=limit).format()
57 def extract_tb(tb, limit=None):
68 return StackSummary.extract(walk_tb(tb), limit=limit)
83 def print_exception(etype, value, tb, limit=None, file=None, chain=True):
84 """Print exception up to 'limit' stack trace entries from 'tb' to 'file'
    [all...]
  /bionic/libc/bionic/
ndk_cruft.cpp 304 int ftime(struct timeb* tb) {
311 tb->time = tv.tv_sec;
312 tb->millitm = (tv.tv_usec + 500) / 1000;
314 if (tb->millitm == 1000) {
315 ++tb->time;
316 tb->millitm = 0;
319 tb->timezone = tz.tz_minuteswest;
320 tb->dstflag = tz.tz_dsttime;
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
ScriptTest.java 50 Type.Builder tb = new Type.Builder(mRS, Element.I32(mRS)); local
51 Allocation a = Allocation.createTyped(mRS, tb.create());
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
dis.py 51 def distb(tb=None):
53 if tb is None:
55 tb = sys.last_traceback
58 while tb.tb_next: tb = tb.tb_next
59 disassemble(tb.tb_frame.f_code, tb.tb_lasti)
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
dis.py 51 def distb(tb=None):
53 if tb is None:
55 tb = sys.last_traceback
58 while tb.tb_next: tb = tb.tb_next
59 disassemble(tb.tb_frame.f_code, tb.tb_lasti)
  /external/libnl/lib/route/cls/
basic.c 72 struct nlattr *tb[TCA_BASIC_MAX + 1]; local
76 err = tca_parse(tb, TCA_BASIC_MAX, tc, basic_policy);
80 if (tb[TCA_BASIC_CLASSID]) {
81 b->b_target = nla_get_u32(tb[TCA_BASIC_CLASSID]);
85 if (tb[TCA_BASIC_EMATCHES]) {
86 if ((err = rtnl_ematch_parse_attr(tb[TCA_BASIC_EMATCHES],
93 if (tb[TCA_BASIC_ACT]) {
95 err = rtnl_act_parse(&b->b_act, tb[TCA_BASIC_ACT]);
  /external/libnl/lib/route/qdisc/
cbq.c 77 struct nlattr *tb[TCA_CBQ_MAX + 1]; local
81 err = tca_parse(tb, TCA_CBQ_MAX, tc, cbq_policy);
85 nla_memcpy(&cbq->cbq_lss, tb[TCA_CBQ_LSSOPT], sizeof(cbq->cbq_lss));
86 nla_memcpy(&cbq->cbq_rate, tb[TCA_CBQ_RATE], sizeof(cbq->cbq_rate));
87 nla_memcpy(&cbq->cbq_wrr, tb[TCA_CBQ_WRROPT], sizeof(cbq->cbq_wrr));
88 nla_memcpy(&cbq->cbq_fopt, tb[TCA_CBQ_FOPT], sizeof(cbq->cbq_fopt));
89 nla_memcpy(&cbq->cbq_ovl, tb[TCA_CBQ_OVL_STRATEGY],
91 nla_memcpy(&cbq->cbq_police, tb[TCA_CBQ_POLICE],
  /external/python/cpython2/Lib/
dis.py 51 def distb(tb=None):
53 if tb is None:
55 tb = sys.last_traceback
58 while tb.tb_next: tb = tb.tb_next
59 disassemble(tb.tb_frame.f_code, tb.tb_lasti)
  /prebuilts/gdb/darwin-x86/lib/python2.7/
dis.py 51 def distb(tb=None):
53 if tb is None:
55 tb = sys.last_traceback
58 while tb.tb_next: tb = tb.tb_next
59 disassemble(tb.tb_frame.f_code, tb.tb_lasti)
  /prebuilts/gdb/linux-x86/lib/python2.7/
dis.py 51 def distb(tb=None):
53 if tb is None:
55 tb = sys.last_traceback
58 while tb.tb_next: tb = tb.tb_next
59 disassemble(tb.tb_frame.f_code, tb.tb_lasti)
  /prebuilts/go/darwin-x86/src/text/tabwriter/
example_test.go 18 fmt.Fprintln(w, "a\tb\tc\td\t.")
27 fmt.Fprintln(w, "a\tb\tc\td\t.")
44 fmt.Fprintln(w, "a\tb\tc")
62 fmt.Fprintln(w, "a\tb\taligned\t")
  /prebuilts/go/linux-x86/src/text/tabwriter/
example_test.go 18 fmt.Fprintln(w, "a\tb\tc\td\t.")
27 fmt.Fprintln(w, "a\tb\tc\td\t.")
44 fmt.Fprintln(w, "a\tb\tc")
62 fmt.Fprintln(w, "a\tb\taligned\t")
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
dis.py 51 def distb(tb=None):
53 if tb is None:
55 tb = sys.last_traceback
58 while tb.tb_next: tb = tb.tb_next
59 disassemble(tb.tb_frame.f_code, tb.tb_lasti)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
dis.py 51 def distb(tb=None):
53 if tb is None:
55 tb = sys.last_traceback
58 while tb.tb_next: tb = tb.tb_next
59 disassemble(tb.tb_frame.f_code, tb.tb_lasti)
  /toolchain/binutils/binutils-2.27/gold/testsuite/
ehdr_start_test.t 35 .tbss : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) }
  /external/python/cpython3/Lib/concurrent/futures/
process.py 97 def __init__(self, tb):
98 self.tb = tb
100 return self.tb
103 def __init__(self, exc, tb):
104 tb = traceback.format_exception(type(exc), exc, tb)
105 tb = ''.join(tb)
107 self.tb = '\n"""\n%s"""' % t
    [all...]
  /prebuilts/go/darwin-x86/src/encoding/json/
fold.go 66 tb := t[0]
67 if tb < utf8.RuneSelf {
68 if sb != tb {
71 if sbUpper != tb&caseMask {
114 tb := t[i]
115 if sb == tb {
119 if sb&caseMask != tb&caseMask {

Completed in 1238 milliseconds

<<11121314151617181920>>