/bionic/libc/netbsd/nameser/ |
ns_samedomain.c | 202 char ta[NS_MAXDNAME], tb[NS_MAXDNAME]; local 205 ns_makecanon(b, tb, sizeof tb) < 0) 207 if (strcasecmp(ta, tb) == 0)
|
/external/iproute2/tc/ |
q_drr.c | 88 struct rtattr *tb[TCA_DRR_MAX + 1]; local 94 parse_rtattr_nested(tb, TCA_DRR_MAX, opt); 96 if (tb[TCA_DRR_QUANTUM]) 98 sprint_size(*(__u32 *)RTA_DATA(tb[TCA_DRR_QUANTUM]), b1));
|
q_prio.c | 104 struct rtattr *tb[TCA_PRIO_MAX+1]; local 109 if (parse_rtattr_nested_compat(tb, TCA_PRIO_MAX, opt, qopt, 117 if (tb[TCA_PRIO_MQ]) 119 *(unsigned char *)RTA_DATA(tb[TCA_PRIO_MQ]) ? "on" : "off");
|
q_rr.c | 98 struct rtattr *tb[TCA_PRIO_MAX + 1]; local 103 if (parse_rtattr_nested_compat(tb, TCA_PRIO_MAX, opt, qopt, 111 if (tb[TCA_PRIO_MQ]) 113 *(unsigned char *)RTA_DATA(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: ", (char*)RTA_DATA(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...] |
m_xt.c | 264 struct rtattr *tb[TCA_IPT_MAX + 1]; local 273 parse_rtattr_nested(tb, TCA_IPT_MAX, arg); 275 if (tb[TCA_IPT_TABLE] == NULL) { 279 (char *) RTA_DATA(tb[TCA_IPT_TABLE])); 282 if (tb[TCA_IPT_HOOK] == NULL) { 287 hook = *(__u32 *) RTA_DATA(tb[TCA_IPT_HOOK]); 291 if (tb[TCA_IPT_TARG] == NULL) { 296 t = RTA_DATA(tb[TCA_IPT_TARG]); 315 if (tb[TCA_IPT_INDEX] == NULL) { 319 index = *(__u32 *) RTA_DATA(tb[TCA_IPT_INDEX]) [all...] |
m_xt_old.c | 353 struct rtattr *tb[TCA_IPT_MAX + 1]; local 361 parse_rtattr_nested(tb, TCA_IPT_MAX, arg); 363 if (tb[TCA_IPT_TABLE] == NULL) { 367 (char *) RTA_DATA(tb[TCA_IPT_TABLE])); 370 if (tb[TCA_IPT_HOOK] == NULL) { 375 hook = *(__u32 *) RTA_DATA(tb[TCA_IPT_HOOK]); 379 if (tb[TCA_IPT_TARG] == NULL) { 384 t = RTA_DATA(tb[TCA_IPT_TARG]); 402 if (tb[TCA_IPT_INDEX] == NULL) { 406 index = *(__u32 *) RTA_DATA(tb[TCA_IPT_INDEX]) [all...] |
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 ", (char*)RTA_DATA(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...] |
m_ematch.c | 366 static int print_ematch_seq(FILE *fd, struct rtattr **tb, int start, 375 if (tb[i] == NULL) 378 dlen = RTA_PAYLOAD(tb[i]) - sizeof(*hdr); 379 data = (void *) RTA_DATA(tb[i]) + sizeof(*hdr); 384 hdr = RTA_DATA(tb[i]); 399 if (print_ematch_seq(fd, tb, ref + 1, prefix + 1) < 0) 446 struct rtattr **tb; local 448 tb = malloc((hdr->nmatches + 1) * sizeof(struct rtattr *)); 449 if (tb == NULL) 452 if (parse_rtattr_nested(tb, hdr->nmatches, rta) < 0 467 struct rtattr *tb[TCA_EMATCH_TREE_MAX+1]; local [all...] |
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]);
|
tc_util.h | 86 extern void print_tcstats_attr(FILE *fp, struct rtattr *tb[], char *prefix, struct rtattr **xstats); 93 extern int tc_print_police(FILE *f, struct rtattr *tb); 100 struct rtattr *tb); 102 struct rtattr *tb); 103 extern int tc_print_action(FILE *f, const struct rtattr *tb); 104 extern int tc_print_ipt(FILE *f, const struct rtattr *tb);
|
tc_filter.c | 191 struct rtattr * tb[TCA_MAX+1]; local 205 memset(tb, 0, sizeof(tb)); 206 parse_rtattr(tb, TCA_MAX, TCA_RTA(t), len); 208 if (tb[TCA_KIND] == NULL) { 243 fprintf(fp, "%s ", (char*)RTA_DATA(tb[TCA_KIND])); 244 q = get_filter_kind(RTA_DATA(tb[TCA_KIND])); 245 if (tb[TCA_OPTIONS]) { 247 q->print_fopt(q, fp, tb[TCA_OPTIONS], t->tcm_handle); 253 if (show_stats && (tb[TCA_STATS] || tb[TCA_STATS2])) [all...] |
/external/qemu/memcheck/ |
memcheck_util.h | 188 const TranslationBlock* tb = tb_find_pc(tb_pc); local 189 return tb != NULL ? tb_search_guest_pc_from_tb_pc(tb, tb_pc) : 0;
|
/external/iproute2/ip/ |
iproute.c | 87 int tb; member in struct:__anon2608 123 struct rtattr * tb[RTA_MAX+1]; local 157 parse_rtattr(tb, RTA_MAX, RTM_RTA(r), len); 158 table = rtm_get_table(r, tb); 168 if (filter.tb) { 171 if (filter.tb == RT_TABLE_LOCAL) { 174 } else if (filter.tb == RT_TABLE_MAIN) { 186 if (filter.tb > 0 && filter.tb != table) 218 if (tb[RTA_DST] 1389 struct rtattr * tb[RTA_MAX+1]; local [all...] |
ipaddrlabel.c | 63 struct rtattr *tb[IFAL_MAX+1]; local 73 parse_rtattr(tb, IFAL_MAX, IFAL_RTA(ifal), len); 83 if (tb[IFAL_ADDRESS]) { 86 RTA_PAYLOAD(tb[IFAL_ADDRESS]), 87 RTA_DATA(tb[IFAL_ADDRESS]), 95 if (tb[IFAL_LABEL] && RTA_PAYLOAD(tb[IFAL_LABEL]) == sizeof(int32_t)) { 97 memcpy(&label, RTA_DATA(tb[IFAL_LABEL]), sizeof(label)); 204 struct rtattr * tb[IFAL_MAX+1]; local 210 parse_rtattr(tb, IFAL_MAX, RTM_RTA(r), len) [all...] |
ipntable.c | 357 struct rtattr *tb[NDTA_MAX+1]; local 375 parse_rtattr(tb, NDTA_MAX, NDTA_RTA(ndtm), 378 if (tb[NDTA_NAME]) { 379 char *name = RTA_DATA(tb[NDTA_NAME]); 384 if (tb[NDTA_PARMS]) { 385 parse_rtattr(tpb, NDTPA_MAX, RTA_DATA(tb[NDTA_PARMS]), 386 RTA_PAYLOAD(tb[NDTA_PARMS])); 408 if (tb[NDTA_NAME]) { 409 char *name = RTA_DATA(tb[NDTA_NAME]); 415 ret = (tb[NDTA_THRESH1] || tb[NDTA_THRESH2] || tb[NDTA_THRESH3] | [all...] |
ipneigh.c | 189 struct rtattr * tb[NDA_MAX+1]; local 216 parse_rtattr(tb, NDA_MAX, NDA_RTA(r), n->nlmsg_len - NLMSG_LENGTH(sizeof(*r))); 218 if (tb[NDA_DST]) { 223 memcpy(&dst.data, RTA_DATA(tb[NDA_DST]), RTA_PAYLOAD(tb[NDA_DST])); 228 if (filter.unused_only && tb[NDA_CACHEINFO]) { 229 struct nda_cacheinfo *ci = RTA_DATA(tb[NDA_CACHEINFO]); 251 if (tb[NDA_DST]) { 254 RTA_PAYLOAD(tb[NDA_DST]), 255 RTA_DATA(tb[NDA_DST]) [all...] |
ip_common.h | 41 static inline int rtm_get_table(struct rtmsg *r, struct rtattr **tb) 44 if (tb[RTA_TABLE]) 45 table = *(__u32*) RTA_DATA(tb[RTA_TABLE]);
|
xfrm_monitor.c | 50 struct rtattr * tb[XFRMA_MAX+1]; local 59 parse_rtattr(tb, XFRMA_MAX, XFRMACQ_RTA(xacq), len); 81 xfrm_policy_info_print(&xacq->policy, tb, fp, " ", " policy "); 138 struct rtattr * tb[XFRMA_MAX+1]; local 150 parse_rtattr(tb, XFRMA_MAX, NLMSG_DATA(n), len); 152 if (tb[XFRMA_POLICY_TYPE]) { 157 if (RTA_PAYLOAD(tb[XFRMA_POLICY_TYPE]) < sizeof(*upt)) 160 upt = (struct xfrm_userpolicy_type *)RTA_DATA(tb[XFRMA_POLICY_TYPE]); 179 struct rtattr * tb[XFRMA_MAX+1]; local 199 parse_rtattr(tb, XFRMA_MAX, XFRMREP_RTA(xrep), len) [all...] |
/external/qemu/ |
exec.c | 55 /* make various TB consistency checks */ 63 /* TB consistency checks only implemented for usermode emulation. */ 663 TranslationBlock *tb; local 667 for(tb = tb_phys_hash[i]; tb != NULL; tb = tb->phys_hash_next) { 668 if (!(address + TARGET_PAGE_SIZE <= tb->pc || 669 address >= tb->pc + tb->size)) 680 TranslationBlock *tb; local 878 TranslationBlock *tb; local 907 TranslationBlock *tb; local 952 TranslationBlock *tb, *tb_next, *saved_tb; local 1086 TranslationBlock *tb; local 1202 TranslationBlock *tb; local 1274 TranslationBlock *tb; local 2795 TranslationBlock *tb; local 3704 TranslationBlock *tb; local 3764 TranslationBlock *tb; local [all...] |
/external/iproute2/include/ |
libnetlink.h | 63 extern int parse_rtattr(struct rtattr *tb[], int max, struct rtattr *rta, int len); 64 extern int parse_rtattr_byindex(struct rtattr *tb[], int max, struct rtattr *rta, int len); 65 extern int __parse_rtattr_nested_compat(struct rtattr *tb[], int max, struct rtattr *rta, int len); 67 #define parse_rtattr_nested(tb, max, rta) \ 68 (parse_rtattr((tb), (max), RTA_DATA(rta), RTA_PAYLOAD(rta))) 70 #define parse_rtattr_nested_compat(tb, max, rta, data, len) \ 72 __parse_rtattr_nested_compat(tb, max, rta, len); })
|
/external/kernel-headers/original/linux/netfilter/ |
nfnetlink.h | 148 extern void nfattr_parse(struct nfattr *tb[], int maxattr, 151 #define nfattr_parse_nested(tb, max, nfa) \ 152 nfattr_parse((tb), (max), NFA_DATA((nfa)), NFA_PAYLOAD((nfa))) 154 #define nfattr_bad_size(tb, max, cta_min) \ 159 if (tb[__i] && NFA_PAYLOAD(tb[__i]) < cta_min[__i]){ \
|
/external/qemu/audio/ |
audio.h | 157 __typeof (b) tb = b; \ 158 ((ta)>(tb)?(tb):(ta)); \ 163 __typeof (b) tb = b; \ 164 ((ta)<(tb)?(tb):(ta)); \
|
/external/webkit/WebKitTools/Scripts/ |
report-include-statistics | 110 my $tb = keys %{ $totalIncludes{$fileb} }; 111 return $ta <=> $tb if $ta != $tb;
|
/packages/apps/Calculator/src/com/android/calculator2/ |
CalculatorEditable.java | 35 replace(int start, int end, CharSequence tb, int tbstart, int tbend) { 37 return super.replace(start, end, tb, tbstart, tbend); 41 String delta = tb.subSequence(tbstart, tbend).toString();
|