Lines Matching refs:pBuf
75 static sal_Unicode* ImplAddString( sal_Unicode* pBuf, const String& rStr ) in ImplAddString() argument
78 *pBuf++ = rStr.GetChar(0); in ImplAddString()
83 memcpy( pBuf, rStr.GetBuffer(), rStr.Len() * sizeof(sal_Unicode) ); in ImplAddString()
84 pBuf += rStr.Len(); in ImplAddString()
86 return pBuf; in ImplAddString()
91 static sal_Unicode* ImplAddNum( sal_Unicode* pBuf, sal_uLong nNumber, int nMinLen ) in ImplAddNum() argument
109 *pBuf = '0'; in ImplAddNum()
110 pBuf++; in ImplAddNum()
118 *pBuf = *pTempBuf; in ImplAddNum()
119 pBuf++; in ImplAddNum()
123 return pBuf; in ImplAddNum()
1254 const sal_Unicode* pBuf = aStr.GetBuffer(); in ImplDateGetValue() local
1255 ImplSkipDelimiters( pBuf ); in ImplDateGetValue()
1262 nDay = ImplGetNum( pBuf, bError ); in ImplDateGetValue()
1263 ImplSkipDelimiters( pBuf ); in ImplDateGetValue()
1264 nMonth = ImplGetNum( pBuf, bError ); in ImplDateGetValue()
1265 ImplSkipDelimiters( pBuf ); in ImplDateGetValue()
1267 nYear = ImplGetNum( pBuf, bError ); in ImplDateGetValue()
1273 nMonth = ImplGetNum( pBuf, bError ); in ImplDateGetValue()
1274 ImplSkipDelimiters( pBuf ); in ImplDateGetValue()
1275 nDay = ImplGetNum( pBuf, bError ); in ImplDateGetValue()
1276 ImplSkipDelimiters( pBuf ); in ImplDateGetValue()
1278 nYear = ImplGetNum( pBuf, bError ); in ImplDateGetValue()
1287 nYear = ImplGetNum( pBuf, bError ); in ImplDateGetValue()
1288 ImplSkipDelimiters( pBuf ); in ImplDateGetValue()
1289 nMonth = ImplGetNum( pBuf, bError ); in ImplDateGetValue()
1290 ImplSkipDelimiters( pBuf ); in ImplDateGetValue()
1291 nDay = ImplGetNum( pBuf, bError ); in ImplDateGetValue()
1382 sal_Unicode* pBuf = aBuf; in ImplGetDateAsText() local
1402 pBuf = ImplAddNum( pBuf, nDay, 2 ); in ImplGetDateAsText()
1403 pBuf = ImplAddString( pBuf, aDateSep ); in ImplGetDateAsText()
1404 pBuf = ImplAddNum( pBuf, nMonth, 2 ); in ImplGetDateAsText()
1405 pBuf = ImplAddString( pBuf, aDateSep ); in ImplGetDateAsText()
1406 pBuf = ImplAddNum( pBuf, nYear, nYearLen ); in ImplGetDateAsText()
1412 pBuf = ImplAddNum( pBuf, nMonth, 2 ); in ImplGetDateAsText()
1413 pBuf = ImplAddString( pBuf, aDateSep ); in ImplGetDateAsText()
1414 pBuf = ImplAddNum( pBuf, nDay, 2 ); in ImplGetDateAsText()
1415 pBuf = ImplAddString( pBuf, aDateSep ); in ImplGetDateAsText()
1416 pBuf = ImplAddNum( pBuf, nYear, nYearLen ); in ImplGetDateAsText()
1424 pBuf = ImplAddNum( pBuf, nYear, nYearLen ); in ImplGetDateAsText()
1425 pBuf = ImplAddString( pBuf, aDateSep ); in ImplGetDateAsText()
1426 pBuf = ImplAddNum( pBuf, nMonth, 2 ); in ImplGetDateAsText()
1427 pBuf = ImplAddString( pBuf, aDateSep ); in ImplGetDateAsText()
1428 pBuf = ImplAddNum( pBuf, nDay, 2 ); in ImplGetDateAsText()
1437 return String( aBuf, (xub_StrLen)(sal_uLong)(pBuf-aBuf) ); in ImplGetDateAsText()