Lines Matching refs:pRc
6089 ** If the allocation fails, set *pRc to SQLITE_NOMEM and return NULL.
6091 static void *idxMalloc(int *pRc, int nByte){
6093 assert( *pRc==SQLITE_OK );
6099 *pRc = SQLITE_NOMEM;
6147 int *pRc,
6162 pEntry = idxMalloc(pRc, sizeof(IdxHashEntry) + nKey+1 + nVal+1);
6213 static IdxConstraint *idxNewConstraint(int *pRc, const char *zColl){
6217 assert( *pRc==SQLITE_OK );
6218 pNew = (IdxConstraint*)idxMalloc(pRc, sizeof(IdxConstraint) * nColl + 1);
6588 ** Finalize SQL statement pStmt. If (*pRc) is SQLITE_OK when this function
6592 static void idxFinalize(int *pRc, sqlite3_stmt *pStmt){
6594 if( *pRc==SQLITE_OK ) *pRc = rc;
6680 ** This function is a no-op if *pRc is set to anything other than
6683 ** If *pRc is initially set to SQLITE_OK, then the text specified by
6688 static char *idxAppendText(int *pRc, char *zIn, const char *zFmt, ...){
6695 if( *pRc==SQLITE_OK ){
6707 *pRc = SQLITE_NOMEM;
6739 int *pRc, /* IN/OUT: Error code */
6746 if( zRet ) zRet = idxAppendText(pRc, zRet, ", ");
6749 zRet = idxAppendText(pRc, zRet, "%Q", p->zName);
6751 zRet = idxAppendText(pRc, zRet, "%s", p->zName);
6756 zRet = idxAppendText(pRc, zRet, " COLLATE %Q", pCons->zColl);
6758 zRet = idxAppendText(pRc, zRet, " COLLATE %s", pCons->zColl);
6763 zRet = idxAppendText(pRc, zRet, " DESC");
6774 ** If an error occurs, set *pRc to an SQLite error code and return zero.
6777 int *pRc, /* OUT: Error code */
6839 *pRc = rc;
11596 int *pRc,
11601 if( *pRc==SQLITE_OK ){
11607 *pRc = rc;
11614 int *pRc,
11620 if( *pRc==SQLITE_OK ){
11626 *pRc = SQLITE_NOMEM;
11628 shellPrepare(db, pRc, z, ppStmt);
11635 int *pRc,
11641 if( *pRc==SQLITE_OK ){
11645 *pRc = rc;
11651 int *pRc,
11655 if( *pRc==SQLITE_OK ){
11660 *pRc = rc;
11974 int *pRc,
11979 if( *pRc==SQLITE_OK ){
11992 *pRc = SQLITE_NOMEM;