Lines Matching defs:aJrnl
35846 unsigned int nJrnl; /* Space allocated for aJrnl[] */
35847 char *aJrnl; /* Journal content */
36227 ** Decode a complete journal file. Allocate space in pFile->aJrnl
36228 ** and store the decoding there. Or leave pFile->aJrnl set to NULL
36238 KVVfsFile *pFile, /* Store decoding in pFile->aJrnl */
36250 sqlite3_free(pFile->aJrnl);
36251 pFile->aJrnl = sqlite3_malloc64( n );
36252 if( pFile->aJrnl==0 ){
36257 n = kvvfsDecode(zTxt+i, pFile->aJrnl, pFile->nJrnl);
36259 sqlite3_free(pFile->aJrnl);
36260 pFile->aJrnl = 0;
36290 sqlite3_free(pFile->aJrnl);
36306 if( pFile->aJrnl==0 ){
36317 if( pFile->aJrnl==0 ) return SQLITE_IOERR;
36322 memcpy(zBuf, pFile->aJrnl+iOfst, iAmt);
36396 if( pFile->aJrnl==0 || pFile->nJrnl<iEnd ){
36397 char *aNew = sqlite3_realloc(pFile->aJrnl, iEnd);
36401 pFile->aJrnl = aNew;
36403 memset(pFile->aJrnl+pFile->nJrnl, 0, iOfst-pFile->nJrnl);
36407 memcpy(pFile->aJrnl+iOfst, zBuf, iAmt);
36449 sqlite3_free(pFile->aJrnl);
36450 pFile->aJrnl = 0;
36498 kvvfsEncode(pFile->aJrnl, pFile->nJrnl, &zOut[i]);
36632 pFile->aJrnl = 0;