Go to the documentation of this file.
64 #include "../internal.h"
90 if (
buf->max >= cap) {
101 size_t alloc_size =
n * 4;
102 if (alloc_size / 4 !=
n) {
109 if (new_buf == NULL) {
115 buf->max = alloc_size;
139 size_t new_len =
buf->length +
len;
148 buf->length = new_len;
char * BUF_strndup(const char *str, size_t size)
#define OPENSSL_PUT_ERROR(library, reason)
static void * OPENSSL_memset(void *dst, int c, size_t n)
size_t BUF_strlcpy(char *dst, const char *src, size_t dst_size)
int BUF_MEM_reserve(BUF_MEM *buf, size_t cap)
size_t BUF_strnlen(const char *str, size_t max_len)
size_t BUF_MEM_grow(BUF_MEM *buf, size_t len)
static void * OPENSSL_memcpy(void *dst, const void *src, size_t n)
BUF_MEM * BUF_MEM_new(void)
void * BUF_memdup(const void *data, size_t size)
size_t BUF_strlcat(char *dst, const char *src, size_t dst_size)
UniquePtr< SSL_SESSION > ret
size_t BUF_MEM_grow_clean(BUF_MEM *buf, size_t len)
char * BUF_strdup(const char *str)
void BUF_MEM_free(BUF_MEM *buf)
int BUF_MEM_append(BUF_MEM *buf, const void *in, size_t len)
#define ERR_R_MALLOC_FAILURE
grpc
Author(s):
autogenerated on Thu Mar 13 2025 02:58:41