HomeSort by relevance Sort by last modified time
    Searched refs:tb (Results 1 - 25 of 1770) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/compiler-rt/test/msan/
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/
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);
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, void *p
    [all...]
  /frameworks/base/core/tests/coretests/src/android/util/
TokenBucketTest.java 63 TokenBucket tb = new TokenBucket(FILL_DELTA_VERY_LONG, 100, 10); local
64 drain(tb, 10);
66 tb.reset(50);
67 drain(tb, 50);
69 tb.reset(50);
70 getOneByOne(tb, 10);
71 assertTrue(tb.has());
73 tb.reset(30);
74 drain(tb, 30);
79 TokenBucket tb = new TokenBucket(delta, 10, 0) local
89 TokenBucket tb = new TokenBucket(FILL_DELTA_VERY_SHORT, 10, 10); local
112 TokenBucket tb = new TokenBucket(delta, 20, 0); local
130 TokenBucket tb = new TokenBucket(delta, capacity, 0); local
    [all...]
  /external/iproute2/ip/
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_MODE]))
    [all...]
iplink_bond_slave.c 35 static void print_slave_state(FILE *f, struct rtattr *tb)
37 unsigned int state = rta_getattr_u8(tb);
55 static void print_slave_mii_status(FILE *f, struct rtattr *tb)
57 unsigned int status = rta_getattr_u8(tb);
71 static void bond_slave_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[])
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_STATUS])
    [all...]
iplink_hsr.c 93 static void hsr_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[])
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_ADDR]) < ETH_ALEN
    [all...]
iplink_bridge.c 396 static void bridge_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[])
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_TIME]))
764 struct rtattr *tb[IFLA_STATS_MAX+1]; local
    [all...]
iplink_bond.c 370 static void bond_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[])
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_UPDELAY]))
    [all...]
  /frameworks/base/core/tests/coretests/src/com/android/internal/os/
BatteryStatsTimeBaseTest.java 74 TestTimeBase tb = new TestTimeBase(); local
78 tb.setRunning(true, 100, 10000);
79 tb.setRunning(false, 200, 11000);
80 Assert.assertEquals(100, tb.getUptimeStart());
81 Assert.assertEquals(10000, tb.getRealtimeStart());
89 tb.add(observer1);
90 tb.add(observer2);
91 tb.add(observer3);
92 Assert.assertTrue(tb.hasObserver(observer1));
93 Assert.assertTrue(tb.hasObserver(observer2))
171 TestTimeBase tb = new TestTimeBase(); local
186 TestTimeBase tb = new TestTimeBase(); local
199 TestTimeBase tb = new TestTimeBase(); local
278 TestTimeBase tb = new TestTimeBase(); local
297 TestTimeBase tb = new TestTimeBase(); local
316 TestTimeBase tb = new TestTimeBase(); local
    [all...]
  /external/libnetfilter_conntrack/src/conntrack/
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_SRC])
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...]
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_DST-1])
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/libnetfilter_conntrack/src/expect/
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_MASK], &exp->mask.orig
    [all...]
  /external/iw/
event.c 18 static int parse_beacon_hint_chan(struct nlattr *tb,
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_REQUEST]
297 struct nlattr *tb[NL80211_ATTR_MAX + 1], *nst; local
    [all...]
  /external/javassist/src/main/javassist/bytecode/stackmap/
Liveness.java 61 private void computeLiveness1(TypedBlock tb) {
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.exit[i]
196 TypedBlock tb = blocks[i]; local
213 TypedBlock tb = blocks[i]; local
    [all...]
  /external/iproute2/tc/
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_LIMIT]) >= sizeof(__u32))
    [all...]
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_SHIFT]) < sizeof(shift)
    [all...]
  /external/libnl/lib/netfilter/
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_DST], AF_INET6)
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...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
traceback.c 23 tb_dealloc(PyTracebackObject *tb)
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)
36 Py_VISIT(tb->tb_next);
37 Py_VISIT(tb->tb_frame);
86 PyTracebackObject *tb; local
110 PyTracebackObject *tb = newtracebackobject(oldtb, frame); local
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
traceback.c 23 tb_dealloc(PyTracebackObject *tb)
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)
36 Py_VISIT(tb->tb_next);
37 Py_VISIT(tb->tb_frame);
86 PyTracebackObject *tb; local
110 PyTracebackObject *tb = newtracebackobject(oldtb, frame); local
    [all...]
  /external/python/cpython2/Python/
traceback.c 23 tb_dealloc(PyTracebackObject *tb)
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)
36 Py_VISIT(tb->tb_next);
37 Py_VISIT(tb->tb_frame)
86 PyTracebackObject *tb; local
110 PyTracebackObject *tb = newtracebackobject(oldtb, frame); local
    [all...]
  /external/libmojo/third_party/jinja2/
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/skia/fuzz/oss_fuzz/
FuzzTextBlobDeserialize.cpp 15 auto tb = SkTextBlob::MakeFromBuffer(buf); local
25 s->getCanvas()->drawTextBlob(tb, 200, 200, SkPaint());
  /prebuilts/go/darwin-x86/src/runtime/
time.go 19 tb *timersBucket // the bucket the timer lives in
58 t.tb = &timers[id].timersBucket
59 return t.tb
99 tb := t.assignBucket()
100 lock(&tb.lock)
101 tb.addtimerLocked(t)
102 goparkunlock(&tb.lock, "sleep", traceEvGoSleep, 2)
129 tb := t.assignBucket()
130 lock(&tb.lock)
131 tb.addtimerLocked(t
    [all...]
  /prebuilts/go/linux-x86/src/runtime/
time.go 19 tb *timersBucket // the bucket the timer lives in
58 t.tb = &timers[id].timersBucket
59 return t.tb
99 tb := t.assignBucket()
100 lock(&tb.lock)
101 tb.addtimerLocked(t)
102 goparkunlock(&tb.lock, "sleep", traceEvGoSleep, 2)
129 tb := t.assignBucket()
130 lock(&tb.lock)
131 tb.addtimerLocked(t
    [all...]

Completed in 439 milliseconds

1 2 3 4 5 6 7 8 91011>>