Home
last modified time | relevance | path

Searched refs:tb (Results 1 – 25 of 209) sorted by relevance

123456789

/external/javassist/src/main/javassist/bytecode/stackmap/
DLiveness.java61 private void computeLiveness1(TypedBlock tb) { in computeLiveness1() argument
62 if (tb.updating) { in computeLiveness1()
64 computeLiveness1u(tb); in computeLiveness1()
68 if (tb.inputs != null) in computeLiveness1()
71 tb.updating = true; in computeLiveness1()
72 byte[] usage = tb.localsUsage; in computeLiveness1()
78 BasicBlock.Catch handlers = tb.toCatch; in computeLiveness1()
89 if (tb.exit != null) { in computeLiveness1()
90 for (int i = 0; i < tb.exit.length; i++) { in computeLiveness1()
91 TypedBlock e = (TypedBlock)tb.exit[i]; in computeLiveness1()
[all …]
/external/libnl/lib/netfilter/
Dct.c107 struct nlattr *tb[CTA_IP_MAX+1]; in ct_parse_ip() local
111 err = nla_parse_nested(tb, CTA_IP_MAX, attr, ct_ip_policy); in ct_parse_ip()
115 if (tb[CTA_IP_V4_SRC]) { in ct_parse_ip()
116 addr = nl_addr_alloc_attr(tb[CTA_IP_V4_SRC], AF_INET); in ct_parse_ip()
124 if (tb[CTA_IP_V4_DST]) { in ct_parse_ip()
125 addr = nl_addr_alloc_attr(tb[CTA_IP_V4_DST], AF_INET); in ct_parse_ip()
133 if (tb[CTA_IP_V6_SRC]) { in ct_parse_ip()
134 addr = nl_addr_alloc_attr(tb[CTA_IP_V6_SRC], AF_INET6); in ct_parse_ip()
142 if (tb[CTA_IP_V6_DST]) { in ct_parse_ip()
143 addr = nl_addr_alloc_attr(tb[CTA_IP_V6_DST], AF_INET6); in ct_parse_ip()
[all …]
Dlog_msg.c68 struct nlattr *tb[NFULA_MAX+1]; in nfnlmsg_log_msg_parse() local
78 err = nlmsg_parse(nlh, sizeof(struct nfgenmsg), tb, NFULA_MAX, in nfnlmsg_log_msg_parse()
85 attr = tb[NFULA_PACKET_HDR]; in nfnlmsg_log_msg_parse()
94 attr = tb[NFULA_MARK]; in nfnlmsg_log_msg_parse()
98 attr = tb[NFULA_TIMESTAMP]; in nfnlmsg_log_msg_parse()
108 attr = tb[NFULA_IFINDEX_INDEV]; in nfnlmsg_log_msg_parse()
112 attr = tb[NFULA_IFINDEX_OUTDEV]; in nfnlmsg_log_msg_parse()
116 attr = tb[NFULA_IFINDEX_PHYSINDEV]; in nfnlmsg_log_msg_parse()
120 attr = tb[NFULA_IFINDEX_PHYSOUTDEV]; in nfnlmsg_log_msg_parse()
124 attr = tb[NFULA_HWADDR]; in nfnlmsg_log_msg_parse()
[all …]
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211_event.c832 struct nlattr *tb[]) in mlme_event_michael_mic_failure() argument
838 if (tb[NL80211_ATTR_MAC]) { in mlme_event_michael_mic_failure()
840 nla_data(tb[NL80211_ATTR_MAC]), in mlme_event_michael_mic_failure()
841 nla_len(tb[NL80211_ATTR_MAC])); in mlme_event_michael_mic_failure()
842 data.michael_mic_failure.src = nla_data(tb[NL80211_ATTR_MAC]); in mlme_event_michael_mic_failure()
844 if (tb[NL80211_ATTR_KEY_SEQ]) { in mlme_event_michael_mic_failure()
846 nla_data(tb[NL80211_ATTR_KEY_SEQ]), in mlme_event_michael_mic_failure()
847 nla_len(tb[NL80211_ATTR_KEY_SEQ])); in mlme_event_michael_mic_failure()
849 if (tb[NL80211_ATTR_KEY_TYPE]) { in mlme_event_michael_mic_failure()
851 nla_get_u32(tb[NL80211_ATTR_KEY_TYPE]); in mlme_event_michael_mic_failure()
[all …]
Ddriver_nl80211_capa.c103 struct nlattr *tb) in wiphy_info_supported_iftypes() argument
108 if (tb == NULL) in wiphy_info_supported_iftypes()
111 nla_for_each_nested(nl_mode, tb, i) { in wiphy_info_supported_iftypes()
206 struct nlattr *tb) in wiphy_info_iface_comb() argument
211 if (tb == NULL) in wiphy_info_iface_comb()
214 nla_for_each_nested(nl_combi, tb, rem_combi) { in wiphy_info_iface_comb()
222 struct nlattr *tb) in wiphy_info_supp_cmds() argument
227 if (tb == NULL) in wiphy_info_supp_cmds()
230 nla_for_each_nested(nl_cmd, tb, i) { in wiphy_info_supp_cmds()
256 struct nlattr *tb) in wiphy_info_cipher_suites() argument
[all …]
/external/iproute2/genl/
Dctrl.c76 struct rtattr *tb[CTRL_ATTR_MAX + 1]; in genl_ctrl_resolve_family() local
100 parse_rtattr(tb, CTRL_ATTR_MAX, attrs, len); in genl_ctrl_resolve_family()
102 if (tb[CTRL_ATTR_FAMILY_ID] == NULL) { in genl_ctrl_resolve_family()
107 ret = rta_getattr_u16(tb[CTRL_ATTR_FAMILY_ID]); in genl_ctrl_resolve_family()
138 struct rtattr *tb[CTRL_ATTR_OP_MAX + 1]; in print_ctrl_cmds() local
143 parse_rtattr_nested(tb, CTRL_ATTR_OP_MAX, arg); in print_ctrl_cmds()
144 if (tb[CTRL_ATTR_OP_ID]) { in print_ctrl_cmds()
145 __u32 *id = RTA_DATA(tb[CTRL_ATTR_OP_ID]); in print_ctrl_cmds()
149 if (tb[CTRL_ATTR_OP_FLAGS] && ctrl_ver >= 0x2) { in print_ctrl_cmds()
150 __u32 *fl = RTA_DATA(tb[CTRL_ATTR_OP_FLAGS]); in print_ctrl_cmds()
[all …]
/external/iproute2/tc/
Df_tcindex.c124 struct rtattr *tb[TCA_TCINDEX_MAX+1]; in tcindex_print_opt() local
129 parse_rtattr_nested(tb, TCA_TCINDEX_MAX, opt); in tcindex_print_opt()
132 if (tb[TCA_TCINDEX_HASH]) { in tcindex_print_opt()
135 if (RTA_PAYLOAD(tb[TCA_TCINDEX_HASH]) < sizeof(hash)) in tcindex_print_opt()
137 hash = rta_getattr_u16(tb[TCA_TCINDEX_HASH]); in tcindex_print_opt()
140 if (tb[TCA_TCINDEX_MASK]) { in tcindex_print_opt()
143 if (RTA_PAYLOAD(tb[TCA_TCINDEX_MASK]) < sizeof(mask)) in tcindex_print_opt()
145 mask = rta_getattr_u16(tb[TCA_TCINDEX_MASK]); in tcindex_print_opt()
148 if (tb[TCA_TCINDEX_SHIFT]) { in tcindex_print_opt()
151 if (RTA_PAYLOAD(tb[TCA_TCINDEX_SHIFT]) < sizeof(shift)) in tcindex_print_opt()
[all …]
Dq_dsmark.c134 struct rtattr *tb[TCA_DSMARK_MAX+1]; in dsmark_print_opt() local
137 memset(tb, 0, sizeof(tb)); in dsmark_print_opt()
138 parse_rtattr(tb, TCA_DSMARK_MAX, RTA_DATA(opt), RTA_PAYLOAD(opt)); in dsmark_print_opt()
139 if (tb[TCA_DSMARK_MASK]) { in dsmark_print_opt()
140 if (!RTA_PAYLOAD(tb[TCA_DSMARK_MASK])) in dsmark_print_opt()
143 rta_getattr_u8(tb[TCA_DSMARK_MASK])); in dsmark_print_opt()
145 if (tb[TCA_DSMARK_VALUE]) { in dsmark_print_opt()
146 if (!RTA_PAYLOAD(tb[TCA_DSMARK_VALUE])) in dsmark_print_opt()
149 rta_getattr_u8(tb[TCA_DSMARK_VALUE])); in dsmark_print_opt()
151 if (tb[TCA_DSMARK_INDICES]) { in dsmark_print_opt()
[all …]
Df_flow.c272 struct rtattr *tb[TCA_FLOW_MAX+1]; in flow_print_opt() local
280 parse_rtattr_nested(tb, TCA_FLOW_MAX, opt); in flow_print_opt()
284 if (tb[TCA_FLOW_MODE]) { in flow_print_opt()
285 __u32 mode = rta_getattr_u32(tb[TCA_FLOW_MODE]); in flow_print_opt()
297 if (tb[TCA_FLOW_KEYS]) { in flow_print_opt()
298 __u32 keymask = rta_getattr_u32(tb[TCA_FLOW_KEYS]); in flow_print_opt()
311 if (tb[TCA_FLOW_MASK]) in flow_print_opt()
312 mask = rta_getattr_u32(tb[TCA_FLOW_MASK]); in flow_print_opt()
313 if (tb[TCA_FLOW_XOR]) in flow_print_opt()
314 val = rta_getattr_u32(tb[TCA_FLOW_XOR]); in flow_print_opt()
[all …]
Df_fw.c121 struct rtattr *tb[TCA_FW_MAX+1]; in fw_print_opt() local
126 parse_rtattr_nested(tb, TCA_FW_MAX, opt); in fw_print_opt()
128 if (handle || tb[TCA_FW_MASK]) { in fw_print_opt()
132 if(tb[TCA_FW_MASK] && in fw_print_opt()
133 (mask = rta_getattr_u32(tb[TCA_FW_MASK])) != 0xFFFFFFFF) in fw_print_opt()
139 if (tb[TCA_FW_CLASSID]) { in fw_print_opt()
141 fprintf(f, "classid %s ", sprint_tc_classid(rta_getattr_u32(tb[TCA_FW_CLASSID]), b1)); in fw_print_opt()
144 if (tb[TCA_FW_POLICE]) in fw_print_opt()
145 tc_print_police(f, tb[TCA_FW_POLICE]); in fw_print_opt()
146 if (tb[TCA_FW_INDEV]) { in fw_print_opt()
[all …]
Df_route.c136 struct rtattr *tb[TCA_ROUTE4_MAX+1]; in route_print_opt() local
142 parse_rtattr_nested(tb, TCA_ROUTE4_MAX, opt); in route_print_opt()
149 if (tb[TCA_ROUTE4_CLASSID]) { in route_print_opt()
151 fprintf(f, "flowid %s ", sprint_tc_classid(rta_getattr_u32(tb[TCA_ROUTE4_CLASSID]), b1)); in route_print_opt()
153 if (tb[TCA_ROUTE4_TO]) in route_print_opt()
154 fprintf(f, "to %s ", rtnl_rtrealm_n2a(rta_getattr_u32(tb[TCA_ROUTE4_TO]), b1, sizeof(b1))); in route_print_opt()
155 if (tb[TCA_ROUTE4_FROM]) in route_print_opt()
156 fprintf(f, "from %s ", rtnl_rtrealm_n2a(rta_getattr_u32(tb[TCA_ROUTE4_FROM]), b1, sizeof(b1))); in route_print_opt()
157 if (tb[TCA_ROUTE4_IIF]) in route_print_opt()
158 fprintf(f, "fromif %s", ll_index_to_name(*(int*)RTA_DATA(tb[TCA_ROUTE4_IIF]))); in route_print_opt()
[all …]
Dq_atm.c193 struct rtattr *tb[TCA_ATM_MAX+1]; in atm_print_opt() local
199 parse_rtattr_nested(tb, TCA_ATM_MAX, opt); in atm_print_opt()
200 if (tb[TCA_ATM_ADDR]) { in atm_print_opt()
201 if (RTA_PAYLOAD(tb[TCA_ATM_ADDR]) < in atm_print_opt()
206 RTA_DATA(tb[TCA_ATM_ADDR]),A2T_PRETTY | A2T_NAME) < in atm_print_opt()
211 if (tb[TCA_ATM_HDR]) { in atm_print_opt()
213 const __u8 *hdr = RTA_DATA(tb[TCA_ATM_HDR]); in atm_print_opt()
216 for (i = 0; i < RTA_PAYLOAD(tb[TCA_ATM_HDR]); i++) in atm_print_opt()
221 if (tb[TCA_ATM_EXCESS]) { in atm_print_opt()
224 if (RTA_PAYLOAD(tb[TCA_ATM_EXCESS]) < sizeof(excess)) in atm_print_opt()
[all …]
Df_basic.c112 struct rtattr *tb[TCA_BASIC_MAX+1]; in basic_print_opt() local
117 parse_rtattr_nested(tb, TCA_BASIC_MAX, opt); in basic_print_opt()
122 if (tb[TCA_BASIC_CLASSID]) { in basic_print_opt()
125 sprint_tc_classid(rta_getattr_u32(tb[TCA_BASIC_CLASSID]), b1)); in basic_print_opt()
128 if (tb[TCA_BASIC_EMATCHES]) in basic_print_opt()
129 print_ematch(f, tb[TCA_BASIC_EMATCHES]); in basic_print_opt()
131 if (tb[TCA_BASIC_POLICE]) { in basic_print_opt()
133 tc_print_police(f, tb[TCA_BASIC_POLICE]); in basic_print_opt()
136 if (tb[TCA_BASIC_ACT]) { in basic_print_opt()
137 tc_print_action(f, tb[TCA_BASIC_ACT]); in basic_print_opt()
Dm_skbedit.c163 struct rtattr *tb[TCA_SKBEDIT_MAX + 1]; in print_skbedit() local
172 parse_rtattr_nested(tb, TCA_SKBEDIT_MAX, arg); in print_skbedit()
174 if (tb[TCA_SKBEDIT_PARMS] == NULL) { in print_skbedit()
181 if (tb[TCA_SKBEDIT_QUEUE_MAPPING] != NULL) { in print_skbedit()
182 queue_mapping = RTA_DATA(tb[TCA_SKBEDIT_QUEUE_MAPPING]); in print_skbedit()
185 if (tb[TCA_SKBEDIT_PRIORITY] != NULL) { in print_skbedit()
186 priority = RTA_DATA(tb[TCA_SKBEDIT_PRIORITY]); in print_skbedit()
189 if (tb[TCA_SKBEDIT_MARK] != NULL) { in print_skbedit()
190 mark = RTA_DATA(tb[TCA_SKBEDIT_MARK]); in print_skbedit()
195 if (tb[TCA_SKBEDIT_TM]) { in print_skbedit()
[all …]
Df_cgroup.c86 struct rtattr *tb[TCA_CGROUP_MAX+1]; in cgroup_print_opt() local
91 parse_rtattr_nested(tb, TCA_CGROUP_MAX, opt); in cgroup_print_opt()
96 if (tb[TCA_CGROUP_EMATCHES]) in cgroup_print_opt()
97 print_ematch(f, tb[TCA_CGROUP_EMATCHES]); in cgroup_print_opt()
99 if (tb[TCA_CGROUP_POLICE]) { in cgroup_print_opt()
101 tc_print_police(f, tb[TCA_CGROUP_POLICE]); in cgroup_print_opt()
104 if (tb[TCA_CGROUP_ACT]) in cgroup_print_opt()
105 tc_print_action(f, tb[TCA_CGROUP_ACT]); in cgroup_print_opt()
/external/iproute2/ip/
Diprule.c53 struct rtattr * tb[FRA_MAX+1]; in print_rule() local
64 parse_rtattr(tb, FRA_MAX, RTM_RTA(r), len); in print_rule()
78 if (tb[FRA_PRIORITY]) in print_rule()
79 fprintf(fp, "%u:\t", *(unsigned*)RTA_DATA(tb[FRA_PRIORITY])); in print_rule()
86 if (tb[FRA_SRC]) { in print_rule()
89 RTA_PAYLOAD(tb[FRA_SRC]), in print_rule()
90 RTA_DATA(tb[FRA_SRC]), in print_rule()
96 RTA_PAYLOAD(tb[FRA_SRC]), in print_rule()
97 RTA_DATA(tb[FRA_SRC]), in print_rule()
107 if (tb[FRA_DST]) { in print_rule()
[all …]
Dlink_gre.c51 struct rtattr *tb[IFLA_MAX + 1]; in gre_parse_opt() local
87 parse_rtattr(tb, IFLA_MAX, IFLA_RTA(&req.i), len); in gre_parse_opt()
89 if (!tb[IFLA_LINKINFO]) in gre_parse_opt()
92 parse_rtattr_nested(linkinfo, IFLA_INFO_MAX, tb[IFLA_LINKINFO]); in gre_parse_opt()
269 static void gre_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) in gre_print_opt() argument
278 if (!tb) in gre_print_opt()
281 if (tb[IFLA_GRE_REMOTE]) { in gre_print_opt()
282 unsigned addr = rta_getattr_u32(tb[IFLA_GRE_REMOTE]); in gre_print_opt()
290 if (tb[IFLA_GRE_LOCAL]) { in gre_print_opt()
291 unsigned addr = rta_getattr_u32(tb[IFLA_GRE_LOCAL]); in gre_print_opt()
[all …]
Diproute.c95 int tb; member
127 int filter_nlmsg(struct nlmsghdr *n, struct rtattr **tb, int host_len) in filter_nlmsg() argument
137 table = rtm_get_table(r, tb); in filter_nlmsg()
146 if (filter.tb) { in filter_nlmsg()
147 if (filter.tb == RT_TABLE_LOCAL) { in filter_nlmsg()
150 } else if (filter.tb == RT_TABLE_MAIN) { in filter_nlmsg()
158 if (filter.tb > 0 && filter.tb != table) in filter_nlmsg()
190 if (tb[RTA_DST]) in filter_nlmsg()
191 memcpy(&dst.data, RTA_DATA(tb[RTA_DST]), (r->rtm_dst_len+7)/8); in filter_nlmsg()
195 if (tb[RTA_SRC]) in filter_nlmsg()
[all …]
Diplink_can.c196 static void can_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) in can_print_opt() argument
198 if (!tb) in can_print_opt()
201 if (tb[IFLA_CAN_CTRLMODE]) { in can_print_opt()
202 struct can_ctrlmode *cm = RTA_DATA(tb[IFLA_CAN_CTRLMODE]); in can_print_opt()
208 if (tb[IFLA_CAN_STATE]) { in can_print_opt()
209 int *state = RTA_DATA(tb[IFLA_CAN_STATE]); in can_print_opt()
215 if (tb[IFLA_CAN_BERR_COUNTER]) { in can_print_opt()
217 RTA_DATA(tb[IFLA_CAN_BERR_COUNTER]); in can_print_opt()
222 if (tb[IFLA_CAN_RESTART_MS]) { in can_print_opt()
223 __u32 *restart_ms = RTA_DATA(tb[IFLA_CAN_RESTART_MS]); in can_print_opt()
[all …]
Diplink_vlan.c176 static void vlan_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) in vlan_print_opt() argument
179 if (!tb) in vlan_print_opt()
182 if (!tb[IFLA_VLAN_ID] || in vlan_print_opt()
183 RTA_PAYLOAD(tb[IFLA_VLAN_ID]) < sizeof(__u16)) in vlan_print_opt()
186 fprintf(f, "id %u ", rta_getattr_u16(tb[IFLA_VLAN_ID])); in vlan_print_opt()
188 if (tb[IFLA_VLAN_FLAGS]) { in vlan_print_opt()
189 if (RTA_PAYLOAD(tb[IFLA_VLAN_FLAGS]) < sizeof(*flags)) in vlan_print_opt()
191 flags = RTA_DATA(tb[IFLA_VLAN_FLAGS]); in vlan_print_opt()
194 if (tb[IFLA_VLAN_INGRESS_QOS]) in vlan_print_opt()
195 vlan_print_map(f, "ingress-qos-map", tb[IFLA_VLAN_INGRESS_QOS]); in vlan_print_opt()
[all …]
Dipaddress.c144 static void print_queuelen(FILE *f, struct rtattr *tb[IFLA_MAX + 1]) in print_queuelen()
148 if (tb[IFLA_TXQLEN]) in print_queuelen()
149 qlen = *(int *)RTA_DATA(tb[IFLA_TXQLEN]); in print_queuelen()
158 strcpy(ifr.ifr_name, rta_getattr_str(tb[IFLA_IFNAME])); in print_queuelen()
175 static void print_linkmode(FILE *f, struct rtattr *tb) in print_linkmode() argument
177 unsigned int mode = rta_getattr_u8(tb); in print_linkmode()
185 static void print_linktype(FILE *fp, struct rtattr *tb) in print_linktype() argument
191 parse_rtattr_nested(linkinfo, IFLA_INFO_MAX, tb); in print_linktype()
365 struct rtattr * tb[IFLA_MAX+1]; in print_linkinfo() local
381 parse_rtattr(tb, IFLA_MAX, IFLA_RTA(ifi), len); in print_linkinfo()
[all …]
/external/lldb/test/unittest2/
Dresult.py146 exctype, value, tb = err
148 while tb and self._is_relevant_tb_level(tb):
149 tb = tb.tb_next
152 length = self._count_relevant_tb_levels(tb)
153 msgLines = traceback.format_exception(exctype, value, tb, length)
155 msgLines = traceback.format_exception(exctype, value, tb)
170 def _is_relevant_tb_level(self, tb): argument
171 return '__unittest' in tb.tb_frame.f_globals
173 def _count_relevant_tb_levels(self, tb): argument
175 while tb and not self._is_relevant_tb_level(tb):
[all …]
/external/jmonkeyengine/engine/src/test/jme3test/light/
DTestTangentGen.java123 FloatBuffer tb = BufferUtils.createFloatBuffer(3*3*2); in createTriangleStripMesh() local
124 tb.rewind(); in createTriangleStripMesh()
125 tb.put(new float[]{0,0}); tb.put(new float[]{0.5f,0}); tb.put(new float[]{1,0}); in createTriangleStripMesh()
126 tb.put(new float[]{0,0.5f}); tb.put(new float[]{0.5f,0.5f}); tb.put(new float[]{1,0.5f}); in createTriangleStripMesh()
127 tb.put(new float[]{0,1}); tb.put(new float[]{0.5f,1}); tb.put(new float[]{1,1}); in createTriangleStripMesh()
133 strip.setBuffer(Type.TexCoord, 2, tb); in createTriangleStripMesh()
/external/chromium-trace/trace-viewer/third_party/Paste/paste/exceptions/
Dcollector.py242 def collectSupplement(self, supplement, tb): argument
261 def collectLine(self, tb, extra_data): argument
262 f = tb.tb_frame
263 lineno = tb.tb_lineno
281 data['tbid'] = id(tb)
298 data['supplement'] = self.collectSupplement(supp, tb)
332 def collectException(self, etype, value, tb, limit=None): argument
342 while tb is not None and (limit is None or n < limit):
343 if tb.tb_frame.f_locals.get('__exception_formatter__'):
347 data = self.collectLine(tb, extra_data)
[all …]
/external/libnl/lib/route/cls/
Dfw.c44 struct nlattr *tb[TCA_FW_MAX + 1]; in fw_msg_parser() local
47 err = tca_parse(tb, TCA_FW_MAX, (struct rtnl_tca *) cls, fw_policy); in fw_msg_parser()
51 if (tb[TCA_FW_CLASSID]) { in fw_msg_parser()
52 f->cf_classid = nla_get_u32(tb[TCA_FW_CLASSID]); in fw_msg_parser()
56 if (tb[TCA_FW_ACT]) { in fw_msg_parser()
57 f->cf_act = nl_data_alloc_attr(tb[TCA_FW_ACT]); in fw_msg_parser()
63 if (tb[TCA_FW_POLICE]) { in fw_msg_parser()
64 f->cf_police = nl_data_alloc_attr(tb[TCA_FW_POLICE]); in fw_msg_parser()
70 if (tb[TCA_FW_INDEV]) { in fw_msg_parser()
71 nla_strlcpy(f->cf_indev, tb[TCA_FW_INDEV], IFNAMSIZ); in fw_msg_parser()

123456789