Lines Matching refs:iCode
108900 static const unsigned char iCode[] = {
108915 u8 prevcode = iCode[zIn[i]&0x7f];
108918 int code = iCode[zIn[i]&0x7f];
166431 unsigned int iCode;
166437 READ_UTF8(z, zTerm, iCode);
166438 assert( (sqlite3FtsUnicodeIsalnum((int)iCode) & 0xFFFFFFFE)==0 );
166439 if( sqlite3FtsUnicodeIsalnum((int)iCode)!=bAlnum
166440 && sqlite3FtsUnicodeIsdiacritic((int)iCode)==0
166456 READ_UTF8(z, zTerm, iCode);
166457 if( sqlite3FtsUnicodeIsalnum((int)iCode)!=bAlnum
166458 && sqlite3FtsUnicodeIsdiacritic((int)iCode)==0
166461 for(i=0; i<nNew && aNew[i]<(int)iCode; i++);
166463 aNew[i] = (int)iCode;
166477 static int unicodeIsException(unicode_tokenizer *p, int iCode){
166485 if( iCode==a[iTest] ){
166487 }else if( iCode>a[iTest] ){
166502 static int unicodeIsAlnum(unicode_tokenizer *p, int iCode){
166503 assert( (sqlite3FtsUnicodeIsalnum(iCode) & 0xFFFFFFFE)==0 );
166504 return sqlite3FtsUnicodeIsalnum(iCode) ^ unicodeIsException(p, iCode);
166613 unsigned int iCode = 0;
166624 READ_UTF8(z, zTerm, iCode);
166625 if( unicodeIsAlnum(p, (int)iCode) ) break;
166645 iOut = sqlite3FtsUnicodeFold((int)iCode, p->bRemoveDiacritic);
166652 READ_UTF8(z, zTerm, iCode);
166653 }while( unicodeIsAlnum(p, (int)iCode)
166654 || sqlite3FtsUnicodeIsdiacritic((int)iCode)
166938 unsigned short iCode;
167023 assert( c>aEntry[0].iCode );
167026 int cmp = (c - aEntry[iTest].iCode);
167035 assert( iRes>=0 && c>=aEntry[iRes].iCode );
167037 if( c<(p->iCode + p->nRange) && 0==(0x01 & p->flags & (p->iCode ^ c)) ){
193425 int iCode;
193432 iCode = sqlite3_value_int(apVal[0]);
193433 sqlite3_result_int(pCtx, sqlite3Fts5UnicodeIsalnum(iCode));
193446 int iCode;
193448 iCode = sqlite3_value_int(apVal[0]);
193450 sqlite3_result_int(pCtx, sqlite3Fts5UnicodeFold(iCode, bRemoveDiacritics));
204904 int iCode;
204906 READ_UTF8(zCsr, zTerm, iCode);
204907 if( iCode<128 ){
204908 p->aTokenChar[iCode] = (unsigned char)bTokenChars;
204910 bToken = sqlite3Fts5UnicodeIsalnum(iCode);
204913 if( bToken!=bTokenChars && sqlite3Fts5UnicodeIsdiacritic(iCode)==0 ){
204916 if( aNew[i]>iCode ) break;
204919 aNew[i] = iCode;
204937 static int fts5UnicodeIsException(Unicode61Tokenizer *p, int iCode){
204945 if( iCode==a[iTest] ){
204947 }else if( iCode>a[iTest] ){
205032 static int fts5UnicodeIsAlnum(Unicode61Tokenizer *p, int iCode){
205033 assert( (sqlite3Fts5UnicodeIsalnum(iCode) & 0xFFFFFFFE)==0 );
205034 return sqlite3Fts5UnicodeIsalnum(iCode) ^ fts5UnicodeIsException(p, iCode);
205061 int iCode; /* non-ASCII codepoint read from input */
205073 READ_UTF8(zCsr, zTerm, iCode);
205074 if( fts5UnicodeIsAlnum(p, iCode) ){
205109 READ_UTF8(zCsr, zTerm, iCode);
205110 if( fts5UnicodeIsAlnum(p,iCode)||sqlite3Fts5UnicodeIsdiacritic(iCode) ){
205112 iCode = sqlite3Fts5UnicodeFold(iCode, p->bRemoveDiacritic);
205113 if( iCode ) WRITE_UTF8(zOut, iCode);
206137 unsigned short iCode;
206222 assert( c>aEntry[0].iCode );
206225 int cmp = (c - aEntry[iTest].iCode);
206234 assert( iRes>=0 && c>=aEntry[iRes].iCode );
206236 if( c<(p->iCode + p->nRange) && 0==(0x01 & p->flags & (p->iCode ^ c)) ){