Home
last modified time | relevance | path

Searched refs:n_rx (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/libfido2/src/
H A Dcredman.c23 credman_grow_array(void **ptr, size_t *n_alloc, const size_t *n_rx, size_t n, in credman_grow_array() argument
39 if (*n_rx > 0 || *n_rx > *n_alloc || n < *n_alloc) { in credman_grow_array()
41 *n_rx, *n_alloc); in credman_grow_array()
326 if (credman_grow_array((void **)&rk->ptr, &rk->n_alloc, &rk->n_rx, in credman_parse_rk_count()
374 rk->n_rx = 1; in credman_rx_rk()
402 if (rk->n_rx >= rk->n_alloc) { in credman_rx_next_rk()
403 fido_log_debug("%s: n_rx=%zu, n_alloc=%zu", __func__, rk->n_rx, in credman_rx_next_rk()
409 if ((r = cbor_parse_reply(msg, (size_t)msglen, &rk->ptr[rk->n_rx], in credman_rx_next_rk()
443 while (rk->n_rx < rk->n_alloc) { in credman_get_rk_wait()
448 rk->n_rx++; in credman_get_rk_wait()
[all …]
H A Dbio.c181 if (ta->n_rx >= ta->n_alloc) { in decode_template_array()
186 if (cbor_map_iter(item, &ta->ptr[ta->n_rx], decode_template) < 0) { in decode_template_array()
191 ta->n_rx++; in decode_template_array()
215 if (ta->ptr != NULL || ta->n_alloc != 0 || ta->n_rx != 0) { in bio_parse_template_array()
760 return (ta->n_rx); in fido_bio_template_array_count()
/freebsd/contrib/libfido2/src/fido/
H A Dcredman.h64 size_t n_rx; /* number of populated entries */ member
70 size_t n_rx; /* number of populated entries */ member
H A Dbio.h59 size_t n_rx; /* number of populated entries */ member