Home
last modified time | relevance | path

Searched defs:sqlite3_mem_methods (Results 1 – 2 of 2) sorted by relevance

/third_party/sqlite/include/
Dsqlite3.h1760 typedef struct sqlite3_mem_methods sqlite3_mem_methods; typedef
1761 struct sqlite3_mem_methods { struct
1762 void *(*xMalloc)(int); /* Memory allocation function */
1763 void (*xFree)(void*); /* Free a prior allocation */
1764 void *(*xRealloc)(void*,int); /* Resize an allocation */
1765 int (*xSize)(void*); /* Return the size of an allocation */
1766 int (*xRoundup)(int); /* Round up request size to allocation size */
1767 int (*xInit)(void*); /* Initialize the memory allocator */
1768 void (*xShutdown)(void*); /* Deinitialize the memory allocator */
1769 void *pAppData; /* Argument to xInit() and xShutdown() */
/third_party/sqlite/src/
Dsqlite3.c2071 typedef struct sqlite3_mem_methods sqlite3_mem_methods; typedef
2072 struct sqlite3_mem_methods { struct
2073 void *(*xMalloc)(int); /* Memory allocation function */
2074 void (*xFree)(void*); /* Free a prior allocation */
2075 void *(*xRealloc)(void*,int); /* Resize an allocation */
2076 int (*xSize)(void*); /* Return the size of an allocation */
2077 int (*xRoundup)(int); /* Round up request size to allocation size */
2078 int (*xInit)(void*); /* Initialize the memory allocator */
2079 void (*xShutdown)(void*); /* Deinitialize the memory allocator */
2080 void *pAppData; /* Argument to xInit() and xShutdown() */