HomeSort by relevance Sort by last modified time
    Searched defs:tb (Results 26 - 50 of 237) sorted by null

12 3 4 5 6 7 8 910

  /external/iproute2/tc/
q_red.c 159 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]);
f_flow.c 272 struct rtattr *tb[TCA_FLOW_MAX+1]; local
280 parse_rtattr_nested(tb, TCA_FLOW_MAX, opt);
284 if (tb[TCA_FLOW_MODE]) {
285 __u32 mode = rta_getattr_u32(tb[TCA_FLOW_MODE]);
297 if (tb[TCA_FLOW_KEYS]) {
298 __u32 keymask = rta_getattr_u32(tb[TCA_FLOW_KEYS]);
311 if (tb[TCA_FLOW_MASK])
312 mask = rta_getattr_u32(tb[TCA_FLOW_MASK]);
313 if (tb[TCA_FLOW_XOR])
314 val = rta_getattr_u32(tb[TCA_FLOW_XOR])
    [all...]
f_rsvp.c 318 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(rta_getattr_u32(tb[TCA_RSVP_CLASSID]), b1));
341 fprintf(f, "tunnel %d skip %d ", rta_getattr_u32(tb[TCA_RSVP_CLASSID]), pinfo->tunnelhdr);
345 if (tb[TCA_RSVP_DST]) {
348 if (inet_ntop(family, RTA_DATA(tb[TCA_RSVP_DST]), buf, sizeof(buf)) == 0
    [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_mirred.c 252 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]);
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...]
q_gred.c 264 struct rtattr *tb[TCA_GRED_MAX + 1]; local
277 parse_rtattr_nested(tb, TCA_GRED_MAX, opt);
279 if (tb[TCA_GRED_PARMS] == NULL)
282 if (tb[TCA_GRED_MAX_P] &&
283 RTA_PAYLOAD(tb[TCA_GRED_MAX_P]) >= sizeof(__u32) * MAX_DPs)
284 max_p = RTA_DATA(tb[TCA_GRED_MAX_P]);
286 qopt = RTA_DATA(tb[TCA_GRED_PARMS]);
287 if (RTA_PAYLOAD(tb[TCA_GRED_PARMS]) < sizeof(*qopt)*MAX_DPs) {
q_htb.c 243 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;
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))
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...]
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...]
  /frameworks/rs/cpu_ref/
rsCpuIntrinsicLUT.cpp 68 const uchar *tb = &tg[256]; local
69 const uchar *ta = &tb[256];
74 out[2] = tb[in[2]];
  /frameworks/rs/java/tests/ComputePerf/src/com/example/android/rs/computeperf/
LaunchTest.java 34 Type.Builder tb = new Type.Builder(rs, Element.U8(rs)); local
35 tb.setX(dim);
36 tb.setY(dim);
37 mAllocationXY = Allocation.createTyped(rs, tb.create());
Mandelbrot.java 31 Type.Builder tb = new Type.Builder(rs, Element.U8_4(rs)); local
32 tb.setX(mScript.get_gDimX());
33 tb.setY(mScript.get_gDimY());
34 mAllocationXY = Allocation.createTyped(rs, tb.create());
  /external/chromium_org/third_party/skia/third_party/lua/src/
