70static inline char *
ut_strcpy(
char *dest,
const char *src);
82static inline int ut_strcmp(
const char *str1,
const char *str2);
135 return reinterpret_cast<uintptr_t
>(ptr) %
alignof(T) == 0;
constexpr DWORD buf_size
Definition: create_def.cc:227
std::string str(const mysqlrouter::ConfigGenerator::Options::Endpoint &ep)
Definition: config_generator.cc:1063
Definition: buf0block_hint.cc:29
This file contains a set of libraries providing overloads for regular dynamic allocation routines whi...
Definition: aligned_alloc.h:47
bool is_aligned_as(void const *const ptr)
Checks if the pointer has address aligned properly for a given type.
Definition: ut0mem.h:131
The interface to the operating system condition variables.
Version control for database, common definitions, and include files.
unsigned long int ulint
Definition: univ.i:405
static ulint ut_strlen(const char *str)
Wrapper for strlen(3).
char * ut_str3cat(const char *s1, const char *s2, const char *s3)
Definition: ut0mem.cc:60
static char * ut_strcpy(char *dest, const char *src)
Wrapper for strcpy(3).
static ulint ut_str_sql_format(const char *str, ulint str_len, char *buf, ulint buf_size)
Adds single quotes to the start and end of string and escapes any quotes by doubling them.
ulint ut_strlcpy(char *dst, const char *src, ulint size)
Copies up to size - 1 characters from the NUL-terminated string src to dst, NUL-terminating the resul...
Definition: ut0mem.cc:42
static int ut_memcmp(const void *str1, const void *str2, ulint n)
Wrapper for memcmp(3).
static void * ut_memcpy(void *dest, const void *src, ulint n)
Wrapper for memcpy(3).
static void * ut_memmove(void *dest, const void *src, ulint n)
Wrapper for memmove(3).
static ulint ut_raw_to_hex(const void *raw, ulint raw_size, char *hex, ulint hex_size)
Converts a raw binary data to a NUL-terminated hex string.
static int ut_strcmp(const char *str1, const char *str2)
Wrapper for strcmp(3).
int n
Definition: xcom_base.cc:508