/external/iproute2/lib/ |
ll_map.c | 53 struct rtattr *tb[IFLA_MAX+1]; local 61 memset(tb, 0, sizeof(tb)); 62 parse_rtattr(tb, IFLA_MAX, IFLA_RTA(ifi), IFLA_PAYLOAD(n)); 63 if (tb[IFLA_IFNAME] == NULL) 82 if (tb[IFLA_ADDRESS]) { 84 im->alen = alen = RTA_PAYLOAD(tb[IFLA_ADDRESS]); 87 memcpy(im->addr, RTA_DATA(tb[IFLA_ADDRESS]), alen); 92 strcpy(im->name, RTA_DATA(tb[IFLA_IFNAME]));
|
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/ |
RsYuv.java | 78 Type.Builder tb = new Type.Builder(mRS, Element.RGBA_8888(mRS)); local 79 tb.setX(mWidth); 80 tb.setY(mHeight); 81 Type t = tb.create(); 86 tb = new Type.Builder(mRS, Element.createPixel(mRS, Element.DataType.UNSIGNED_8, Element.DataKind.PIXEL_YUV)); 87 tb.setX(mWidth); 88 tb.setY(mHeight); 89 tb.setYuvFormat(android.graphics.ImageFormat.NV21); 90 mAllocationIn = Allocation.createTyped(mRS, tb.create(), Allocation.USAGE_SCRIPT);
|
/external/iproute2/tc/ |
q_atm.c | 193 struct rtattr *tb[TCA_ATM_MAX+1]; local 199 parse_rtattr_nested(tb, TCA_ATM_MAX, opt); 200 if (tb[TCA_ATM_ADDR]) { 201 if (RTA_PAYLOAD(tb[TCA_ATM_ADDR]) < 206 RTA_DATA(tb[TCA_ATM_ADDR]),A2T_PRETTY | A2T_NAME) < 211 if (tb[TCA_ATM_HDR]) { 213 const __u8 *hdr = RTA_DATA(tb[TCA_ATM_HDR]); 216 for (i = 0; i < RTA_PAYLOAD(tb[TCA_ATM_HDR]); i++) 221 if (tb[TCA_ATM_EXCESS]) { 224 if (RTA_PAYLOAD(tb[TCA_ATM_EXCESS]) < sizeof(excess) [all...] |
m_gact.c | 215 struct rtattr *tb[TCA_GACT_MAX + 1]; local 220 parse_rtattr_nested(tb, TCA_GACT_MAX, arg); 222 if (tb[TCA_GACT_PARMS] == NULL) { 226 p = RTA_DATA(tb[TCA_GACT_PARMS]); 230 if (NULL != tb[TCA_GACT_PROB]) { 231 pp = RTA_DATA(tb[TCA_GACT_PROB]); 241 if (tb[TCA_GACT_TM]) { 242 struct tcf_t *tm = RTA_DATA(tb[TCA_GACT_TM]);
|
tc_stab.c | 121 struct rtattr *tb[TCA_STAB_MAX + 1]; local 124 parse_rtattr_nested(tb, TCA_STAB_MAX, rta); 126 if (tb[TCA_STAB_BASE]) { 128 memcpy(&s, RTA_DATA(tb[TCA_STAB_BASE]), 129 MIN(RTA_PAYLOAD(tb[TCA_STAB_BASE]), sizeof(s))); 146 if (tb[TCA_STAB_DATA]) { 148 __u16 *data = RTA_DATA(tb[TCA_STAB_DATA]); 149 dlen = RTA_PAYLOAD(tb[TCA_STAB_DATA]) / sizeof(__u16);
|
q_drr.c | 86 struct rtattr *tb[TCA_DRR_MAX + 1]; local 92 parse_rtattr_nested(tb, TCA_DRR_MAX, opt); 94 if (tb[TCA_DRR_QUANTUM]) 96 sprint_size(rta_getattr_u32(tb[TCA_DRR_QUANTUM]), b1));
|
q_prio.c | 100 struct rtattr *tb[TCA_PRIO_MAX+1]; local 105 if (parse_rtattr_nested_compat(tb, TCA_PRIO_MAX, opt, qopt, 113 if (tb[TCA_PRIO_MQ]) 115 rta_getattr_u8(tb[TCA_PRIO_MQ]) ? "on" : "off");
|
q_rr.c | 95 struct rtattr *tb[TCA_PRIO_MAX + 1]; local 100 if (parse_rtattr_nested_compat(tb, TCA_PRIO_MAX, opt, qopt, 108 if (tb[TCA_PRIO_MQ]) 110 rta_getattr_u8(tb[TCA_PRIO_MQ]) ? "on" : "off");
|
tc_qdisc.c | 204 struct rtattr * tb[TCA_MAX+1]; local 221 memset(tb, 0, sizeof(tb)); 222 parse_rtattr(tb, TCA_MAX, TCA_RTA(t), len); 224 if (tb[TCA_KIND] == NULL) { 232 fprintf(fp, "qdisc %s %x: ", rta_getattr_str(tb[TCA_KIND]), t->tcm_handle>>16); 246 if (0 == strcmp("pfifo_fast", RTA_DATA(tb[TCA_KIND]))) 249 q = get_qdisc_kind(RTA_DATA(tb[TCA_KIND])); 251 if (tb[TCA_OPTIONS]) { 253 q->print_qopt(q, fp, tb[TCA_OPTIONS]) [all...] |
/external/iproute2/ip/ |
iproute.c | 95 int tb; member in struct:__anon26199 127 int filter_nlmsg(struct nlmsghdr *n, struct rtattr **tb, int host_len) 137 table = rtm_get_table(r, tb); 146 if (filter.tb) { 147 if (filter.tb == RT_TABLE_LOCAL) { 150 } else if (filter.tb == RT_TABLE_MAIN) { 158 if (filter.tb > 0 && filter.tb != table) 190 if (tb[RTA_DST]) 191 memcpy(&dst.data, RTA_DATA(tb[RTA_DST]), (r->rtm_dst_len+7)/8) 285 struct rtattr * tb[RTA_MAX+1]; local 1075 struct rtattr *tb[RTA_MAX+1]; local 1470 struct rtattr * tb[RTA_MAX+1]; local [all...] |
/external/libnl/lib/route/sch/ |
dsmark.c | 63 struct nlattr *tb[TCA_DSMARK_MAX + 1]; local 66 err = tca_parse(tb, TCA_DSMARK_MAX, (struct rtnl_tca *) qdisc, 75 if (tb[TCA_DSMARK_INDICES]) { 76 dsmark->qdm_indices = nla_get_u16(tb[TCA_DSMARK_INDICES]); 80 if (tb[TCA_DSMARK_DEFAULT_INDEX]) { 82 nla_get_u16(tb[TCA_DSMARK_DEFAULT_INDEX]); 86 if (tb[TCA_DSMARK_SET_TC_INDEX]) { 111 struct nlattr *tb[TCA_DSMARK_MAX + 1]; local 114 err = tca_parse(tb, TCA_DSMARK_MAX, (struct rtnl_tca *) class, 123 if (tb[TCA_DSMARK_MASK]) [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/ |
stack_utils.py | 62 def log_traceback(logger, tb): 63 stack = traceback.extract_tb(tb)
|
/external/libnl/lib/route/cls/ |
basic.c | 66 struct nlattr *tb[TCA_BASIC_MAX + 1]; local 70 err = tca_parse(tb, TCA_BASIC_MAX, (struct rtnl_tca *) cls, basic_policy); 74 if (tb[TCA_BASIC_CLASSID]) { 75 basic->b_classid = nla_get_u32(tb[TCA_BASIC_CLASSID]); 79 if (tb[TCA_BASIC_EMATCHES]) { 80 if ((err = rtnl_ematch_parse(tb[TCA_BASIC_EMATCHES], 88 if (tb[TCA_BASIC_ACT]) { 92 if (tb[TCA_BASIC_POLICE]) {
|
u32.c | 70 struct nlattr *tb[TCA_U32_MAX + 1]; local 73 err = tca_parse(tb, TCA_U32_MAX, (struct rtnl_tca *) cls, u32_policy); 77 if (tb[TCA_U32_DIVISOR]) { 78 u->cu_divisor = nla_get_u32(tb[TCA_U32_DIVISOR]); 82 if (tb[TCA_U32_SEL]) { 83 u->cu_selector = nl_data_alloc_attr(tb[TCA_U32_SEL]); 89 if (tb[TCA_U32_HASH]) { 90 u->cu_hash = nla_get_u32(tb[TCA_U32_HASH]); 94 if (tb[TCA_U32_CLASSID]) { 95 u->cu_classid = nla_get_u32(tb[TCA_U32_CLASSID]) [all...] |
/external/qemu/include/exec/ |
gen-icount.h | 30 static void gen_icount_end(TranslationBlock *tb, int num_insns) 35 tcg_gen_exit_tb((uintptr_t)tb + 2);
|
/frameworks/rs/tests/cppbasic/ |
compute.cpp | 24 Type::Builder tb(rs, e); 25 tb.setX(128); 26 tb.setY(128); 27 sp<const Type> t = tb.create(); 81 Type::Builder tb(rs, e); 82 tb.setX(xDim); 83 tb.setY(yDim); 84 sp<const Type> t = tb.create();
|
/frameworks/rs/tests/cppbasic-shared/ |
compute.cpp | 24 Type::Builder tb(rs, e); 25 tb.setX(128); 26 tb.setY(128); 27 sp<const Type> t = tb.create(); 81 Type::Builder tb(rs, e); 82 tb.setX(xDim); 83 tb.setY(yDim); 84 sp<const Type> t = tb.create();
|
/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/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
GroupTest.java | 59 Type.Builder tb = new Type.Builder(mRS, Element.U8_4(mRS)); local 60 tb.setX(mWidth); 61 tb.setY(mHeight); 62 Type connect = tb.create();
|
/frameworks/rs/tests/cppstrided/ |
compute.cpp | 30 Type::Builder tb(rs, e); 31 tb.setX(numElems); 32 tb.setY(numElems); 33 sp<const Type> t = tb.create();
|
/frameworks/rs/tests/cppallocation/ |
compute.cpp | 29 Type::Builder tb(rs, e); 30 tb.setX(numElems); 31 sp<const Type> t = tb.create();
|
/packages/apps/Calculator/src/com/android/calculator2/ |
CalculatorExpressionBuilder.java | 37 public SpannableStringBuilder replace(int start, int end, CharSequence tb, int tbstart, 41 return super.replace(start, end, tb, tbstart, tbend); 45 mTokenizer.getNormalizedExpression(tb.subSequence(tbstart, tbend).toString());
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/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])]
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/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/chromium_org/tools/telemetry/telemetry/util/ |
exception_formatter.py | 16 def PrintFormattedException(exception_class=None, exception=None, tb=None, 18 if not (bool(exception_class) == bool(exception) == bool(tb)): 20 'exception_class, exception, and tb') 23 exception_class, exception, tb = sys.exc_info() 33 processed_tb = traceback.extract_tb(tb) 34 frame = _GetFinalFrame(tb)
|