Home
last modified time | relevance | path

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

/netbsd-src/crypto/external/bsd/openssl/dist/crypto/
H A Dpacket.c16 int WPACKET_allocate_bytes(WPACKET *pkt, size_t len, unsigned char **allocbytes) in WPACKET_allocate_bytes() argument
18 if (!WPACKET_reserve_bytes(pkt, len, allocbytes)) in WPACKET_allocate_bytes()
27 unsigned char **allocbytes, size_t lenbytes) in WPACKET_sub_allocate_bytes__() argument
30 || !WPACKET_allocate_bytes(pkt, len, allocbytes) in WPACKET_sub_allocate_bytes__()
43 int WPACKET_reserve_bytes(WPACKET *pkt, size_t len, unsigned char **allocbytes) in WPACKET_reserve_bytes() argument
68 if (allocbytes != NULL) { in WPACKET_reserve_bytes()
69 *allocbytes = WPACKET_get_curr(pkt); in WPACKET_reserve_bytes()
70 if (pkt->endfirst && *allocbytes != NULL) in WPACKET_reserve_bytes()
71 *allocbytes -= len; in WPACKET_reserve_bytes()
78 unsigned char **allocbytes, size_t lenbytes) in WPACKET_sub_reserve_bytes__() argument
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/ssl/
H A Dpacket.c16 int WPACKET_allocate_bytes(WPACKET *pkt, size_t len, unsigned char **allocbytes) in WPACKET_allocate_bytes() argument
18 if (!WPACKET_reserve_bytes(pkt, len, allocbytes)) in WPACKET_allocate_bytes()
27 unsigned char **allocbytes, size_t lenbytes) in WPACKET_sub_allocate_bytes__() argument
30 || !WPACKET_allocate_bytes(pkt, len, allocbytes) in WPACKET_sub_allocate_bytes__()
40 int WPACKET_reserve_bytes(WPACKET *pkt, size_t len, unsigned char **allocbytes) in WPACKET_reserve_bytes() argument
65 if (allocbytes != NULL) in WPACKET_reserve_bytes()
66 *allocbytes = WPACKET_get_curr(pkt); in WPACKET_reserve_bytes()
72 unsigned char **allocbytes, size_t lenbytes) in WPACKET_sub_reserve_bytes__() argument
74 if (!WPACKET_reserve_bytes(pkt, lenbytes + len, allocbytes)) in WPACKET_sub_reserve_bytes__()
77 *allocbytes += lenbytes; in WPACKET_sub_reserve_bytes__()
H A Dpacket_local.h775 unsigned char **allocbytes);
784 unsigned char **allocbytes, size_t lenbytes);
817 int WPACKET_reserve_bytes(WPACKET *pkt, size_t len, unsigned char **allocbytes);
823 unsigned char **allocbytes, size_t lenbytes);
/netbsd-src/crypto/external/bsd/openssl/dist/include/internal/
H A Dpacket.h800 unsigned char **allocbytes);
809 unsigned char **allocbytes, size_t lenbytes);
842 int WPACKET_reserve_bytes(WPACKET *pkt, size_t len, unsigned char **allocbytes);
848 unsigned char **allocbytes, size_t lenbytes);