Lines Matching defs:char

32   char **pzErrMsg;    /* Error message stored here */
39 static void corruptSchema(InitData *pData, const char *zExtra){
41 zExtra!=0 && zExtra[0]!=0 ? " - " : (char*)0, zExtra, (char*)0);
59 int sqliteInitCallback(void *pInit, int argc, char **argv, char **azColName){
84 char *zErr;
142 int upgrade_3_callback(void *pInit, int argc, char **argv, char **NotUsed){
147 char *zErr = 0;
190 static int sqliteInitOne(sqlite *db, int iDb, char **pzErrMsg){
195 char const *azArg[6];
196 char zDbNum[30];
199 char const *zMasterSchema;
200 char const *zMasterName;
201 char *zSql = 0;
206 static char master_schema[] =
215 static char temp_master_schema[] =
251 sqliteInitCallback(&initData, 5, (char **)azArg, 0);
265 sqliteSetString(pzErrMsg, sqlite_error_string(rc), (char*)0);
273 sqliteSetString(pzErrMsg, sqlite_error_string(rc), (char*)0);
302 sqliteSetString(pzErrMsg, "unsupported file format", (char*)0);
309 db->aDb[iDb].zName, (char*)0);
312 "database: ", db->aDb[iDb].zName, (char*)0);
343 db->aDb[iDb].zName, "\".", zMasterName, (char*)0);
349 " ORDER BY CASE type WHEN 'table' THEN 0 ELSE 1 END", (char*)0);
357 sqliteSetString(pzErrMsg, "out of memory", (char*)0);
382 int sqliteInit(sqlite *db, char **pzErrMsg){
420 char *zErr = 0;
442 zErr ? ": " : 0, zErr, (char*)0);
456 const char rcsid[] = "@(#) \044Id: SQLite version " SQLITE_VERSION " $";
457 const char sqlite_version[] = SQLITE_VERSION;
464 const char sqlite_encoding[] = "UTF-8";
466 const char sqlite_encoding[] = "iso8859";
478 sqlite *sqlite_open(const char *zFilename, int mode, char **pzErrMsg){
509 zFilename, (char*)0);
539 sqliteSetString(pzErrMsg, "out of memory", (char*)0);
628 const char *zSql, /* The SQL to be executed */
631 char **pzErrMsg /* Write error messages here */
634 const char *zLeftover;
656 char **azArg, **azCol;
657 rc = sqlite_step(pVm, &nArg, (const char***)&azArg,(const char***)&azCol);
696 const char *zSql, /* The SQL to be executed */
697 const char **pzTail, /* OUT: Next statement after the first */
699 char **pzErrMsg /* OUT: Write error messages here */
723 sqliteSetString(pzErrMsg, "obsolete database file format", (char*)0);
740 char *tmpSql = sqliteStrNDup(zSql, sParse.zTail - zSql);
756 sqliteSetString(pzErrMsg, "out of memory", (char*)0);
764 sqliteSetString(pzErrMsg, sqlite_error_string(sParse.rc), (char*)0);
779 sqliteSetString(pzErrMsg, sqlite_error_string(SQLITE_MISUSE), (char*)0);
799 char **pzErrMsg /* OUT: Write error messages here */
815 char **pzErrMsg /* OUT: Write error messages here */
827 const char *sqlite_error_string(int rc){
828 const char *z;
870 const char *NotUsed, /* The name of the table that is busy */
874 static const char delays[] =
911 int (*xBusy)(void*,const char*,int),
979 const char *sqlite_libversion(void){ return sqlite_version; }
980 const char *sqlite_libencoding(void){ return sqlite_encoding; }
998 const char *zName, /* Name of the function to add */
1000 void (*xFunc)(sqlite_func*,int,const char**), /* The implementation */
1019 const char *zName, /* Name of the function to add */
1021 void (*xStep)(sqlite_func*,int,const char**), /* The step function */
1045 int sqlite_function_type(sqlite *db, const char *zName, int dataType){
1062 void *sqlite_trace(sqlite *db, void (*xTrace)(void*,const char*), void *pArg){
1114 const char *zFilename, /* Name of the file containing the BTree database */