/external/compiler-rt/test/msan/ |
H A D | ftime.cc | 12 struct timeb tb; local 13 int res = ftime(&tb); 15 assert(__msan_test_shadow(&tb, sizeof(tb)) == -1);
|
/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/ |
H A D | trace.h | 33 int trace_log_reg(struct trace_buffer *tb, u64 reg, u64 value); 34 int trace_log_counter(struct trace_buffer *tb, u64 value); 35 int trace_log_string(struct trace_buffer *tb, char *str); 36 int trace_log_indent(struct trace_buffer *tb); 37 int trace_log_outdent(struct trace_buffer *tb); 38 void trace_buffer_print(struct trace_buffer *tb); 39 void trace_print_location(struct trace_buffer *tb);
|
H A D | trace.c | 17 struct trace_buffer *tb; local 19 if (size < sizeof(*tb)) { 24 tb = mmap(NULL, size, PROT_READ | PROT_WRITE, 26 if (tb == MAP_FAILED) { 31 tb->size = size; 32 tb->tail = tb->data; 33 tb->overflow = false; 35 return tb; 38 static bool trace_check_bounds(struct trace_buffer *tb, voi argument 43 trace_check_alloc(struct trace_buffer *tb, void *p) argument 62 trace_alloc(struct trace_buffer *tb, int bytes) argument 76 trace_alloc_entry(struct trace_buffer *tb, int payload_size) argument 87 trace_log_reg(struct trace_buffer *tb, u64 reg, u64 value) argument 104 trace_log_counter(struct trace_buffer *tb, u64 value) argument 120 trace_log_string(struct trace_buffer *tb, char *str) argument 142 trace_log_indent(struct trace_buffer *tb) argument 155 trace_log_outdent(struct trace_buffer *tb) argument 269 trace_buffer_print(struct trace_buffer *tb) argument 297 trace_print_location(struct trace_buffer *tb) argument [all...] |
/external/iproute2/ip/ |
H A D | iplink_bridge_slave.c | 108 struct rtattr *tb[]) 110 if (!tb) 113 if (tb[IFLA_BRPORT_STATE]) 114 print_portstate(f, rta_getattr_u8(tb[IFLA_BRPORT_STATE])); 116 if (tb[IFLA_BRPORT_PRIORITY]) 120 rta_getattr_u16(tb[IFLA_BRPORT_PRIORITY])); 122 if (tb[IFLA_BRPORT_COST]) 126 rta_getattr_u32(tb[IFLA_BRPORT_COST])); 128 if (tb[IFLA_BRPORT_MODE]) 130 rta_getattr_u8(tb[IFLA_BRPORT_MOD 107 bridge_slave_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) argument [all...] |
H A D | iplink_bond_slave.c | 35 static void print_slave_state(FILE *f, struct rtattr *tb) argument 37 unsigned int state = rta_getattr_u8(tb); 55 static void print_slave_mii_status(FILE *f, struct rtattr *tb) argument 57 unsigned int status = rta_getattr_u8(tb); 71 static void bond_slave_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) argument 74 if (!tb) 77 if (tb[IFLA_BOND_SLAVE_STATE]) 78 print_slave_state(f, tb[IFLA_BOND_SLAVE_STATE]); 80 if (tb[IFLA_BOND_SLAVE_MII_STATUS]) 81 print_slave_mii_status(f, tb[IFLA_BOND_SLAVE_MII_STATU [all...] |
H A D | iplink_hsr.c | 93 static void hsr_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) argument 97 if (!tb) 100 if (tb[IFLA_HSR_SLAVE1] && 101 RTA_PAYLOAD(tb[IFLA_HSR_SLAVE1]) < sizeof(__u32)) 103 if (tb[IFLA_HSR_SLAVE2] && 104 RTA_PAYLOAD(tb[IFLA_HSR_SLAVE2]) < sizeof(__u32)) 106 if (tb[IFLA_HSR_SEQ_NR] && 107 RTA_PAYLOAD(tb[IFLA_HSR_SEQ_NR]) < sizeof(__u16)) 109 if (tb[IFLA_HSR_SUPERVISION_ADDR] && 110 RTA_PAYLOAD(tb[IFLA_HSR_SUPERVISION_ADD [all...] |
H A D | iplink_bridge.c | 396 static void bridge_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) argument 398 if (!tb) 401 if (tb[IFLA_BR_FORWARD_DELAY]) 405 rta_getattr_u32(tb[IFLA_BR_FORWARD_DELAY])); 407 if (tb[IFLA_BR_HELLO_TIME]) 411 rta_getattr_u32(tb[IFLA_BR_HELLO_TIME])); 413 if (tb[IFLA_BR_MAX_AGE]) 417 rta_getattr_u32(tb[IFLA_BR_MAX_AGE])); 419 if (tb[IFLA_BR_AGEING_TIME]) 423 rta_getattr_u32(tb[IFLA_BR_AGEING_TIM 764 struct rtattr *tb[IFLA_STATS_MAX+1]; local [all...] |
H A D | iplink_bond.c | 370 static void bond_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) argument 374 if (!tb) 377 if (tb[IFLA_BOND_MODE]) { 379 rta_getattr_u8(tb[IFLA_BOND_MODE])); 383 if (tb[IFLA_BOND_ACTIVE_SLAVE] && 384 (ifindex = rta_getattr_u32(tb[IFLA_BOND_ACTIVE_SLAVE]))) { 400 if (tb[IFLA_BOND_MIIMON]) 404 rta_getattr_u32(tb[IFLA_BOND_MIIMON])); 406 if (tb[IFLA_BOND_UPDELAY]) 410 rta_getattr_u32(tb[IFLA_BOND_UPDELA [all...] |
H A D | ipmroute.c | 48 int tb; member in struct:rtfilter 60 struct rtattr *tb[RTA_MAX+1]; local 85 parse_rtattr(tb, RTA_MAX, RTM_RTA(r), len); 86 table = rtm_get_table(r, tb); 88 if (filter.tb > 0 && filter.tb != table) 91 if (tb[RTA_IIF]) 92 iif = rta_getattr_u32(tb[RTA_IIF]); 99 if (tb[RTA_DST] && filter.mdst.bitlen > 0) { 102 memcpy(&dst.data, RTA_DATA(tb[RTA_DS [all...] |
/external/libnetfilter_conntrack/src/conntrack/ |
H A D | parse_mnl.c | 20 const struct nlattr **tb = data; local 41 tb[type] = attr; 49 struct nlattr *tb[CTA_IP_MAX+1] = {}; local 51 if (mnl_attr_parse_nested(attr, nfct_parse_ip_attr_cb, tb) < 0) 54 if (tb[CTA_IP_V4_SRC]) { 55 tuple->src.v4 = mnl_attr_get_u32(tb[CTA_IP_V4_SRC]); 69 if (tb[CTA_IP_V4_DST]) { 70 tuple->dst.v4 = mnl_attr_get_u32(tb[CTA_IP_V4_DST]); 84 if (tb[CTA_IP_V6_SRC]) { 85 memcpy(&tuple->src.v6, mnl_attr_get_payload(tb[CTA_IP_V6_SR 121 const struct nlattr **tb = data; local 152 struct nlattr *tb[CTA_PROTO_MAX+1] = {}; local 245 const struct nlattr **tb = data; local 271 struct nlattr *tb[CTA_TUPLE_MAX+1] = {}; local 304 const struct nlattr **tb = data; local 332 struct nlattr *tb[CTA_PROTOINFO_TCP_MAX+1] = {}; local 379 const struct nlattr **tb = data; local 403 struct nlattr *tb[CTA_PROTOINFO_SCTP_MAX+1] = {}; local 432 const struct nlattr **tb = data; local 456 struct nlattr *tb[CTA_PROTOINFO_DCCP_MAX+1] = {}; local 481 const struct nlattr **tb = data; local 502 struct nlattr *tb[CTA_PROTOINFO_MAX+1] = {}; local 521 const struct nlattr **tb = data; local 547 struct nlattr *tb[CTA_COUNTERS_MAX+1] = {}; local 596 const struct nlattr **tb = data; local 617 struct nlattr *tb[CTA_NAT_SEQ_MAX+1] = {}; local 667 const struct nlattr **tb = data; local 686 struct nlattr *tb[CTA_HELP_MAX+1] = {}; local 717 const struct nlattr **tb = data; local 736 struct nlattr *tb[CTA_SECCTX_MAX+1] = {}; local 754 const struct nlattr **tb = data; local 774 struct nlattr *tb[CTA_TIMESTAMP_MAX+1] = {}; local 815 const struct nlattr **tb = data; local 862 struct nlattr *tb[CTA_MAX+1] = {}; local [all...] |
H A D | parse.c | 21 struct nfattr *tb[CTA_IP_MAX]; local 23 nfnl_parse_nested(tb, CTA_IP_MAX, attr); 25 if (tb[CTA_IP_V4_SRC-1]) { 26 tuple->src.v4 = *(uint32_t *)NFA_DATA(tb[CTA_IP_V4_SRC-1]); 40 if (tb[CTA_IP_V4_DST-1]) { 41 tuple->dst.v4 = *(uint32_t *)NFA_DATA(tb[CTA_IP_V4_DST-1]); 55 if (tb[CTA_IP_V6_SRC-1]) { 56 memcpy(&tuple->src.v6, NFA_DATA(tb[CTA_IP_V6_SRC-1]), 71 if (tb[CTA_IP_V6_DST-1]) { 72 memcpy(&tuple->dst.v6, NFA_DATA(tb[CTA_IP_V6_DS 93 struct nfattr *tb[CTA_PROTO_MAX]; local 186 struct nfattr *tb[CTA_TUPLE_MAX]; local 211 struct nfattr *tb[CTA_PROTOINFO_TCP_MAX]; local 255 struct nfattr *tb[CTA_PROTOINFO_SCTP_MAX]; local 282 struct nfattr *tb[CTA_PROTOINFO_DCCP_MAX]; local 309 struct nfattr *tb[CTA_PROTOINFO_MAX]; local 327 struct nfattr *tb[CTA_COUNTERS_MAX]; local 383 struct nfattr *tb[CTA_NAT_SEQ_MAX]; local 430 struct nfattr *tb[CTA_HELP_MAX]; local 446 struct nfattr *tb[CTA_SECCTX_MAX]; local 477 struct nfattr *tb[CTA_TIMESTAMP_MAX]; local [all...] |
/external/libmojo/third_party/jinja2/ |
H A D | debug.py | 39 def __init__(self, tb): 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 [all...] |
/external/libnetfilter_conntrack/src/expect/ |
H A D | parse_mnl.c | 17 const struct nlattr **tb = data; local 46 tb[type] = attr; 52 struct nlattr *tb[CTA_EXPECT_MAX+1] = {}; local 56 nlmsg_parse_expection_attr_cb, tb); 58 if (tb[CTA_EXPECT_MASTER]) { 62 nfct_parse_tuple(tb[CTA_EXPECT_MASTER], &exp->master.orig, 66 if (tb[CTA_EXPECT_TUPLE]) { 70 nfct_parse_tuple(tb[CTA_EXPECT_TUPLE], &exp->expected.orig, 74 if (tb[CTA_EXPECT_MASK]) { 78 nfct_parse_tuple(tb[CTA_EXPECT_MAS [all...] |
/external/iw/ |
H A D | event.c | 18 static int parse_beacon_hint_chan(struct nlattr *tb, argument 30 tb, 209 struct nlattr *tb[NUM_NL80211_WOWLAN_TRIG], local 218 nla_parse(tb, MAX_NL80211_WOWLAN_TRIG, 222 if (tb[NL80211_WOWLAN_TRIG_DISCONNECT]) 224 if (tb[NL80211_WOWLAN_TRIG_MAGIC_PKT]) 226 if (tb[NL80211_WOWLAN_TRIG_PKT_PATTERN]) 228 nla_get_u32(tb[NL80211_WOWLAN_TRIG_PKT_PATTERN])); 229 if (tb[NL80211_WOWLAN_TRIG_GTK_REKEY_FAILURE]) 231 if (tb[NL80211_WOWLAN_TRIG_EAP_IDENT_REQUES 297 struct nlattr *tb[NL80211_ATTR_MAX + 1], *nst; local [all...] |
/external/javassist/src/main/javassist/bytecode/stackmap/ |
H A D | Liveness.java | 61 private void computeLiveness1(TypedBlock tb) { argument 62 if (tb.updating) { 64 computeLiveness1u(tb); 68 if (tb.inputs != null) 71 tb.updating = true; 72 byte[] usage = tb.localsUsage; 78 BasicBlock.Catch handlers = tb.toCatch; 89 if (tb.exit != null) { 90 for (int i = 0; i < tb.exit.length; i++) { 91 TypedBlock e = (TypedBlock)tb 113 computeLiveness1u(TypedBlock tb) argument 126 computeLiveness2(TypedBlock tb) argument 170 computeLiveness2except(TypedBlock tb) argument [all...] |
/external/iproute2/tc/ |
H A D | q_hhf.c | 122 struct rtattr *tb[TCA_HHF_MAX + 1]; local 136 parse_rtattr_nested(tb, TCA_HHF_MAX, opt); 138 if (tb[TCA_HHF_BACKLOG_LIMIT] && 139 RTA_PAYLOAD(tb[TCA_HHF_BACKLOG_LIMIT]) >= sizeof(__u32)) { 140 limit = rta_getattr_u32(tb[TCA_HHF_BACKLOG_LIMIT]); 143 if (tb[TCA_HHF_QUANTUM] && 144 RTA_PAYLOAD(tb[TCA_HHF_QUANTUM]) >= sizeof(__u32)) { 145 quantum = rta_getattr_u32(tb[TCA_HHF_QUANTUM]); 148 if (tb[TCA_HHF_HH_FLOWS_LIMIT] && 149 RTA_PAYLOAD(tb[TCA_HHF_HH_FLOWS_LIMI [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_fq.c | 227 struct rtattr *tb[TCA_FQ_MAX + 1]; local 240 parse_rtattr_nested(tb, TCA_FQ_MAX, opt); 242 if (tb[TCA_FQ_PLIMIT] && 243 RTA_PAYLOAD(tb[TCA_FQ_PLIMIT]) >= sizeof(__u32)) { 244 plimit = rta_getattr_u32(tb[TCA_FQ_PLIMIT]); 247 if (tb[TCA_FQ_FLOW_PLIMIT] && 248 RTA_PAYLOAD(tb[TCA_FQ_FLOW_PLIMIT]) >= sizeof(__u32)) { 249 flow_plimit = rta_getattr_u32(tb[TCA_FQ_FLOW_PLIMIT]); 252 if (tb[TCA_FQ_BUCKETS_LOG] && 253 RTA_PAYLOAD(tb[TCA_FQ_BUCKETS_LO [all...] |
/external/libnl/lib/netfilter/ |
H A D | ct.c | 121 struct nlattr *tb[CTA_IP_MAX+1]; local 125 err = nla_parse_nested(tb, CTA_IP_MAX, attr, ct_ip_policy); 129 if (tb[CTA_IP_V4_SRC]) { 130 addr = nl_addr_alloc_attr(tb[CTA_IP_V4_SRC], AF_INET); 138 if (tb[CTA_IP_V4_DST]) { 139 addr = nl_addr_alloc_attr(tb[CTA_IP_V4_DST], AF_INET); 147 if (tb[CTA_IP_V6_SRC]) { 148 addr = nl_addr_alloc_attr(tb[CTA_IP_V6_SRC], AF_INET6); 156 if (tb[CTA_IP_V6_DST]) { 157 addr = nl_addr_alloc_attr(tb[CTA_IP_V6_DS 176 struct nlattr *tb[CTA_PROTO_MAX+1]; local 219 struct nlattr *tb[CTA_TUPLE_MAX+1]; local 243 struct nlattr *tb[CTA_PROTOINFO_TCP_MAX+1]; local 260 struct nlattr *tb[CTA_PROTOINFO_MAX+1]; local 279 struct nlattr *tb[CTA_COUNTERS_MAX+1]; local 319 struct nlattr *tb[CTA_TIMESTAMP_MAX + 1]; local 338 struct nlattr *tb[CTA_MAX+1]; local [all...] |
/external/python/cpython2/Python/ |
H A D | traceback.c | 23 tb_dealloc(PyTracebackObject *tb) argument 25 PyObject_GC_UnTrack(tb); 26 Py_TRASHCAN_SAFE_BEGIN(tb) 27 Py_XDECREF(tb->tb_next); 28 Py_XDECREF(tb->tb_frame); 29 PyObject_GC_Del(tb); 30 Py_TRASHCAN_SAFE_END(tb) 34 tb_traverse(PyTracebackObject *tb, visitproc visit, void *arg) argument 36 Py_VISIT(tb->tb_next); 37 Py_VISIT(tb 42 tb_clear(PyTracebackObject *tb) argument 86 PyTracebackObject *tb; local 110 PyTracebackObject *tb = newtracebackobject(oldtb, frame); local 232 tb_printinternal(PyTracebackObject *tb, PyObject *f, long limit) argument [all...] |
/external/python/cpython2/Tools/faqwiz/ |
H A D | faqw.py | 30 t, v, tb = sys.exc_info() 33 cgi.print_exception(t, v, tb)
|
/external/skia/fuzz/oss_fuzz/ |
H A D | FuzzTextBlobDeserialize.cpp | 15 auto tb = SkTextBlob::MakeFromBuffer(buf); local 25 s->getCanvas()->drawTextBlob(tb, 200, 200, SkPaint());
|
/external/python/cpython2/Lib/ |
H A D | traceback.py | 46 def print_tb(tb, limit=None, file=None): 47 """Print up to 'limit' stack trace entries from the traceback 'tb'. 60 while tb is not None and (limit is None or n < limit): 61 f = tb.tb_frame 62 lineno = tb.tb_lineno 71 tb = tb.tb_next 74 def format_tb(tb, limit = None): 75 """A shorthand for 'format_list(extract_tb(tb, limit))'.""" 76 return format_list(extract_tb(tb, limi [all...] |
/external/iproute2/rdma/ |
H A D | link.c | 59 static void link_print_caps(struct rd *rd, struct nlattr **tb) argument 64 if (!tb[RDMA_NLDEV_ATTR_CAP_FLAGS]) 67 caps = mnl_attr_get_u64(tb[RDMA_NLDEV_ATTR_CAP_FLAGS]); 94 static void link_print_subnet_prefix(struct rd *rd, struct nlattr **tb) argument 100 if (!tb[RDMA_NLDEV_ATTR_SUBNET_PREFIX]) 103 subnet_prefix = mnl_attr_get_u64(tb[RDMA_NLDEV_ATTR_SUBNET_PREFIX]); 112 static void link_print_lid(struct rd *rd, struct nlattr **tb) argument 116 if (!tb[RDMA_NLDEV_ATTR_LID]) 119 lid = mnl_attr_get_u32(tb[RDMA_NLDEV_ATTR_LID]); 126 static void link_print_sm_lid(struct rd *rd, struct nlattr **tb) argument 140 link_print_lmc(struct rd *rd, struct nlattr **tb) argument 165 link_print_state(struct rd *rd, struct nlattr **tb) argument 193 link_print_phys_state(struct rd *rd, struct nlattr **tb) argument 210 struct nlattr *tb[RDMA_NLDEV_ATTR_MAX] = {}; local [all...] |
/external/jemalloc/test/unit/ |
H A D | ticker.c | 51 ticker_t ta, tb; local 54 ticker_copy(&tb, &ta); 55 assert_u_eq(ticker_read(&tb), NTICKS, "Unexpected ticker value"); 56 assert_true(ticker_ticks(&tb, NTICKS + 1), "Expected ticker fire"); 57 assert_u_eq(ticker_read(&tb), NTICKS, "Unexpected ticker value"); 60 ticker_copy(&tb, &ta); 61 assert_u_eq(ticker_read(&tb), NTICKS - 1, "Unexpected ticker value"); 62 assert_true(ticker_ticks(&tb, NTICKS), "Expected ticker fire"); 63 assert_u_eq(ticker_read(&tb), NTICKS, "Unexpected ticker value");
|