/* DO NOT EDIT THIS FILE - it is machine generated (JCGO_116) */ #ifdef JCGO_SEPARATED #define JCGO_116 #include "jcgortl.h" #include "Main.h" #endif #ifdef JCGO_116 #ifdef CHKALL_WordFilter #include "jcgobchk.h" #endif JCGO_NOSEP_INLINE void CFASTCALL package_WordFilter__loadBad__L2xrui( package_Buffer buffer ) { { jint wordcount; wordcount= (JCGO_CALL_FINALF(buffer) package_Buffer__getUnsignedInt__( buffer)); package_WordFilter__badList= (jObjectArr)jcgo_newArray(JCGO_CORECLASS_FOR(OBJT_jchar), 1, wordcount); package_WordFilter__badCharIds= (jObjectArr)jcgo_newArray(JCGO_CORECLASS_FOR(OBJT_jbyte), 2, wordcount); (package_WordFilter__readBuffer__L2xruiCAABAAA( buffer, package_WordFilter__badList, package_WordFilter__badCharIds)); } } JCGO_NOSEP_INLINE void CFASTCALL package_WordFilter__loadHost__L2xrui( package_Buffer buffer ) { { jint wordcount; wordcount= (JCGO_CALL_FINALF(buffer) package_Buffer__getUnsignedInt__( buffer)); package_WordFilter__hostList= (jObjectArr)jcgo_newArray(JCGO_CORECLASS_FOR(OBJT_jchar), 1, wordcount); package_WordFilter__hostCharIds= (jObjectArr)jcgo_newArray(JCGO_CORECLASS_FOR(OBJT_jbyte), 2, wordcount); (package_WordFilter__readBuffer__L2xruiCAABAAA( buffer, package_WordFilter__hostList, package_WordFilter__hostCharIds)); } } JCGO_NOSEP_INLINE void CFASTCALL package_WordFilter__loadFragments__L2xrui( package_Buffer buffer ) { { package_WordFilter__hashFragments= (jintArr)jcgo_newArray(JCGO_CORECLASS_FOR(OBJT_jint), 0, (JCGO_CALL_FINALF(buffer) package_Buffer__getUnsignedInt__( buffer))); { jint i; i= 0; for (; i < JCGO_ARRAY_LENGTH(package_WordFilter__hashFragments); i++) { jObject jcgo_rcvrL1; jint jcgo_rcvrI1; jint jcgo_rcvrI2; (jcgo_rcvrL1= (jObject)package_WordFilter__hashFragments, jcgo_rcvrI1= i, jcgo_rcvrI2= (package_Buffer__getUnsignedShort__( buffer)), JCGO_ARRAY_IACCESS((jintArr)jcgo_rcvrL1, jcgo_rcvrI1)= jcgo_rcvrI2); } } } } JCGO_NOSEP_INLINE void CFASTCALL package_WordFilter__loadTld__L2xrui( package_Buffer buffer ) { { jint wordcount; wordcount= (JCGO_CALL_FINALF(buffer) package_Buffer__getUnsignedInt__( buffer)); package_WordFilter__tldList= (jObjectArr)jcgo_newArray(JCGO_CORECLASS_FOR(OBJT_jchar), 1, wordcount); package_WordFilter__tldType= (jintArr)jcgo_newArray(JCGO_CORECLASS_FOR(OBJT_jint), 0, wordcount); { jint idx; idx= 0; for (; idx < wordcount; idx++) { jcharArr ac; jObject jcgo_rcvrL1; jint jcgo_rcvrI1; jint jcgo_rcvrI2; (jcgo_rcvrL1= (jObject)package_WordFilter__tldType, jcgo_rcvrI1= idx, jcgo_rcvrI2= (package_Buffer__getUnsignedByte__( buffer)), JCGO_ARRAY_IACCESS((jintArr)jcgo_rcvrL1, jcgo_rcvrI1)= jcgo_rcvrI2); ac= (jcharArr)jcgo_newArray(JCGO_CORECLASS_FOR(OBJT_jchar), 0, (package_Buffer__getUnsignedByte__( buffer))); { jint k; k= 0; for (; k < JCGO_ARRAY_NZLENGTH(ac); k++) { jObject jcgo_rcvrL1; jint jcgo_rcvrI1; jchar jcgo_rcvrC1; (jcgo_rcvrL1= (jObject)ac, jcgo_rcvrI1= k, jcgo_rcvrC1= (jchar)(package_Buffer__getUnsignedByte__( buffer)), JCGO_ARRAY_NZCACCESS((jcharArr)jcgo_rcvrL1, jcgo_rcvrI1)= jcgo_rcvrC1); } } *(jcharArr*)&JCGO_ARRAY_LACCESS(package_WordFilter__tldList, idx)= ac; } } } } JCGO_NOSEP_INLINE jboolean CFASTCALL package_WordFilter__isLetter__C( jchar c ) { { return (jboolean)((c >= (jchar)97/*'a'*/ && c <= (jchar)122/*'z'*/) || (c >= (jchar)65/*'A'*/ && c <= (jchar)90/*'Z'*/)); } } JCGO_NOSEP_INLINE jboolean CFASTCALL package_WordFilter__isDigit__C( jchar c ) { { return (jboolean)(c >= (jchar)48/*'0'*/ && c <= (jchar)57/*'9'*/); } } JCGO_NOSEP_INLINE jboolean CFASTCALL package_WordFilter__isSpecial__C( jchar c ) { { return (jboolean)(!(package_WordFilter__isLetter__C( c)) && !(package_WordFilter__isDigit__C( c))); } } JCGO_NOSEP_INLINE jboolean CFASTCALL package_WordFilter__compareCharIds__BAABB( jObjectArr charIdData, jbyte prevCharId, jbyte curCharId ) { { jint first; jint last; first= 0; if (JCGO_ARRAY_BACCESS(((jbyteArr)JCGO_ARRAY_LACCESS(charIdData, first)), 0) == prevCharId && JCGO_ARRAY_BACCESS(((jbyteArr)JCGO_ARRAY_NZLACCESS(charIdData, first)), (jint)1) == curCharId) { return (jboolean)jtrue; } last= JCGO_ARRAY_NZLENGTH(charIdData) - (jint)1; if (JCGO_ARRAY_BACCESS(((jbyteArr)JCGO_ARRAY_NZLACCESS(charIdData, last)), 0) == prevCharId && JCGO_ARRAY_BACCESS(((jbyteArr)JCGO_ARRAY_NZLACCESS(charIdData, last)), (jint)1) == curCharId) { return (jboolean)jtrue; } while (first != last && first + (jint)1 != last) { jint middle; middle= (first + last) / (jint)2; if (JCGO_ARRAY_BACCESS(((jbyteArr)JCGO_ARRAY_NZLACCESS(charIdData, middle)), 0) == prevCharId && JCGO_ARRAY_BACCESS(((jbyteArr)JCGO_ARRAY_NZLACCESS(charIdData, middle)), (jint)1) == curCharId) { return (jboolean)jtrue; } if (prevCharId < JCGO_ARRAY_BACCESS(((jbyteArr)JCGO_ARRAY_NZLACCESS(charIdData, middle)), 0) || (prevCharId == JCGO_ARRAY_BACCESS(((jbyteArr)JCGO_ARRAY_NZLACCESS(charIdData, middle)), 0) && curCharId < JCGO_ARRAY_BACCESS(((jbyteArr)JCGO_ARRAY_NZLACCESS(charIdData, middle)), (jint)1))) { last= middle; } else { first= middle; } } return (jboolean)jfalse; } } JCGO_NOSEP_INLINE jint CFASTCALL package_WordFilter__word2hash__CA( jcharArr word ) { { jint hash; if (JCGO_ARRAY_LENGTH(word) > (jint)6) { return 0; } hash= 0; { jint i; i= 0; for (; i < JCGO_ARRAY_NZLENGTH(word); i++) { jchar c; c= JCGO_ARRAY_NZCACCESS(word, JCGO_ARRAY_NZLENGTH(word) - i - (jint)1); if (c >= (jchar)97/*'a'*/ && c <= (jchar)122/*'z'*/) { hash= hash * (jint)38 + c - (jint)97 + (jint)1; } else { if (c == (jchar)39/*'\''*/) { hash= hash * (jint)38 + (jint)27; } else { if (c >= (jchar)48/*'0'*/ && c <= (jchar)57/*'9'*/) { hash= hash * (jint)38 + c - (jint)48 + (jint)28; } else { if ((jint)c != 0) { if (jfalse) { jObject jcgo_rcvrL1; struct java_lang_String_s jcgo_stackobj1; (jcgo_rcvrL1= (jObject)JCGO_CLINIT_VARACC(java_lang_System__class, java_lang_System__out), java_io_PrintStream__println__Ls( (java_io_PrintStream)jcgo_rcvrL1, java_lang_VMSystem__concat0X__LsLs( JCGO_STRREF_OF(jcgo_string2_WordFltr), (java_lang_String__this__CA( JCGO_STACKOBJVLT_NEW(jcgo_stackobj1, java_lang_String_methods), word))))); } return 0; } } } } } } return hash; } } JCGO_NOSEP_INLINE jboolean CFASTCALL package_WordFilter__containsFragmentHashes__CA( jcharArr input ) { { jint inputHash; jint first; jint last; jboolean notNum; notNum= jtrue; { jint i; i= 0; for (; i < JCGO_ARRAY_LENGTH(input); i++) { if (!(package_WordFilter__isDigit__C( JCGO_ARRAY_NZCACCESS(input, i))) && (jint)(JCGO_ARRAY_NZCACCESS(input, i)) != 0) { notNum= (jboolean)jfalse; } } } if (notNum) { return (jboolean)jtrue; } inputHash= (package_WordFilter__word2hash__CA( input)); first= 0; last= JCGO_ARRAY_LENGTH(package_WordFilter__hashFragments) - (jint)1; if (inputHash == JCGO_ARRAY_IACCESS(package_WordFilter__hashFragments, first) || inputHash == JCGO_ARRAY_IACCESS(package_WordFilter__hashFragments, last)) { return (jboolean)jtrue; } while (first != last && first + (jint)1 != last) { jint middle; middle= (first + last) / (jint)2; if (inputHash == JCGO_ARRAY_IACCESS(package_WordFilter__hashFragments, middle)) { return (jboolean)jtrue; } if (inputHash < JCGO_ARRAY_IACCESS(package_WordFilter__hashFragments, middle)) { last= middle; } else { first= middle; } } return (jboolean)jfalse; } } JCGO_NOSEP_INLINE jint CFASTCALL package_WordFilter__getAsteriskCount__CACAI( jcharArr input, jcharArr input1, jint len ) { { jint filtered; if (len == 0) { return (jint)2; } { jint j; j= len - (jint)1; for (; j >= 0; j--) { if (!(package_WordFilter__isSpecial__C( JCGO_ARRAY_CACCESS(input, j)))) { break; } if (JCGO_ARRAY_NZCACCESS(input, j) == (jchar)44/*','*/ || JCGO_ARRAY_NZCACCESS(input, j) == (jchar)46/*'.'*/) { return (jint)3; } } } filtered= 0; { jint l; l= len - (jint)1; for (; l >= 0; l--) { if (!(package_WordFilter__isSpecial__C( JCGO_ARRAY_CACCESS(input1, l)))) { break; } if (JCGO_ARRAY_NZCACCESS(input1, l) == (jchar)42/*'*'*/) { filtered++; } } } if (filtered >= (jint)3) { return (jint)4; } return (package_WordFilter__isSpecial__C( JCGO_ARRAY_CACCESS(input, len - (jint)1)))? (jint)1 : 0; } } JCGO_NOSEP_INLINE jint CFASTCALL package_WordFilter__getAsteriskCount2__CACAI( jcharArr input, jcharArr input1, jint len ) { { jint filtered; if (len + (jint)1 == JCGO_ARRAY_LENGTH(input)) { return (jint)2; } { jint j; j= len + (jint)1; for (; j < JCGO_ARRAY_NZLENGTH(input); j++) { if (!(package_WordFilter__isSpecial__C( JCGO_ARRAY_NZCACCESS(input, j)))) { break; } if (JCGO_ARRAY_NZCACCESS(input, j) == (jchar)92/*'\\'*/ || JCGO_ARRAY_NZCACCESS(input, j) == (jchar)47/*'/'*/) { return (jint)3; } } } filtered= 0; { jint l; l= len + (jint)1; for (; l < JCGO_ARRAY_NZLENGTH(input); l++) { if (!(package_WordFilter__isSpecial__C( JCGO_ARRAY_CACCESS(input1, l)))) { break; } if (JCGO_ARRAY_NZCACCESS(input1, l) == (jchar)42/*'*'*/) { filtered++; } } } if (filtered >= (jint)5) { return (jint)4; } return (package_WordFilter__isSpecial__C( JCGO_ARRAY_NZCACCESS(input, len + (jint)1)))? (jint)1 : 0; } } JCGO_NOSEP_INLINE void CFASTCALL package_WordFilter__applyTldFilter__CACACACAI( jcharArr input, jcharArr input1, jcharArr input2, jcharArr tld, jint type ) { { jint jcgo_rcvrI1; if ((jcgo_rcvrI1= JCGO_ARRAY_LENGTH(tld), jcgo_rcvrI1 > JCGO_ARRAY_LENGTH(input))) { return; } { jint charIndex; charIndex= 0; for (; charIndex <= JCGO_ARRAY_NZLENGTH(input) - JCGO_ARRAY_NZLENGTH(tld); charIndex++) { jint inputCharCount; jint l; inputCharCount= charIndex; l= 0; while (inputCharCount < JCGO_ARRAY_NZLENGTH(input)) { jint i1; jchar current; jchar next; i1= 0; current= JCGO_ARRAY_NZCACCESS(input, inputCharCount); next= 0; if (inputCharCount + (jint)1 < JCGO_ARRAY_NZLENGTH(input)) { next= JCGO_ARRAY_NZCACCESS(input, inputCharCount + (jint)1); } if (l < JCGO_ARRAY_NZLENGTH(tld) && (i1= (package_WordFilter__compareLettersNumbers__CCC( JCGO_ARRAY_NZCACCESS(tld, l), current, next))) > 0) { inputCharCount+= i1; l++; continue; } if (l == 0) { break; } if ((i1= (package_WordFilter__compareLettersNumbers__CCC( JCGO_ARRAY_NZCACCESS(tld, l - (jint)1), current, next))) > 0) { inputCharCount+= i1; continue; } if (l >= JCGO_ARRAY_NZLENGTH(tld) || !(package_WordFilter__isSpecial__C( current))) { break; } inputCharCount++; } if (l >= JCGO_ARRAY_NZLENGTH(tld)) { jint startMatch; jint endMatch; jboolean flag; jboolean tmp; flag= jfalse; startMatch= (package_WordFilter__getAsteriskCount__CACAI( input, input1, charIndex)); endMatch= (package_WordFilter__getAsteriskCount2__CACAI( input, input2, inputCharCount - (jint)1)); if (jfalse) { jObject jcgo_rcvrL1; jObject jcgo_rcvrL2; struct java_lang_StringBuilder_s jcgo_stackobj1; struct java_lang_String_s jcgo_stackobj2; struct java_lang_String_s jcgo_stackobj3; struct java_lang_String_s jcgo_stackobj4; struct java_lang_String_s jcgo_stackobj5; struct java_lang_String_s jcgo_stackobj6; struct java_lang_String_s jcgo_stackobj7; (jcgo_rcvrL1= (jObject)JCGO_CLINIT_VARACC(java_lang_System__class, java_lang_System__out), java_io_PrintStream__println__Ls( (java_io_PrintStream)jcgo_rcvrL1, java_lang_String__this__L5dy9e( JCGO_STACKOBJ_NEW(jcgo_stackobj7, java_lang_String_methods), java_lang_StringBuilder__append__Ls( (jcgo_rcvrL2= (jObject)java_lang_StringBuilder__append__Ls( (jcgo_rcvrL2= (jObject)java_lang_StringBuilder__append__Ls( (jcgo_rcvrL2= (jObject)java_lang_StringBuilder__append__Ls( (jcgo_rcvrL2= (jObject)java_lang_StringBuilder__append__Ls( java_lang_StringBuilder__append__Ls( java_lang_StringBuilder__append__Ls( java_lang_StringBuilder__this__( JCGO_STACKOBJ_NEW(jcgo_stackobj1, java_lang_StringBuilder_methods)), JCGO_STRREF_OF(jcgo_string3_WordFltr)), (java_lang_Object__toString__X( (java_lang_Object)tld, JCGO_STACKOBJ_NEW(jcgo_stackobj2, java_lang_String_methods)))), JCGO_STRREF_OF(jcgo_string4_WordFltr)), java_lang_StringBuilder__append__Ls( (java_lang_StringBuilder)jcgo_rcvrL2, (java_lang_String__valueOf__IX( charIndex, JCGO_STACKOBJ_NEW(jcgo_stackobj3, java_lang_String_methods))))), JCGO_STRREF_OF(jcgo_string5_WordFltr)), java_lang_StringBuilder__append__Ls( (java_lang_StringBuilder)jcgo_rcvrL2, (java_lang_String__valueOf__IX( type, JCGO_STACKOBJ_NEW(jcgo_stackobj4, java_lang_String_methods))))), JCGO_STRREF_OF(jcgo_string6_WordFltr)), java_lang_StringBuilder__append__Ls( (java_lang_StringBuilder)jcgo_rcvrL2, (java_lang_String__valueOf__IX( startMatch, JCGO_STACKOBJ_NEW(jcgo_stackobj5, java_lang_String_methods))))), JCGO_STRREF_OF(jcgo_string7_WordFltr)), java_lang_StringBuilder__append__Ls( (java_lang_StringBuilder)jcgo_rcvrL2, (java_lang_String__valueOf__IX( endMatch, JCGO_STACKOBJ_NEW(jcgo_stackobj6, java_lang_String_methods))))), JCGO_STRREF_OF(jcgo_string329_Mdclnt))))); } if (type == (jint)1 && startMatch > 0 && endMatch > 0) { flag= (jboolean)jtrue; } if (type == (jint)2 && ((startMatch > (jint)2 && endMatch > 0) || (startMatch > 0 && endMatch > (jint)2))) { flag= (jboolean)jtrue; } if (type == (jint)3 && startMatch > 0 && endMatch > (jint)2) { flag= (jboolean)jtrue; } tmp= type == (jint)3 && startMatch > (jint)2 && endMatch > 0; if (flag) { jint l1; jint i2; if (jfalse) { jObject jcgo_rcvrL1; jObject jcgo_rcvrL2; struct java_lang_StringBuilder_s jcgo_stackobj8; struct java_lang_String_s jcgo_stackobj9; struct java_lang_String_s jcgo_stackobj10; struct java_lang_String_s jcgo_stackobj11; (jcgo_rcvrL1= (jObject)JCGO_CLINIT_VARACC(java_lang_System__class, java_lang_System__out), java_io_PrintStream__println__Ls( (java_io_PrintStream)jcgo_rcvrL1, (jcgo_rcvrL2= (jObject)java_lang_StringBuilder__append__Ls( java_lang_StringBuilder__append__Ls( java_lang_StringBuilder__append__Ls( java_lang_StringBuilder__this__( JCGO_STACKOBJ_NEW(jcgo_stackobj8, java_lang_StringBuilder_methods)), JCGO_STRREF_OF(jcgo_string8_WordFltr)), (java_lang_Object__toString__X( (java_lang_Object)tld, JCGO_STACKOBJ_NEW(jcgo_stackobj9, java_lang_String_methods)))), JCGO_STRREF_OF(jcgo_string4_WordFltr)), java_lang_String__this__L5dy9e( JCGO_STACKOBJ_NEW(jcgo_stackobj10, java_lang_String_methods), java_lang_StringBuilder__append__Ls( (java_lang_StringBuilder)jcgo_rcvrL2, (java_lang_String__valueOf__IX( charIndex, JCGO_STACKOBJ_NEW(jcgo_stackobj11, java_lang_String_methods)))))))); } l1= charIndex; i2= inputCharCount - (jint)1; if (startMatch > (jint)2) { jboolean flag2; if (startMatch == (jint)4) { jboolean flag1; flag1= jfalse; { jint k2; k2= l1 - (jint)1; for (; k2 >= 0; k2--) { if (flag1) { if (JCGO_ARRAY_CACCESS(input1, k2) != (jchar)42/*'*'*/) { break; } l1= k2; } else { if (JCGO_ARRAY_CACCESS(input1, k2) == (jchar)42/*'*'*/) { l1= k2; flag1= (jboolean)jtrue; } } } } } flag2= jfalse; { jint l2; l2= l1 - (jint)1; for (; l2 >= 0; l2--) { if (flag2) { if ((package_WordFilter__isSpecial__C( JCGO_ARRAY_NZCACCESS(input, l2)))) { break; } l1= l2; } else { if (!(package_WordFilter__isSpecial__C( JCGO_ARRAY_NZCACCESS(input, l2)))) { flag2= (jboolean)jtrue; l1= l2; } } } } } if (endMatch > (jint)2) { jboolean flag4; if (endMatch == (jint)4) { jboolean flag3; flag3= jfalse; { jint i3; i3= i2 + (jint)1; for (; i3 < JCGO_ARRAY_NZLENGTH(input); i3++) { if (flag3) { if (JCGO_ARRAY_CACCESS(input2, i3) != (jchar)42/*'*'*/) { break; } i2= i3; } else { if (JCGO_ARRAY_CACCESS(input2, i3) == (jchar)42/*'*'*/) { i2= i3; flag3= (jboolean)jtrue; } } } } } flag4= jfalse; { jint j3; j3= i2 + (jint)1; for (; j3 < JCGO_ARRAY_NZLENGTH(input); j3++) { if (flag4) { if ((package_WordFilter__isSpecial__C( JCGO_ARRAY_NZCACCESS(input, j3)))) { break; } i2= j3; } else { if (!(package_WordFilter__isSpecial__C( JCGO_ARRAY_NZCACCESS(input, j3)))) { flag4= (jboolean)jtrue; i2= j3; } } } } } { jint j2; j2= l1; for (; j2 <= i2; j2++) { JCGO_ARRAY_NZCACCESS(input, j2)= (jchar)42/*'*'*/; } } } } } } } } JCGO_NOSEP_INLINE void CFASTCALL package_WordFilter__applyDotSlashFilter__CA( jcharArr input ) { { jcharArr input1; jcharArr dot; jcharArr input2; jcharArr slash; input1= (jcharArr)(JCGO_CALL_FINALF(input) java_lang_Object__clone__( (java_lang_Object)input)); dot= (jcharArr)jcgo_arrayClone((jObject)JCGO_OBJREF_OF(jcgo_array9_WordFltr)); (package_WordFilter__applyWordFilter__CACABAA( input1, dot, (jObjectArr)jnull)); input2= (jcharArr)(java_lang_Object__clone__( (java_lang_Object)input)); slash= (jcharArr)jcgo_arrayClone((jObject)JCGO_OBJREF_OF(jcgo_array10_WordFltr)); (package_WordFilter__applyWordFilter__CACABAA( input2, slash, (jObjectArr)jnull)); { jint i; i= 0; for (; i < JCGO_ARRAY_LENGTH(package_WordFilter__tldList); i++) { jObject jcgo_rcvrL1; jObject jcgo_rcvrL2; jObject jcgo_rcvrL3; jObject jcgo_rcvrL4; (jcgo_rcvrL1= (jObject)input, jcgo_rcvrL2= (jObject)input1, jcgo_rcvrL3= (jObject)input2, jcgo_rcvrL4= (jObject)((jcharArr)JCGO_ARRAY_LACCESS(package_WordFilter__tldList, i)), package_WordFilter__applyTldFilter__CACACACAI( (jcharArr)jcgo_rcvrL1, (jcharArr)jcgo_rcvrL2, (jcharArr)jcgo_rcvrL3, (jcharArr)jcgo_rcvrL4, JCGO_ARRAY_IACCESS(package_WordFilter__tldType, i))); } } } } JCGO_NOSEP_INLINE void CFASTCALL package_WordFilter__applyBadwordFilter__CA( jcharArr input ) { { { jint i; i= 0; for (; i < (jint)2; i++) { { jint j; j= JCGO_ARRAY_LENGTH(package_WordFilter__badList) - (jint)1; for (; j >= 0; j--) { jObject jcgo_rcvrL1; jObject jcgo_rcvrL2; (jcgo_rcvrL1= (jObject)input, jcgo_rcvrL2= (jObject)((jcharArr)JCGO_ARRAY_LACCESS(package_WordFilter__badList, j)), package_WordFilter__applyWordFilter__CACABAA( (jcharArr)jcgo_rcvrL1, (jcharArr)jcgo_rcvrL2, ((jObjectArr)JCGO_ARRAY_LACCESS(package_WordFilter__badCharIds, j)))); } } } } } } JCGO_NOSEP_INLINE void CFASTCALL package_WordFilter__applyHostFilter__CA( jcharArr input ) { { { jint i; i= JCGO_ARRAY_LENGTH(package_WordFilter__hostList) - (jint)1; for (; i >= 0; i--) { jObject jcgo_rcvrL1; jObject jcgo_rcvrL2; (jcgo_rcvrL1= (jObject)input, jcgo_rcvrL2= (jObject)((jcharArr)JCGO_ARRAY_LACCESS(package_WordFilter__hostList, i)), package_WordFilter__applyWordFilter__CACABAA( (jcharArr)jcgo_rcvrL1, (jcharArr)jcgo_rcvrL2, ((jObjectArr)JCGO_ARRAY_LACCESS(package_WordFilter__hostCharIds, i)))); } } } } JCGO_NOSEP_INLINE jint CFASTCALL package_WordFilter__indexOfDigit__CAI( jcharArr input, jint fromIndex ) { { { jint i; i= fromIndex; for (; i < JCGO_ARRAY_LENGTH(input) && i >= 0; i++) { if (JCGO_ARRAY_NZCACCESS(input, i) >= (jchar)48/*'0'*/ && JCGO_ARRAY_NZCACCESS(input, i) <= (jchar)57/*'9'*/) { return i; } } } return (-(jint)1); } } JCGO_NOSEP_INLINE jint CFASTCALL package_WordFilter__indexOfNonDigit__CAI( jcharArr input, jint fromIndex ) { { { jint i; i= fromIndex; for (; i < JCGO_ARRAY_LENGTH(input) && i >= 0; i++) { if (JCGO_ARRAY_NZCACCESS(input, i) < (jchar)48/*'0'*/ || JCGO_ARRAY_NZCACCESS(input, i) > (jchar)57/*'9'*/) { return i; } } } return JCGO_ARRAY_NZLENGTH(input); } } JCGO_NOSEP_INLINE void CFASTCALL package_WordFilter__heywhathteufck__CA( jcharArr input ) { { jint digitIndex; jint fromIndex; jint k; jint l; digitIndex= 0; fromIndex= 0; k= 0; l= 0; while ((digitIndex= (package_WordFilter__indexOfDigit__CAI( input, fromIndex))) != (-(jint)1)) { jint j1; jboolean flag; flag= jfalse; { jint i; i= fromIndex; for (; i >= 0 && i < digitIndex && !flag; i++) { if (!(package_WordFilter__isSpecial__C( JCGO_ARRAY_NZCACCESS(input, i))) && !(package_WordFilter__isNotLowercase__C( JCGO_ARRAY_NZCACCESS(input, i)))) { flag= (jboolean)jtrue; } } } if (flag) { k= 0; } if (k == 0) { l= digitIndex; } fromIndex= (package_WordFilter__indexOfNonDigit__CAI( input, digitIndex)); j1= 0; { jint k1; k1= digitIndex; for (; k1 < fromIndex; k1++) { j1= (j1 * (jint)10 + JCGO_ARRAY_NZCACCESS(input, k1)) - (jint)48; } } if (j1 > (jint)255 || fromIndex - digitIndex > (jint)8) { k= 0; } else { k++; } if (k == (jint)4) { { jint i; i= l; for (; i < fromIndex; i++) { JCGO_ARRAY_NZCACCESS(input, i)= (jchar)42/*'*'*/; } } k= 0; } } } } JCGO_NOSEP_INLINE jboolean CFASTCALL package_WordFilter__isUppercase__C( jchar c ) { { return (jboolean)(c >= (jchar)65/*'A'*/ && c <= (jchar)90/*'Z'*/); } } JCGO_NOSEP_INLINE void CFASTCALL package_WordFilter__stripLowercase__CACA( jcharArr input, jcharArr output ) { { { jint i; i= 0; for (; i < JCGO_ARRAY_LENGTH(input); i++) { if (JCGO_ARRAY_CACCESS(output, i) != (jchar)42/*'*'*/ && (package_WordFilter__isUppercase__C( JCGO_ARRAY_NZCACCESS(input, i)))) { jchar jcgo_rcvrC1; (jcgo_rcvrC1= JCGO_ARRAY_NZCACCESS(input, i), JCGO_ARRAY_NZCACCESS(output, i)= jcgo_rcvrC1); } } } } } JCGO_NOSEP_INLINE jboolean CFASTCALL package_WordFilter__isLowercase__C( jchar c ) { { return (jboolean)(c >= (jchar)97/*'a'*/ && c <= (jchar)122/*'z'*/); } } JCGO_NOSEP_INLINE void CFASTCALL package_WordFilter__toLowercase__CA( jcharArr input ) { { jboolean isUppercase; isUppercase= jtrue; { jint i; i= 0; for (; i < JCGO_ARRAY_LENGTH(input); i++) { jchar current; current= JCGO_ARRAY_NZCACCESS(input, i); if ((package_WordFilter__isLetter__C( current))) { if (isUppercase) { if ((package_WordFilter__isLowercase__C( current))) { isUppercase= (jboolean)jfalse; } } else { if ((package_WordFilter__isUppercase__C( current))) { JCGO_ARRAY_NZCACCESS(input, i)= ((jchar)((current + (jint)97) - (jint)65)); } } } else { isUppercase= (jboolean)jtrue; } } } } } JCGO_NOSEP_FRWINL void CFASTCALL package_WordFilter__loadFilters__L2xruiL2xruiL2xruiL2xrui( package_Buffer fragments, package_Buffer bad, package_Buffer host, package_Buffer tld ) { { (package_WordFilter__loadBad__L2xrui( bad)); (package_WordFilter__loadHost__L2xrui( host)); (package_WordFilter__loadFragments__L2xrui( fragments)); (package_WordFilter__loadTld__L2xrui( tld)); } } JCGO_NOSEP_STATIC void CFASTCALL package_WordFilter__readBuffer__L2xruiCAABAAA( package_Buffer buffer, jObjectArr wordList, jObjectArr charIds ) { { { jint i; i= 0; for (; i < JCGO_ARRAY_LENGTH(wordList); i++) { jcharArr currentWord; jObjectArr ids; jint jcgo_rcvrI1; currentWord= (jcharArr)jcgo_newArray(JCGO_CORECLASS_FOR(OBJT_jchar), 0, (JCGO_CALL_FINALF(buffer) package_Buffer__getUnsignedByte__( buffer))); { jint j; j= 0; for (; j < JCGO_ARRAY_NZLENGTH(currentWord); j++) { jObject jcgo_rcvrL1; jint jcgo_rcvrI1; jchar jcgo_rcvrC1; (jcgo_rcvrL1= (jObject)currentWord, jcgo_rcvrI1= j, jcgo_rcvrC1= (jchar)(package_Buffer__getUnsignedByte__( buffer)), JCGO_ARRAY_NZCACCESS((jcharArr)jcgo_rcvrL1, jcgo_rcvrI1)= jcgo_rcvrC1); } } *(jcharArr*)&JCGO_ARRAY_NZLACCESS(wordList, i)= currentWord; ids= (jcgo_rcvrI1= (package_Buffer__getUnsignedInt__( buffer)), jcgo_new4DArray(JCGO_CORECLASS_FOR(OBJT_jbyte), 2, 0, jcgo_rcvrI1, (jint)2, 0, 0)); { jint j; j= 0; for (; j < JCGO_ARRAY_NZLENGTH(ids); j++) { jObject jcgo_rcvrL1; jbyte jcgo_rcvrB1; (jcgo_rcvrL1= (jObject)((jbyteArr)JCGO_ARRAY_NZLACCESS(ids, j)), jcgo_rcvrB1= (jbyte)(package_Buffer__getUnsignedByte__( buffer)), JCGO_ARRAY_BACCESS((jbyteArr)jcgo_rcvrL1, 0)= jcgo_rcvrB1); (jcgo_rcvrL1= (jObject)((jbyteArr)JCGO_ARRAY_NZLACCESS(ids, j)), jcgo_rcvrB1= (jbyte)(package_Buffer__getUnsignedByte__( buffer)), JCGO_ARRAY_BACCESS((jbyteArr)jcgo_rcvrL1, (jint)1)= jcgo_rcvrB1); } } if (JCGO_ARRAY_NZLENGTH(ids) > 0) { *(jObjectArr*)&JCGO_ARRAY_LACCESS(charIds, i)= ids; } } } } } JCGO_NOSEP_STATIC java_lang_String CFASTCALL package_WordFilter__filter__LsX( java_lang_String input, java_lang_String jcgo_stackparam ) { { jcharArr inputChars; inputChars= (java_lang_String__toCharArray__( (JCGO_CALL_FINALF(input) java_lang_String__toLowerCase__( input)))); (package_WordFilter__applyDotSlashFilter__CA( inputChars)); (package_WordFilter__applyBadwordFilter__CA( inputChars)); (package_WordFilter__applyHostFilter__CA( inputChars)); (package_WordFilter__heywhathteufck__CA( inputChars)); { jint ignoreIdx; ignoreIdx= 0; for (; ignoreIdx < JCGO_ARRAY_LENGTH(package_WordFilter__ignoreList); ignoreIdx++) { { jint inputIgnoreIdx; inputIgnoreIdx= (-(jint)1); for (; (inputIgnoreIdx= (java_lang_String__indexOf__LsI( input, ((java_lang_String)JCGO_ARRAY_LACCESS(package_WordFilter__ignoreList, ignoreIdx)), inputIgnoreIdx + (jint)1))) != (-(jint)1);) { jcharArr ignorewordChars; jObject jcgo_rcvrL1; ignorewordChars= (jcgo_rcvrL1= (jObject)((java_lang_String)JCGO_ARRAY_LACCESS(package_WordFilter__ignoreList, ignoreIdx)), JCGO_CALL_FINALF((java_lang_String)jcgo_rcvrL1) java_lang_String__toCharArray__( (java_lang_String)jcgo_rcvrL1)); { jint ignorewordIdx; ignorewordIdx= 0; for (; ignorewordIdx < JCGO_ARRAY_NZLENGTH(ignorewordChars); ignorewordIdx++) { jchar jcgo_rcvrC1; (jcgo_rcvrC1= JCGO_ARRAY_NZCACCESS(ignorewordChars, ignorewordIdx), JCGO_ARRAY_NZCACCESS(inputChars, ignorewordIdx + inputIgnoreIdx)= jcgo_rcvrC1); } } } } } } if (package_WordFilter__forceLowercase) { (package_WordFilter__stripLowercase__CACA( (java_lang_String__toCharArray__( input)), inputChars)); (package_WordFilter__toLowercase__CA( inputChars)); } return (java_lang_String__this__CA( jcgo_stackparam, inputChars)); } } JCGO_NOSEP_FRWINL java_lang_String CFASTCALL package_WordFilter__filter__Ls( java_lang_String input ) { return package_WordFilter__filter__LsX( input, (java_lang_String)jcgo_newObject((jvtable)&java_lang_String_methods)); } JCGO_NOSEP_STATIC void CFASTCALL package_WordFilter__applyWordFilter__CACABAA( jcharArr input, jcharArr wordlist, jObjectArr charIds ) { { jint jcgo_rcvrI1; if ((jcgo_rcvrI1= JCGO_ARRAY_LENGTH(wordlist), jcgo_rcvrI1 > JCGO_ARRAY_LENGTH(input))) { return; } { jint charIndex; charIndex= 0; for (; charIndex <= JCGO_ARRAY_NZLENGTH(input) - JCGO_ARRAY_NZLENGTH(wordlist); charIndex++) { jint inputCharCount; jint k; jboolean specialChar; inputCharCount= charIndex; k= 0; specialChar= jfalse; while (inputCharCount < JCGO_ARRAY_NZLENGTH(input)) { jint l; jchar inputChar; jchar nextChar; l= 0; inputChar= JCGO_ARRAY_NZCACCESS(input, inputCharCount); nextChar= 0; if (inputCharCount + (jint)1 < JCGO_ARRAY_NZLENGTH(input)) { nextChar= JCGO_ARRAY_NZCACCESS(input, inputCharCount + (jint)1); } if (k < JCGO_ARRAY_NZLENGTH(wordlist) && (l= (package_WordFilter__compareLettersSymbols__CCC( JCGO_ARRAY_NZCACCESS(wordlist, k), inputChar, nextChar))) > 0) { inputCharCount+= l; k++; continue; } if (k == 0) { break; } if ((l= (package_WordFilter__compareLettersSymbols__CCC( JCGO_ARRAY_NZCACCESS(wordlist, k - (jint)1), inputChar, nextChar))) > 0) { inputCharCount+= l; continue; } if (k >= JCGO_ARRAY_NZLENGTH(wordlist) || !(package_WordFilter__isNotLowercase__C( inputChar))) { break; } if ((package_WordFilter__isSpecial__C( inputChar)) && inputChar != (jchar)39/*'\''*/) { specialChar= (jboolean)jtrue; } inputCharCount++; } if (k >= JCGO_ARRAY_NZLENGTH(wordlist)) { jboolean filter; filter= jtrue; if (jfalse) { jObject jcgo_rcvrL1; jObject jcgo_rcvrL2; struct java_lang_StringBuilder_s jcgo_stackobj1; struct java_lang_String_s jcgo_stackobj2; struct java_lang_String_s jcgo_stackobj3; struct java_lang_String_s jcgo_stackobj4; (jcgo_rcvrL1= (jObject)JCGO_CLINIT_VARACC(java_lang_System__class, java_lang_System__out), java_io_PrintStream__println__Ls( (java_io_PrintStream)jcgo_rcvrL1, (jcgo_rcvrL2= (jObject)java_lang_StringBuilder__append__Ls( java_lang_StringBuilder__append__Ls( java_lang_StringBuilder__append__Ls( java_lang_StringBuilder__this__( JCGO_STACKOBJ_NEW(jcgo_stackobj1, java_lang_StringBuilder_methods)), JCGO_STRREF_OF(jcgo_string11_WordFltr)), (java_lang_Object__toString__X( (java_lang_Object)wordlist, JCGO_STACKOBJ_NEW(jcgo_stackobj2, java_lang_String_methods)))), JCGO_STRREF_OF(jcgo_string4_WordFltr)), java_lang_String__this__L5dy9e( JCGO_STACKOBJ_NEW(jcgo_stackobj3, java_lang_String_methods), java_lang_StringBuilder__append__Ls( (java_lang_StringBuilder)jcgo_rcvrL2, (java_lang_String__valueOf__IX( charIndex, JCGO_STACKOBJ_NEW(jcgo_stackobj4, java_lang_String_methods)))))))); } if (!specialChar) { jchar prevChar; jchar curChar; jbyte prevId; jbyte curId; prevChar= (jchar)32/*' '*/; if (charIndex - (jint)1 >= 0) { prevChar= JCGO_ARRAY_NZCACCESS(input, charIndex - (jint)1); } curChar= (jchar)32/*' '*/; if (inputCharCount < JCGO_ARRAY_NZLENGTH(input)) { curChar= JCGO_ARRAY_NZCACCESS(input, inputCharCount); } prevId= (package_WordFilter__getCharId__C( prevChar)); curId= (package_WordFilter__getCharId__C( curChar)); if (charIds != jnull && (package_WordFilter__compareCharIds__BAABB( charIds, prevId, curId))) { filter= (jboolean)jfalse; } } else { jboolean flag2; jboolean flag3; flag2= jfalse; flag3= jfalse; if (charIndex - (jint)1 < 0 || ((package_WordFilter__isSpecial__C( JCGO_ARRAY_NZCACCESS(input, charIndex - (jint)1))) && JCGO_ARRAY_NZCACCESS(input, charIndex - (jint)1) != (jchar)39/*'\''*/)) { flag2= (jboolean)jtrue; } if (inputCharCount >= JCGO_ARRAY_NZLENGTH(input) || ((package_WordFilter__isSpecial__C( JCGO_ARRAY_NZCACCESS(input, inputCharCount))) && JCGO_ARRAY_NZCACCESS(input, inputCharCount) != (jchar)39/*'\''*/)) { flag3= (jboolean)jtrue; } if (!flag2 || !flag3) { jint j1; jboolean flag4; flag4= jfalse; j1= charIndex - (jint)2; if (flag2) { j1= charIndex; } for (; !flag4 && j1 < inputCharCount; j1++) { if (j1 >= 0 && (!(package_WordFilter__isSpecial__C( JCGO_ARRAY_NZCACCESS(input, j1))) || JCGO_ARRAY_NZCACCESS(input, j1) == (jchar)39/*'\''*/)) { jcharArr ac2; jint k1; jboolean flag5; jcgo_arrtype12_WordFltr jcgo_stackobj5; ac2= (jcharArr)JCGO_STACKOBJ_PRIMARRNEW(jcgo_stackobj5, jcharArr_methods, 3); for (k1= 0; k1 < (jint)3; k1++) { jchar jcgo_rcvrC1; if (j1 + k1 >= JCGO_ARRAY_NZLENGTH(input) || ((package_WordFilter__isSpecial__C( JCGO_ARRAY_NZCACCESS(input, j1 + k1))) && JCGO_ARRAY_NZCACCESS(input, j1 + k1) != (jchar)39/*'\''*/)) { break; } (jcgo_rcvrC1= JCGO_ARRAY_NZCACCESS(input, j1 + k1), JCGO_ARRAY_NZCACCESS(ac2, k1)= jcgo_rcvrC1); } flag5= jtrue; if (k1 == 0) { flag5= (jboolean)jfalse; } if (k1 < (jint)3 && j1 - (jint)1 >= 0 && (!(package_WordFilter__isSpecial__C( JCGO_ARRAY_NZCACCESS(input, j1 - (jint)1))) || JCGO_ARRAY_NZCACCESS(input, j1 - (jint)1) == (jchar)39/*'\''*/)) { flag5= (jboolean)jfalse; } if (flag5 && !(package_WordFilter__containsFragmentHashes__CA( ac2))) { flag4= (jboolean)jtrue; } } } if (!flag4) { filter= (jboolean)jfalse; } } } if (filter) { if (jfalse) { jObject jcgo_rcvrL1; jObject jcgo_rcvrL2; struct java_lang_StringBuilder_s jcgo_stackobj6; struct java_lang_String_s jcgo_stackobj7; struct java_lang_String_s jcgo_stackobj8; struct java_lang_String_s jcgo_stackobj9; (jcgo_rcvrL1= (jObject)JCGO_CLINIT_VARACC(java_lang_System__class, java_lang_System__out), java_io_PrintStream__println__Ls( (java_io_PrintStream)jcgo_rcvrL1, (jcgo_rcvrL2= (jObject)java_lang_StringBuilder__append__Ls( java_lang_StringBuilder__append__Ls( java_lang_StringBuilder__append__Ls( java_lang_StringBuilder__this__( JCGO_STACKOBJ_NEW(jcgo_stackobj6, java_lang_StringBuilder_methods)), JCGO_STRREF_OF(jcgo_string13_WordFltr)), (java_lang_Object__toString__X( (java_lang_Object)wordlist, JCGO_STACKOBJ_NEW(jcgo_stackobj7, java_lang_String_methods)))), JCGO_STRREF_OF(jcgo_string4_WordFltr)), java_lang_String__this__L5dy9e( JCGO_STACKOBJ_NEW(jcgo_stackobj8, java_lang_String_methods), java_lang_StringBuilder__append__Ls( (java_lang_StringBuilder)jcgo_rcvrL2, (java_lang_String__valueOf__IX( charIndex, JCGO_STACKOBJ_NEW(jcgo_stackobj9, java_lang_String_methods)))))))); } { jint i1; i1= charIndex; for (; i1 < inputCharCount; i1++) { JCGO_ARRAY_NZCACCESS(input, i1)= (jchar)42/*'*'*/; } } } } } } } } JCGO_NOSEP_STATIC jint CFASTCALL package_WordFilter__compareLettersNumbers__CCC( jchar filterChar, jchar currentChar, jchar nextChar ) { { if (filterChar == currentChar) { return (jint)1; } if (filterChar == (jchar)101/*'e'*/ && currentChar == (jchar)51/*'3'*/) { return (jint)1; } if (filterChar == (jchar)116/*'t'*/ && (currentChar == (jchar)55/*'7'*/ || currentChar == (jchar)43/*'+'*/)) { return (jint)1; } if (filterChar == (jchar)97/*'a'*/ && (currentChar == (jchar)52/*'4'*/ || currentChar == (jchar)64/*'@'*/)) { return (jint)1; } if (filterChar == (jchar)111/*'o'*/ && currentChar == (jchar)48/*'0'*/) { return (jint)1; } if (filterChar == (jchar)105/*'i'*/ && currentChar == (jchar)49/*'1'*/) { return (jint)1; } if (filterChar == (jchar)115/*'s'*/ && currentChar == (jchar)53/*'5'*/) { return (jint)1; } if (filterChar == (jchar)102/*'f'*/ && currentChar == (jchar)112/*'p'*/ && nextChar == (jchar)104/*'h'*/) { return (jint)2; } return filterChar == (jchar)103/*'g'*/ && currentChar == (jchar)57/*'9'*/? (jint)1 : 0; } } JCGO_NOSEP_STATIC jint CFASTCALL package_WordFilter__compareLettersSymbols__CCC( jchar filterChar, jchar currentChar, jchar nextChar ) { { if (filterChar == (jchar)42/*'*'*/) { return 0; } if (filterChar == currentChar) { return (jint)1; } if (filterChar >= (jchar)97/*'a'*/ && filterChar <= (jchar)122/*'z'*/) { if (filterChar == (jchar)101/*'e'*/) { return currentChar == (jchar)51/*'3'*/? (jint)1 : 0; } if (filterChar == (jchar)116/*'t'*/) { return currentChar == (jchar)55/*'7'*/? (jint)1 : 0; } if (filterChar == (jchar)97/*'a'*/) { return currentChar == (jchar)52/*'4'*/ || currentChar == (jchar)64/*'@'*/? (jint)1 : 0; } if (filterChar == (jchar)111/*'o'*/) { if (currentChar == (jchar)48/*'0'*/ || currentChar == (jchar)42/*'*'*/) { return (jint)1; } return currentChar == (jchar)40/*'('*/ && nextChar == (jchar)41/*')'*/? (jint)2 : 0; } if (filterChar == (jchar)105/*'i'*/) { return currentChar == (jchar)121/*'y'*/ || currentChar == (jchar)108/*'l'*/ || currentChar == (jchar)106/*'j'*/ || currentChar == (jchar)108/*'l'*/ || currentChar == (jchar)33/*'!'*/ || currentChar == (jchar)58/*':'*/ || currentChar == (jchar)59/*';'*/? (jint)1 : 0; } if (filterChar == (jchar)110/*'n'*/) { return 0; } if (filterChar == (jchar)115/*'s'*/) { return currentChar == (jchar)53/*'5'*/ || currentChar == (jchar)122/*'z'*/ || currentChar == (jchar)36/*'$'*/? (jint)1 : 0; } if (filterChar == (jchar)114/*'r'*/) { return 0; } if (filterChar == (jchar)104/*'h'*/) { return 0; } if (filterChar == (jchar)108/*'l'*/) { return currentChar == (jchar)49/*'1'*/? (jint)1 : 0; } if (filterChar == (jchar)100/*'d'*/) { return 0; } if (filterChar == (jchar)99/*'c'*/) { return currentChar == (jchar)40/*'('*/? (jint)1 : 0; } if (filterChar == (jchar)117/*'u'*/) { return currentChar == (jchar)118/*'v'*/? (jint)1 : 0; } if (filterChar == (jchar)109/*'m'*/) { return 0; } if (filterChar == (jchar)102/*'f'*/) { return currentChar == (jchar)112/*'p'*/ && nextChar == (jchar)104/*'h'*/? (jint)2 : 0; } if (filterChar == (jchar)112/*'p'*/) { return 0; } if (filterChar == (jchar)103/*'g'*/) { return currentChar == (jchar)57/*'9'*/ || currentChar == (jchar)54/*'6'*/? (jint)1 : 0; } if (filterChar == (jchar)119/*'w'*/) { return currentChar == (jchar)118/*'v'*/ && nextChar == (jchar)118/*'v'*/? (jint)2 : 0; } if (filterChar == (jchar)121/*'y'*/) { return 0; } if (filterChar == (jchar)98/*'b'*/) { return currentChar == (jchar)49/*'1'*/ && nextChar == (jchar)51/*'3'*/? (jint)2 : 0; } if (filterChar == (jchar)118/*'v'*/) { return 0; } if (filterChar == (jchar)107/*'k'*/) { return 0; } if (filterChar == (jchar)120/*'x'*/) { return currentChar == (jchar)41/*')'*/ && nextChar == (jchar)40/*'('*/? (jint)2 : 0; } if (filterChar == (jchar)106/*'j'*/) { return 0; } if (filterChar == (jchar)113/*'q'*/) { return 0; } if (filterChar == (jchar)122/*'z'*/) { return 0; } } if (filterChar >= (jchar)48/*'0'*/ && filterChar <= (jchar)57/*'9'*/) { if (filterChar == (jchar)48/*'0'*/) { if (currentChar == (jchar)111/*'o'*/ || currentChar == (jchar)79/*'O'*/) { return (jint)1; } return currentChar == (jchar)40/*'('*/ && nextChar == (jchar)41/*')'*/? (jint)2 : 0; } if (filterChar == (jchar)49/*'1'*/) { return currentChar != (jchar)108/*'l'*/? 0 : (jint)1; } if (filterChar == (jchar)50/*'2'*/) { return 0; } if (filterChar == (jchar)51/*'3'*/) { return 0; } if (filterChar == (jchar)52/*'4'*/) { return 0; } if (filterChar == (jchar)53/*'5'*/) { return 0; } if (filterChar == (jchar)54/*'6'*/) { return 0; } if (filterChar == (jchar)55/*'7'*/) { return 0; } if (filterChar == (jchar)56/*'8'*/) { return 0; } if (filterChar == (jchar)57/*'9'*/) { return 0; } } if (filterChar == (jchar)45/*'-'*/) { return 0; } if (filterChar == (jchar)44/*','*/) { return currentChar == (jchar)46/*'.'*/? (jint)1 : 0; } if (filterChar == (jchar)46/*'.'*/) { return currentChar == (jchar)44/*','*/? (jint)1 : 0; } if (filterChar == (jchar)40/*'('*/) { return 0; } if (filterChar == (jchar)41/*')'*/) { return 0; } if (filterChar == (jchar)33/*'!'*/) { return currentChar == (jchar)105/*'i'*/? (jint)1 : 0; } if (filterChar == (jchar)39/*'\''*/) { return 0; } if (jfalse) { jObject jcgo_rcvrL1; struct java_lang_StringBuilder_s jcgo_stackobj1; struct java_lang_String_s jcgo_stackobj2; struct java_lang_String_s jcgo_stackobj3; (jcgo_rcvrL1= (jObject)JCGO_CLINIT_VARACC(java_lang_System__class, java_lang_System__out), java_io_PrintStream__println__Ls( (java_io_PrintStream)jcgo_rcvrL1, java_lang_String__this__L5dy9e( JCGO_STACKOBJ_NEW(jcgo_stackobj3, java_lang_String_methods), java_lang_StringBuilder__append__Ls( java_lang_StringBuilder__append__Ls( java_lang_StringBuilder__append__Ls( java_lang_StringBuilder__this__( JCGO_STACKOBJ_NEW(jcgo_stackobj1, java_lang_StringBuilder_methods)), JCGO_STRREF_OF(jcgo_string14_WordFltr)), (java_lang_String__valueOf__CX( filterChar, JCGO_STACKOBJ_NEW(jcgo_stackobj2, java_lang_String_methods)))), JCGO_STRREF_OF(jcgo_string15_WordFltr))))); } return 0; } } JCGO_NOSEP_STATIC jbyte CFASTCALL package_WordFilter__getCharId__C( jchar c ) { { if (c >= (jchar)97/*'a'*/ && c <= (jchar)122/*'z'*/) { return (jbyte)(c - (jint)97 + (jint)1); } if (c == (jchar)39/*'\''*/) { return (jbyte)(jint)28; } if (c >= (jchar)48/*'0'*/ && c <= (jchar)57/*'9'*/) { return (jbyte)(c - (jint)48 + (jint)29); } else { return (jbyte)(jint)27; } } } JCGO_NOSEP_STATIC jboolean CFASTCALL package_WordFilter__isNotLowercase__C( jchar c ) { { if (c < (jchar)97/*'a'*/ || c > (jchar)122/*'z'*/) { return (jboolean)jtrue; } return (jboolean)(c == (jchar)118/*'v'*/ || c == (jchar)120/*'x'*/ || c == (jchar)106/*'j'*/ || c == (jchar)113/*'q'*/ || c == (jchar)122/*'z'*/); } } JCGO_NOSEP_STATIC package_WordFilter CFASTCALL package_WordFilter__this__( package_WordFilter This ) { { ; } return This; } JCGO_NOSEP_DATA CONST struct package_WordFilter_methods_s package_WordFilter_methods= { JCGO_CLASSREF_OF(package_WordFilter__class), JCGO_GCJDESCR_ZEROINIT OBJT_package_WordFilter, -(JCGO_OBJSIZE_T)sizeof(struct package_WordFilter_s), NULL, JCGO_CLINIT_INIT(0) package_WordFilter__this__, java_lang_Object__equals__Lo, java_lang_Object__hashCode__, java_lang_Object__toString__, java_lang_Object__finalize__ }; JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct package_WordFilter_class_s package_WordFilter__class JCGO_THRD_ATTRNONGC= { { &java_lang_Class_methods, JCGO_MON_INIT JCGO_OBJREF_OF(*(java_lang_Object)&package_WordFilter_methods), JCGO_STRREF_OF(jcgo_string1_WordFltr), JCGO_CLASSREF_OF(java_lang_Object__class), ((jObjectArr)JCGO_OBJREF_OF(jcgo_array3_Object)), 0x101 } }; JCGO_NOSEP_GCDATA jintArr package_WordFilter__hashFragments ATTRIBGCBSS= jnull; JCGO_NOSEP_GCDATA jObjectArr package_WordFilter__badList ATTRIBGCBSS= jnull; JCGO_NOSEP_GCDATA jObjectArr package_WordFilter__badCharIds ATTRIBGCBSS= jnull; JCGO_NOSEP_GCDATA jObjectArr package_WordFilter__hostList ATTRIBGCBSS= jnull; JCGO_NOSEP_GCDATA jObjectArr package_WordFilter__hostCharIds ATTRIBGCBSS= jnull; JCGO_NOSEP_GCDATA jObjectArr package_WordFilter__tldList ATTRIBGCBSS= jnull; JCGO_NOSEP_GCDATA jintArr package_WordFilter__tldType ATTRIBGCBSS= jnull; JCGO_NOSEP_DATA CONST jObjectArr package_WordFilter__ignoreList= ((jObjectArr)JCGO_OBJREF_OF(jcgo_array21_WordFltr)); JCGO_NOSEP_DATA CONST jboolean package_WordFilter__forceLowercase= jtrue; JCGO_NOSEP_DATA CONST jcgo_arrtype12_WordFltr jcgo_array9_WordFltr= { (jvtable)&jcharArr_methods, JCGO_MON_INIT 3, { (jchar)100/*'d'*/, (jchar)111/*'o'*/, (jchar)116/*'t'*/ } }; JCGO_NOSEP_DATA CONST jcgo_arrtype10_WordFltr jcgo_array10_WordFltr= { (jvtable)&jcharArr_methods, JCGO_MON_INIT 5, { (jchar)115/*'s'*/, (jchar)108/*'l'*/, (jchar)97/*'a'*/, (jchar)115/*'s'*/, (jchar)104/*'h'*/ } }; JCGO_NOSEP_DATA CONST jcgo_arrtype69_Mdclnt jcgo_array21_WordFltr= { (jvtable)&jObjectArr_methods, JCGO_MON_INIT 5, JCGO_CLASSREF_OF(java_lang_String__class), { (jObject)JCGO_STRREF_OF(jcgo_string16_WordFltr), (jObject)JCGO_STRREF_OF(jcgo_string17_WordFltr), (jObject)JCGO_STRREF_OF(jcgo_string18_WordFltr), (jObject)JCGO_STRREF_OF(jcgo_string19_WordFltr), (jObject)JCGO_STRREF_OF(jcgo_string20_WordFltr) } }; JCGO_NOSEP_DATA CONST jcgo_arrtype32_GameShll jcgo_array22_WordFltr= { (jvtable)&jbyteArr_methods, JCGO_MON_INIT 10, { (jbyte)(jchar)87/*'W'*/, (jbyte)(jchar)111/*'o'*/, (jbyte)(jchar)114/*'r'*/, (jbyte)(jchar)100/*'d'*/, (jbyte)(jchar)70/*'F'*/, (jbyte)(jchar)105/*'i'*/, (jbyte)(jchar)108/*'l'*/, (jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)114/*'r'*/ } }; JCGO_NOSEP_DATA CONST jcgo_arrtype23_Object jcgo_array23_WordFltr= { (jvtable)&jbyteArr_methods, JCGO_MON_INIT 20, { (jbyte)(jchar)119/*'w'*/, (jbyte)(jchar)111/*'o'*/, (jbyte)(jchar)114/*'r'*/, (jbyte)(jchar)100/*'d'*/, (jbyte)(jchar)50/*'2'*/, (jbyte)(jchar)104/*'h'*/, (jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)115/*'s'*/, (jbyte)(jchar)104/*'h'*/, (jbyte)(jchar)32/*' '*/, (jbyte)(jchar)102/*'f'*/, (jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)105/*'i'*/, (jbyte)(jchar)108/*'l'*/, (jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)100/*'d'*/, (jbyte)(jchar)32/*' '*/, (jbyte)(jchar)111/*'o'*/, (jbyte)(jchar)110/*'n'*/, (jbyte)(jchar)32/*' '*/ } }; JCGO_NOSEP_DATA CONST jcgo_arrtype43_GameShll jcgo_array24_WordFltr= { (jvtable)&jbyteArr_methods, JCGO_MON_INIT 15, { (jbyte)(jchar)80/*'P'*/, (jbyte)(jchar)111/*'o'*/, (jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)110/*'n'*/, (jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)105/*'i'*/, (jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)108/*'l'*/, (jbyte)(jchar)32/*' '*/, (jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)108/*'l'*/, (jbyte)(jchar)100/*'d'*/, (jbyte)(jchar)58/*':'*/, (jbyte)(jchar)32/*' '*/ } }; JCGO_NOSEP_DATA CONST jcgo_arrtype28_GameShll jcgo_array25_WordFltr= { (jvtable)&jbyteArr_methods, JCGO_MON_INIT 9, { (jbyte)(jchar)32/*' '*/, (jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)32/*' '*/, (jbyte)(jchar)99/*'c'*/, (jbyte)(jchar)104/*'h'*/, (jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)114/*'r'*/, (jbyte)(jchar)32/*' '*/ } }; JCGO_NOSEP_DATA CONST jcgo_arrtype24_Object jcgo_array26_WordFltr= { (jvtable)&jbyteArr_methods, JCGO_MON_INIT 7, { (jbyte)(jchar)32/*' '*/, (jbyte)(jchar)40/*'('*/, (jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)121/*'y'*/, (jbyte)(jchar)112/*'p'*/, (jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)61/*'='*/ } }; JCGO_NOSEP_DATA CONST jcgo_arrtype30_GameShll jcgo_array27_WordFltr= { (jvtable)&jbyteArr_methods, JCGO_MON_INIT 13, { (jbyte)(jchar)44/*','*/, (jbyte)(jchar)32/*' '*/, (jbyte)(jchar)115/*'s'*/, (jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)114/*'r'*/, (jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)109/*'m'*/, (jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)99/*'c'*/, (jbyte)(jchar)104/*'h'*/, (jbyte)(jchar)61/*'='*/ } }; JCGO_NOSEP_DATA CONST jcgo_arrtype22_Object jcgo_array28_WordFltr= { (jvtable)&jbyteArr_methods, JCGO_MON_INIT 16, { (jbyte)(jchar)80/*'P'*/, (jbyte)(jchar)111/*'o'*/, (jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)110/*'n'*/, (jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)105/*'i'*/, (jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)108/*'l'*/, (jbyte)(jchar)32/*' '*/, (jbyte)(jchar)119/*'w'*/, (jbyte)(jchar)111/*'o'*/, (jbyte)(jchar)114/*'r'*/, (jbyte)(jchar)100/*'d'*/, (jbyte)(jchar)58/*':'*/, (jbyte)(jchar)32/*' '*/ } }; JCGO_NOSEP_DATA CONST jcgo_arrtype43_GameShll jcgo_array29_WordFltr= { (jvtable)&jbyteArr_methods, JCGO_MON_INIT 15, { (jbyte)(jchar)70/*'F'*/, (jbyte)(jchar)105/*'i'*/, (jbyte)(jchar)108/*'l'*/, (jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)114/*'r'*/, (jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)100/*'d'*/, (jbyte)(jchar)32/*' '*/, (jbyte)(jchar)119/*'w'*/, (jbyte)(jchar)111/*'o'*/, (jbyte)(jchar)114/*'r'*/, (jbyte)(jchar)100/*'d'*/, (jbyte)(jchar)58/*':'*/, (jbyte)(jchar)32/*' '*/ } }; JCGO_NOSEP_DATA CONST jcgo_arrtype24_Object jcgo_array30_WordFltr= { (jvtable)&jbyteArr_methods, JCGO_MON_INIT 7, { (jbyte)(jchar)76/*'L'*/, (jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)114/*'r'*/, (jbyte)(jchar)61/*'='*/ } }; JCGO_NOSEP_DATA CONST jcgo_arrtype30_Object jcgo_array31_WordFltr= { (jvtable)&jbyteArr_methods, JCGO_MON_INIT 5, { (jbyte)(jchar)99/*'c'*/, (jbyte)(jchar)111/*'o'*/, (jbyte)(jchar)111/*'o'*/, (jbyte)(jchar)107/*'k'*/, (jbyte)(jchar)115/*'s'*/ } }; JCGO_NOSEP_DATA CONST jcgo_arrtype2_BZLib jcgo_array32_WordFltr= { (jvtable)&jbyteArr_methods, JCGO_MON_INIT 6, { (jbyte)(jchar)99/*'c'*/, (jbyte)(jchar)111/*'o'*/, (jbyte)(jchar)111/*'o'*/, (jbyte)(jchar)107/*'k'*/, (jbyte)(jchar)39/*'\''*/, (jbyte)(jchar)115/*'s'*/ } }; JCGO_NOSEP_DATA CONST jcgo_arrtype30_Object jcgo_array33_WordFltr= { (jvtable)&jbyteArr_methods, JCGO_MON_INIT 5, { (jbyte)(jchar)115/*'s'*/, (jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)107/*'k'*/, (jbyte)(jchar)115/*'s'*/ } }; JCGO_NOSEP_DATA CONST jcgo_arrtype30_Object jcgo_array34_WordFltr= { (jvtable)&jbyteArr_methods, JCGO_MON_INIT 5, { (jbyte)(jchar)115/*'s'*/, (jbyte)(jchar)104/*'h'*/, (jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)116/*'t'*/ } }; JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string1_WordFltr JCGO_THRD_ATTRNONGC= { &java_lang_String_methods, JCGO_MON_INIT (java_lang_Object)JCGO_OBJREF_OF(jcgo_array22_WordFltr), 0, 10, (jint)0xb8446b42L }; JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string2_WordFltr JCGO_THRD_ATTRNONGC= { &java_lang_String_methods, JCGO_MON_INIT (java_lang_Object)JCGO_OBJREF_OF(jcgo_array23_WordFltr), 0, 20, (jint)0xc4c32a8L }; JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string3_WordFltr JCGO_THRD_ATTRNONGC= { &java_lang_String_methods, JCGO_MON_INIT (java_lang_Object)JCGO_OBJREF_OF(jcgo_array24_WordFltr), 0, 15, (jint)0x8671ba70L }; JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string4_WordFltr JCGO_THRD_ATTRNONGC= { &java_lang_String_methods, JCGO_MON_INIT (java_lang_Object)JCGO_OBJREF_OF(jcgo_array25_WordFltr), 0, 9, (jint)0x1971a57dL }; JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string5_WordFltr JCGO_THRD_ATTRNONGC= { &java_lang_String_methods, JCGO_MON_INIT (java_lang_Object)JCGO_OBJREF_OF(jcgo_array26_WordFltr), 0, 7, (jint)0xe7a4993bL }; JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string6_WordFltr JCGO_THRD_ATTRNONGC= { &java_lang_String_methods, JCGO_MON_INIT (java_lang_Object)JCGO_OBJREF_OF(jcgo_array27_WordFltr), 0, 13, (jint)0xb0d19c06L }; JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string7_WordFltr JCGO_THRD_ATTRNONGC= { &java_lang_String_methods, JCGO_MON_INIT (java_lang_Object)JCGO_OBJREF_OF(jcgo_array8_Hshtbl), 0, 11, (jint)0xabba74bfL }; JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string8_WordFltr JCGO_THRD_ATTRNONGC= { &java_lang_String_methods, JCGO_MON_INIT (java_lang_Object)JCGO_OBJREF_OF(jcgo_array497_VMSstmPr), 0, 14, (jint)0x975ec9e9L }; JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string11_WordFltr JCGO_THRD_ATTRNONGC= { &java_lang_String_methods, JCGO_MON_INIT (java_lang_Object)JCGO_OBJREF_OF(jcgo_array28_WordFltr), 0, 16, (jint)0x4d156212L }; JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string13_WordFltr JCGO_THRD_ATTRNONGC= { &java_lang_String_methods, JCGO_MON_INIT (java_lang_Object)JCGO_OBJREF_OF(jcgo_array29_WordFltr), 0, 15, (jint)0x59ca41b9L }; JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string14_WordFltr JCGO_THRD_ATTRNONGC= { &java_lang_String_methods, JCGO_MON_INIT (java_lang_Object)JCGO_OBJREF_OF(jcgo_array30_WordFltr), 0, 7, (jint)0x674bf8b7L }; JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string15_WordFltr JCGO_THRD_ATTRNONGC= { &java_lang_String_methods, JCGO_MON_INIT (java_lang_Object)JCGO_OBJREF_OF(jcgo_array458_VMSstmPr), 0, 12, (jint)0x3997f8b7L }; JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string16_WordFltr JCGO_THRD_ATTRNONGC= { &java_lang_String_methods, JCGO_MON_INIT (java_lang_Object)JCGO_OBJREF_OF(jcgo_array31_WordFltr), 0, 4, (jint)0x2eaf48L }; JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string17_WordFltr JCGO_THRD_ATTRNONGC= { &java_lang_String_methods, JCGO_MON_INIT (java_lang_Object)JCGO_OBJREF_OF(jcgo_array32_WordFltr), 0, 6, (jint)0xaf400274L }; JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string18_WordFltr JCGO_THRD_ATTRNONGC= { &java_lang_String_methods, JCGO_MON_INIT (java_lang_Object)JCGO_OBJREF_OF(jcgo_array31_WordFltr), 0, 5, (jint)0x5a73a2bL }; JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string19_WordFltr JCGO_THRD_ATTRNONGC= { &java_lang_String_methods, JCGO_MON_INIT (java_lang_Object)JCGO_OBJREF_OF(jcgo_array33_WordFltr), 0, 5, (jint)0x68400fbL }; JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string20_WordFltr JCGO_THRD_ATTRNONGC= { &java_lang_String_methods, JCGO_MON_INIT (java_lang_Object)JCGO_OBJREF_OF(jcgo_array34_WordFltr), 0, 5, (jint)0x6855d5fL }; #ifdef CHKALL_WordFilter #include "jcgochke.h" #endif #endif