Lines Matching refs:count
100 …sal_Unicode *dst, sal_Int32& count, sal_Int16 multiChar_index, Sequence< sal_Int32 >& offset, sal_… in AsciiToNative_numberMaker() argument
110 dst[count] = numberChar[str[begin] - NUMBER_ZERO]; in AsciiToNative_numberMaker()
112 offset[count] = begin + startPos; in AsciiToNative_numberMaker()
113 count++; in AsciiToNative_numberMaker()
118 dst[count] = multiChar; in AsciiToNative_numberMaker()
120 offset[count] = begin + startPos; in AsciiToNative_numberMaker()
121 count++; in AsciiToNative_numberMaker()
126 dst[count] = numberChar[str[begin] - NUMBER_ZERO]; in AsciiToNative_numberMaker()
128 offset[count] = begin + startPos; in AsciiToNative_numberMaker()
129 count++; in AsciiToNative_numberMaker()
132 dst[count] = multiChar; in AsciiToNative_numberMaker()
134 offset[count] = begin + startPos; in AsciiToNative_numberMaker()
135 count++; in AsciiToNative_numberMaker()
137 …} else if (!(number->numberFlag & NUMBER_OMIT_ZERO) && count > 0 && dst[count-1] != numberChar[0])… in AsciiToNative_numberMaker()
138 dst[count] = numberChar[0]; in AsciiToNative_numberMaker()
140 offset[count] = begin + startPos; in AsciiToNative_numberMaker()
141 count++; in AsciiToNative_numberMaker()
150 printPower |= AsciiToNative_numberMaker(str, begin, tmp, dst, count, in AsciiToNative_numberMaker()
157 if (count > 0 && number->multiplierExponent[number->exponentCount-1] == 1 && in AsciiToNative_numberMaker()
158 dst[count-1] == numberChar[0]) in AsciiToNative_numberMaker()
159 count--; in AsciiToNative_numberMaker()
161 dst[count] = multiChar; in AsciiToNative_numberMaker()
163 offset[count] = begin + startPos; in AsciiToNative_numberMaker()
164 count++; in AsciiToNative_numberMaker()
184 sal_Int32 i, len = 0, count = 0; in AsciiToNative() local
193 newStr->buffer[count] = numberChar[str[i] - NUMBER_ZERO]; in AsciiToNative()
195 offset[count] = i + startPos; in AsciiToNative()
196 count++; in AsciiToNative()
208 sal_Int32 _count = count; in AsciiToNative()
209 … notZero |= AsciiToNative_numberMaker(srcStr->buffer, begin, end - begin, newStr->buffer, count, in AsciiToNative()
211 … if (count > 0 && number->multiplierExponent[number->exponentCount-1] == 1 && in AsciiToNative()
212 newStr->buffer[count-1] == numberChar[0]) in AsciiToNative()
213 count--; in AsciiToNative()
214 if (notZero && _count == count) { in AsciiToNative()
216 newStr->buffer[count] = number->multiplierChar[0]; in AsciiToNative()
218 offset[count] = i - len + startPos; in AsciiToNative()
219 count++; in AsciiToNative()
224 newStr->buffer[count] = numberChar[0]; in AsciiToNative()
226 offset[count] = i - len + startPos; in AsciiToNative()
227 count++; 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()
239 newStr->buffer[count] = str[i]; in AsciiToNative()
241 offset[count] = i + startPos; in AsciiToNative()
242 count++; in AsciiToNative()
248 offset.realloc(count); in AsciiToNative()
249 OUString resultStr( newStr->buffer, count ); in AsciiToNative()
257 …sal_Int32& i, sal_Int32 nCount, sal_Unicode *dst, sal_Int32& count, Sequence< sal_Int32 >& offset,… in NativeToAscii_numberMaker() argument
277 dst[count] = NUMBER_ZERO + (end == prev ? num : 0); in NativeToAscii_numberMaker()
279 offset[count] = i; in NativeToAscii_numberMaker()
280 count++; in NativeToAscii_numberMaker()
283 count -= max; in NativeToAscii_numberMaker()
284 for (sal_Int16 j = 0; j < shift; j++, count++) { in NativeToAscii_numberMaker()
285 dst[count] = dst[count + curr]; in NativeToAscii_numberMaker()
287 offset[count] = offset[count + curr]; in NativeToAscii_numberMaker()
292 count, offset, useOffset, numberChar, multiplierChar); in NativeToAscii_numberMaker()
298 dst[count] = NUMBER_ZERO + (end == prev ? num : 0); in NativeToAscii_numberMaker()
300 offset[count] = i - 1; in NativeToAscii_numberMaker()
301 count++; in NativeToAscii_numberMaker()
318 sal_Int32 count = 0, index; in NativeToAscii() local
330 … if (count == 0 || !isNumber(newStr->buffer[count-1])) { // add 1 in front of multiplier in NativeToAscii()
331 newStr->buffer[count] = NUMBER_ONE; in NativeToAscii()
333 offset[count] = i; in NativeToAscii()
334 count++; in NativeToAscii()
339 str, i, nCount, newStr->buffer, count, offset, useOffset, in NativeToAscii()
343 … newStr->buffer[count] = sal::static_int_cast<sal_Unicode>( (index % 10) + NUMBER_ZERO ); in NativeToAscii()
347 newStr->buffer[count] = SeparatorChar[NumberChar_HalfWidth]; in NativeToAscii()
353 newStr->buffer[count] = DecimalChar[NumberChar_HalfWidth]; in NativeToAscii()
359 newStr->buffer[count] = MinusChar[NumberChar_HalfWidth]; in NativeToAscii()
361 newStr->buffer[count] = str[i]; in NativeToAscii()
363 offset[count] = i; in NativeToAscii()
364 count++; in NativeToAscii()
369 offset.realloc(count); in NativeToAscii()
370 for (i = 0; i < count; i++) in NativeToAscii()
373 OUString resultStr( newStr->buffer, count ); in NativeToAscii()
867 sal_Int32 i, count = 0, len = aNumberString.getLength(); in getHebrewNativeNumberString() local
874 if (++count >= 20) // Number is too long, could not be handled. in getHebrewNativeNumberString()
878 else if (isSeparator(ch) && count > 0) continue; in getHebrewNativeNumberString()
879 else if (isMinus(ch) && count == 0) neg = sal_True; in getHebrewNativeNumberString()
884 OUStringBuffer output(count*2 + 2 + len - i); in getHebrewNativeNumberString()