Home
last modified time | relevance | path

Searched refs:bcShift (Results 1 – 25 of 26) sorted by relevance

12

/dports/security/snort/snort-2.9.18/src/dynamic-plugins/sf_engine/
H A Dbmh.c74 for(k = 0; k < 256; k++) p->bcShift[k] = m; in hbm_prepx()
79 p->bcShift[ p->Pnc[k] ] = m - k - 1; in hbm_prepx()
84 p->bcShift[ p->P[k] ] = m - k - 1; in hbm_prepx()
137 int *bcShift; in hbm_match() local
148 bcShift= px->bcShift; in hbm_match()
179 t += bcShift[*t]; in hbm_match()
182 t += (k=bcShift[*t]); in hbm_match()
224 t += bcShift[toupper(*t)]; in hbm_match()
227 t += (k=bcShift[toupper(*t)]); in hbm_match()
H A Dbmh.h39 int bcShift[256]; member
/dports/security/snort/snort-2.9.18/src/preprocessors/HttpInspect/utils/
H A Dhi_util_hbm.c62 for(k = 0; k < 256; k++) p->bcShift[k] = m; in hbm_prepx()
63 for(k = 0; k < m; k++) p->bcShift[pat[k]] = m - k - 1; in hbm_prepx()
99 short *bcShift; in hbm_match() local
103 bcShift= px->bcShift; in hbm_match()
124 t += bcShift[*t]; in hbm_match()
127 t += (k=bcShift[*t]); in hbm_match()
/dports/security/snort/snort-2.9.18/src/sfutil/
H A Dsfksearch.c482 kt->bcShift[i] = (unsigned short)kt->bcSize; in Build_Bad_Character_Shifts()
498 if( shift < kt->bcShift[ cindex ] ) in Build_Bad_Character_Shifts()
500 kt->bcShift[ cindex ] = (unsigned short)shift; in Build_Bad_Character_Shifts()
994 short *bcShift = (short*)ks->bcShift; in KTrieSearchBC() local
1008 while( (tshift = bcShift[ *( T + bcSize ) ]) > 0 ) in KTrieSearchBC()
H A Dacsmx.h102 short bcShift[256]; member
H A Dsfksearch.h102 unsigned short bcShift[KTRIE_ROOT_NODES]; member
/dports/security/snort/snort-2.9.18/src/preprocessors/HttpInspect/include/
H A Dhi_util_hbm.h37 short bcShift[256]; member
/dports/security/snort3/snort3-3.1.19.0/src/search_engines/
H A Dacsmx.h86 short bcShift[256]; member
/dports/databases/mysql55-client/mysql-5.5.62/sql/
H A Ditem_cmpfunc.cc5226 register int bcShift; in turboBM_matches() local
5253 bcShift = bmBc[(uint) (uchar) text[i + j]] - plm1 + i; in turboBM_matches()
5254 shift = max(turboShift, bcShift); in turboBM_matches()
5260 if (turboShift < bcShift) in turboBM_matches()
5284 bcShift = bmBc[(uint) likeconv(cs, text[i + j])] - plm1 + i; in turboBM_matches()
5285 shift = max(turboShift, bcShift); in turboBM_matches()
5291 if (turboShift < bcShift) in turboBM_matches()
/dports/databases/percona56-client/percona-server-5.6.51-91.0/sql/
H A Ditem_cmpfunc.cc5749 int bcShift; in turboBM_matches() local
5776 bcShift = bmBc[(uint) (uchar) text[i + j]] - plm1 + i; in turboBM_matches()
5777 shift = max(turboShift, bcShift); in turboBM_matches()
5783 if (turboShift < bcShift) in turboBM_matches()
5807 bcShift = bmBc[(uint) likeconv(cs, text[i + j])] - plm1 + i; in turboBM_matches()
5808 shift = max(turboShift, bcShift); in turboBM_matches()
5814 if (turboShift < bcShift) in turboBM_matches()
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/sql/
H A Ditem_cmpfunc.cc5749 int bcShift; in turboBM_matches() local
5776 bcShift = bmBc[(uint) (uchar) text[i + j]] - plm1 + i; in turboBM_matches()
5777 shift = max(turboShift, bcShift); in turboBM_matches()
5783 if (turboShift < bcShift) in turboBM_matches()
5807 bcShift = bmBc[(uint) likeconv(cs, text[i + j])] - plm1 + i; in turboBM_matches()
5808 shift = max(turboShift, bcShift); in turboBM_matches()
5814 if (turboShift < bcShift) in turboBM_matches()
/dports/databases/mysqlwsrep56-server/mysql-wsrep-wsrep_5.6.51-25.33/sql/
H A Ditem_cmpfunc.cc5749 int bcShift; in turboBM_matches() local
5776 bcShift = bmBc[(uint) (uchar) text[i + j]] - plm1 + i; in turboBM_matches()
5777 shift = max(turboShift, bcShift); in turboBM_matches()
5783 if (turboShift < bcShift) in turboBM_matches()
5807 bcShift = bmBc[(uint) likeconv(cs, text[i + j])] - plm1 + i; in turboBM_matches()
5808 shift = max(turboShift, bcShift); in turboBM_matches()
5814 if (turboShift < bcShift) in turboBM_matches()
/dports/databases/percona56-server/percona-server-5.6.51-91.0/sql/
H A Ditem_cmpfunc.cc5749 int bcShift; in turboBM_matches() local
5776 bcShift = bmBc[(uint) (uchar) text[i + j]] - plm1 + i; in turboBM_matches()
5777 shift = max(turboShift, bcShift); in turboBM_matches()
5783 if (turboShift < bcShift) in turboBM_matches()
5807 bcShift = bmBc[(uint) likeconv(cs, text[i + j])] - plm1 + i; in turboBM_matches()
5808 shift = max(turboShift, bcShift); in turboBM_matches()
5814 if (turboShift < bcShift) in turboBM_matches()
/dports/databases/mariadb103-server/mariadb-10.3.34/sql/
H A Ditem_cmpfunc.cc5988 int bcShift; in turboBM_matches() local
6015 bcShift = bmBc[(uint) (uchar) text[i + j]] - plm1 + i; in turboBM_matches()
6016 shift = MY_MAX(turboShift, bcShift); in turboBM_matches()
6022 if (turboShift < bcShift) in turboBM_matches()
6046 bcShift = bmBc[(uint) likeconv(cs, text[i + j])] - plm1 + i; in turboBM_matches()
6047 shift = MY_MAX(turboShift, bcShift); in turboBM_matches()
6053 if (turboShift < bcShift) in turboBM_matches()
/dports/databases/mariadb103-client/mariadb-10.3.34/sql/
H A Ditem_cmpfunc.cc5988 int bcShift; in turboBM_matches() local
6015 bcShift = bmBc[(uint) (uchar) text[i + j]] - plm1 + i; in turboBM_matches()
6016 shift = MY_MAX(turboShift, bcShift); in turboBM_matches()
6022 if (turboShift < bcShift) in turboBM_matches()
6046 bcShift = bmBc[(uint) likeconv(cs, text[i + j])] - plm1 + i; in turboBM_matches()
6047 shift = MY_MAX(turboShift, bcShift); in turboBM_matches()
6053 if (turboShift < bcShift) in turboBM_matches()
/dports/databases/mysql56-client/mysql-5.6.51/sql/
H A Ditem_cmpfunc.cc5749 int bcShift; in turboBM_matches() local
5776 bcShift = bmBc[(uint) (uchar) text[i + j]] - plm1 + i; in turboBM_matches()
5777 shift = max(turboShift, bcShift); in turboBM_matches()
5783 if (turboShift < bcShift) in turboBM_matches()
5807 bcShift = bmBc[(uint) likeconv(cs, text[i + j])] - plm1 + i; in turboBM_matches()
5808 shift = max(turboShift, bcShift); in turboBM_matches()
5814 if (turboShift < bcShift) in turboBM_matches()
/dports/databases/mariadb105-client/mariadb-10.5.15/sql/
H A Ditem_cmpfunc.cc6307 int bcShift; in turboBM_matches() local
6334 bcShift = bmBc[(uint) (uchar) text[i + j]] - plm1 + i; in turboBM_matches()
6335 shift = MY_MAX(turboShift, bcShift); in turboBM_matches()
6341 if (turboShift < bcShift) in turboBM_matches()
6365 bcShift = bmBc[(uint) likeconv(cs, text[i + j])] - plm1 + i; in turboBM_matches()
6366 shift = MY_MAX(turboShift, bcShift); in turboBM_matches()
6372 if (turboShift < bcShift) in turboBM_matches()
/dports/databases/mariadb104-server/mariadb-10.4.24/sql/
H A Ditem_cmpfunc.cc6217 int bcShift; in turboBM_matches() local
6244 bcShift = bmBc[(uint) (uchar) text[i + j]] - plm1 + i; in turboBM_matches()
6245 shift = MY_MAX(turboShift, bcShift); in turboBM_matches()
6251 if (turboShift < bcShift) in turboBM_matches()
6275 bcShift = bmBc[(uint) likeconv(cs, text[i + j])] - plm1 + i; in turboBM_matches()
6276 shift = MY_MAX(turboShift, bcShift); in turboBM_matches()
6282 if (turboShift < bcShift) in turboBM_matches()
/dports/databases/mariadb104-client/mariadb-10.4.24/sql/
H A Ditem_cmpfunc.cc6217 int bcShift; in turboBM_matches() local
6244 bcShift = bmBc[(uint) (uchar) text[i + j]] - plm1 + i; in turboBM_matches()
6245 shift = MY_MAX(turboShift, bcShift); in turboBM_matches()
6251 if (turboShift < bcShift) in turboBM_matches()
6275 bcShift = bmBc[(uint) likeconv(cs, text[i + j])] - plm1 + i; in turboBM_matches()
6276 shift = MY_MAX(turboShift, bcShift); in turboBM_matches()
6282 if (turboShift < bcShift) in turboBM_matches()
/dports/databases/mariadb105-server/mariadb-10.5.15/sql/
H A Ditem_cmpfunc.cc6307 int bcShift; in turboBM_matches() local
6334 bcShift = bmBc[(uint) (uchar) text[i + j]] - plm1 + i; in turboBM_matches()
6335 shift = MY_MAX(turboShift, bcShift); in turboBM_matches()
6341 if (turboShift < bcShift) in turboBM_matches()
6365 bcShift = bmBc[(uint) likeconv(cs, text[i + j])] - plm1 + i; in turboBM_matches()
6366 shift = MY_MAX(turboShift, bcShift); in turboBM_matches()
6372 if (turboShift < bcShift) in turboBM_matches()
/dports/databases/mysql57-client/mysql-5.7.36/sql/
H A Ditem_cmpfunc.cc6954 int bcShift; in bm_matches() local
6975 bcShift= bmBc[(uchar) text[i + j]] - plm1 + i; in bm_matches()
6976 shift= max(bcShift, bmGs[i]); in bm_matches()
6996 bcShift= bmBc[likeconv(cs, text[i + j])] - plm1 + i; in bm_matches()
6997 shift= max(bcShift, bmGs[i]); in bm_matches()
/dports/databases/percona57-server/percona-server-5.7.36-39/sql/
H A Ditem_cmpfunc.cc6954 int bcShift; in bm_matches() local
6975 bcShift= bmBc[(uchar) text[i + j]] - plm1 + i; in bm_matches()
6976 shift= max(bcShift, bmGs[i]); in bm_matches()
6996 bcShift= bmBc[likeconv(cs, text[i + j])] - plm1 + i; in bm_matches()
6997 shift= max(bcShift, bmGs[i]); in bm_matches()
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/sql/
H A Ditem_cmpfunc.cc6954 int bcShift; in bm_matches() local
6975 bcShift= bmBc[(uchar) text[i + j]] - plm1 + i; in bm_matches()
6976 shift= max(bcShift, bmGs[i]); in bm_matches()
6996 bcShift= bmBc[likeconv(cs, text[i + j])] - plm1 + i; in bm_matches()
6997 shift= max(bcShift, bmGs[i]); in bm_matches()
/dports/databases/percona57-client/percona-server-5.7.36-39/sql/
H A Ditem_cmpfunc.cc6954 int bcShift; in bm_matches() local
6975 bcShift= bmBc[(uchar) text[i + j]] - plm1 + i; in bm_matches()
6976 shift= max(bcShift, bmGs[i]); in bm_matches()
6996 bcShift= bmBc[likeconv(cs, text[i + j])] - plm1 + i; in bm_matches()
6997 shift= max(bcShift, bmGs[i]); in bm_matches()
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/sql/
H A Ditem_cmpfunc.cc6954 int bcShift; in bm_matches() local
6975 bcShift= bmBc[(uchar) text[i + j]] - plm1 + i; in bm_matches()
6976 shift= max(bcShift, bmGs[i]); in bm_matches()
6996 bcShift= bmBc[likeconv(cs, text[i + j])] - plm1 + i; in bm_matches()
6997 shift= max(bcShift, bmGs[i]); in bm_matches()

12