webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Macros | Functions
mem.h File Reference
#include <openssl/base.h>
#include <stdlib.h>
#include <stdarg.h>

Go to the source code of this file.

Macros

#define OPENSSL_malloc   malloc
 
#define OPENSSL_realloc   realloc
 
#define OPENSSL_free   free
 
#define DECIMAL_SIZE(type)   ((sizeof(type)*8+2)/3+1)
 
#define CRYPTO_malloc   OPENSSL_malloc
 
#define CRYPTO_realloc   OPENSSL_realloc
 
#define CRYPTO_free   OPENSSL_free
 

Functions

voidOPENSSL_realloc_clean (void *ptr, size_t old_size, size_t new_size)
 
OPENSSL_EXPORT void OPENSSL_cleanse (void *ptr, size_t len)
 
OPENSSL_EXPORT int CRYPTO_memcmp (const void *a, const void *b, size_t len)
 
OPENSSL_EXPORT uint32_t OPENSSL_hash32 (const void *ptr, size_t len)
 
OPENSSL_EXPORT char * OPENSSL_strdup (const char *s)
 
OPENSSL_EXPORT size_t OPENSSL_strnlen (const char *s, size_t len)
 
OPENSSL_EXPORT int OPENSSL_strcasecmp (const char *a, const char *b)
 
OPENSSL_EXPORT int OPENSSL_strncasecmp (const char *a, const char *b, size_t n)
 
OPENSSL_EXPORT int BIO_snprintf (char *buf, size_t n, const char *format,...) OPENSSL_PRINTF_FORMAT_FUNC(3
 
OPENSSL_EXPORT int OPENSSL_EXPORT int BIO_vsnprintf (char *buf, size_t n, const char *format, va_list args) OPENSSL_PRINTF_FORMAT_FUNC(3
 

Macro Definition Documentation

◆ CRYPTO_free

#define CRYPTO_free   OPENSSL_free

◆ CRYPTO_malloc

#define CRYPTO_malloc   OPENSSL_malloc

◆ CRYPTO_realloc

#define CRYPTO_realloc   OPENSSL_realloc

◆ DECIMAL_SIZE

#define DECIMAL_SIZE (   type)    ((sizeof(type)*8+2)/3+1)

◆ OPENSSL_free

#define OPENSSL_free   free

◆ OPENSSL_malloc

#define OPENSSL_malloc   malloc

◆ OPENSSL_realloc

#define OPENSSL_realloc   realloc

Function Documentation

◆ BIO_snprintf()

OPENSSL_EXPORT int BIO_snprintf ( char *  buf,
size_t  n,
const char *  format,
  ... 
)

◆ BIO_vsnprintf()

OPENSSL_EXPORT int OPENSSL_EXPORT int BIO_vsnprintf ( char *  buf,
size_t  n,
const char *  format,
va_list  args 
)

◆ CRYPTO_memcmp()

OPENSSL_EXPORT int CRYPTO_memcmp ( const void a,
const void b,
size_t  len 
)

◆ OPENSSL_cleanse()

OPENSSL_EXPORT void OPENSSL_cleanse ( void ptr,
size_t  len 
)

◆ OPENSSL_hash32()

OPENSSL_EXPORT uint32_t OPENSSL_hash32 ( const void ptr,
size_t  len 
)

◆ OPENSSL_realloc_clean()

void* OPENSSL_realloc_clean ( void ptr,
size_t  old_size,
size_t  new_size 
)

◆ OPENSSL_strcasecmp()

OPENSSL_EXPORT int OPENSSL_strcasecmp ( const char *  a,
const char *  b 
)

◆ OPENSSL_strdup()

OPENSSL_EXPORT char* OPENSSL_strdup ( const char *  s)

◆ OPENSSL_strncasecmp()

OPENSSL_EXPORT int OPENSSL_strncasecmp ( const char *  a,
const char *  b,
size_t  n 
)

◆ OPENSSL_strnlen()

OPENSSL_EXPORT size_t OPENSSL_strnlen ( const char *  s,
size_t  len 
)