Lines Matching refs:T
295 template< typename T, typename StringT >
299 sal_Int32 nDecPlaces, typename T::Char cDecSeparator, in doubleToString()
301 typename T::Char cGroupSeparator, in doubleToString()
322 T::createBuffer(pResult, pResultCapacity); in doubleToString()
325 T::appendAscii(pResult, pResultCapacity, &nResultOffset, in doubleToString()
339 T::createBuffer(pResult, pResultCapacity); in doubleToString()
343 T::appendAscii(pResult, pResultCapacity, &nResultOffset, in doubleToString()
345 T::appendAscii(pResult, pResultCapacity, &nResultOffset, in doubleToString()
424 typename T::Char aBuf[nBufMax]; in doubleToString()
425 typename T::Char * pBuf; in doubleToString()
431 pBuf = reinterpret_cast< typename T::Char * >( in doubleToString()
432 rtl_allocateMemory(nBuf * sizeof (typename T::Char))); in doubleToString()
437 typename T::Char * p = pBuf; in doubleToString()
439 *p++ = static_cast< typename T::Char >('-'); in doubleToString()
449 *p++ = static_cast< typename T::Char >('0'); in doubleToString()
457 *p++ = static_cast< typename T::Char >('0'); in doubleToString()
504 *p++ = static_cast< typename T::Char >('1'); in doubleToString()
505 *p++ = static_cast< typename T::Char >('0'); in doubleToString()
509 *p++ = static_cast< typename T::Char >('1'); in doubleToString()
511 *p++ = static_cast< typename T::Char >('0'); in doubleToString()
520 typename T::Char cS = pBuf[j]; in doubleToString()
523 if ( cS != static_cast< typename T::Char >('9')) in doubleToString()
531 = static_cast< typename T::Char >('0'); in doubleToString()
536 typename T::Char * px = p++; in doubleToString()
543 typename T::Char >('1'); in doubleToString()
548 typename T::Char >('1'); in doubleToString()
555 *p++ = static_cast< typename T::Char >('0'); in doubleToString()
561 *p++ = static_cast< typename T::Char >( in doubleToString()
562 nDigit + static_cast< typename T::Char >('0') ); in doubleToString()
567 *p++ = static_cast< typename T::Char >('0'); in doubleToString()
599 *p++ = static_cast< typename T::Char >('0'); in doubleToString()
605 while ( *(p-1) == static_cast< typename T::Char >('0') ) in doubleToString()
617 *p++ = static_cast< typename T::Char >('1'); in doubleToString()
619 *p++ = static_cast< typename T::Char >('E'); in doubleToString()
623 *p++ = static_cast< typename T::Char >('-'); in doubleToString()
626 *p++ = static_cast< typename T::Char >('+'); in doubleToString()
628 *p++ = static_cast< typename T::Char >( in doubleToString()
629 nExp / 100 + static_cast< typename T::Char >('0') ); in doubleToString()
631 *p++ = static_cast< typename T::Char >( in doubleToString()
632 nExp / 10 + static_cast< typename T::Char >('0') ); in doubleToString()
633 *p++ = static_cast< typename T::Char >( in doubleToString()
634 nExp % 10 + static_cast< typename T::Char >('0') ); in doubleToString()
638 T::createString(pResult, pBuf, p - pBuf); in doubleToString()
640 T::appendChars(pResult, pResultCapacity, &nResultOffset, pBuf, in doubleToString()