Lines Matching defs:nBuf
33064 ** absolute offset iOff, then attempt to write nBuf bytes of data from
33067 ** nBuf).
33073 int nBuf, /* Size of buffer pBuf in bytes */
33078 assert( nBuf==(nBuf&0x1ffff) );
33081 nBuf &= 0x1ffff;
33085 do{ rc = (int)osPwrite(fd, pBuf, nBuf, iOff); }while( rc<0 && errno==EINTR );
33087 do{ rc = (int)osPwrite64(fd, pBuf, nBuf, iOff);}while( rc<0 && errno==EINTR);
33096 rc = osWrite(fd, pBuf, nBuf);
33610 static int unixGetTempname(int nBuf, char *zBuf);
35286 static int unixGetTempname(int nBuf, char *zBuf){
35302 assert( nBuf>2 );
35303 zBuf[nBuf-2] = 0;
35304 sqlite3_snprintf(nBuf, zBuf, "%s/"SQLITE_TEMP_FILE_PREFIX"%llx%c",
35306 if( zBuf[nBuf-2]!=0 || (iLimit++)>10 ) return SQLITE_ERROR;
35967 static void unixDlError(sqlite3_vfs *NotUsed, int nBuf, char *zBufOut){
35973 sqlite3_snprintf(nBuf, zBufOut, "%s", zErr);
36012 ** Write nBuf bytes of random data to the supplied buffer zBuf.
36014 static int unixRandomness(sqlite3_vfs *NotUsed, int nBuf, char *zBuf){
36016 assert((size_t)nBuf>=(sizeof(time_t)+sizeof(int)));
36030 memset(zBuf, 0, nBuf);
36041 assert( sizeof(t)+sizeof(randomnessPid)<=(size_t)nBuf );
36042 nBuf = sizeof(t) + sizeof(randomnessPid);
36044 do{ got = osRead(fd, zBuf, nBuf); }while( got<0 && errno==EINTR );
36049 return nBuf;
39013 SQLITE_API void sqlite3_win32_write_debug(const char *zBuf, int nBuf){
39015 int nMin = MIN(nBuf, (SQLITE_WIN32_DBG_BUF_SIZE - 1)); /* may be negative. */
39631 static int winGetLastErrorMsg(DWORD lastErrno, int nBuf, char *zBuf){
39696 sqlite3_snprintf(nBuf, zBuf, "OsError 0x%lx (%lu)", lastErrno, lastErrno);
39698 /* copy a maximum of nBuf chars to output buffer */
39699 sqlite3_snprintf(nBuf, zBuf, "%s", zOut);
42259 static int winMakeEndInDirSep(int nBuf, char *zBuf){
42265 }else if( nLen+1<nBuf ){
42286 int nMax, nBuf, nDir, nLen;
42298 nMax = pVfs->mxPathname; nBuf = nMax + 2;
42299 zBuf = sqlite3MallocZero( nBuf );
42484 if( (nLen + nPre + 17) > nBuf ){
42490 sqlite3_snprintf(nBuf-16-nLen, zBuf+nLen, SQLITE_TEMP_FILE_PREFIX);
43293 static void winDlError(sqlite3_vfs *pVfs, int nBuf, char *zBufOut){
43295 winGetLastErrorMsg(osGetLastError(), nBuf, zBufOut);
43340 ** Write up to nBuf bytes of randomness into zBuf.
43342 static int winRandomness(sqlite3_vfs *pVfs, int nBuf, char *zBuf){
43345 memset(zBuf, 0, nBuf);
43346 return nBuf;
43350 memset(zBuf, 0, nBuf);
43355 e.na = nBuf;
43394 return e.nXor>nBuf ? nBuf : e.nXor;
43485 ** a buffer of nBuf bytes. The OS layer should populate the
43501 ** int xGetLastError(sqlite3_vfs *pVfs, int nBuf, char *zBuf){
43510 static int winGetLastError(sqlite3_vfs *pVfs, int nBuf, char *zBuf){
43513 if( nBuf>0 ) winGetLastErrorMsg(e, nBuf, zBuf);
46852 int nBuf, /* Size of buffer nBuf */
56331 int nBuf,
56332 u8 *zBuf /* Buffer of at least nBuf bytes */
56353 SQLITE_CHECKPOINT_PASSIVE, 0, 0, sync_flags, nBuf, zBuf, 0, 0
57688 int nBuf, /* Size of temporary buffer */
57755 if( pWal->hdr.mxFrame && walPagesize(pWal)!=nBuf ){
74653 ** nBuf is the amount of space left in buf[]. The caller is responsible
78481 ** into buffer zBuf, length nBuf.
87309 int nBuf, /* Buffer size */
87313 p->aBuffer = (u8*)sqlite3Malloc(nBuf);
87317 p->iBufEnd = p->iBufStart = (iStart % nBuf);
87319 p->nBuffer = nBuf;
158643 int nBuf /* size of the BLOB */
158646 UNUSED_PARAMETER(nBuf);
158650 assert(j<=nBuf);
174222 int nBuf; /* Size of buffer aBuf */
175876 if( *pRc==SQLITE_OK && p->nAlloc-p->nBuf<nByte ){
175881 }while( nNew<(p->nBuf+nByte) );
175909 rc = sessionSerializeValue(&p->aBuf[p->nBuf], pVal, 0);
175910 p->nBuf += nByte;
175926 p->aBuf[p->nBuf++] = v;
175939 p->nBuf += sessionVarintPut(&p->aBuf[p->nBuf], v);
175957 memcpy(&p->aBuf[p->nBuf], aBlob, nBlob);
175958 p->nBuf += nBlob;
175977 memcpy(&p->aBuf[p->nBuf], zStr, nStr);
175978 p->nBuf += nStr;
176016 char *zOut = (char *)&p->aBuf[p->nBuf];
176024 p->nBuf = (int)((u8 *)zOut - p->aBuf);
176106 int nRewind = pBuf->nBuf; /* Set to zero if any values are modified */
176181 pBuf->nBuf = nRewind;
176183 sessionAppendBlob(pBuf, buf2.aBuf, buf2.nBuf, &rc);
176279 rc = sqlite3_prepare_v2(db, (char *)buf.aBuf, buf.nBuf, ppStmt, 0);
176424 int nRewind = buf.nBuf; /* Initial size of write buffer */
176442 nNoop = buf.nBuf;
176471 && buf.nBuf>nNoop
176472 && buf.nBuf>SESSIONS_STRM_CHUNK_SIZE
176474 rc = xOutput(pOut, (void*)buf.aBuf, buf.nBuf);
176476 buf.nBuf = 0;
176483 if( buf.nBuf==nNoop ){
176484 buf.nBuf = nRewind;
176492 *pnChangeset = buf.nBuf;
176495 }else if( buf.nBuf>0 ){
176496 rc = xOutput(pOut, (void*)buf.aBuf, buf.nBuf);
176665 int nMove = pIn->buf.nBuf - pIn->iNext;
176670 pIn->buf.nBuf -= pIn->iNext;
176672 pIn->nData = pIn->buf.nBuf;
176691 rc = pIn->xInput(pIn->pIn, &pIn->buf.aBuf[pIn->buf.nBuf], &nNew);
176695 pIn->buf.nBuf += nNew;
176700 pIn->nData = pIn->buf.nBuf;
176932 p->tblhdr.nBuf = 0;
177289 sPK.nBuf = 0;
177374 if( xOutput && sOut.nBuf>=SESSIONS_STRM_CHUNK_SIZE ){
177375 rc = xOutput(pOut, sOut.aBuf, sOut.nBuf);
177376 sOut.nBuf = 0;
177383 *pnInverted = sOut.nBuf;
177386 }else if( sOut.nBuf>0 ){
177387 rc = xOutput(pOut, sOut.aBuf, sOut.nBuf);
177516 rc = sqlite3_prepare_v2(db, (char *)buf.aBuf, buf.nBuf, &p->pDelete, 0);
177612 rc = sqlite3_prepare_v2(db, (char *)buf.aBuf, buf.nBuf, &p->pUpdate, 0);
177674 rc = sqlite3_prepare_v2(db, (char *)buf.aBuf, buf.nBuf, &p->pInsert, 0);
178102 while( pApply->constraints.nBuf ){
178107 rc = sessionChangesetStart(&pIter2, 0, 0, cons.nBuf, cons.aBuf);
178126 assert( pApply->bDeferConstraints || pApply->constraints.nBuf==0 );
178130 if( pApply->constraints.nBuf>=cons.nBuf ){
178655 if( rc==SQLITE_OK && xOutput && buf.nBuf>=SESSIONS_STRM_CHUNK_SIZE ){
178656 rc = xOutput(pOut, buf.aBuf, buf.nBuf);
178657 buf.nBuf = 0;
178663 if( buf.nBuf>0 ) rc = xOutput(pOut, buf.aBuf, buf.nBuf);
178666 *pnOut = buf.nBuf;
194174 const int nBuf = 32;
194186 aBuf = (Fts5Buffer*)fts5IdxMalloc(p, sizeof(Fts5Buffer)*nBuf);
194221 assert( i<nBuf );
194237 for(i=0; i<nBuf; i++){
200089 int nBuf = *pnBuf;
200095 if( nBuf<p->nSuffix ) continue;
200096 if( 0==memcmp(&aBuf[nBuf - p->nSuffix], p->zSuffix, p->nSuffix) ) break;
200100 int nStem = nBuf - p->nSuffix;
200202 int nBuf = *pnBuf;
200203 switch( aBuf[nBuf-2] ){
200206 if( nBuf>2 && 0==memcmp("al", &aBuf[nBuf-2], 2) ){
200207 if( fts5Porter_MGt1(aBuf, nBuf-2) ){
200208 *pnBuf = nBuf - 2;
200214 if( nBuf>4 && 0==memcmp("ance", &aBuf[nBuf-4], 4) ){
200215 if( fts5Porter_MGt1(aBuf, nBuf-4) ){
200216 *pnBuf = nBuf - 4;
200218 }else if( nBuf>4 && 0==memcmp("ence", &aBuf[nBuf-4], 4) ){
200219 if( fts5Porter_MGt1(aBuf, nBuf-4) ){
200220 *pnBuf = nBuf - 4;
200226 if( nBuf>2 && 0==memcmp("er", &aBuf[nBuf-2], 2) ){
200227 if( fts5Porter_MGt1(aBuf, nBuf-2) ){
200228 *pnBuf = nBuf - 2;
200234 if( nBuf>2 && 0==memcmp("ic", &aBuf[nBuf-2], 2) ){
200235 if( fts5Porter_MGt1(aBuf, nBuf-2) ){
200236 *pnBuf = nBuf - 2;
200242 if( nBuf>4 && 0==memcmp("able", &aBuf[nBuf-4], 4) ){
200243 if( fts5Porter_MGt1(aBuf, nBuf-4) ){
200244 *pnBuf = nBuf - 4;
200246 }else if( nBuf>4 && 0==memcmp("ible", &aBuf[nBuf-4], 4) ){
200247 if( fts5Porter_MGt1(aBuf, nBuf-4) ){
200248 *pnBuf = nBuf - 4;
200254 if( nBuf>3 && 0==memcmp("ant", &aBuf[nBuf-3], 3) ){
200255 if( fts5Porter_MGt1(aBuf, nBuf-3) ){
200256 *pnBuf = nBuf - 3;
200258 }else if( nBuf>5 && 0==memcmp("ement", &aBuf[nBuf-5], 5) ){
200259 if( fts5Porter_MGt1(aBuf, nBuf-5) ){
200260 *pnBuf = nBuf - 5;
200262 }else if( nBuf>4 && 0==memcmp("ment", &aBuf[nBuf-4], 4) ){
200263 if( fts5Porter_MGt1(aBuf, nBuf-4) ){
200264 *pnBuf = nBuf - 4;
200266 }else if( nBuf>3 && 0==memcmp("ent", &aBuf[nBuf-3], 3) ){
200267 if( fts5Porter_MGt1(aBuf, nBuf-3) ){
200268 *pnBuf = nBuf - 3;
200274 if( nBuf>3 && 0==memcmp("ion", &aBuf[nBuf-3], 3) ){
200275 if( fts5Porter_MGt1_and_S_or_T(aBuf, nBuf-3) ){
200276 *pnBuf = nBuf - 3;
200278 }else if( nBuf>2 && 0==memcmp("ou", &aBuf[nBuf-2], 2) ){
200279 if( fts5Porter_MGt1(aBuf, nBuf-2) ){
200280 *pnBuf = nBuf - 2;
200286 if( nBuf>3 && 0==memcmp("ism", &aBuf[nBuf-3], 3) ){
200287 if( fts5Porter_MGt1(aBuf, nBuf-3) ){
200288 *pnBuf = nBuf - 3;
200294 if( nBuf>3 && 0==memcmp("ate", &aBuf[nBuf-3], 3) ){
200295 if( fts5Porter_MGt1(aBuf, nBuf-3) ){
200296 *pnBuf = nBuf - 3;
200298 }else if( nBuf>3 && 0==memcmp("iti", &aBuf[nBuf-3], 3) ){
200299 if( fts5Porter_MGt1(aBuf, nBuf-3) ){
200300 *pnBuf = nBuf - 3;
200306 if( nBuf>3 && 0==memcmp("ous", &aBuf[nBuf-3], 3) ){
200307 if( fts5Porter_MGt1(aBuf, nBuf-3) ){
200308 *pnBuf = nBuf - 3;
200314 if( nBuf>3 && 0==memcmp("ive", &aBuf[nBuf-3], 3) ){
200315 if( fts5Porter_MGt1(aBuf, nBuf-3) ){
200316 *pnBuf = nBuf - 3;
200322 if( nBuf>3 && 0==memcmp("ize", &aBuf[nBuf-3], 3) ){
200323 if( fts5Porter_MGt1(aBuf, nBuf-3) ){
200324 *pnBuf = nBuf - 3;
200336 int nBuf = *pnBuf;
200337 switch( aBuf[nBuf-2] ){
200340 if( nBuf>2 && 0==memcmp("at", &aBuf[nBuf-2], 2) ){
200341 memcpy(&aBuf[nBuf-2], "ate", 3);
200342 *pnBuf = nBuf - 2 + 3;
200348 if( nBuf>2 && 0==memcmp("bl", &aBuf[nBuf-2], 2) ){
200349 memcpy(&aBuf[nBuf-2], "ble", 3);
200350 *pnBuf = nBuf - 2 + 3;
200356 if( nBuf>2 && 0==memcmp("iz", &aBuf[nBuf-2], 2) ){
200357 memcpy(&aBuf[nBuf-2], "ize", 3);
200358 *pnBuf = nBuf - 2 + 3;
200370 int nBuf = *pnBuf;
200371 switch( aBuf[nBuf-2] ){
200374 if( nBuf>7 && 0==memcmp("ational", &aBuf[nBuf-7], 7) ){
200375 if( fts5Porter_MGt0(aBuf, nBuf-7) ){
200376 memcpy(&aBuf[nBuf-7], "ate", 3);
200377 *pnBuf = nBuf - 7 + 3;
200379 }else if( nBuf>6 && 0==memcmp("tional", &aBuf[nBuf-6], 6) ){
200380 if( fts5Porter_MGt0(aBuf, nBuf-6) ){
200381 memcpy(&aBuf[nBuf-6], "tion", 4);
200382 *pnBuf = nBuf - 6 + 4;
200388 if( nBuf>4 && 0==memcmp("enci", &aBuf[nBuf-4], 4) ){
200389 if( fts5Porter_MGt0(aBuf, nBuf-4) ){
200390 memcpy(&aBuf[nBuf-4], "ence", 4);
200391 *pnBuf = nBuf - 4 + 4;
200393 }else if( nBuf>4 && 0==memcmp("anci", &aBuf[nBuf-4], 4) ){
200394 if( fts5Porter_MGt0(aBuf, nBuf-4) ){
200395 memcpy(&aBuf[nBuf-4], "ance", 4);
200396 *pnBuf = nBuf - 4 + 4;
200402 if( nBuf>4 && 0==memcmp("izer", &aBuf[nBuf-4], 4) ){
200403 if( fts5Porter_MGt0(aBuf, nBuf-4) ){
200404 memcpy(&aBuf[nBuf-4], "ize", 3);
200405 *pnBuf = nBuf - 4 + 3;
200411 if( nBuf>4 && 0==memcmp("logi", &aBuf[nBuf-4], 4) ){
200412 if( fts5Porter_MGt0(aBuf, nBuf-4) ){
200413 memcpy(&aBuf[nBuf-4], "log", 3);
200414 *pnBuf = nBuf - 4 + 3;
200420 if( nBuf>3 && 0==memcmp("bli", &aBuf[nBuf-3], 3) ){
200421 if( fts5Porter_MGt0(aBuf, nBuf-3) ){
200422 memcpy(&aBuf[nBuf-3], "ble", 3);
200423 *pnBuf = nBuf - 3 + 3;
200425 }else if( nBuf>4 && 0==memcmp("alli", &aBuf[nBuf-4], 4) ){
200426 if( fts5Porter_MGt0(aBuf, nBuf-4) ){
200427 memcpy(&aBuf[nBuf-4], "al", 2);
200428 *pnBuf = nBuf - 4 + 2;
200430 }else if( nBuf>5 && 0==memcmp("entli", &aBuf[nBuf-5], 5) ){
200431 if( fts5Porter_MGt0(aBuf, nBuf-5) ){
200432 memcpy(&aBuf[nBuf-5], "ent", 3);
200433 *pnBuf = nBuf - 5 + 3;
200435 }else if( nBuf>3 && 0==memcmp("eli", &aBuf[nBuf-3], 3) ){
200436 if( fts5Porter_MGt0(aBuf, nBuf-3) ){
200437 memcpy(&aBuf[nBuf-3], "e", 1);
200438 *pnBuf = nBuf - 3 + 1;
200440 }else if( nBuf>5 && 0==memcmp("ousli", &aBuf[nBuf-5], 5) ){
200441 if( fts5Porter_MGt0(aBuf, nBuf-5) ){
200442 memcpy(&aBuf[nBuf-5], "ous", 3);
200443 *pnBuf = nBuf - 5 + 3;
200449 if( nBuf>7 && 0==memcmp("ization", &aBuf[nBuf-7], 7) ){
200450 if( fts5Porter_MGt0(aBuf, nBuf-7) ){
200451 memcpy(&aBuf[nBuf-7], "ize", 3);
200452 *pnBuf = nBuf - 7 + 3;
200454 }else if( nBuf>5 && 0==memcmp("ation", &aBuf[nBuf-5], 5) ){
200455 if( fts5Porter_MGt0(aBuf, nBuf-5) ){
200456 memcpy(&aBuf[nBuf-5], "ate", 3);
200457 *pnBuf = nBuf - 5 + 3;
200459 }else if( nBuf>4 && 0==memcmp("ator", &aBuf[nBuf-4], 4) ){
200460 if( fts5Porter_MGt0(aBuf, nBuf-4) ){
200461 memcpy(&aBuf[nBuf-4], "ate", 3);
200462 *pnBuf = nBuf - 4 + 3;
200468 if( nBuf>5 && 0==memcmp("alism", &aBuf[nBuf-5], 5) ){
200469 if( fts5Porter_MGt0(aBuf, nBuf-5) ){
200470 memcpy(&aBuf[nBuf-5], "al", 2);
200471 *pnBuf = nBuf - 5 + 2;
200473 }else if( nBuf>7 && 0==memcmp("iveness", &aBuf[nBuf-7], 7) ){
200474 if( fts5Porter_MGt0(aBuf, nBuf-7) ){
200475 memcpy(&aBuf[nBuf-7], "ive", 3);
200476 *pnBuf = nBuf - 7 + 3;
200478 }else if( nBuf>7 && 0==memcmp("fulness", &aBuf[nBuf-7], 7) ){
200479 if( fts5Porter_MGt0(aBuf, nBuf-7) ){
200480 memcpy(&aBuf[nBuf-7], "ful", 3);
200481 *pnBuf = nBuf - 7 + 3;
200483 }else if( nBuf>7 && 0==memcmp("ousness", &aBuf[nBuf-7], 7) ){
200484 if( fts5Porter_MGt0(aBuf, nBuf-7) ){
200485 memcpy(&aBuf[nBuf-7], "ous", 3);
200486 *pnBuf = nBuf - 7 + 3;
200492 if( nBuf>5 && 0==memcmp("aliti", &aBuf[nBuf-5], 5) ){
200493 if( fts5Porter_MGt0(aBuf, nBuf-5) ){
200494 memcpy(&aBuf[nBuf-5], "al", 2);
200495 *pnBuf = nBuf - 5 + 2;
200497 }else if( nBuf>5 && 0==memcmp("iviti", &aBuf[nBuf-5], 5) ){
200498 if( fts5Porter_MGt0(aBuf, nBuf-5) ){
200499 memcpy(&aBuf[nBuf-5], "ive", 3);
200500 *pnBuf = nBuf - 5 + 3;
200502 }else if( nBuf>6 && 0==memcmp("biliti", &aBuf[nBuf-6], 6) ){
200503 if( fts5Porter_MGt0(aBuf, nBuf-6) ){
200504 memcpy(&aBuf[nBuf-6], "ble", 3);
200505 *pnBuf = nBuf - 6 + 3;
200517 int nBuf = *pnBuf;
200518 switch( aBuf[nBuf-2] ){
200521 if( nBuf>4 && 0==memcmp("ical", &aBuf[nBuf-4], 4) ){
200522 if( fts5Porter_MGt0(aBuf, nBuf-4) ){
200523 memcpy(&aBuf[nBuf-4], "ic", 2);
200524 *pnBuf = nBuf - 4 + 2;
200530 if( nBuf>4 && 0==memcmp("ness", &aBuf[nBuf-4], 4) ){
200531 if( fts5Porter_MGt0(aBuf, nBuf-4) ){
200532 *pnBuf = nBuf - 4;
200538 if( nBuf>5 && 0==memcmp("icate", &aBuf[nBuf-5], 5) ){
200539 if( fts5Porter_MGt0(aBuf, nBuf-5) ){
200540 memcpy(&aBuf[nBuf-5], "ic", 2);
200541 *pnBuf = nBuf - 5 + 2;
200543 }else if( nBuf>5 && 0==memcmp("iciti", &aBuf[nBuf-5], 5) ){
200544 if( fts5Porter_MGt0(aBuf, nBuf-5) ){
200545 memcpy(&aBuf[nBuf-5], "ic", 2);
200546 *pnBuf = nBuf - 5 + 2;
200552 if( nBuf>3 && 0==memcmp("ful", &aBuf[nBuf-3], 3) ){
200553 if( fts5Porter_MGt0(aBuf, nBuf-3) ){
200554 *pnBuf = nBuf - 3;
200560 if( nBuf>5 && 0==memcmp("ative", &aBuf[nBuf-5], 5) ){
200561 if( fts5Porter_MGt0(aBuf, nBuf-5) ){
200562 *pnBuf = nBuf - 5;
200568 if( nBuf>5 && 0==memcmp("alize", &aBuf[nBuf-5], 5) ){
200569 if( fts5Porter_MGt0(aBuf, nBuf-5) ){
200570 memcpy(&aBuf[nBuf-5], "al", 2);
200571 *pnBuf = nBuf - 5 + 2;
200583 int nBuf = *pnBuf;
200584 switch( aBuf[nBuf-2] ){
200587 if( nBuf>3 && 0==memcmp("eed", &aBuf[nBuf-3], 3) ){
200588 if( fts5Porter_MGt0(aBuf, nBuf-3) ){
200589 memcpy(&aBuf[nBuf-3], "ee", 2);
200590 *pnBuf = nBuf - 3 + 2;
200592 }else if( nBuf>2 && 0==memcmp("ed", &aBuf[nBuf-2], 2) ){
200593 if( fts5Porter_Vowel(aBuf, nBuf-2) ){
200594 *pnBuf = nBuf - 2;
200601 if( nBuf>3 && 0==memcmp("ing", &aBuf[nBuf-3], 3) ){
200602 if( fts5Porter_Vowel(aBuf, nBuf-3) ){
200603 *pnBuf = nBuf - 3;
200619 int nBuf = *pnBuf;
200620 if( aBuf[nBuf-1]=='s' ){
200621 if( aBuf[nBuf-2]=='e' ){
200622 if( (nBuf>4 && aBuf[nBuf-4]=='s' && aBuf[nBuf-3]=='s')
200623 || (nBuf>3 && aBuf[nBuf-3]=='i' )
200625 *pnBuf = nBuf-2;
200627 *pnBuf = nBuf-1;
200630 else if( aBuf[nBuf-2]!='s' ){
200631 *pnBuf = nBuf-1;
200647 int nBuf;
200651 nBuf = nToken;
200652 memcpy(aBuf, pToken, nBuf);
200655 fts5PorterStep1A(aBuf, &nBuf);
200656 if( fts5PorterStep1B(aBuf, &nBuf) ){
200657 if( fts5PorterStep1B2(aBuf, &nBuf)==0 ){
200658 char c = aBuf[nBuf-1];
200660 && c!='l' && c!='s' && c!='z' && c==aBuf[nBuf-2]
200662 nBuf--;
200663 }else if( fts5Porter_MEq1(aBuf, nBuf) && fts5Porter_Ostar(aBuf, nBuf) ){
200664 aBuf[nBuf++] = 'e';
200670 if( aBuf[nBuf-1]=='y' && fts5Porter_Vowel(aBuf, nBuf-1) ){
200671 aBuf[nBuf-1] = 'i';
200675 fts5PorterStep2(aBuf, &nBuf);
200676 fts5PorterStep3(aBuf, &nBuf);
200677 fts5PorterStep4(aBuf, &nBuf);
200680 assert( nBuf>0 );
200681 if( aBuf[nBuf-1]=='e' ){
200682 if( fts5Porter_MGt1(aBuf, nBuf-1)
200683 || (fts5Porter_MEq1(aBuf, nBuf-1) && !fts5Porter_Ostar(aBuf, nBuf-1))
200685 nBuf--;
200690 if( nBuf>1 && aBuf[nBuf-1]=='l'
200691 && aBuf[nBuf-2]=='l' && fts5Porter_MGt1(aBuf, nBuf-1)
200693 nBuf--;
200696 return p->xToken(p->pCtx, tflags, aBuf, nBuf, iStart, iEnd);