Lines Matching refs:n2
866 int n2 /* Bytes remaining in z2[] */ in matchFromTo() argument
869 if( b1>n2 ) return 0; in matchFromTo()
993 int n2, /* Length of the TO string */ in editDist3Core() argument
1011 n = (f.n+1)*(n2+1); in editDist3Core()
1013 nByte = n*sizeof(m[0]) + sizeof(a2[0])*n2; in editDist3Core()
1022 memset(a2, 0, sizeof(a2[0])*n2); in editDist3Core()
1025 for(i2=0; i2<n2; i2++){ in editDist3Core()
1026 a2[i2].nByte = utf8Len((unsigned char)z2[i2], n2-i2); in editDist3Core()
1030 if( i2+p->nTo>n2 ) continue; in editDist3Core()
1032 if( matchTo(p, z2+i2, n2-i2)==0 ) continue; in editDist3Core()
1046 memset(m, 0x01, (n2+1)*szRow*sizeof(m[0])); in editDist3Core()
1060 for(i2=0; i2<n2; i2 += b2){ in editDist3Core()
1087 if( matchFromTo(&f, i1, z2+i2, n2-i2) ){ in editDist3Core()
1093 if( matchTo(p, z2+i2, n2-i2) ){ in editDist3Core()
1110 for(i2=0; i2<n2; i2++){ in editDist3Core()
1122 res = (int)m[szRow*(n2+1)-1]; in editDist3Core()
1123 n = n2; in editDist3Core()
1125 for(i2=1; i2<=n2; i2++){ in editDist3Core()
1142 for(i2=0; i2<n2; i2++) sqlite3_free(a2[i2].apIns); in editDist3Core()