Home
last modified time | relevance | path

Searched refs:pending (Results 1 – 25 of 474) sorted by relevance

12345678910>>...19

/external/tensorflow/tensorflow/core/common_runtime/
Dpending_counts_test.cc37 EXPECT_EQ(c.pending(h[id]), id); in TEST()
54 EXPECT_EQ(c.pending(h[1]), 0); in TEST()
55 EXPECT_EQ(c.pending(h[3]), 1); in TEST()
56 EXPECT_EQ(c.pending(h[5]), 1); in TEST()
57 EXPECT_EQ(c.pending(h[170]), 156); in TEST()
73 EXPECT_EQ(c.pending(h[id]), c2.pending(h[id])); in TEST()
90 EXPECT_EQ(c.pending(h), count); in TEST()
92 EXPECT_EQ(c.pending(h), count - 1); in TEST()
95 EXPECT_EQ(c.pending(h), count - 1); in TEST()
98 EXPECT_EQ(c.pending(h), 0); in TEST()
[all …]
Dpending_counts.h97 c->pending = pending_count; in set_initial_count()
103 c->pending = pending_count; in set_initial_count()
117 DCHECK_EQ(pending(h), 0); in mark_started()
132 c->pending = 1; in mark_completed()
136 c->pending = 1; in mark_completed()
139 int pending(Handle h) { in pending() function
143 return c->pending; in pending()
152 return c->pending; in pending()
161 DCHECK_GE(pending(h), v); in decrement_pending()
164 c->pending -= v; in decrement_pending()
[all …]
/external/syzkaller/vm/vmimpl/
Dmerger.go52 var pending []byte
66 pending = append(pending, buf[:n]...)
67 if pos := bytes.LastIndexByte(pending, '\n'); pos != -1 {
68 out := pending[:pos+1]
76 r := copy(pending[:], pending[pos+1:])
77 pending = pending[:r]
83 if len(pending) != 0 {
84 pending = append(pending, '\n')
87 merger.tee.Write(pending)
91 case merger.Output <- pending:
/external/ltp/testcases/kernel/syscalls/sigpending/
Dsigpending02.c63 sigset_t pending; in test_sigpending() local
64 sigemptyset(&pending); in test_sigpending()
65 tested_sigpending(&pending); in test_sigpending()
68 if (sigismember(&pending, i)) in test_sigpending()
80 sigemptyset(&pending); in test_sigpending()
81 tested_sigpending(&pending); in test_sigpending()
83 if ((i == SIGUSR1) != sigismember(&pending, i)) in test_sigpending()
94 sigemptyset(&pending); in test_sigpending()
95 tested_sigpending(&pending); in test_sigpending()
97 if ((i == SIGUSR1 || i == SIGUSR2) != sigismember(&pending, i)) in test_sigpending()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
D12-1.c57 sigset_t mask, pending; in main() local
100 ret = sigpending(&pending); in main()
107 ret = sigismember(&pending, SIGUSR1); in main()
115 ret = sigismember(&pending, SIGUSR2); in main()
176 ret = sigpending(&pending); in main()
183 ret = sigismember(&pending, SIGUSR1); in main()
195 ret = sigismember(&pending, SIGUSR2); in main()
/external/grpc-grpc/src/core/lib/iomgr/
Dtimer_custom.cc37 GPR_ASSERT(timer->pending); in grpc_custom_timer_callback()
38 timer->pending = 0; in grpc_custom_timer_callback()
51 timer->pending = false; in timer_init()
56 timer->pending = true; in timer_init()
69 if (timer->pending) { in timer_cancel()
70 timer->pending = 0; in timer_cancel()
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_windows_utils.py23 self.assertFalse(ov1.pending)
27 self.assertTrue(ov1.pending)
38 self.assertFalse(ov2.pending)
47 self.assertFalse(ov1.pending)
49 self.assertFalse(ov2.pending)
107 self.assertFalse(ovout.pending)
108 self.assertFalse(overr.pending)
109 self.assertFalse(ovin.pending)
/external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/
DAbstractLauncher.java72 String pending = null; in tokenizeCommand() local
83 } else if (pending != null) { in tokenizeCommand()
85 quoted = pending; in tokenizeCommand()
88 tokenList.add(pending); in tokenizeCommand()
92 pending = null; in tokenizeCommand()
100 pending = token; in tokenizeCommand()
108 if (pending != null) { in tokenizeCommand()
109 tokenList.add(pending); in tokenizeCommand()
/external/selinux/libselinux/utils/
Dgetsebool.c17 int i, get_all = 0, rc = 0, active, pending, len = 0, opt; in main() local
84 pending = security_get_boolean_pending(names[i]); in main()
85 if (pending < 0) { in main()
98 if (pending != active) { in main()
101 (pending ? "on" : "off")); in main()
/external/perfetto/src/trace_processor/
Devent_tracker.cc162 PendingUpidResolutionCounter pending; in PushCounter() local
163 pending.row = idx; in PushCounter()
164 pending.utid = static_cast<UniqueTid>(ref); in PushCounter()
165 pending.name_id = name_id; in PushCounter()
166 pending_upid_resolution_counter_.emplace_back(pending); in PushCounter()
183 PendingUpidResolutionInstant pending; in PushInstant() local
184 pending.row = idx; in PushInstant()
185 pending.utid = static_cast<UniqueTid>(ref); in PushInstant()
186 pending_upid_resolution_instant_.emplace_back(pending); in PushInstant()
/external/python/cpython3/Lib/lib2to3/fixes/
Dfix_import.py23 pending = [names]
24 while pending:
25 node = pending.pop()
31 pending.append(node.children[0])
33 pending.extend(node.children[::-2])
/external/python/cpython2/Lib/lib2to3/fixes/
Dfix_import.py23 pending = [names]
24 while pending:
25 node = pending.pop()
31 pending.append(node.children[0])
33 pending.extend(node.children[::-2])
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dclient_channel.cc1012 pending_batch* pending) { in maybe_cache_send_ops_for_batch() argument
1013 if (pending->send_ops_cached) return; in maybe_cache_send_ops_for_batch()
1014 pending->send_ops_cached = true; in maybe_cache_send_ops_for_batch()
1015 grpc_transport_stream_op_batch* batch = pending->batch; in maybe_cache_send_ops_for_batch()
1154 pending_batch* pending = &calld->pending_batches[idx]; in pending_batches_add() local
1155 GPR_ASSERT(pending->batch == nullptr); in pending_batches_add()
1156 pending->batch = batch; in pending_batches_add()
1157 pending->send_ops_cached = false; in pending_batches_add()
1204 static void pending_batch_clear(call_data* calld, pending_batch* pending) { in pending_batch_clear() argument
1206 if (pending->batch->send_initial_metadata) { in pending_batch_clear()
[all …]
/external/mesa3d/src/gallium/drivers/r600/sb/
Dsb_gcm.cpp50 init_def_count(uses, pending); in run()
52 for (node_iterator N, I = pending.begin(), E = pending.end(); in run()
71 pending.remove_node(o); in run()
79 if (!pending.empty()) { in run()
81 dump::dump_op(pending.front()); in run()
84 assert(pending.empty()); in run()
92 init_use_count(uses, pending); in run()
95 if (!pending.empty()) { in run()
97 dump::dump_op(pending.front()); in run()
101 assert(pending.empty()); in run()
[all …]
/external/jemalloc/src/
Dtsd.c42 bool pending[MALLOC_TSD_CLEANUPS_MAX], again; in _malloc_thread_cleanup() local
46 pending[i] = true; in _malloc_thread_cleanup()
51 if (pending[i]) { in _malloc_thread_cleanup()
52 pending[i] = cleanups[i](); in _malloc_thread_cleanup()
53 if (pending[i]) in _malloc_thread_cleanup()
/external/syzkaller/pkg/db/
Ddb.go31 pending *bytes.Buffer // pending writes to the file member
82 if db.pending == nil {
90 if _, err := f.Write(db.pending.Bytes()); err != nil {
93 db.pending = nil
124 db.pending = nil
129 if db.pending == nil {
130 db.pending = new(bytes.Buffer)
132 serializeRecord(db.pending, key, val, seq)
/external/toybox/scripts/
Dmkstatus.py26 blah,pending=readit(["sed -n 's/[^ \\t].*TOY(\\([^,]*\\),.*/\\1/p' toys/pending/*.c"], 1) variable
43 if (i in pending): print "barf %s" % i
46 for i in toystuff + pending:
89 if i in toystuff or i in pending:
118 if j in pending: todo.append('<strike>%s</strike>' % j)
/external/u-boot/lib/zlib/
Ddeflate.c368 s->pending = 0;
565 unsigned len = strm->state->pending;
575 strm->state->pending -= len;
576 if (strm->state->pending == 0) {
645 s->pending);
682 uInt beg = s->pending; /* start of bytes to update crc */
685 if (s->pending == s->pending_buf_size) {
686 if (s->gzhead->hcrc && s->pending > beg)
688 s->pending - beg);
690 beg = s->pending;
[all …]
/external/python/cpython3/Lib/test/libregrtest/
Druntest_mp.py101 def __init__(self, pending, output, ns): argument
103 self.pending = pending
111 test = next(self.pending)
153 pending = MultiprocessIterator(regrtest.tests)
157 workers = [MultiprocessThread(pending, output, regrtest.ns)
223 pending.interrupted = True
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/
Dtemplate_23-1.in28 * The test fails if signal handler if reentered or signal is not pending when raised again.
88 sigset_t pending;
107 /* check the signal is pending */
108 ret = sigpending( &pending );
112 UNRESOLVED( ret, "Failed to get pending signal set" );
115 ret = sigismember( &pending, SIGNAL );
119 FAILED( "signal is not pending" );
/external/python/cpython2/Modules/zlib/
Ddeflate.c481 s->pending = 0;
528 int ZEXPORT deflatePending (strm, pending, bits) in deflatePending() argument
529 unsigned *pending; in deflatePending()
534 if (pending != Z_NULL)
535 *pending = strm->state->pending;
737 len = s->pending;
746 s->pending -= len;
747 if (s->pending == 0) {
757 if (s->gzhead->hcrc && s->pending > (beg)) \
759 s->pending - (beg)); \
[all …]
/external/zlib/src/
Ddeflate.c481 s->pending = 0;
528 int ZEXPORT deflatePending (strm, pending, bits) in deflatePending() argument
529 unsigned *pending; in deflatePending()
534 if (pending != Z_NULL)
535 *pending = strm->state->pending;
737 len = s->pending;
746 s->pending -= len;
747 if (s->pending == 0) {
757 if (s->gzhead->hcrc && s->pending > (beg)) \
759 s->pending - (beg)); \
[all …]
/external/adhd/cras/src/server/
Dcras_alert.c29 int pending; member
97 if (!alert->pending) in cras_alert_process()
100 alert->pending = 0; in cras_alert_process()
120 alert->pending = 1; in cras_alert_pending()
129 alert->pending = 1; in cras_alert_pending_data()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dstatic_schedule.cc110 int pending = pending_inputs[fanout]; in EstimateEarliestExecutionTimes() local
111 if (pending == 0) { in EstimateEarliestExecutionTimes()
114 } else if (pending == 1) { in EstimateEarliestExecutionTimes()
180 int pending = pending_fanouts[fanin]; in EstimateRequiredTimes() local
181 if (pending == 0) { in EstimateRequiredTimes()
184 } else if (pending == 1) { in EstimateRequiredTimes()
/external/libaom/libaom/aom_ports/
Daom_once.h51 BOOL pending; in aom_once() local
52 InitOnceBeginInitialize(&aom_init_once, 0, &pending, NULL); in aom_once()
53 if (!pending) { in aom_once()

12345678910>>...19