Go to the source code of this file.
|
| typedef int | myf_t |
| |
| typedef void *(* | mysql_malloc_t) (PSI_memory_key key, size_t size, myf_t flags) |
| |
| typedef void *(* | mysql_realloc_t) (PSI_memory_key key, void *ptr, size_t size, myf_t flags) |
| |
| typedef void(* | mysql_claim_t) (const void *ptr, bool claim) |
| |
| typedef void(* | mysql_free_t) (void *ptr) |
| |
| typedef void *(* | my_memdup_t) (PSI_memory_key key, const void *from, size_t length, myf_t flags) |
| |
| typedef char *(* | my_strdup_t) (PSI_memory_key key, const char *from, myf_t flags) |
| |
| typedef char *(* | my_strndup_t) (PSI_memory_key key, const char *from, size_t length, myf_t flags) |
| |
|
| void * | my_malloc (PSI_memory_key key, size_t size, myf_t flags) |
| | Allocates size bytes of memory. More...
|
| |
| void * | my_realloc (PSI_memory_key key, void *ptr, size_t size, myf_t flags) |
| |
| void | my_claim (const void *ptr, bool claim) |
| |
| void | my_free (void *ptr) |
| | Frees the memory pointed by the ptr. More...
|
| |
| void * | my_memdup (PSI_memory_key key, const void *from, size_t length, myf_t flags) |
| |
| char * | my_strdup (PSI_memory_key key, const char *from, myf_t flags) |
| |
| char * | my_strndup (PSI_memory_key key, const char *from, size_t length, myf_t flags) |
| |
◆ my_memdup_t
◆ my_strdup_t
◆ my_strndup_t
◆ myf_t
◆ mysql_claim_t
| typedef void(* mysql_claim_t) (const void *ptr, bool claim) |
◆ mysql_free_t
| typedef void(* mysql_free_t) (void *ptr) |
◆ mysql_malloc_t
◆ mysql_realloc_t
◆ my_claim()
| void my_claim |
( |
const void * |
ptr, |
|
|
bool |
claim |
|
) |
| |
◆ my_free()
| void my_free |
( |
void * |
ptr | ) |
|
Frees the memory pointed by the ptr.
- Parameters
-
| ptr | memory address to be freed |
◆ my_malloc()
Allocates size bytes of memory.
- Parameters
-
| key | P_S key used for memory instrumentation |
| size | size bytes to allocate the memory |
| flags | used at the time of allocation. Could be MY_ZEROFILL |
◆ my_memdup()
◆ my_realloc()
◆ my_strdup()
◆ my_strndup()
◆ mysql_malloc_service