HomeSort by: relevance | last modified time | path
    Searched defs:alloc_len (Results 1 - 25 of 28) sorted by relevancy

1 2

  /src/external/bsd/libfido2/dist/src/
iso7816.c 14 size_t alloc_len; local
16 alloc_len = sizeof(iso7816_apdu_t) + payload_len + 2; /* le1 le2 */
17 if ((apdu = calloc(1, alloc_len)) == NULL)
19 apdu->alloc_len = alloc_len;
38 freezero(apdu, apdu->alloc_len);
63 return apdu->alloc_len - offsetof(iso7816_apdu_t, header) -
iso7816.h 32 size_t alloc_len; member in struct:iso7816_apdu
u2f.c 111 size_t alloc_len; local
132 &alloc_len)) == 0) {
401 size_t alloc_len; local
423 &alloc_len)) != 77) {
446 size_t alloc_len; local
481 &alloc_len)) == 0) {
514 size_t alloc_len; local
567 &alloc_len)) == 0) {
cbor.c 1355 size_t alloc_len; local
1365 &authdata_cbor->ptr, &alloc_len)) == 0) {
1404 size_t alloc_len; local
1414 &authdata_cbor->ptr, &alloc_len)) == 0) {
1549 size_t alloc_len; local
1560 &attstmt->cbor.ptr, &alloc_len)) == 0) {
  /src/external/bsd/pam-u2f/dist/
b64.c 65 size_t alloc_len; local
86 alloc_len = strlen(in);
87 *ptr = calloc(1, alloc_len);
91 n = BIO_read(bio_b64, *ptr, (int) alloc_len);
  /src/external/gpl3/gdb.old/dist/gdb/
namespace.c 48 int alloc_len; local
86 alloc_len = (sizeof(*newobj)
88 newobj = (struct using_direct *) obstack_alloc (obstack, alloc_len);
jit.c 485 int alloc_len; local
490 alloc_len = sizeof (struct linetable)
492 stab->linetable.reset (XNEWVAR (struct linetable, alloc_len));
  /src/external/gpl3/gdb/dist/gdb/
namespace.c 48 int alloc_len; local
86 alloc_len = (sizeof(*newobj)
88 newobj = (struct using_direct *) obstack_alloc (obstack, alloc_len);
jit.c 485 int alloc_len; local
490 alloc_len = sizeof (struct linetable)
492 stab->linetable.reset (XNEWVAR (struct linetable, alloc_len));
  /src/crypto/external/apache2/openssl/dist/include/crypto/
rand_pool.h 79 size_t alloc_len; /* current number of bytes allocated */ member in struct:rand_pool_st
  /src/crypto/external/bsd/openssl/dist/include/crypto/
rand_pool.h 80 size_t alloc_len; /* current number of bytes allocated */ member in struct:rand_pool_st
  /src/external/bsd/libfido2/dist/tools/
base64.c 69 size_t alloc_len; local
87 alloc_len = strlen(in);
88 if ((*ptr = calloc(1, alloc_len)) == NULL)
91 n = BIO_read(bio_b64, *ptr, (int)alloc_len);
  /src/crypto/external/apache2/openssl/dist/include/internal/
quic_demux.h 95 * datagram) and alloc_len stores the allocation length. The URXE will be
100 size_t data_len, alloc_len; member in struct:quic_urxe_st
  /src/crypto/external/bsd/heimdal/dist/lib/roken/
simple_exec_w32.c 150 size_t alloc_len = 0; local
179 if (alloc_len < len + cmp_len + 1) {
182 alloc_len += ((len + cmp_len - alloc_len) / MAX_PATH + 1) * MAX_PATH;
183 nc = (char *) realloc(cmd, alloc_len * sizeof(char));
199 StringCchPrintf(cmd + len, alloc_len - len, "\"%s\"", s);
201 StringCchCopy(cmd + len, alloc_len - len, s);
  /src/lib/libisns/
isns_pdu.h 74 ((struct isns_buffer_s *)(_bufp))->alloc_len = (_len); \
75 ((struct isns_buffer_s *)(_bufp))->alloc_len &= ~0x03; \
86 uint32_t alloc_len; member in struct:isns_buffer_s
  /src/crypto/external/apache2/openssl/dist/crypto/ml_dsa/
ml_dsa_sign.c 61 size_t alloc_len, w1_encoded_len; local
82 alloc_len = w1_encoded_len
84 alloc = OPENSSL_malloc(alloc_len);
198 OPENSSL_clear_free(alloc, alloc_len);
  /src/external/bsd/libarchive/dist/libarchive/
archive_write_set_format_shar.c 424 size_t alloc_len; local
427 alloc_len = shar->work.length + 62;
428 if (archive_string_ensure(&shar->work, alloc_len) == NULL) {
  /src/crypto/external/bsd/openssl.old/dist/crypto/rand/
rand_local.h 176 size_t alloc_len; /* current number of bytes allocated */ member in struct:rand_pool_st
  /src/external/bsd/wpa/dist/src/wps/
wps_upnp.c 318 int alloc_len; local
393 alloc_len = host_len + 1 + 1 + path_len + 1;
413 a = os_zalloc(sizeof(*a) + alloc_len);
  /src/external/gpl3/binutils/dist/libctf/
ctf-serialize.c 1172 size_t alloc_len = 0; local
1186 alloc_len = compressBound (rawbufsiz - sizeof (ctf_header_t))
1194 alloc_len = rawbufsiz;
1204 if ((buf = malloc (alloc_len)) == NULL)
1208 (unsigned long) (alloc_len));
1232 size_t compress_len = alloc_len - sizeof (ctf_header_t);
  /src/external/gpl3/binutils.old/dist/libctf/
ctf-serialize.c 1166 size_t alloc_len = 0; local
1180 alloc_len = compressBound (rawbufsiz - sizeof (ctf_header_t))
1188 alloc_len = rawbufsiz;
1198 if ((buf = malloc (alloc_len)) == NULL)
1202 (unsigned long) (alloc_len));
1226 size_t compress_len = alloc_len - sizeof (ctf_header_t);
  /src/external/gpl3/gdb.old/dist/libctf/
ctf-serialize.c 1166 size_t alloc_len = 0; local
1180 alloc_len = compressBound (rawbufsiz - sizeof (ctf_header_t))
1188 alloc_len = rawbufsiz;
1198 if ((buf = malloc (alloc_len)) == NULL)
1202 (unsigned long) (alloc_len));
1226 size_t compress_len = alloc_len - sizeof (ctf_header_t);
  /src/external/gpl3/gdb/dist/libctf/
ctf-serialize.c 1172 size_t alloc_len = 0; local
1186 alloc_len = compressBound (rawbufsiz - sizeof (ctf_header_t))
1194 alloc_len = rawbufsiz;
1204 if ((buf = malloc (alloc_len)) == NULL)
1208 (unsigned long) (alloc_len));
1232 size_t compress_len = alloc_len - sizeof (ctf_header_t);
  /src/crypto/external/apache2/openssl/dist/ssl/quic/
