Lines Matching refs:number
40 sal_Int16 number; member
73 … Sequence< sal_Int32 >& offset, sal_Bool useOffset, sal_Int16 number ) throw(RuntimeException) in AsciiToNativeChar() argument
83 newStr->buffer[i] = NumberChar[number][ ch - NUMBER_ZERO ]; in AsciiToNativeChar()
86 newStr->buffer[i] = SeparatorChar[number] ? SeparatorChar[number] : ch; in AsciiToNativeChar()
88 … newStr->buffer[i] = isDecimal(ch) ? (DecimalChar[number] ? DecimalChar[number] : ch) : in AsciiToNativeChar()
89 isMinus(ch) ? (MinusChar[number] ? MinusChar[number] : ch) : ch; in AsciiToNativeChar()
101 Number *number, sal_Unicode* numberChar) in AsciiToNative_numberMaker() argument
103 … sal_Unicode multiChar = (multiChar_index == -1 ? 0 : number->multiplierChar[multiChar_index]); in AsciiToNative_numberMaker()
104 if ( len <= number->multiplierExponent[number->exponentCount-1] ) { in AsciiToNative_numberMaker()
105 if (number->multiplierExponent[number->exponentCount-1] > 1) { in AsciiToNative_numberMaker()
125 …if (!(number->numberFlag & (multiChar_index < 0 ? 0 : NUMBER_OMIT_ONE_CHECK(multiChar_index))) || … in AsciiToNative_numberMaker()
137 …} else if (!(number->numberFlag & NUMBER_OMIT_ZERO) && count > 0 && dst[count-1] != numberChar[0])… in AsciiToNative_numberMaker()
147 for (sal_Int16 i = 1; i <= number->exponentCount; i++) { in AsciiToNative_numberMaker()
148 … sal_Int32 tmp = len - (i == number->exponentCount ? 0 : number->multiplierExponent[i]); in AsciiToNative_numberMaker()
151 … (i == number->exponentCount ? -1 : i), offset, useOffset, startPos, number, numberChar); in AsciiToNative_numberMaker()
157 if (count > 0 && number->multiplierExponent[number->exponentCount-1] == 1 && in AsciiToNative_numberMaker()
172 Sequence< sal_Int32 >& offset, sal_Bool useOffset, Number* number ) throw(RuntimeException) in AsciiToNative() argument
175 sal_Unicode *numberChar = NumberChar[number->number]; in AsciiToNative()
205 for (sal_Int32 begin = 0, end = len % number->multiplierExponent[0]; in AsciiToNative()
206 end <= len; begin = end, end += number->multiplierExponent[0]) { in AsciiToNative()
210 … end == len ? -1 : 0, offset, useOffset, i - len + startPos, number, numberChar); in AsciiToNative()
211 … if (count > 0 && number->multiplierExponent[number->exponentCount-1] == 1 && in AsciiToNative()
216 newStr->buffer[count] = number->multiplierChar[0]; in AsciiToNative()
223 if (! notZero && ! (number->numberFlag & NUMBER_OMIT_ONLY_ZERO)) { in AsciiToNative()
233 … newStr->buffer[count] = (DecimalChar[number->number] ? DecimalChar[number->number] : str[i]); in AsciiToNative()
235 … newStr->buffer[count] = (MinusChar[number->number] ? MinusChar[number->number] : str[i]); in AsciiToNative()
237 … newStr->buffer[count] = (SeparatorChar[number->number] ? SeparatorChar[number->number] : str[i]); in AsciiToNative()
531 Number *number = 0; in getNativeNumberString() local
549 number = &natnum4[langnum]; in getNativeNumberString()
552 number = &natnum5[langnum]; in getNativeNumberString()
555 number = &natnum6[langnum]; in getNativeNumberString()
558 number = &natnum7[langnum]; in getNativeNumberString()
561 number = &natnum8[langnum]; in getNativeNumberString()
567 number = &natnum10; in getNativeNumberString()
570 number = &natnum11; in getNativeNumberString()
577 if (number || num >= 0) { in getNativeNumberString()
594 if (number) in getNativeNumberString()
595 … return AsciiToNative( aNumberString, 0, aNumberString.getLength(), offset, useOffset, number ); in getNativeNumberString()
681 sal_Int16 number = NumberChar_HalfWidth, type = attShort; in convertToXmlAttributes() local
687 number = NumberChar_HalfWidth; in convertToXmlAttributes()
691 number = natnum1[langnum]; in convertToXmlAttributes()
695 number = natnum2[langnum]; in convertToXmlAttributes()
696 type = number == NumberChar_he ? attMedium : attShort; in convertToXmlAttributes()
699 number = NumberChar_FullWidth; in convertToXmlAttributes()
703 number = natnum1[langnum]; in convertToXmlAttributes()
707 number = natnum2[langnum]; in convertToXmlAttributes()
711 number = NumberChar_FullWidth; in convertToXmlAttributes()
715 number = natnum1[langnum]; in convertToXmlAttributes()
719 number = natnum2[langnum]; in convertToXmlAttributes()
723 number = NumberChar_Hangul_ko; in convertToXmlAttributes()
727 number = NumberChar_Hangul_ko; in convertToXmlAttributes()
731 number = NumberChar_Hangul_ko; in convertToXmlAttributes()
738 return NativeNumberXmlAttributes(rLocale, OUString(&NumberChar[number][1], 1), in convertToXmlAttributes()
755 OUString number(numberChar, NumberChar_Count); in convertFromXmlAttributes() local
757 sal_Int16 num = sal::static_int_cast<sal_Int16>( number.indexOf(aAttr.Format) ); in convertFromXmlAttributes()