/external/compiler-rt/test/msan/ |
H A D | ftime.cc | 9 struct timeb tb; local 10 int res = ftime(&tb); 12 assert(__msan_test_shadow(&tb, sizeof(tb)) == -1);
|
/external/iproute2/ip/ |
H A D | ip_common.h | 46 static inline int rtm_get_table(struct rtmsg *r, struct rtattr **tb) argument 49 if (tb[RTA_TABLE]) 50 table = rta_getattr_u32(tb[RTA_TABLE]);
|
H A D | iplink_macvlan.c | 71 static void macvlan_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) argument 75 if (!tb) 78 if (!tb[IFLA_MACVLAN_MODE] || 79 RTA_PAYLOAD(tb[IFLA_MACVLAN_MODE]) < sizeof(__u32)) 82 mode = rta_getattr_u32(tb[IFLA_VLAN_ID]);
|
H A D | iplink_macvtap.c | 68 static void macvtap_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) argument 72 if (!tb) 75 if (!tb[IFLA_MACVLAN_MODE] || 76 RTA_PAYLOAD(tb[IFLA_MACVLAN_MODE]) < sizeof(__u32)) 79 mode = rta_getattr_u32(tb[IFLA_VLAN_ID]);
|
H A D | ipprefix.c | 41 struct rtattr * tb[RTA_MAX+1]; local 70 parse_rtattr(tb, RTA_MAX, RTM_RTA(prefix), len); 74 if (tb[PREFIX_ADDRESS]) { 78 pfx = (struct in6_addr *)RTA_DATA(tb[PREFIX_ADDRESS]); 93 if (tb[PREFIX_CACHEINFO]) { 95 pc = (struct prefix_cacheinfo *)RTA_DATA(tb[PREFIX_CACHEINFO]);
|
/external/iproute2/tc/ |
H A D | f_basic.c | 112 struct rtattr *tb[TCA_BASIC_MAX+1]; local 117 parse_rtattr_nested(tb, TCA_BASIC_MAX, opt); 122 if (tb[TCA_BASIC_CLASSID]) { 125 sprint_tc_classid(rta_getattr_u32(tb[TCA_BASIC_CLASSID]), b1)); 128 if (tb[TCA_BASIC_EMATCHES]) 129 print_ematch(f, tb[TCA_BASIC_EMATCHES]); 131 if (tb[TCA_BASIC_POLICE]) { 133 tc_print_police(f, tb[TCA_BASIC_POLICE]); 136 if (tb[TCA_BASIC_ACT]) { 137 tc_print_action(f, tb[TCA_BASIC_AC [all...] |
H A D | f_cgroup.c | 86 struct rtattr *tb[TCA_CGROUP_MAX+1]; local 91 parse_rtattr_nested(tb, TCA_CGROUP_MAX, opt); 96 if (tb[TCA_CGROUP_EMATCHES]) 97 print_ematch(f, tb[TCA_CGROUP_EMATCHES]); 99 if (tb[TCA_CGROUP_POLICE]) { 101 tc_print_police(f, tb[TCA_CGROUP_POLICE]); 104 if (tb[TCA_CGROUP_ACT]) 105 tc_print_action(f, tb[TCA_CGROUP_ACT]);
|
H A D | 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);
|
H A D | f_route.c | 136 struct rtattr *tb[TCA_ROUTE4_MAX+1]; local 142 parse_rtattr_nested(tb, TCA_ROUTE4_MAX, opt); 149 if (tb[TCA_ROUTE4_CLASSID]) { 151 fprintf(f, "flowid %s ", sprint_tc_classid(rta_getattr_u32(tb[TCA_ROUTE4_CLASSID]), b1)); 153 if (tb[TCA_ROUTE4_TO]) 154 fprintf(f, "to %s ", rtnl_rtrealm_n2a(rta_getattr_u32(tb[TCA_ROUTE4_TO]), b1, sizeof(b1))); 155 if (tb[TCA_ROUTE4_FROM]) 156 fprintf(f, "from %s ", rtnl_rtrealm_n2a(rta_getattr_u32(tb[TCA_ROUTE4_FROM]), b1, sizeof(b1))); 157 if (tb[TCA_ROUTE4_IIF]) 158 fprintf(f, "fromif %s", ll_index_to_name(*(int*)RTA_DATA(tb[TCA_ROUTE4_II [all...] |
H A D | f_tcindex.c | 124 struct rtattr *tb[TCA_TCINDEX_MAX+1]; local 129 parse_rtattr_nested(tb, TCA_TCINDEX_MAX, opt); 132 if (tb[TCA_TCINDEX_HASH]) { 135 if (RTA_PAYLOAD(tb[TCA_TCINDEX_HASH]) < sizeof(hash)) 137 hash = rta_getattr_u16(tb[TCA_TCINDEX_HASH]); 140 if (tb[TCA_TCINDEX_MASK]) { 143 if (RTA_PAYLOAD(tb[TCA_TCINDEX_MASK]) < sizeof(mask)) 145 mask = rta_getattr_u16(tb[TCA_TCINDEX_MASK]); 148 if (tb[TCA_TCINDEX_SHIFT]) { 151 if (RTA_PAYLOAD(tb[TCA_TCINDEX_SHIF [all...] |
H A D | 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));
|
H A D | q_dsmark.c | 134 struct rtattr *tb[TCA_DSMARK_MAX+1]; local 137 memset(tb, 0, sizeof(tb)); 138 parse_rtattr(tb, TCA_DSMARK_MAX, RTA_DATA(opt), RTA_PAYLOAD(opt)); 139 if (tb[TCA_DSMARK_MASK]) { 140 if (!RTA_PAYLOAD(tb[TCA_DSMARK_MASK])) 143 rta_getattr_u8(tb[TCA_DSMARK_MASK])); 145 if (tb[TCA_DSMARK_VALUE]) { 146 if (!RTA_PAYLOAD(tb[TCA_DSMARK_VALUE])) 149 rta_getattr_u8(tb[TCA_DSMARK_VALU [all...] |
H A D | 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");
|
H A D | q_qfq.c | 96 struct rtattr *tb[TCA_QFQ_MAX + 1]; local 101 parse_rtattr_nested(tb, TCA_QFQ_MAX, opt); 103 if (tb[TCA_QFQ_WEIGHT]) { 105 rta_getattr_u32(tb[TCA_QFQ_WEIGHT])); 108 if (tb[TCA_QFQ_LMAX]) { 110 rta_getattr_u32(tb[TCA_QFQ_LMAX]));
|
H A D | 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");
|
H A D | f_fw.c | 121 struct rtattr *tb[TCA_FW_MAX+1]; local 126 parse_rtattr_nested(tb, TCA_FW_MAX, opt); 128 if (handle || tb[TCA_FW_MASK]) { 132 if(tb[TCA_FW_MASK] && 133 (mask = rta_getattr_u32(tb[TCA_FW_MASK])) != 0xFFFFFFFF) 139 if (tb[TCA_FW_CLASSID]) { 141 fprintf(f, "classid %s ", sprint_tc_classid(rta_getattr_u32(tb[TCA_FW_CLASSID]), b1)); 144 if (tb[TCA_FW_POLICE]) 145 tc_print_police(f, tb[TCA_FW_POLICE]); 146 if (tb[TCA_FW_INDE [all...] |
H A D | 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]);
|
H A D | m_nat.c | 171 struct rtattr *tb[TCA_NAT_MAX + 1]; local 180 parse_rtattr_nested(tb, TCA_NAT_MAX, arg); 182 if (tb[TCA_NAT_PARMS] == NULL) { 186 sel = RTA_DATA(tb[TCA_NAT_PARMS]); 199 if (tb[TCA_NAT_TM]) { 200 struct tcf_t *tm = RTA_DATA(tb[TCA_NAT_TM]);
|
H A D | m_skbedit.c | 163 struct rtattr *tb[TCA_SKBEDIT_MAX + 1]; local 172 parse_rtattr_nested(tb, TCA_SKBEDIT_MAX, arg); 174 if (tb[TCA_SKBEDIT_PARMS] == NULL) { 181 if (tb[TCA_SKBEDIT_QUEUE_MAPPING] != NULL) { 182 queue_mapping = RTA_DATA(tb[TCA_SKBEDIT_QUEUE_MAPPING]); 185 if (tb[TCA_SKBEDIT_PRIORITY] != NULL) { 186 priority = RTA_DATA(tb[TCA_SKBEDIT_PRIORITY]); 189 if (tb[TCA_SKBEDIT_MARK] != NULL) { 190 mark = RTA_DATA(tb[TCA_SKBEDIT_MARK]); 195 if (tb[TCA_SKBEDIT_T [all...] |
H A D | q_choke.c | 169 struct rtattr *tb[TCA_CHOKE_MAX+1]; local 176 parse_rtattr_nested(tb, TCA_CHOKE_MAX, opt); 178 if (tb[TCA_CHOKE_PARMS] == NULL) 180 qopt = RTA_DATA(tb[TCA_CHOKE_PARMS]); 181 if (RTA_PAYLOAD(tb[TCA_CHOKE_PARMS]) < sizeof(*qopt)) 183 if (tb[TCA_CHOKE_MAX_P] && 184 RTA_PAYLOAD(tb[TCA_CHOKE_MAX_P]) >= sizeof(__u32)) 185 max_P = rta_getattr_u32(tb[TCA_CHOKE_MAX_P]);
|
H A D | 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) {
|
/external/qemu/include/exec/ |
H A D | gen-icount.h | 30 static void gen_icount_end(TranslationBlock *tb, int num_insns) argument 35 tcg_gen_exit_tb((uintptr_t)tb + 2);
|
/external/chromium_org/media/formats/webm/ |
H A D | webm_tracks_parser_unittest.cc | 52 TracksBuilder tb; local 53 tb.AddTextTrack(1, 1, kWebMCodecSubtitles, "", ""); 55 const std::vector<uint8> buf = tb.Finish(); 62 TracksBuilder tb; local 63 tb.AddTextTrack(1, 1, kWebMCodecSubtitles, "Spock", ""); 65 const std::vector<uint8> buf = tb.Finish(); 72 TracksBuilder tb; local 73 tb.AddTextTrack(1, 1, kWebMCodecSubtitles, "", "eng"); 75 const std::vector<uint8> buf = tb.Finish(); 82 TracksBuilder tb; local 92 TracksBuilder tb; local 125 TracksBuilder tb; local 154 TracksBuilder tb; local [all...] |
/external/libnl/lib/route/cls/ |
H A D | cgroup.c | 47 struct nlattr *tb[TCA_CGROUP_MAX + 1]; local 50 err = tca_parse(tb, TCA_CGROUP_MAX, (struct rtnl_tca *) cls, 55 if (tb[TCA_CGROUP_EMATCHES]) { 56 if ((err = rtnl_ematch_parse(tb[TCA_CGROUP_EMATCHES],
|
/external/chromium_org/third_party/libevent/ |
H A D | evutil.c | 211 struct _timeb tb; local 216 _ftime(&tb); 217 tv->tv_sec = (long) tb.time; 218 tv->tv_usec = ((int) tb.millitm) * 1000;
|