quic_record_rx.c 47 size_t data_len, alloc_len, refcount; member in struct:rxe_st
77 * alloc_len allocated bytes (of which data_len bytes are valid) follow this
176 static RXE *qrx_ensure_free_rxe(OSSL_QRX *qrx, size_t alloc_len);
557 static RXE *qrx_alloc_rxe(size_t alloc_len)
561 if (alloc_len >= SIZE_MAX - sizeof(RXE))
564 rxe = OPENSSL_malloc(sizeof(RXE) + alloc_len);
569 rxe->alloc_len = alloc_len;
579 * alloc_len is a hint which may be used to determine the RXE size if allocation
582 static RXE *qrx_ensure_free_rxe(OSSL_QRX *qrx, size_t alloc_len)
    [all...]
quic_record_tx.c 28 size_t data_len, alloc_len; member in struct:txe_st
37 * alloc_len allocated bytes (of which data_len bytes are valid) follow this
217 static TXE *qtx_alloc_txe(size_t alloc_len)
221 if (alloc_len >= SIZE_MAX - sizeof(TXE))
224 txe = OPENSSL_malloc(sizeof(TXE) + alloc_len);
229 txe->alloc_len = alloc_len;
238 * alloc_len is a hint which may be used to determine the TXE size if allocation
241 static TXE *qtx_ensure_free_txe(OSSL_QTX *qtx, size_t alloc_len)
249 txe = qtx_alloc_txe(alloc_len);
    [all...]

Completed in 43 milliseconds

1 2