Lines Matching defs:pRc
12089 ** If the allocation fails, set *pRc to SQLITE_NOMEM and return NULL.
12091 static void *idxMalloc(int *pRc, int nByte){
12093 assert( *pRc==SQLITE_OK );
12099 *pRc = SQLITE_NOMEM;
12147 int *pRc,
12162 pEntry = idxMalloc(pRc, sizeof(IdxHashEntry) + nKey+1 + nVal+1);
12213 static IdxConstraint *idxNewConstraint(int *pRc, const char *zColl){
12217 assert( *pRc==SQLITE_OK );
12218 pNew = (IdxConstraint*)idxMalloc(pRc, sizeof(IdxConstraint) * nColl + 1);
12590 ** Finalize SQL statement pStmt. If (*pRc) is SQLITE_OK when this function
12594 static void idxFinalize(int *pRc, sqlite3_stmt *pStmt){
12596 if( *pRc==SQLITE_OK ) *pRc = rc;
12698 ** This function is a no-op if *pRc is set to anything other than
12701 ** If *pRc is initially set to SQLITE_OK, then the text specified by
12706 static char *idxAppendText(int *pRc, char *zIn, const char *zFmt, ...){
12713 if( *pRc==SQLITE_OK ){
12725 *pRc = SQLITE_NOMEM;
12761 int *pRc, /* IN/OUT: Error code */
12768 if( zRet ) zRet = idxAppendText(pRc, zRet, ", ");
12771 zRet = idxAppendText(pRc, zRet, "%Q", p->zName);
12773 zRet = idxAppendText(pRc, zRet, "%s", p->zName);
12778 zRet = idxAppendText(pRc, zRet, " COLLATE %Q", pCons->zColl);
12780 zRet = idxAppendText(pRc, zRet, " COLLATE %s", pCons->zColl);
12785 zRet = idxAppendText(pRc, zRet, " DESC");
12796 ** If an error occurs, set *pRc to an SQLite error code and return zero.
12799 int *pRc, /* OUT: Error code */
12862 *pRc = rc;
24857 int *pRc,
24862 if( *pRc==SQLITE_OK ){
24866 *pRc = rc;
24876 int *pRc,
24882 if( *pRc==SQLITE_OK ){
24889 *pRc = SQLITE_NOMEM;
24891 shellPrepare(db, pRc, z, ppStmt);
24901 int *pRc,
24907 if( *pRc==SQLITE_OK ){
24911 *pRc = rc;
24924 int *pRc,
24928 if( *pRc==SQLITE_OK ){
24933 *pRc = rc;
25252 int *pRc,
25258 if( *pRc==SQLITE_OK ){
25271 *pRc = SQLITE_NOMEM;