• Home
  • Raw
  • Download

Lines Matching refs:aBuf

60503     u8 aBuf[WAL_HDRSIZE];         /* Buffer to load WAL header into */
60515 rc = sqlite3OsRead(pWal->pWalFd, aBuf, WAL_HDRSIZE, 0);
60525 magic = sqlite3Get4byte(&aBuf[0]);
60526 szPage = sqlite3Get4byte(&aBuf[8]);
60536 pWal->nCkpt = sqlite3Get4byte(&aBuf[12]);
60537 memcpy(&pWal->hdr.aSalt, &aBuf[16], 8);
60541 aBuf, WAL_HDRSIZE-2*4, 0, pWal->hdr.aFrameCksum
60543 if( pWal->hdr.aFrameCksum[0]!=sqlite3Get4byte(&aBuf[24])
60544 || pWal->hdr.aFrameCksum[1]!=sqlite3Get4byte(&aBuf[28])
60551 version = sqlite3Get4byte(&aBuf[4]);
61673 u8 aBuf[WAL_HDRSIZE]; /* Buffer to load WAL header into */
61750 rc = sqlite3OsRead(pWal->pWalFd, aBuf, WAL_HDRSIZE, 0);
61754 if( memcmp(&pWal->hdr.aSalt, &aBuf[16], 8) ){
62712 u8 *aBuf; /* Buffer to load data from wal file into */
62717 aBuf = sqlite3_malloc(szPage + WAL_FRAME_HDRSIZE);
62718 if( aBuf==0 ) return SQLITE_NOMEM_BKPT;
62731 rc = sqlite3OsRead(pWal->pWalFd, aBuf, sizeof(u32)*2, iCksumOff);
62732 pWal->hdr.aFrameCksum[0] = sqlite3Get4byte(aBuf);
62733 pWal->hdr.aFrameCksum[1] = sqlite3Get4byte(&aBuf[sizeof(u32)]);
62739 rc = sqlite3OsRead(pWal->pWalFd, aBuf, szPage+WAL_FRAME_HDRSIZE, iOff);
62742 iPgno = sqlite3Get4byte(aBuf);
62743 nDbSize = sqlite3Get4byte(&aBuf[4]);
62745 walEncodeFrame(pWal, iPgno, nDbSize, &aBuf[WAL_FRAME_HDRSIZE], aFrame);
62750 sqlite3_free(aBuf);
195490 u8 *aBuf;
198126 p->aBuf = rbuMalloc(p, p->pgsz);
198209 p->rc = pWal->pMethods->xRead(pWal, p->aBuf, p->pgsz, iOff);
198213 p->rc = pDb->pMethods->xWrite(pDb, p->aBuf, p->pgsz, iOff);
199307 sqlite3_free(p->aBuf);
199620 static u32 rbuGetU32(u8 *aBuf){
199621 return ((u32)aBuf[0] << 24)
199622 + ((u32)aBuf[1] << 16)
199623 + ((u32)aBuf[2] << 8)
199624 + ((u32)aBuf[3]);
199631 static void rbuPutU32(u8 *aBuf, u32 iVal){
199632 aBuf[0] = (iVal >> 24) & 0xFF;
199633 aBuf[1] = (iVal >> 16) & 0xFF;
199634 aBuf[2] = (iVal >> 8) & 0xFF;
199635 aBuf[3] = (iVal >> 0) & 0xFF;
199638 static void rbuPutU16(u8 *aBuf, u16 iVal){
199639 aBuf[0] = (iVal >> 8) & 0xFF;
199640 aBuf[1] = (iVal >> 0) & 0xFF;
199681 u8 *aBuf = (u8*)zBuf;
199682 u32 iRoot = rbuGetU32(&aBuf[52]) ? 1 : 0;
199683 rbuPutU32(&aBuf[52], iRoot); /* largest root page number */
199684 rbuPutU32(&aBuf[36], 0); /* number of free pages */
199685 rbuPutU32(&aBuf[32], 0); /* first page on free list trunk */
199686 rbuPutU32(&aBuf[28], 1); /* size of db file in pages */
199687 rbuPutU32(&aBuf[24], pRbu->pRbuFd->iCookie+1); /* Change counter */
199690 memset(&aBuf[100], 0, iAmt-100);
199691 rbuPutU16(&aBuf[105], iAmt & 0xFFFF);
199692 aBuf[100] = 0x0D;
201734 u8 *aBuf; /* Pointer to changeset buffer */
201976 static int sessionVarintPut(u8 *aBuf, int iVal){
201977 return putVarint32(aBuf, iVal);
201991 static int sessionVarintGet(u8 *aBuf, int *piVal){
201992 return getVarint32(aBuf, *piVal);
202012 static void sessionPutI64(u8 *aBuf, sqlite3_int64 i){
202013 aBuf[0] = (i>>56) & 0xFF;
202014 aBuf[1] = (i>>48) & 0xFF;
202015 aBuf[2] = (i>>40) & 0xFF;
202016 aBuf[3] = (i>>32) & 0xFF;
202017 aBuf[4] = (i>>24) & 0xFF;
202018 aBuf[5] = (i>>16) & 0xFF;
202019 aBuf[6] = (i>> 8) & 0xFF;
202020 aBuf[7] = (i>> 0) & 0xFF;
202037 u8 *aBuf, /* If non-NULL, write serialized value here */
202047 if( aBuf ) aBuf[0] = eType;
202056 if( aBuf ){
202069 sessionPutI64(&aBuf[1], i);
202089 if( aBuf ){
202090 sessionVarintPut(&aBuf[1], n);
202091 if( n ) memcpy(&aBuf[nVarint + 1], z, n);
202100 if( aBuf ) aBuf[0] = '\0';
203515 aNew = (u8 *)sqlite3_realloc64(p->aBuf, nNew);
203519 p->aBuf = aNew;
203541 rc = sessionSerializeValue(&p->aBuf[p->nBuf], pVal, 0);
203558 p->aBuf[p->nBuf++] = v;
203571 p->nBuf += sessionVarintPut(&p->aBuf[p->nBuf], v);
203589 memcpy(&p->aBuf[p->nBuf], aBlob, nBlob);
203609 memcpy(&p->aBuf[p->nBuf], zStr, nStr);
203627 char aBuf[24];
203628 sqlite3_snprintf(sizeof(aBuf)-1, aBuf, "%d", iVal);
203629 sessionAppendStr(p, aBuf, pRc);
203648 char *zOut = (char *)&p->aBuf[p->nBuf];
203656 p->nBuf = (int)((u8 *)zOut - p->aBuf);
203677 u8 aBuf[8];
203684 sessionPutI64(aBuf, i);
203685 sessionAppendBlob(p, aBuf, 8, pRc);
203815 sessionAppendBlob(pBuf, buf2.aBuf, buf2.nBuf, &rc);
203817 sqlite3_free(buf2.aBuf);
203920 zSql = (char*)buf.aBuf;
204120 rc = xOutput(pOut, (void*)buf.aBuf, buf.nBuf);
204139 *ppChangeset = buf.aBuf;
204140 buf.aBuf = 0;
204142 rc = xOutput(pOut, (void*)buf.aBuf, buf.nBuf);
204146 sqlite3_free(buf.aBuf);
204334 memmove(pIn->buf.aBuf, &pIn->buf.aBuf[pIn->iNext], nMove);
204357 rc = pIn->xInput(pIn->pIn, &pIn->buf.aBuf[pIn->buf.nBuf], &nNew);
204365 pIn->aData = pIn->buf.aBuf;
204626 memset(p->tblhdr.aBuf, 0, iPK);
204627 memcpy(&p->tblhdr.aBuf[iPK], &p->in.aData[p->in.iNext], nCopy);
204631 p->apValue = (sqlite3_value**)p->tblhdr.aBuf;
204939 sqlite3_free(p->tblhdr.aBuf);
204940 sqlite3_free(p->in.buf.aBuf);
205002 abPK = sPK.aBuf;
205079 rc = xOutput(pOut, sOut.aBuf, sOut.nBuf);
205088 *ppInverted = sOut.aBuf;
205089 sOut.aBuf = 0;
205091 rc = xOutput(pOut, sOut.aBuf, sOut.nBuf);
205095 sqlite3_free(sOut.aBuf);
205097 sqlite3_free(sPK.aBuf);
205139 sqlite3_free(sInput.buf.aBuf);
205223 rc = sqlite3_prepare_v2(db, (char *)buf.aBuf, buf.nBuf, &p->pDelete, 0);
205225 sqlite3_free(buf.aBuf);
205319 rc = sqlite3_prepare_v2(db, (char *)buf.aBuf, buf.nBuf, &p->pUpdate, 0);
205321 sqlite3_free(buf.aBuf);
205382 rc = sqlite3_prepare_v2(db, (char *)buf.aBuf, buf.nBuf, &p->pInsert, 0);
205384 sqlite3_free(buf.aBuf);
205927 rc = sessionChangesetStart(&pIter2, 0, 0, cons.nBuf, cons.aBuf, 0);
205936 pIter2->apValue = (sqlite3_value**)pIter2->tblhdr.aBuf;
205948 sqlite3_free(cons.aBuf);
206146 *ppRebase = (void*)sApply.rebase.aBuf;
206148 sApply.rebase.aBuf = 0;
206155 sqlite3_free((char*)sApply.constraints.aBuf);
206156 sqlite3_free((char*)sApply.rebase.aBuf);
206616 rc = xOutput(pOut, buf.aBuf, buf.nBuf);
206625 if( buf.nBuf>0 ) rc = xOutput(pOut, buf.aBuf, buf.nBuf);
206627 *ppOut = buf.aBuf;
206629 buf.aBuf = 0;
206632 sqlite3_free(buf.aBuf);
206802 u8 *pOut = &pBuf->aBuf[pBuf->nBuf];
206817 pBuf->nBuf = pOut-pBuf->aBuf;
206851 u8 *pOut = &pBuf->aBuf[pBuf->nBuf];
206889 pBuf->nBuf = (pOut - pBuf->aBuf);
207012 rc = xOutput(pOut, sOut.aBuf, sOut.nBuf);
207019 sqlite3_free(sOut.aBuf);
207026 rc = xOutput(pOut, sOut.aBuf, sOut.nBuf);
207029 *ppOut = (void*)sOut.aBuf;
207031 sOut.aBuf = 0;
207034 sqlite3_free(sOut.aBuf);
210810 static void sqlite3Fts5Put32(u8 *aBuf, int iVal){
210811 aBuf[0] = (iVal>>24) & 0x00FF;
210812 aBuf[1] = (iVal>>16) & 0x00FF;
210813 aBuf[2] = (iVal>> 8) & 0x00FF;
210814 aBuf[3] = (iVal>> 0) & 0x00FF;
210817 static int sqlite3Fts5Get32(const u8 *aBuf){
210818 return (int)((((u32)aBuf[0])<<24) + (aBuf[1]<<16) + (aBuf[2]<<8) + aBuf[3]);
220057 static int fts5PoslistPrefix(const u8 *aBuf, int nMax){
220060 ret = fts5GetVarint32(aBuf, dummy);
220063 int i = fts5GetVarint32(&aBuf[ret], dummy);
220672 Fts5Buffer *aBuf;
220685 aBuf = (Fts5Buffer*)fts5IdxMalloc(p, sizeof(Fts5Buffer)*nBuf);
220688 if( aBuf && pStruct ){
220721 if( aBuf[i].n==0 ){
220722 fts5BufferSwap(&doclist, &aBuf[i]);
220725 xMerge(p, &doclist, &aBuf[i]);
220726 fts5BufferZero(&aBuf[i]);
220738 xMerge(p, &doclist, &aBuf[i]);
220740 fts5BufferFree(&aBuf[i]);
220755 sqlite3_free(aBuf);
226792 char aBuf[FTS5_PORTER_MAX_TOKEN + 64];
226851 char *aBuf;
226864 static int fts5PorterApply(char *aBuf, int *pnBuf, PorterRule *aRule){
226873 if( 0==memcmp(&aBuf[nBuf - p->nSuffix], p->zSuffix, p->nSuffix) ) break;
226878 if( p->xCond==0 || p->xCond(aBuf, nStem) ){
226879 memcpy(&aBuf[nStem], p->zOutput, p->nOutput);
226977 static int fts5PorterStep4(char *aBuf, int *pnBuf){
226980 switch( aBuf[nBuf-2] ){
226983 if( nBuf>2 && 0==memcmp("al", &aBuf[nBuf-2], 2) ){
226984 if( fts5Porter_MGt1(aBuf, nBuf-2) ){
226991 if( nBuf>4 && 0==memcmp("ance", &aBuf[nBuf-4], 4) ){
226992 if( fts5Porter_MGt1(aBuf, nBuf-4) ){
226995 }else if( nBuf>4 && 0==memcmp("ence", &aBuf[nBuf-4], 4) ){
226996 if( fts5Porter_MGt1(aBuf, nBuf-4) ){
227003 if( nBuf>2 && 0==memcmp("er", &aBuf[nBuf-2], 2) ){
227004 if( fts5Porter_MGt1(aBuf, nBuf-2) ){
227011 if( nBuf>2 && 0==memcmp("ic", &aBuf[nBuf-2], 2) ){
227012 if( fts5Porter_MGt1(aBuf, nBuf-2) ){
227019 if( nBuf>4 && 0==memcmp("able", &aBuf[nBuf-4], 4) ){
227020 if( fts5Porter_MGt1(aBuf, nBuf-4) ){
227023 }else if( nBuf>4 && 0==memcmp("ible", &aBuf[nBuf-4], 4) ){
227024 if( fts5Porter_MGt1(aBuf, nBuf-4) ){
227031 if( nBuf>3 && 0==memcmp("ant", &aBuf[nBuf-3], 3) ){
227032 if( fts5Porter_MGt1(aBuf, nBuf-3) ){
227035 }else if( nBuf>5 && 0==memcmp("ement", &aBuf[nBuf-5], 5) ){
227036 if( fts5Porter_MGt1(aBuf, nBuf-5) ){
227039 }else if( nBuf>4 && 0==memcmp("ment", &aBuf[nBuf-4], 4) ){
227040 if( fts5Porter_MGt1(aBuf, nBuf-4) ){
227043 }else if( nBuf>3 && 0==memcmp("ent", &aBuf[nBuf-3], 3) ){
227044 if( fts5Porter_MGt1(aBuf, nBuf-3) ){
227051 if( nBuf>3 && 0==memcmp("ion", &aBuf[nBuf-3], 3) ){
227052 if( fts5Porter_MGt1_and_S_or_T(aBuf, nBuf-3) ){
227055 }else if( nBuf>2 && 0==memcmp("ou", &aBuf[nBuf-2], 2) ){
227056 if( fts5Porter_MGt1(aBuf, nBuf-2) ){
227063 if( nBuf>3 && 0==memcmp("ism", &aBuf[nBuf-3], 3) ){
227064 if( fts5Porter_MGt1(aBuf, nBuf-3) ){
227071 if( nBuf>3 && 0==memcmp("ate", &aBuf[nBuf-3], 3) ){
227072 if( fts5Porter_MGt1(aBuf, nBuf-3) ){
227075 }else if( nBuf>3 && 0==memcmp("iti", &aBuf[nBuf-3], 3) ){
227076 if( fts5Porter_MGt1(aBuf, nBuf-3) ){
227083 if( nBuf>3 && 0==memcmp("ous", &aBuf[nBuf-3], 3) ){
227084 if( fts5Porter_MGt1(aBuf, nBuf-3) ){
227091 if( nBuf>3 && 0==memcmp("ive", &aBuf[nBuf-3], 3) ){
227092 if( fts5Porter_MGt1(aBuf, nBuf-3) ){
227099 if( nBuf>3 && 0==memcmp("ize", &aBuf[nBuf-3], 3) ){
227100 if( fts5Porter_MGt1(aBuf, nBuf-3) ){
227111 static int fts5PorterStep1B2(char *aBuf, int *pnBuf){
227114 switch( aBuf[nBuf-2] ){
227117 if( nBuf>2 && 0==memcmp("at", &aBuf[nBuf-2], 2) ){
227118 memcpy(&aBuf[nBuf-2], "ate", 3);
227125 if( nBuf>2 && 0==memcmp("bl", &aBuf[nBuf-2], 2) ){
227126 memcpy(&aBuf[nBuf-2], "ble", 3);
227133 if( nBuf>2 && 0==memcmp("iz", &aBuf[nBuf-2], 2) ){
227134 memcpy(&aBuf[nBuf-2], "ize", 3);
227145 static int fts5PorterStep2(char *aBuf, int *pnBuf){
227148 switch( aBuf[nBuf-2] ){
227151 if( nBuf>7 && 0==memcmp("ational", &aBuf[nBuf-7], 7) ){
227152 if( fts5Porter_MGt0(aBuf, nBuf-7) ){
227153 memcpy(&aBuf[nBuf-7], "ate", 3);
227156 }else if( nBuf>6 && 0==memcmp("tional", &aBuf[nBuf-6], 6) ){
227157 if( fts5Porter_MGt0(aBuf, nBuf-6) ){
227158 memcpy(&aBuf[nBuf-6], "tion", 4);
227165 if( nBuf>4 && 0==memcmp("enci", &aBuf[nBuf-4], 4) ){
227166 if( fts5Porter_MGt0(aBuf, nBuf-4) ){
227167 memcpy(&aBuf[nBuf-4], "ence", 4);
227170 }else if( nBuf>4 && 0==memcmp("anci", &aBuf[nBuf-4], 4) ){
227171 if( fts5Porter_MGt0(aBuf, nBuf-4) ){
227172 memcpy(&aBuf[nBuf-4], "ance", 4);
227179 if( nBuf>4 && 0==memcmp("izer", &aBuf[nBuf-4], 4) ){
227180 if( fts5Porter_MGt0(aBuf, nBuf-4) ){
227181 memcpy(&aBuf[nBuf-4], "ize", 3);
227188 if( nBuf>4 && 0==memcmp("logi", &aBuf[nBuf-4], 4) ){
227189 if( fts5Porter_MGt0(aBuf, nBuf-4) ){
227190 memcpy(&aBuf[nBuf-4], "log", 3);
227197 if( nBuf>3 && 0==memcmp("bli", &aBuf[nBuf-3], 3) ){
227198 if( fts5Porter_MGt0(aBuf, nBuf-3) ){
227199 memcpy(&aBuf[nBuf-3], "ble", 3);
227202 }else if( nBuf>4 && 0==memcmp("alli", &aBuf[nBuf-4], 4) ){
227203 if( fts5Porter_MGt0(aBuf, nBuf-4) ){
227204 memcpy(&aBuf[nBuf-4], "al", 2);
227207 }else if( nBuf>5 && 0==memcmp("entli", &aBuf[nBuf-5], 5) ){
227208 if( fts5Porter_MGt0(aBuf, nBuf-5) ){
227209 memcpy(&aBuf[nBuf-5], "ent", 3);
227212 }else if( nBuf>3 && 0==memcmp("eli", &aBuf[nBuf-3], 3) ){
227213 if( fts5Porter_MGt0(aBuf, nBuf-3) ){
227214 memcpy(&aBuf[nBuf-3], "e", 1);
227217 }else if( nBuf>5 && 0==memcmp("ousli", &aBuf[nBuf-5], 5) ){
227218 if( fts5Porter_MGt0(aBuf, nBuf-5) ){
227219 memcpy(&aBuf[nBuf-5], "ous", 3);
227226 if( nBuf>7 && 0==memcmp("ization", &aBuf[nBuf-7], 7) ){
227227 if( fts5Porter_MGt0(aBuf, nBuf-7) ){
227228 memcpy(&aBuf[nBuf-7], "ize", 3);
227231 }else if( nBuf>5 && 0==memcmp("ation", &aBuf[nBuf-5], 5) ){
227232 if( fts5Porter_MGt0(aBuf, nBuf-5) ){
227233 memcpy(&aBuf[nBuf-5], "ate", 3);
227236 }else if( nBuf>4 && 0==memcmp("ator", &aBuf[nBuf-4], 4) ){
227237 if( fts5Porter_MGt0(aBuf, nBuf-4) ){
227238 memcpy(&aBuf[nBuf-4], "ate", 3);
227245 if( nBuf>5 && 0==memcmp("alism", &aBuf[nBuf-5], 5) ){
227246 if( fts5Porter_MGt0(aBuf, nBuf-5) ){
227247 memcpy(&aBuf[nBuf-5], "al", 2);
227250 }else if( nBuf>7 && 0==memcmp("iveness", &aBuf[nBuf-7], 7) ){
227251 if( fts5Porter_MGt0(aBuf, nBuf-7) ){
227252 memcpy(&aBuf[nBuf-7], "ive", 3);
227255 }else if( nBuf>7 && 0==memcmp("fulness", &aBuf[nBuf-7], 7) ){
227256 if( fts5Porter_MGt0(aBuf, nBuf-7) ){
227257 memcpy(&aBuf[nBuf-7], "ful", 3);
227260 }else if( nBuf>7 && 0==memcmp("ousness", &aBuf[nBuf-7], 7) ){
227261 if( fts5Porter_MGt0(aBuf, nBuf-7) ){
227262 memcpy(&aBuf[nBuf-7], "ous", 3);
227269 if( nBuf>5 && 0==memcmp("aliti", &aBuf[nBuf-5], 5) ){
227270 if( fts5Porter_MGt0(aBuf, nBuf-5) ){
227271 memcpy(&aBuf[nBuf-5], "al", 2);
227274 }else if( nBuf>5 && 0==memcmp("iviti", &aBuf[nBuf-5], 5) ){
227275 if( fts5Porter_MGt0(aBuf, nBuf-5) ){
227276 memcpy(&aBuf[nBuf-5], "ive", 3);
227279 }else if( nBuf>6 && 0==memcmp("biliti", &aBuf[nBuf-6], 6) ){
227280 if( fts5Porter_MGt0(aBuf, nBuf-6) ){
227281 memcpy(&aBuf[nBuf-6], "ble", 3);
227292 static int fts5PorterStep3(char *aBuf, int *pnBuf){
227295 switch( aBuf[nBuf-2] ){
227298 if( nBuf>4 && 0==memcmp("ical", &aBuf[nBuf-4], 4) ){
227299 if( fts5Porter_MGt0(aBuf, nBuf-4) ){
227300 memcpy(&aBuf[nBuf-4], "ic", 2);
227307 if( nBuf>4 && 0==memcmp("ness", &aBuf[nBuf-4], 4) ){
227308 if( fts5Porter_MGt0(aBuf, nBuf-4) ){
227315 if( nBuf>5 && 0==memcmp("icate", &aBuf[nBuf-5], 5) ){
227316 if( fts5Porter_MGt0(aBuf, nBuf-5) ){
227317 memcpy(&aBuf[nBuf-5], "ic", 2);
227320 }else if( nBuf>5 && 0==memcmp("iciti", &aBuf[nBuf-5], 5) ){
227321 if( fts5Porter_MGt0(aBuf, nBuf-5) ){
227322 memcpy(&aBuf[nBuf-5], "ic", 2);
227329 if( nBuf>3 && 0==memcmp("ful", &aBuf[nBuf-3], 3) ){
227330 if( fts5Porter_MGt0(aBuf, nBuf-3) ){
227337 if( nBuf>5 && 0==memcmp("ative", &aBuf[nBuf-5], 5) ){
227338 if( fts5Porter_MGt0(aBuf, nBuf-5) ){
227345 if( nBuf>5 && 0==memcmp("alize", &aBuf[nBuf-5], 5) ){
227346 if( fts5Porter_MGt0(aBuf, nBuf-5) ){
227347 memcpy(&aBuf[nBuf-5], "al", 2);
227358 static int fts5PorterStep1B(char *aBuf, int *pnBuf){
227361 switch( aBuf[nBuf-2] ){
227364 if( nBuf>3 && 0==memcmp("eed", &aBuf[nBuf-3], 3) ){
227365 if( fts5Porter_MGt0(aBuf, nBuf-3) ){
227366 memcpy(&aBuf[nBuf-3], "ee", 2);
227369 }else if( nBuf>2 && 0==memcmp("ed", &aBuf[nBuf-2], 2) ){
227370 if( fts5Porter_Vowel(aBuf, nBuf-2) ){
227378 if( nBuf>3 && 0==memcmp("ing", &aBuf[nBuf-3], 3) ){
227379 if( fts5Porter_Vowel(aBuf, nBuf-3) ){
227395 static void fts5PorterStep1A(char *aBuf, int *pnBuf){
227397 if( aBuf[nBuf-1]=='s' ){
227398 if( aBuf[nBuf-2]=='e' ){
227399 if( (nBuf>4 && aBuf[nBuf-4]=='s' && aBuf[nBuf-3]=='s')
227400 || (nBuf>3 && aBuf[nBuf-3]=='i' )
227407 else if( aBuf[nBuf-2]!='s' ){
227423 char *aBuf;
227427 aBuf = p->aBuf;
227429 memcpy(aBuf, pToken, nBuf);
227432 fts5PorterStep1A(aBuf, &nBuf);
227433 if( fts5PorterStep1B(aBuf, &nBuf) ){
227434 if( fts5PorterStep1B2(aBuf, &nBuf)==0 ){
227435 char c = aBuf[nBuf-1];
227437 && c!='l' && c!='s' && c!='z' && c==aBuf[nBuf-2]
227440 }else if( fts5Porter_MEq1(aBuf, nBuf) && fts5Porter_Ostar(aBuf, nBuf) ){
227441 aBuf[nBuf++] = 'e';
227447 if( aBuf[nBuf-1]=='y' && fts5Porter_Vowel(aBuf, nBuf-1) ){
227448 aBuf[nBuf-1] = 'i';
227452 fts5PorterStep2(aBuf, &nBuf);
227453 fts5PorterStep3(aBuf, &nBuf);
227454 fts5PorterStep4(aBuf, &nBuf);
227458 if( aBuf[nBuf-1]=='e' ){
227459 if( fts5Porter_MGt1(aBuf, nBuf-1)
227460 || (fts5Porter_MEq1(aBuf, nBuf-1) && !fts5Porter_Ostar(aBuf, nBuf-1))
227467 if( nBuf>1 && aBuf[nBuf-1]=='l'
227468 && aBuf[nBuf-2]=='l' && fts5Porter_MGt1(aBuf, nBuf-1)
227473 return p->xToken(p->pCtx, tflags, aBuf, nBuf, iStart, iEnd);
227493 sCtx.aBuf = p->aBuf;