Home
last modified time | relevance | path

Searched refs:nBufLen (Results 1 – 25 of 25) sorted by relevance

/trunk/main/sal/qa/rtl/random/
H A Drtl_random.cxx107 sal_uInt32 nBufLen = 4; in TEST_F() local
109 memset(pBuffer, 0, nBufLen); in TEST_F()
129 sal_uInt32 nBufLen = 4; in TEST_F() local
132 memset(pBuffer, 0, nBufLen); in TEST_F()
226 sal_uInt32 nBufLen = 4; in TEST_F() local
228 memset(pBuffer, 0, nBufLen); in TEST_F()
247 sal_uInt32 nBufLen = 4; in TEST_F() local
249 memset(pBuffer, 0, nBufLen); in TEST_F()
264 sal_uInt32 nBufLen = 4; in TEST_F() local
285 sal_uInt32 nBufLen = 1; in TEST_F() local
[all …]
/trunk/main/sal/inc/rtl/
H A Ddigest.h162 sal_uInt8 *pBuffer, sal_uInt32 nBufLen
205 sal_uInt8 *pBuffer, sal_uInt32 nBufLen
225 sal_uInt8 *pBuffer, sal_uInt32 nBufLen
268 sal_uInt8 *pBuffer, sal_uInt32 nBufLen
281 sal_uInt8 *pBuffer, sal_uInt32 nBufLen
301 sal_uInt8 *pBuffer, sal_uInt32 nBufLen
344 sal_uInt8 *pBuffer, sal_uInt32 nBufLen
364 sal_uInt8 *pBuffer, sal_uInt32 nBufLen
407 sal_uInt8 *pBuffer, sal_uInt32 nBufLen
485 sal_uInt8 *pBuffer, sal_uInt32 nBufLen
[all …]
H A Dcipher.h160 sal_uInt8 *pBuffer, sal_Size nBufLen
178 sal_uInt8 *pBuffer, sal_Size nBufLen
224 sal_uInt8 *pBuffer, sal_Size nBufLen
234 sal_uInt8 *pBuffer, sal_Size nBufLen
282 sal_uInt8 *pBuffer, sal_Size nBufLen
292 sal_uInt8 *pBuffer, sal_Size nBufLen
/trunk/main/sal/rtl/source/
H A Dcipher.c90 sal_uInt8 *pBuffer, sal_Size nBufLen);
162 sal_uInt8 *pBuffer, sal_Size nBufLen) in rtl_cipher_encode() argument
179 sal_uInt8 *pBuffer, sal_Size nBufLen) in rtl_cipher_decode() argument
245 sal_uInt8 *pBuffer, sal_Size nBufLen);
732 sal_uInt8 *pBuffer, sal_Size nBufLen) in __rtl_cipherBF_update() argument
738 if (!((0 < nDatLen) && (nDatLen <= nBufLen))) in __rtl_cipherBF_update()
1071 sal_uInt8 *pBuffer, sal_Size nBufLen) in rtl_cipher_encodeBF() argument
1097 sal_uInt8 *pBuffer, sal_Size nBufLen) in rtl_cipher_decodeBF() argument
1214 if (!((0 < nDatLen) && (nDatLen <= nBufLen))) in rtl_cipherARCFOUR_update_Impl()
1306 sal_uInt8 *pBuffer, sal_Size nBufLen) in rtl_cipher_encodeARCFOUR() argument
[all …]
H A Ddigest.c372 sal_uInt8 *pBuffer, sal_uInt32 nBufLen) in rtl_digest_MD2() argument
478 if (!(pImpl->m_digest.m_length <= nBufLen)) in rtl_digest_getMD2()
737 sal_uInt8 *pBuffer, sal_uInt32 nBufLen) in rtl_digest_MD5() argument
857 if (!(pImpl->m_digest.m_length <= nBufLen)) in rtl_digest_getMD5()
889 if (!(pImpl->m_digest.m_length <= nBufLen)) in rtl_digest_rawMD5()
1214 sal_uInt8 *pBuffer, sal_uInt32 nBufLen) in rtl_digest_SHA() argument
1334 if (!(pImpl->m_digest.m_length <= nBufLen)) in rtl_digest_getSHA()
1402 sal_uInt8 *pBuffer, sal_uInt32 nBufLen) in rtl_digest_SHA1() argument
1522 if (!(pImpl->m_digest.m_length <= nBufLen)) in rtl_digest_getSHA1()
1751 nBufLen = pImpl->m_digest.m_length; in rtl_digest_getHMAC_MD5()
[all …]
H A Drandom.c91 RandomPool_Impl *pImpl, const sal_uInt8 *pBuffer, sal_Size nBufLen);
96 RandomPool_Impl *pImpl, sal_uInt8 *pBuffer, sal_Size nBufLen);
166 RandomPool_Impl *pImpl, const sal_uInt8 *pBuffer, sal_Size nBufLen) in __rtl_random_seedPool() argument
171 for (i = 0; i < nBufLen; i += RTL_RANDOM_SIZE_DIGEST) in __rtl_random_seedPool()
173 j = nBufLen - i; in __rtl_random_seedPool()
218 RandomPool_Impl *pImpl, sal_uInt8 *pBuffer, sal_Size nBufLen) in __rtl_random_readPool() argument
222 while (nBufLen > 0) in __rtl_random_readPool()
224 j = nBufLen; in __rtl_random_readPool()
227 nBufLen -= j; in __rtl_random_readPool()
/trunk/main/tools/source/generic/
H A Dconfig.cxx192 if( aFile.write( pBuf, nBufLen, nWritten ) == ::osl::FileBase::E_None && nWritten == nBufLen ) in ImplSysWriteConfig()
455 unsigned int nBufLen; in ImplGetConfigBuffer() local
478 nBufLen = 0; in ImplGetConfigBuffer()
485 nBufLen += pGroup->maGroupName.Len() + nLineEndLen + 2; in ImplGetConfigBuffer()
491 nBufLen += nValueLen + nLineEndLen; in ImplGetConfigBuffer()
501 nBufLen += nLineEndLen * pGroup->mnEmptyLines; in ImplGetConfigBuffer()
508 rLen = nBufLen; in ImplGetConfigBuffer()
509 if ( !nBufLen ) in ImplGetConfigBuffer()
524 pWriteBuf = new sal_uInt8[nBufLen]; in ImplGetConfigBuffer()
638 sal_uIntPtr nBufLen; in ImplWriteConfig() local
[all …]
/trunk/main/svl/source/misc/
H A Ddocumentlockfile.cxx149 const sal_Int32 nBufLen = 32000; in GetLockData() local
150 uno::Sequence< sal_Int8 > aBuffer( nBufLen ); in GetLockData()
154 nRead = xInput->readBytes( aBuffer, nBufLen ); in GetLockData()
157 if ( nRead == nBufLen ) in GetLockData()
/trunk/main/vcl/os2/source/window/
H A Dsalframe.cxx3242 ULONG nBufLen = 0; in ImplHandleIMEConversion() local
3249 pIMEData->mpGetResultString( hIMI, IMR_RESULT_RESULTSTRING, 0, &nBufLen ); in ImplHandleIMEConversion()
3250 if ( nBufLen > 0 ) in ImplHandleIMEConversion()
3252 pBuf = new xub_Unicode[nBufLen]; in ImplHandleIMEConversion()
3263 if ( nBufLen > 0 ) in ImplHandleIMEConversion()
3265 pBuf = new xub_Unicode[nBufLen]; in ImplHandleIMEConversion()
3306 aEvt.maText = XubString( pBuf, (USHORT)nBufLen ); in ImplHandleIMEConversion()
3381 ULONG nBufLen = 0; in ImplHandleIMEOpenCandidate() local
3382 pIMEData->mpGetConversionString( hIMI, IMR_CONV_CONVERSIONSTRING, 0, &nBufLen ); in ImplHandleIMEOpenCandidate()
3383 if ( nBufLen > 0 ) in ImplHandleIMEOpenCandidate()
[all …]
/trunk/main/filter/source/msfilter/
H A Dmscodec.cxx464 sal_uInt8 *pBuffer, sal_Size nBufLen) in Encode() argument
469 m_hCipher, pData, nDatLen, pBuffer, nBufLen); in Encode()
476 sal_uInt8 *pBuffer, sal_Size nBufLen) in Decode() argument
481 m_hCipher, pData, nDatLen, pBuffer, nBufLen); in Decode()
/trunk/main/tools/source/debug/
H A Ddebug.cxx1634 int nBufLen = 0; in DbgOut() local
1672 nBufLen = strlen( pStr ); in DbgOut()
1678 if ( nBufLen+nMsgLen > DBG_BUF_MAXLEN ) in DbgOut()
1680 int nCopyLen = DBG_BUF_MAXLEN-nBufLen-3; in DbgOut()
1681 strncpy( &(aBufOut[nBufLen]), pMsg, nCopyLen ); in DbgOut()
1682 strcpy( &(aBufOut[nBufLen+nCopyLen]), "..." ); in DbgOut()
1685 strcpy( &(aBufOut[nBufLen]), pMsg ); in DbgOut()
1687 if ( pFile && nLine && (nBufLen+nMsgLen < DBG_BUF_MAXLEN) ) in DbgOut()
/trunk/main/sal/textenc/
H A Dtencinfo.c584 sal_uInt32 nBufLen = strlen( pUnixCharset )+1; in rtl_getTextEncodingFromUnixCharset() local
589 pBuf = (char*)rtl_allocateMemory( nBufLen ); in rtl_getTextEncodingFromUnixCharset()
918 sal_uInt32 nBufLen = strlen( pMimeCharset )+1; in rtl_getTextEncodingFromMimeCharset() local
921 pBuf = (char*)rtl_allocateMemory( nBufLen ); in rtl_getTextEncodingFromMimeCharset()
/trunk/main/tools/source/string/
H A Dstrcvt.cxx528 sal_Size ByteString::ConvertFromUnicode( sal_Unicode c, char* pBuf, sal_Size nBufLen, rtl_TextEncod… in ConvertFromUnicode() argument
548 if ( nBufLen > 1 ) in ConvertFromUnicode()
560 (sal_Char*)pBuf, nBufLen, in ConvertFromUnicode()
/trunk/main/filter/inc/filter/msfilter/
H A Dmscodec.hxx286 sal_uInt8* pBuffer, sal_Size nBufLen );
312 sal_uInt8* pBuffer, sal_Size nBufLen );
/trunk/main/tools/source/fsys/
H A Dos2.cxx785 ULONG nBufLen; in CreateDriveMapImpl()
850 nBufLen = sizeof( aBuf ); in CreateDriveMapImpl()
852 (_FSQBUFFER2*) &aBuf, &nBufLen ); in CreateDriveMapImpl()
/trunk/main/sal/osl/unx/
H A Dsocket.c438 sal_Char *pBuffer, sal_uInt32 nBufLen);
1368 sal_Char *pBuffer, sal_uInt32 nBufLen) in osl_psz_getLocalHostname() argument
1382 if ((strlen(uts.nodename) + 1) > nBufLen) in osl_psz_getLocalHostname()
1447 strncpy(pBuffer, LocalHostname, nBufLen); in osl_psz_getLocalHostname()
1448 pBuffer[nBufLen - 1] = '\0'; in osl_psz_getLocalHostname()
/trunk/main/sal/osl/os2/
H A Dsocket.c438 sal_Char *pBuffer, sal_uInt32 nBufLen);
1388 sal_Char *pBuffer, sal_uInt32 nBufLen) in osl_psz_getLocalHostname() argument
1402 if ((strlen(uts.nodename) + 1) > nBufLen) in osl_psz_getLocalHostname()
1468 strncpy(pBuffer, LocalHostname, nBufLen); in osl_psz_getLocalHostname()
1469 pBuffer[nBufLen - 1] = '\0'; in osl_psz_getLocalHostname()
H A Dfile.cxx2551 ULONG nBufLen; in get_filesystem_attributes() local
2554 nBufLen = sizeof( aBuf ); in get_filesystem_attributes()
2557 nRet = DosQueryFSAttach( (PCSZ)path, 0, FSAIL_QUERYNAME, (_FSQBUFFER2*) &aBuf, &nBufLen ); in get_filesystem_attributes()
/trunk/main/starmath/source/
H A Dparse.cxx443 xub_StrLen nBufLen = m_aBufferString.Len(); in NextToken() local
498 nRealStart < nBufLen && in NextToken()
513 while (m_nBufferIndex < nBufLen && in NextToken()
529 if (nRealStart >= nBufLen) in NextToken()
726 DBG_ASSERT( rnEndPos >= nBufLen || in NextToken()
/trunk/main/filter/source/svg/
H A Dsvgwriter.cxx1079 sal_Int32 nBufLen = ( ( nQuadCount + ( nRest ? 1 : 0 ) ) << 2 ); in ImplWriteBmp() local
1082 … sal_Unicode* pBuffer = new sal_Unicode[ nBufLen * sizeof( sal_Unicode ) ]; in ImplWriteBmp()
1119 for( sal_Int32 nCurPos = 0; nCurPos < nBufLen; nCurPos += nPartLen ) in ImplWriteBmp()
1121 …::rtl::OUString aPart( pBuffer + nCurPos, ::std::min< sal_Int32 >( nPartLen, nBufLen - nCurPos ) ); in ImplWriteBmp()
/trunk/main/sal/osl/w32/
H A Dfile_url.cxx438 static LPTSTR PathAddBackslash(LPTSTR lpPath, sal_Int32 nBufLen) in PathAddBackslash() argument
446 if ( !nLen || lpPath[nLen-1] != '\\' && lpPath[nLen-1] != '/' && nLen < nBufLen - 1 ) in PathAddBackslash()
/trunk/main/xmloff/source/style/
H A Dxmlnumfi.cxx2142 sal_Int32 nBufLen = rBuffer.getLength(); in lcl_IsAtEnd() local
2145 if ( nTokLen > nBufLen ) in lcl_IsAtEnd()
2148 sal_Int32 nStartPos = nBufLen - nTokLen; in lcl_IsAtEnd()
/trunk/main/tools/inc/tools/
H A Dstring.hxx283 static sal_Size ConvertFromUnicode( sal_Unicode c, sal_Char* pBuf, sal_Size nBufLen,
/trunk/main/vcl/source/gdi/
H A Dpdfwriter_impl.cxx1465 sal_uInt32 nBufLen = rBuffer.getLength(); in appendPolygon() local
1491 if( (rBuffer.getLength() - nBufLen) > 65 ) in appendPolygon()
1494 nBufLen = rBuffer.getLength(); in appendPolygon()
1526 sal_uInt32 nBufLen = rBuffer.getLength(); in appendPolygon() local
1566 if( (rBuffer.getLength() - nBufLen) > 65 ) in appendPolygon()
1569 nBufLen = rBuffer.getLength(); in appendPolygon()
/trunk/main/vcl/win/source/window/
H A Dsalframe.cxx5659 LONG nBufLen = ImmGetCompositionStringW( hIMC, GCS_COMPSTR, 0, 0 ); in ImplHandleIMENotify() local
5660 if ( nBufLen >= 1 ) in ImplHandleIMENotify()

Completed in 357 milliseconds