Lines Matching refs:ch

299 unicode::getUnicodeScriptType( const sal_Unicode ch, ScriptTypeList* typeList, sal_Int16 unknownTyp…  in getUnicodeScriptType()  argument
307 while (type < UnicodeScript_kScriptCount && ch > UnicodeScriptType[type][UnicodeScriptTypeTo]) { in getUnicodeScriptType()
312 ch >= UnicodeScriptType[typeList[i].from][UnicodeScriptTypeFrom]) ? in getUnicodeScriptType()
317 unicode::isUnicodeScriptType( const sal_Unicode ch, sal_Int16 type) { in isUnicodeScriptType() argument
318 return ch >= UnicodeScriptType[type][UnicodeScriptTypeFrom] && in isUnicodeScriptType()
319 ch <= UnicodeScriptType[type][UnicodeScriptTypeTo]; in isUnicodeScriptType()
333 unicode::getUnicodeType( const sal_Unicode ch ) { in getUnicodeType() argument
337 if (ch == c) return r; in getUnicodeType()
338 else c = ch; in getUnicodeType()
340 sal_Int16 address = UnicodeTypeIndex[ch >> 8]; in getUnicodeType()
342 UnicodeTypeValue[((address - UnicodeTypeNumberBlock) << 8) + (ch & 0xff)]); in getUnicodeType()
346 unicode::getUnicodeDirection( const sal_Unicode ch ) { in getUnicodeDirection() argument
350 if (ch == c) return r; in getUnicodeDirection()
351 else c = ch; in getUnicodeDirection()
353 sal_Int16 address = UnicodeDirectionIndex[ch >> 8]; in getUnicodeDirection()
355 UnicodeDirectionValue[((address - UnicodeDirectionNumberBlock) << 8) + (ch & 0xff)]); in getUnicodeDirection()
403 sal_Bool SAL_CALL func( const sal_Unicode ch) {\
404 return (bit(getUnicodeType(ch)) & (mask)) != 0;\
422 sal_Bool SAL_CALL unicode::isWhiteSpace( const sal_Unicode ch) { in IsType()
423 return (ch != 0xa0 && isSpace(ch)) || (ch <= 0x1F && (bit(ch) & (CONTROLSPACE))); in IsType()
426 sal_Int32 SAL_CALL unicode::getCharType( const sal_Unicode ch ) in getCharType() argument
430 switch ( getUnicodeType( ch ) ) { in getCharType()