Lines Matching refs:pBuf
1275 static sal_Unicode* ImplAddUNum( sal_Unicode* pBuf, sal_uInt64 nNumber ) in ImplAddUNum() argument
1292 *pBuf = *pTempBuf; in ImplAddUNum()
1293 pBuf++; in ImplAddUNum()
1297 return pBuf; in ImplAddUNum()
1301 static sal_Unicode* ImplAddUNum( sal_Unicode* pBuf, sal_uInt64 nNumber, int nMinLen ) in ImplAddUNum() argument
1318 *pBuf = '0'; in ImplAddUNum()
1319 pBuf++; in ImplAddUNum()
1327 *pBuf = *pTempBuf; in ImplAddUNum()
1328 pBuf++; in ImplAddUNum()
1332 return pBuf; in ImplAddUNum()
1336 static sal_Unicode* ImplAdd2UNum( sal_Unicode* pBuf, sal_uInt16 nNumber, int bLeading ) in ImplAdd2UNum() argument
1344 *pBuf = '0'; in ImplAdd2UNum()
1345 pBuf++; in ImplAdd2UNum()
1347 *pBuf = nNumber + '0'; in ImplAdd2UNum()
1353 *pBuf = nNumber + '0'; in ImplAdd2UNum()
1354 pBuf++; in ImplAdd2UNum()
1355 *pBuf = nTemp + '0'; in ImplAdd2UNum()
1358 pBuf++; in ImplAdd2UNum()
1359 return pBuf; in ImplAdd2UNum()
1363 inline sal_Unicode* ImplAddString( sal_Unicode* pBuf, const String& rStr ) in ImplAddString() argument
1366 *pBuf++ = rStr.GetChar(0); in ImplAddString()
1371 memcpy( pBuf, rStr.GetBuffer(), rStr.Len() * sizeof(sal_Unicode) ); in ImplAddString()
1372 pBuf += rStr.Len(); in ImplAddString()
1374 return pBuf; in ImplAddString()
1378 inline sal_Unicode* ImplAddString( sal_Unicode* pBuf, sal_Unicode c ) in ImplAddString() argument
1380 *pBuf = c; in ImplAddString()
1381 pBuf++; in ImplAddString()
1382 return pBuf; in ImplAddString()
1386 inline sal_Unicode* ImplAddString( sal_Unicode* pBuf, const sal_Unicode* pCopyBuf, xub_StrLen nLen ) in ImplAddString() argument
1388 memcpy( pBuf, pCopyBuf, nLen * sizeof(sal_Unicode) ); in ImplAddString()
1389 return pBuf + nLen; in ImplAddString()
1393 sal_Unicode* LocaleDataWrapper::ImplAddFormatNum( sal_Unicode* pBuf, in ImplAddFormatNum() argument
1408 *pBuf = '-'; in ImplAddFormatNum()
1409 pBuf++; in ImplAddFormatNum()
1424 *pBuf = '0'; in ImplAddFormatNum()
1425 pBuf++; in ImplAddFormatNum()
1432 *pBuf = '0'; in ImplAddFormatNum()
1433 pBuf++; in ImplAddFormatNum()
1437 pBuf = ImplAddString( pBuf, getNumDecimalSep() ); in ImplAddFormatNum()
1442 *pBuf = '0'; in ImplAddFormatNum()
1443 pBuf++; in ImplAddFormatNum()
1450 *pBuf = *pNumBuf; in ImplAddFormatNum()
1451 pBuf++; in ImplAddFormatNum()
1469 *pBuf = *pNumBuf; in ImplAddFormatNum()
1470 pBuf++; in ImplAddFormatNum()
1475 pBuf = ImplAddString( pBuf, rThoSep ); in ImplAddFormatNum()
1481 pBuf = ImplAddString( pBuf, getNumDecimalSep() ); in ImplAddFormatNum()
1489 *pBuf = *pNumBuf; in ImplAddFormatNum()
1490 pBuf++; in ImplAddFormatNum()
1497 pBuf -= nDecimals+1; in ImplAddFormatNum()
1501 return pBuf; in ImplAddFormatNum()
1512 sal_Unicode* pBuf = aBuf; in getDate() local
1529 pBuf = ImplAdd2UNum( pBuf, nDay, sal_True /* IsDateDayLeadingZero() */ ); in getDate()
1530 pBuf = ImplAddString( pBuf, getDateSep() ); in getDate()
1531 pBuf = ImplAdd2UNum( pBuf, nMonth, sal_True /* IsDateMonthLeadingZero() */ ); in getDate()
1532 pBuf = ImplAddString( pBuf, getDateSep() ); in getDate()
1533 pBuf = ImplAddUNum( pBuf, nYear, nYearLen ); in getDate()
1536 pBuf = ImplAdd2UNum( pBuf, nMonth, sal_True /* IsDateMonthLeadingZero() */ ); in getDate()
1537 pBuf = ImplAddString( pBuf, getDateSep() ); in getDate()
1538 pBuf = ImplAdd2UNum( pBuf, nDay, sal_True /* IsDateDayLeadingZero() */ ); in getDate()
1539 pBuf = ImplAddString( pBuf, getDateSep() ); in getDate()
1540 pBuf = ImplAddUNum( pBuf, nYear, nYearLen ); in getDate()
1543 pBuf = ImplAddUNum( pBuf, nYear, nYearLen ); in getDate()
1544 pBuf = ImplAddString( pBuf, getDateSep() ); in getDate()
1545 pBuf = ImplAdd2UNum( pBuf, nMonth, sal_True /* IsDateMonthLeadingZero() */ ); in getDate()
1546 pBuf = ImplAddString( pBuf, getDateSep() ); in getDate()
1547 pBuf = ImplAdd2UNum( pBuf, nDay, sal_True /* IsDateDayLeadingZero() */ ); in getDate()
1550 return String( aBuf, (xub_StrLen)(sal_uLong)(pBuf-aBuf) ); in getDate()
1559 sal_Unicode* pBuf = aBuf; in getTime() local
1573 pBuf = ImplAdd2UNum( pBuf, nHour, sal_True /* IsTimeLeadingZero() */ ); in getTime()
1574 pBuf = ImplAddString( pBuf, getTimeSep() ); in getTime()
1575 pBuf = ImplAdd2UNum( pBuf, rTime.GetMin(), sal_True ); in getTime()
1578 pBuf = ImplAddString( pBuf, getTimeSep() ); in getTime()
1579 pBuf = ImplAdd2UNum( pBuf, rTime.GetSec(), sal_True ); in getTime()
1583 pBuf = ImplAddString( pBuf, getTime100SecSep() ); in getTime()
1584 pBuf = ImplAdd2UNum( pBuf, rTime.Get100Sec(), sal_True ); in getTime()
1588 String aStr( aBuf, (xub_StrLen)(sal_uLong)(pBuf-aBuf) ); in getTime()
1614 sal_Unicode* pBuf; in getLongDate() local
1624 pBuf = ImplAdd2UNum( aBuf, nVal, bDayOfMonthWithLeadingZero ); in getLongDate()
1625 String aDay( aBuf, (xub_StrLen)(sal_uLong)(pBuf-aBuf) ); in getLongDate()
1632 pBuf = ImplAddUNum( aBuf, nVal % 100, 2 ); in getLongDate()
1634 pBuf = ImplAddUNum( aBuf, nVal ); in getLongDate()
1635 String aYear( aBuf, (xub_StrLen)(sal_uLong)(pBuf-aBuf) ); in getLongDate()
1668 sal_Unicode* pBuf = aBuf; in getDuration() local
1671 pBuf = ImplAddString( pBuf, ' ' ); in getDuration()
1674 pBuf = ImplAddUNum( pBuf, rTime.GetHour(), 2 ); in getDuration()
1676 pBuf = ImplAddUNum( pBuf, rTime.GetHour() ); in getDuration()
1677 pBuf = ImplAddString( pBuf, getTimeSep() ); in getDuration()
1678 pBuf = ImplAdd2UNum( pBuf, rTime.GetMin(), sal_True ); in getDuration()
1681 pBuf = ImplAddString( pBuf, getTimeSep() ); in getDuration()
1682 pBuf = ImplAdd2UNum( pBuf, rTime.GetSec(), sal_True ); in getDuration()
1686 pBuf = ImplAddString( pBuf, getTime100SecSep() ); in getDuration()
1687 pBuf = ImplAdd2UNum( pBuf, rTime.Get100Sec(), sal_True ); in getDuration()
1691 return String( aBuf, (xub_StrLen)(sal_uLong)(pBuf-aBuf) ); in getDuration()
1719 sal_Unicode* pBuf = ImplAddFormatNum( pBuffer, nNumber, nDecimals, in getNum() local
1721 String aStr( pBuffer, (xub_StrLen)(sal_uLong)(pBuf-pBuffer) ); in getNum()
1745 sal_Unicode* pBuf = pBuffer; in getCurr() local
1802 pBuf = ImplAddString( pBuf, rCurrencySymbol ); in getCurr()
1803 pBuf = ImplAddString( pBuf, pNumBuffer, nNumLen ); in getCurr()
1806 pBuf = ImplAddString( pBuf, pNumBuffer, nNumLen ); in getCurr()
1807 pBuf = ImplAddString( pBuf, rCurrencySymbol ); in getCurr()
1810 pBuf = ImplAddString( pBuf, rCurrencySymbol ); in getCurr()
1811 pBuf = ImplAddString( pBuf, ' ' ); in getCurr()
1812 pBuf = ImplAddString( pBuf, pNumBuffer, nNumLen ); in getCurr()
1815 pBuf = ImplAddString( pBuf, pNumBuffer, nNumLen ); in getCurr()
1816 pBuf = ImplAddString( pBuf, ' ' ); in getCurr()
1817 pBuf = ImplAddString( pBuf, rCurrencySymbol ); in getCurr()
1826 pBuf = ImplAddString( pBuf, '(' ); in getCurr()
1827 pBuf = ImplAddString( pBuf, rCurrencySymbol ); in getCurr()
1828 pBuf = ImplAddString( pBuf, pNumBuffer, nNumLen ); in getCurr()
1829 pBuf = ImplAddString( pBuf, ')' ); in getCurr()
1832 pBuf = ImplAddString( pBuf, '-' ); in getCurr()
1833 pBuf = ImplAddString( pBuf, rCurrencySymbol ); in getCurr()
1834 pBuf = ImplAddString( pBuf, pNumBuffer, nNumLen ); in getCurr()
1837 pBuf = ImplAddString( pBuf, rCurrencySymbol ); in getCurr()
1838 pBuf = ImplAddString( pBuf, '-' ); in getCurr()
1839 pBuf = ImplAddString( pBuf, pNumBuffer, nNumLen ); in getCurr()
1842 pBuf = ImplAddString( pBuf, rCurrencySymbol ); in getCurr()
1843 pBuf = ImplAddString( pBuf, pNumBuffer, nNumLen ); in getCurr()
1844 pBuf = ImplAddString( pBuf, '-' ); in getCurr()
1847 pBuf = ImplAddString( pBuf, '(' ); in getCurr()
1848 pBuf = ImplAddString( pBuf, pNumBuffer, nNumLen ); in getCurr()
1849 pBuf = ImplAddString( pBuf, rCurrencySymbol ); in getCurr()
1850 pBuf = ImplAddString( pBuf, ')' ); in getCurr()
1853 pBuf = ImplAddString( pBuf, '-' ); in getCurr()
1854 pBuf = ImplAddString( pBuf, pNumBuffer, nNumLen ); in getCurr()
1855 pBuf = ImplAddString( pBuf, rCurrencySymbol ); in getCurr()
1858 pBuf = ImplAddString( pBuf, pNumBuffer, nNumLen ); in getCurr()
1859 pBuf = ImplAddString( pBuf, '-' ); in getCurr()
1860 pBuf = ImplAddString( pBuf, rCurrencySymbol ); in getCurr()
1863 pBuf = ImplAddString( pBuf, pNumBuffer, nNumLen ); in getCurr()
1864 pBuf = ImplAddString( pBuf, rCurrencySymbol ); in getCurr()
1865 pBuf = ImplAddString( pBuf, '-' ); in getCurr()
1868 pBuf = ImplAddString( pBuf, '-' ); in getCurr()
1869 pBuf = ImplAddString( pBuf, pNumBuffer, nNumLen ); in getCurr()
1870 pBuf = ImplAddString( pBuf, ' ' ); in getCurr()
1871 pBuf = ImplAddString( pBuf, rCurrencySymbol ); in getCurr()
1874 pBuf = ImplAddString( pBuf, '-' ); in getCurr()
1875 pBuf = ImplAddString( pBuf, rCurrencySymbol ); in getCurr()
1876 pBuf = ImplAddString( pBuf, ' ' ); in getCurr()
1877 pBuf = ImplAddString( pBuf, pNumBuffer, nNumLen ); in getCurr()
1880 pBuf = ImplAddString( pBuf, pNumBuffer, nNumLen ); in getCurr()
1881 pBuf = ImplAddString( pBuf, ' ' ); in getCurr()
1882 pBuf = ImplAddString( pBuf, rCurrencySymbol ); in getCurr()
1883 pBuf = ImplAddString( pBuf, '-' ); in getCurr()
1886 pBuf = ImplAddString( pBuf, rCurrencySymbol ); in getCurr()
1887 pBuf = ImplAddString( pBuf, ' ' ); in getCurr()
1888 pBuf = ImplAddString( pBuf, '-' ); in getCurr()
1889 pBuf = ImplAddString( pBuf, pNumBuffer, nNumLen ); in getCurr()
1892 pBuf = ImplAddString( pBuf, rCurrencySymbol ); in getCurr()
1893 pBuf = ImplAddString( pBuf, ' ' ); in getCurr()
1894 pBuf = ImplAddString( pBuf, pNumBuffer, nNumLen ); in getCurr()
1895 pBuf = ImplAddString( pBuf, '-' ); in getCurr()
1898 pBuf = ImplAddString( pBuf, pNumBuffer, nNumLen ); in getCurr()
1899 pBuf = ImplAddString( pBuf, '-' ); in getCurr()
1900 pBuf = ImplAddString( pBuf, ' ' ); in getCurr()
1901 pBuf = ImplAddString( pBuf, rCurrencySymbol ); in getCurr()
1904 pBuf = ImplAddString( pBuf, '(' ); in getCurr()
1905 pBuf = ImplAddString( pBuf, rCurrencySymbol ); in getCurr()
1906 pBuf = ImplAddString( pBuf, ' ' ); in getCurr()
1907 pBuf = ImplAddString( pBuf, pNumBuffer, nNumLen ); in getCurr()
1908 pBuf = ImplAddString( pBuf, ')' ); in getCurr()
1911 pBuf = ImplAddString( pBuf, '(' ); in getCurr()
1912 pBuf = ImplAddString( pBuf, pNumBuffer, nNumLen ); in getCurr()
1913 pBuf = ImplAddString( pBuf, ' ' ); in getCurr()
1914 pBuf = ImplAddString( pBuf, rCurrencySymbol ); in getCurr()
1915 pBuf = ImplAddString( pBuf, ')' ); in getCurr()
1920 String aNumber( pBuffer, (xub_StrLen)(sal_uLong)(pBuf-pBuffer) ); in getCurr()