/external/qemu/ |
D | translate-all.c | 123 static void tb_link_page(TranslationBlock *tb, tb_page_addr_t phys_pc, 137 int cpu_gen_code(CPUArchState *env, TranslationBlock *tb, int *gen_code_size_ptr) in cpu_gen_code() argument 153 gen_intermediate_code(env, tb); in cpu_gen_code() 156 gen_code_buf = tb->tc_ptr; in cpu_gen_code() 157 tb->tb_next_offset[0] = 0xffff; in cpu_gen_code() 158 tb->tb_next_offset[1] = 0xffff; in cpu_gen_code() 159 s->tb_next_offset = tb->tb_next_offset; in cpu_gen_code() 161 s->tb_jmp_offset = tb->tb_jmp_offset; in cpu_gen_code() 165 tb->tb_jmp_offset[2] = 0xffff; in cpu_gen_code() 166 tb->tb_jmp_offset[3] = 0xffff; in cpu_gen_code() [all …]
|
/external/chromium_org/third_party/jinja2/ |
D | debug.py | 39 def __init__(self, tb): argument 40 self.tb = tb 50 tb_set_next(self.tb, next and next.tb or None) 60 return '__jinja_template__' in self.tb.tb_frame.f_globals 63 return getattr(self.tb, name) 91 for tb in self.frames: 93 prev_tb.set_next(tb) 94 prev_tb = tb 124 tb = self.frames[0] 127 if type(tb) is not TracebackType: [all …]
|
/external/javassist/src/main/javassist/bytecode/stackmap/ |
D | Liveness.java | 61 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/ |
D | ct.c | 107 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 …]
|
D | log_msg.c | 68 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/chromium_org/media/formats/webm/ |
D | webm_tracks_parser_unittest.cc | 52 TracksBuilder tb; in TEST_F() local 53 tb.AddTextTrack(1, 1, kWebMCodecSubtitles, "", ""); in TEST_F() 55 const std::vector<uint8> buf = tb.Finish(); in TEST_F() 62 TracksBuilder tb; in TEST_F() local 63 tb.AddTextTrack(1, 1, kWebMCodecSubtitles, "Spock", ""); in TEST_F() 65 const std::vector<uint8> buf = tb.Finish(); in TEST_F() 72 TracksBuilder tb; in TEST_F() local 73 tb.AddTextTrack(1, 1, kWebMCodecSubtitles, "", "eng"); in TEST_F() 75 const std::vector<uint8> buf = tb.Finish(); in TEST_F() 82 TracksBuilder tb; in TEST_F() local [all …]
|
/external/iproute2/genl/ |
D | ctrl.c | 76 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/chromium_org/third_party/skia/third_party/lua/src/ |
D | lstring.c | 66 stringtable *tb = &G(L)->strt; in luaS_resize() local 69 if (newsize > tb->size) { in luaS_resize() 70 luaM_reallocvector(L, tb->hash, tb->size, newsize, GCObject *); in luaS_resize() 71 for (i = tb->size; i < newsize; i++) tb->hash[i] = NULL; in luaS_resize() 74 for (i=0; i<tb->size; i++) { in luaS_resize() 75 GCObject *p = tb->hash[i]; in luaS_resize() 76 tb->hash[i] = NULL; in luaS_resize() 80 gch(p)->next = tb->hash[h]; /* chain it */ in luaS_resize() 81 tb->hash[h] = p; in luaS_resize() 86 if (newsize < tb->size) { in luaS_resize() [all …]
|
/external/iproute2/tc/ |
D | f_tcindex.c | 124 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 …]
|
D | q_dsmark.c | 134 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 …]
|
D | f_flow.c | 272 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 …]
|
D | f_fw.c | 121 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 …]
|
D | f_route.c | 136 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 …]
|
D | q_atm.c | 193 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 …]
|
D | f_basic.c | 112 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()
|
D | m_skbedit.c | 163 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 …]
|
D | f_cgroup.c | 86 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/ |
D | iprule.c | 53 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 …]
|
D | link_gre.c | 51 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 …]
|
D | iproute.c | 95 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 …]
|
D | iplink_can.c | 196 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 …]
|
D | iplink_vlan.c | 176 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 …]
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/unittest2/ |
D | result.py | 146 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/lldb/test/unittest2/ |
D | result.py | 146 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/qemu/include/exec/ |
D | exec-all.h | 77 void gen_intermediate_code(CPUArchState *env, struct TranslationBlock *tb); 78 void gen_intermediate_code_pc(CPUArchState *env, struct TranslationBlock *tb); 79 void restore_state_to_opc(CPUArchState *env, struct TranslationBlock *tb, 85 int cpu_gen_code(CPUArchState *env, struct TranslationBlock *tb, 108 void tb_reset_jump_recursive(TranslationBlock *tb); 226 void tb_free(TranslationBlock *tb); 228 void tb_link_phys(TranslationBlock *tb, 230 void tb_phys_invalidate(TranslationBlock *tb, tb_page_addr_t page_addr); 288 static inline void tb_set_jmp_target(TranslationBlock *tb, in tb_set_jmp_target() argument 291 uint16_t offset = tb->tb_jmp_offset[n]; in tb_set_jmp_target() [all …]
|