Home | History | Annotate | Download | only in orig

Lines Matching refs:pRc

6083 ** If the allocation fails, set *pRc to SQLITE_NOMEM and return NULL.
6085 static void *idxMalloc(int *pRc, int nByte){
6087 assert( *pRc==SQLITE_OK );
6093 *pRc = SQLITE_NOMEM;
6141 int *pRc,
6156 pEntry = idxMalloc(pRc, sizeof(IdxHashEntry) + nKey+1 + nVal+1);
6207 static IdxConstraint *idxNewConstraint(int *pRc, const char *zColl){
6211 assert( *pRc==SQLITE_OK );
6212 pNew = (IdxConstraint*)idxMalloc(pRc, sizeof(IdxConstraint) * nColl + 1);
6582 ** Finalize SQL statement pStmt. If (*pRc) is SQLITE_OK when this function
6586 static void idxFinalize(int *pRc, sqlite3_stmt *pStmt){
6588 if( *pRc==SQLITE_OK ) *pRc = rc;
6674 ** This function is a no-op if *pRc is set to anything other than
6677 ** If *pRc is initially set to SQLITE_OK, then the text specified by
6682 static char *idxAppendText(int *pRc, char *zIn, const char *zFmt, ...){
6689 if( *pRc==SQLITE_OK ){
6701 *pRc = SQLITE_NOMEM;
6733 int *pRc, /* IN/OUT: Error code */
6740 if( zRet ) zRet = idxAppendText(pRc, zRet, ", ");
6743 zRet = idxAppendText(pRc, zRet, "%Q", p->zName);
6745 zRet = idxAppendText(pRc, zRet, "%s", p->zName);
6750 zRet = idxAppendText(pRc, zRet, " COLLATE %Q", pCons->zColl);
6752 zRet = idxAppendText(pRc, zRet, " COLLATE %s", pCons->zColl);
6757 zRet = idxAppendText(pRc, zRet, " DESC");
6768 ** If an error occurs, set *pRc to an SQLite error code and return zero.
6771 int *pRc, /* OUT: Error code */
6833 *pRc = rc;
11573 int *pRc,
11578 if( *pRc==SQLITE_OK ){
11584 *pRc = rc;
11591 int *pRc,
11597 if( *pRc==SQLITE_OK ){
11603 *pRc = SQLITE_NOMEM;
11605 shellPrepare(db, pRc, z, ppStmt);
11612 int *pRc,
11618 if( *pRc==SQLITE_OK ){
11622 *pRc = rc;
11628 int *pRc,
11632 if( *pRc==SQLITE_OK ){
11637 *pRc = rc;
11951 int *pRc,
11956 if( *pRc==SQLITE_OK ){
11969 *pRc = SQLITE_NOMEM;