Lines Matching refs:sal_Int16
40 sal_Int16 number;
42 sal_Int16 numberFlag;
43 sal_Int16 exponentCount;
44 sal_Int16 *multiplierExponent;
73 … Sequence< sal_Int32 >& offset, sal_Bool useOffset, sal_Int16 number ) throw(RuntimeException) in AsciiToNativeChar()
100 …sal_Unicode *dst, sal_Int32& count, sal_Int16 multiChar_index, Sequence< sal_Int32 >& offset, sal_… in AsciiToNative_numberMaker()
106 sal_Int16 i; in AsciiToNative_numberMaker()
147 for (sal_Int16 i = 1; i <= number->exponentCount; i++) { in AsciiToNative_numberMaker()
256 static void SAL_CALL NativeToAscii_numberMaker(sal_Int16 max, sal_Int16 prev, const sal_Unicode *st… in NativeToAscii_numberMaker()
260 sal_Int16 curr = 0, num = 0, end = 0, shift = 0; in NativeToAscii_numberMaker()
262 if ((curr = sal::static_int_cast<sal_Int16>( numberChar.indexOf(str[i]) )) >= 0) { in NativeToAscii_numberMaker()
266 … } else if ((curr = sal::static_int_cast<sal_Int16>( multiplierChar.indexOf(str[i]) )) >= 0) { in NativeToAscii_numberMaker()
284 for (sal_Int16 j = 0; j < shift; j++, count++) { in NativeToAscii_numberMaker()
338 … sal::static_int_cast<sal_Int16>( index ), sal::static_int_cast<sal_Int16>( index ), in NativeToAscii()
469 static sal_Int16 nbOfLocale = sizeof(natnum1Locales)/sizeof(natnum1Locales[0]);
473 static sal_Int16 natnum1[] = {
500 static sal_Int16 sizeof_natnum1 = sizeof(natnum1)/sizeof(natnum1[0]);
504 static sal_Int16 natnum2[] = {
511 static sal_Int16 sizeof_natnum2 = sizeof(natnum2)/sizeof(natnum2[0]);
516 static sal_Int16 SAL_CALL getLanguageNumber( const Locale& rLocale) in getLanguageNumber()
521 for (sal_Int16 i = 2; i < nbOfLocale; i++) in getLanguageNumber()
529 sal_Int16 nNativeNumberMode, Sequence< sal_Int32 >& offset) throw (RuntimeException) in getNativeNumberString()
532 sal_Int16 num = -1; in getNativeNumberString()
535 sal_Int16 langnum = getLanguageNumber(rLocale); in getNativeNumberString()
607 sal_Int16 nNativeNumberMode) throw (RuntimeException) in getNativeNumberString()
613 …::getNativeNumberChar( const sal_Unicode inChar, const Locale& rLocale, sal_Int16 nNativeNumberMod… in getNativeNumberChar()
616 for (sal_Int16 i = 0; i < NumberChar_Count; i++) in getNativeNumberChar()
617 for (sal_Int16 j = 0; j < 10; j++) in getNativeNumberChar()
623 sal_Int16 langnum = getLanguageNumber(rLocale); in getNativeNumberChar()
647 sal_Bool SAL_CALL NativeNumberSupplier::isValidNatNum( const Locale& rLocale, sal_Int16 nNativeNumb… in isValidNatNum()
649 sal_Int16 langnum = getLanguageNumber(rLocale); in isValidNatNum()
674 …LL NativeNumberSupplier::convertToXmlAttributes( const Locale& rLocale, sal_Int16 nNativeNumberMod… in convertToXmlAttributes()
676 static const sal_Int16 attShort = 0; in convertToXmlAttributes()
677 static const sal_Int16 attMedium = 1; in convertToXmlAttributes()
678 static const sal_Int16 attLong = 2; in convertToXmlAttributes()
681 sal_Int16 number = NumberChar_HalfWidth, type = attShort; in convertToXmlAttributes()
684 sal_Int16 langnum = getLanguageNumber(rLocale); in convertToXmlAttributes()
742 static sal_Bool natNumIn(sal_Int16 num, sal_Int16 natnum[], sal_Int16 len) in natNumIn()
744 for (sal_Int16 i = 0; i < len; i++) in natNumIn()
750 sal_Int16 SAL_CALL NativeNumberSupplier::convertFromXmlAttributes( const NativeNumberXmlAttributes&… in convertFromXmlAttributes()
753 for (sal_Int16 i = 0; i < NumberChar_Count; i++) in convertFromXmlAttributes()
757 sal_Int16 num = sal::static_int_cast<sal_Int16>( number.indexOf(aAttr.Format) ); in convertFromXmlAttributes()
799 sal_Int16 value;
826 static sal_Int16 nbOfHebrewNumberChar = sizeof(HebrewNumberCharArray)/sizeof(HebrewNumberChar);
836 sal_Int16 num = sal::static_int_cast<sal_Int16>(value % 1000); in makeHebrewNumber()
845 sal_Int16 nbOfChar = 0; in makeHebrewNumber()
851 num = sal::static_int_cast<sal_Int16>( num - HebrewNumberCharArray[j].value ); in makeHebrewNumber()