lstring.c 66 stringtable *tb = &G(L)->strt; local
69 if (newsize > tb->size) {
70 luaM_reallocvector(L, tb->hash, tb->size, newsize, GCObject *);
71 for (i = tb->size; i < newsize; i++) tb->hash[i] = NULL;
74 for (i=0; i<tb->size; i++) {
75 GCObject *p = tb->hash[i];
76 tb->hash[i] = NULL;
80 gch(p)->next = tb->hash[h]; /* chain it *
119 stringtable *tb = &G(L)->strt; local
    [all...]
  /external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
sctp_userspace.c 90 struct timeb tb; local
92 ftime(&tb);
93 tv->tv_sec = tb.time;
94 tv->tv_usec = tb.millitm * 1000;
  /external/iproute2/ip/
ipaddrlabel.c 62 struct rtattr *tb[IFAL_MAX+1]; local
72 parse_rtattr(tb, IFAL_MAX, IFAL_RTA(ifal), len);
77 if (tb[IFAL_ADDRESS]) {
80 RTA_PAYLOAD(tb[IFAL_ADDRESS]),
81 RTA_DATA(tb[IFAL_ADDRESS]),
89 if (tb[IFAL_LABEL] && RTA_PAYLOAD(tb[IFAL_LABEL]) == sizeof(int32_t)) {
91 memcpy(&label, RTA_DATA(tb[IFAL_LABEL]), sizeof(label));
198 struct rtattr * tb[IFAL_MAX+1]; local
204 parse_rtattr(tb, IFAL_MAX, RTM_RTA(r), len)
    [all...]
  /external/libnl/lib/netfilter/
queue_msg.c 66 struct nlattr *tb[NFQA_MAX+1]; local
76 err = nlmsg_parse(nlh, sizeof(struct nfgenmsg), tb, NFQA_MAX,
84 attr = tb[NFQA_PACKET_HDR];
94 attr = tb[NFQA_MARK];
98 attr = tb[NFQA_TIMESTAMP];
108 attr = tb[NFQA_IFINDEX_INDEV];
112 attr = tb[NFQA_IFINDEX_OUTDEV];
116 attr = tb[NFQA_IFINDEX_PHYSINDEV];
120 attr = tb[NFQA_IFINDEX_PHYSOUTDEV];
124 attr = tb[NFQA_HWADDR]
    [all...]
  /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]) {
fw.c 44 struct nlattr *tb[TCA_FW_MAX + 1]; local
47 err = tca_parse(tb, TCA_FW_MAX, (struct rtnl_tca *) cls, fw_policy);
51 if (tb[TCA_FW_CLASSID]) {
52 f->cf_classid = nla_get_u32(tb[TCA_FW_CLASSID]);
56 if (tb[TCA_FW_ACT]) {
57 f->cf_act = nl_data_alloc_attr(tb[TCA_FW_ACT]);
63 if (tb[TCA_FW_POLICE]) {
64 f->cf_police = nl_data_alloc_attr(tb[TCA_FW_POLICE]);
70 if (tb[TCA_FW_INDEV]) {
71 nla_strlcpy(f->cf_indev, tb[TCA_FW_INDEV], IFNAMSIZ)
    [all...]
  /external/libnl/lib/route/sch/
red.c 56 struct nlattr *tb[TCA_RED_MAX+1]; local
64 err = tca_parse(tb, TCA_RED_MAX, (struct rtnl_tca *) qdisc, red_policy);
68 if (!tb[TCA_RED_PARMS])
75 opts = nla_data(tb[TCA_RED_PARMS]);
  /frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
Blur25.java 76 Type.Builder tb = new Type.Builder(mRS, Element.F32_4(mRS)); local
77 tb.setX(width);
78 tb.setY(height);
79 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, tb.create());
80 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, tb.create());
Blur25G.java 67 Type.Builder tb = new Type.Builder(mRS, Element.U8(mRS)); local
68 tb.setX(width);
69 tb.setY(height);
70 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, tb.create());
71 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, tb.create());
ColorCube.java 47 Type.Builder tb = new Type.Builder(mRS, Element.U8_4(mRS)); local
48 tb.setX(sx);
49 tb.setY(sy);
50 tb.setZ(sz);
51 Type t = tb.create();
Grain.java 73 Type.Builder tb = new Type.Builder(mRS, Element.U8(mRS)); local
74 tb.setX(noiseW);
75 tb.setY(noiseH);
76 mNoise = Allocation.createTyped(mRS, tb.create());
77 mNoise2 = Allocation.createTyped(mRS, tb.create());

Completed in 2116 milliseconds

12 3 4 5 6 7 8 910