Home
last modified time | relevance | path

Searched refs:num_pending (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/ring/src/
Ddigest.rs77 pub(crate) fn finish(mut self, pending: &mut [u8], num_pending: usize) -> Digest { in finish()
80 assert!(num_pending <= pending.len()); in finish()
82 let mut padding_pos = num_pending; in finish()
103 .checked_add(polyfill::u64_from_usize(num_pending)) in finish()
142 num_pending: usize, field
151 num_pending: 0, in new()
159 num_pending: 0, in clone_from()
168 if data.len() < block_len - self.num_pending { in update()
169 self.pending[self.num_pending..(self.num_pending + data.len())].copy_from_slice(data); in update()
170 self.num_pending += data.len(); in update()
[all …]
Dhmac.rs331 let num_pending = algorithm.output_len; in sign() localVariable
332 pending[..num_pending].copy_from_slice(self.inner.finish().as_ref()); in sign()
333 Tag(self.outer.finish(pending, num_pending)) in sign()
/external/curl/lib/
Dasyn-ares.c89 int num_pending; /* number of ares_gethostbyname() requests */ member
365 && res->num_pending in Curl_resolver_is_resolved()
381 DEBUGASSERT(res->num_pending == 0); in Curl_resolver_is_resolved()
384 if(res && !res->num_pending) { in Curl_resolver_is_resolved()
543 res->num_pending--; in query_completed_cb()
560 if(res->num_pending in query_completed_cb()
571 DEBUGASSERT(res->num_pending == 1); in query_completed_cb()
676 res->num_pending = 2; in Curl_resolver_getaddrinfo()
685 res->num_pending = 1; in Curl_resolver_getaddrinfo()
695 res->num_pending = 1; in Curl_resolver_getaddrinfo()
/external/autotest/client/tests/aiostress/
Daio-stress.c157 int num_pending; member
460 oper->num_pending--; in finish_io()
463 if (oper->num_pending == 0 && in finish_io()
536 if (oper->num_pending == 0)
553 if (oper->num_pending == 0)
654 if (oper->num_pending > 0) {
655 fprintf(stderr, "oper num_pending is %d\n", oper->num_pending);
732 io->io_oper->num_pending++;
812 if (oper->num_pending)
/external/ltp/testcases/kernel/io/ltp-aiodio/
Daio-stress.c159 int num_pending; member
474 oper->num_pending--; in finish_io()
477 if (oper->num_pending == 0 && in finish_io()
552 if (oper->num_pending == 0)
569 if (oper->num_pending == 0)
670 if (oper->num_pending > 0) {
671 fprintf(stderr, "oper num_pending is %d\n", oper->num_pending);
748 io->io_oper->num_pending++;
831 if (oper->num_pending)