• Home
  • Raw
  • Download

Lines Matching refs:iCode

108900   static const unsigned char iCode[] = {
108915 u8 prevcode = iCode[zIn[i]&0x7f];
108918 int code = iCode[zIn[i]&0x7f];
166443 unsigned int iCode;
166449 READ_UTF8(z, zTerm, iCode);
166450 assert( (sqlite3FtsUnicodeIsalnum((int)iCode) & 0xFFFFFFFE)==0 );
166451 if( sqlite3FtsUnicodeIsalnum((int)iCode)!=bAlnum
166452 && sqlite3FtsUnicodeIsdiacritic((int)iCode)==0
166468 READ_UTF8(z, zTerm, iCode);
166469 if( sqlite3FtsUnicodeIsalnum((int)iCode)!=bAlnum
166470 && sqlite3FtsUnicodeIsdiacritic((int)iCode)==0
166473 for(i=0; i<nNew && aNew[i]<(int)iCode; i++);
166475 aNew[i] = (int)iCode;
166489 static int unicodeIsException(unicode_tokenizer *p, int iCode){
166497 if( iCode==a[iTest] ){
166499 }else if( iCode>a[iTest] ){
166514 static int unicodeIsAlnum(unicode_tokenizer *p, int iCode){
166515 assert( (sqlite3FtsUnicodeIsalnum(iCode) & 0xFFFFFFFE)==0 );
166516 return sqlite3FtsUnicodeIsalnum(iCode) ^ unicodeIsException(p, iCode);
166625 unsigned int iCode = 0;
166636 READ_UTF8(z, zTerm, iCode);
166637 if( unicodeIsAlnum(p, (int)iCode) ) break;
166657 iOut = sqlite3FtsUnicodeFold((int)iCode, p->bRemoveDiacritic);
166664 READ_UTF8(z, zTerm, iCode);
166665 }while( unicodeIsAlnum(p, (int)iCode)
166666 || sqlite3FtsUnicodeIsdiacritic((int)iCode)
166950 unsigned short iCode;
167035 assert( c>aEntry[0].iCode );
167038 int cmp = (c - aEntry[iTest].iCode);
167047 assert( iRes>=0 && c>=aEntry[iRes].iCode );
167049 if( c<(p->iCode + p->nRange) && 0==(0x01 & p->flags & (p->iCode ^ c)) ){
193437 int iCode;
193444 iCode = sqlite3_value_int(apVal[0]);
193445 sqlite3_result_int(pCtx, sqlite3Fts5UnicodeIsalnum(iCode));
193458 int iCode;
193460 iCode = sqlite3_value_int(apVal[0]);
193462 sqlite3_result_int(pCtx, sqlite3Fts5UnicodeFold(iCode, bRemoveDiacritics));
204916 int iCode;
204918 READ_UTF8(zCsr, zTerm, iCode);
204919 if( iCode<128 ){
204920 p->aTokenChar[iCode] = (unsigned char)bTokenChars;
204922 bToken = sqlite3Fts5UnicodeIsalnum(iCode);
204925 if( bToken!=bTokenChars && sqlite3Fts5UnicodeIsdiacritic(iCode)==0 ){
204928 if( aNew[i]>iCode ) break;
204931 aNew[i] = iCode;
204949 static int fts5UnicodeIsException(Unicode61Tokenizer *p, int iCode){
204957 if( iCode==a[iTest] ){
204959 }else if( iCode>a[iTest] ){
205044 static int fts5UnicodeIsAlnum(Unicode61Tokenizer *p, int iCode){
205045 assert( (sqlite3Fts5UnicodeIsalnum(iCode) & 0xFFFFFFFE)==0 );
205046 return sqlite3Fts5UnicodeIsalnum(iCode) ^ fts5UnicodeIsException(p, iCode);
205073 int iCode; /* non-ASCII codepoint read from input */
205085 READ_UTF8(zCsr, zTerm, iCode);
205086 if( fts5UnicodeIsAlnum(p, iCode) ){
205121 READ_UTF8(zCsr, zTerm, iCode);
205122 if( fts5UnicodeIsAlnum(p,iCode)||sqlite3Fts5UnicodeIsdiacritic(iCode) ){
205124 iCode = sqlite3Fts5UnicodeFold(iCode, p->bRemoveDiacritic);
205125 if( iCode ) WRITE_UTF8(zOut, iCode);
206149 unsigned short iCode;
206234 assert( c>aEntry[0].iCode );
206237 int cmp = (c - aEntry[iTest].iCode);
206246 assert( iRes>=0 && c>=aEntry[iRes].iCode );
206248 if( c<(p->iCode + p->nRange) && 0==(0x01 & p->flags & (p->iCode ^ c)) ){