Home
last modified time | relevance | path

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

/third_party/sqlite/include/
Dsqlite3.h1723 typedef struct sqlite3_mem_methods sqlite3_mem_methods; typedef
1724 struct sqlite3_mem_methods { struct
1725 void *(*xMalloc)(int); /* Memory allocation function */
1726 void (*xFree)(void*); /* Free a prior allocation */
1727 void *(*xRealloc)(void*,int); /* Resize an allocation */
1728 int (*xSize)(void*); /* Return the size of an allocation */
1729 int (*xRoundup)(int); /* Round up request size to allocation size */
1730 int (*xInit)(void*); /* Initialize the memory allocator */
1731 void (*xShutdown)(void*); /* Deinitialize the memory allocator */
1732 void *pAppData; /* Argument to xInit() and xShutdown() */
/third_party/sqlite/src/
Dsqlite3.c2033 typedef struct sqlite3_mem_methods sqlite3_mem_methods; typedef
2034 struct sqlite3_mem_methods { struct
2035 void *(*xMalloc)(int); /* Memory allocation function */
2036 void (*xFree)(void*); /* Free a prior allocation */
2037 void *(*xRealloc)(void*,int); /* Resize an allocation */
2038 int (*xSize)(void*); /* Return the size of an allocation */
2039 int (*xRoundup)(int); /* Round up request size to allocation size */
2040 int (*xInit)(void*); /* Initialize the memory allocator */
2041 void (*xShutdown)(void*); /* Deinitialize the memory allocator */
2042 void *pAppData; /* Argument to xInit() and xShutdown() */