Home | History | Annotate | Download | only in dist

Lines Matching refs:pRet

46620   Wal *pRet;                      /* Object to allocate and return */
46640 pRet = (Wal*)sqlite3MallocZero(sizeof(Wal) + pVfs->szOsFile);
46641 if( !pRet ){
46645 pRet->pVfs = pVfs;
46646 pRet->pWalFd = (sqlite3_file *)&pRet[1];
46647 pRet->pDbFd = pDbFd;
46648 pRet->readLock = -1;
46649 pRet->mxWalSize = mxWalSize;
46650 pRet->zWalName = zWalName;
46651 pRet->syncHeader = 1;
46652 pRet->padToSectorBoundary = 1;
46653 pRet->exclusiveMode = (bNoShm ? WAL_HEAPMEMORY_MODE: WAL_NORMAL_MODE);
46657 rc = sqlite3OsOpen(pVfs, zWalName, pRet->pWalFd, flags, &flags);
46659 pRet->readOnly = WAL_RDONLY;
46663 pRet, 0);
46664 sqlite3OsClose(pRet->pWalFd);
46665 sqlite3_free(pRet);
46667 int iDC = sqlite3OsDeviceCharacteristics(pRet->pWalFd);
46668 if( iDC & SQLITE_IOCAP_SEQUENTIAL ){ pRet->syncHeader = 0; }
46670 pRet->padToSectorBoundary = 0;
46672 *ppWal = pRet;
46673 WALTRACE(("WAL%d: opened\n", pRet));
59842 Op *pRet = 0;
59857 pRet = &aOp[p->iAddr];
59864 if( pRet->p4type==P4_SUBPROGRAM ){
59868 if( p->apSub[j]==pRet->p4.pProgram ) break;
59873 pRet = 0;
59875 p->apSub[p->nSub++] = pRet->p4.pProgram;
59881 return pRet;
62750 sqlite3_value *pRet = sqlite3ValueNew(v->db);
62751 if( pRet ){
62752 sqlite3VdbeMemCopy((Mem *)pRet, pMem);
62753 sqlite3ValueApplyAffinity(pRet, aff, SQLITE_UTF8);
62754 sqlite3VdbeMemStoreType((Mem *)pRet);
62756 return pRet;
83706 Index *pRet = 0; /* Pointer to return */
84155 pRet = pIndex;
84168 return pRet;
96043 CollSeq *pRet;
96045 pRet = multiSelectCollSeq(pParse, p->pPrior, iCol);
96047 pRet = 0;
96050 if( pRet==0 && iCol<p->pEList->nExpr ){
96051 pRet = sqlite3ExprCollSeq(pParse, p->pEList->a[iCol].pExpr);
96053 return pRet;
101651 VTable *pRet = 0;
101668 pRet = pVTable;
101669 p->pVTable = pRet;
101670 pRet->pNext = 0;
101678 assert( !db || pRet );
101679 return pRet;
113815 void *pRet;
113817 pRet = db->pUpdateArg;
113821 return pRet;
113833 void *pRet;
113835 pRet = db->pRollbackArg;
113839 return pRet;
113899 void *pRet;
113901 pRet = db->pWalArg;
113905 return pRet;
119859 Fts3Cursor *pRet;
119868 memcpy(&pRet, sqlite3_value_blob(pVal), sizeof(Fts3Cursor *));
119869 *ppCsr = pRet;
122460 void *pRet = sqlite3_malloc(nByte);
122461 if( pRet ) memset(pRet, 0, nByte);
122462 return pRet;
122516 Fts3Expr *pRet = 0;
122528 pRet = (Fts3Expr *)fts3MallocZero(nByte);
122529 if( !pRet ){
122532 pRet->eType = FTSQUERY_PHRASE;
122533 pRet->pPhrase = (Fts3Phrase *)&pRet[1];
122534 pRet->pPhrase->nToken = 1;
122535 pRet->pPhrase->iColumn = iCol;
122536 pRet->pPhrase->aToken[0].n = nToken;
122537 pRet->pPhrase->aToken[0].z = (char *)&pRet->pPhrase[1];
122538 memcpy(pRet->pPhrase->aToken[0].z, zToken, nToken);
122541 pRet->pPhrase->aToken[0].isPrefix = 1;
122552 pRet->pPhrase->aToken[0].bFirst = 1;
122567 *ppExpr = pRet;
122577 void *pRet = sqlite3_realloc(pOrig, nNew);
122578 if( !pRet ){
122581 return pRet;
122741 Fts3Expr *pRet = 0;
122791 pRet = (Fts3Expr *)fts3MallocZero(sizeof(Fts3Expr));
122792 if( !pRet ){
122795 pRet->eType = pKey->eType;
122796 pRet->nNear = nNear;
122797 *ppExpr = pRet;
122950 Fts3Expr *pRet = 0;
123000 assert( pRet && pPrev );
123008 insertBinaryOperator(&pRet, pPrev, pAnd);
123031 if( pRet ){
123036 pRet = p;
123039 insertBinaryOperator(&pRet, pPrev, p);
123051 if( rc==SQLITE_DONE && pRet && isRequirePhrase ){
123058 if( !pRet ){
123065 pRet;
123066 pRet = pNotBranch;
123074 sqlite3Fts3ExprFree(pRet);
123076 pRet = 0;
123078 *ppExpr = pRet;
124640 Tcl_Obj *pRet;
124663 pRet = Tcl_NewObj();
124664 Tcl_IncrRefCount(pRet);
124677 Tcl_ListObjAppendElement(0, pRet, Tcl_NewIntObj(iPos));
124678 Tcl_ListObjAppendElement(0, pRet, Tcl_NewStringObj(zToken, nToken));
124681 Tcl_ListObjAppendElement(0, pRet, Tcl_NewStringObj(zToken, nToken));
124697 sqlite3_result_text(context, Tcl_GetString(pRet), -1, SQLITE_TRANSIENT);
124699 Tcl_DecrRefCount(pRet);
128403 char *pRet;
128414 pRet = (char *)sqlite3_malloc(p->pList->nData);
128415 if( !pRet ) return SQLITE_NOMEM;
128419 *ppData = pRet;
128421 memcpy(pRet, &p->pList->aData[nSkip], *pnData);