/aoo4110/main/sdext/source/pdfimport/sax/ |
H A D | emitcontext.cxx | 113 sal_uInt64 nWritten = 0; in beginTag() local 115 pStream->write( " ", 4, nWritten ); in beginTag() 129 pStream->write( aBuf.getStr(), aBuf.getLength(), nWritten ); in beginTag() 148 sal_uInt64 nWritten = 0; in write() local 149 pStream->write( aStr.getStr(), aStr.getLength(), nWritten ); in write() 167 sal_uInt64 nWritten = 0; in endTag() local 169 pStream->write( " ", 4, nWritten ); in endTag() 175 pStream->write( aBuf.getStr(), aBuf.getLength(), nWritten ); in endTag()
|
/aoo4110/main/sal/rtl/source/ |
H A D | logfile.cxx | 73 sal_Int64 nWritten, nConverted = in ~LoggerGuard() local 76 osl_writeFile( g_aFile, g_buffer, nConverted, (sal_uInt64 *)&nWritten ); in ~LoggerGuard() 172 sal_Int64 nWritten; in init() local 173 osl_writeFile( g_aFile, g_buffer, nConverted , (sal_uInt64 *)&nWritten ); in init() 180 sal_Int64 nWritten; in init() local 181 osl_writeFile( g_aFile, g_buffer, nConverted, (sal_uInt64 *)&nWritten ); in init() 204 sal_Int64 nConverted, nWritten; in rtl_logfile_trace() local 209 osl_writeFile( g_aFile, g_buffer, nConverted, (sal_uInt64*)&nWritten ); in rtl_logfile_trace()
|
/aoo4110/main/filter/source/placeware/ |
H A D | zip.cxx | 96 sal_uInt64 n, nWritten; in copyAndCRC() local 110 mnRC = mrFile.write( buf, n, nWritten ); in copyAndCRC() 111 OSL_ASSERT( n == nWritten ); in copyAndCRC() 174 sal_uInt64 nWritten; in writeLocalHeader() local 175 mnRC = mrFile.write( e->name.getStr(), e->name.getLength(), nWritten ); // file name in writeLocalHeader() 176 OSL_ASSERT( nWritten == (sal_uInt64)e->name.getLength() ); in writeLocalHeader() 206 sal_uInt64 nWritten; in writeCentralDir() local 207 mrFile.write( e->name.getStr(), e->name.getLength(), nWritten ); // file name in writeCentralDir() 208 OSL_ASSERT( nWritten == (sal_uInt64)e->name.getLength() ); in writeCentralDir()
|
/aoo4110/main/sal/osl/os2/ |
H A D | socket.c | 2399 int nWritten; in osl_sendSocket() local 2412 nWritten = send(pSocket->m_Socket, in osl_sendSocket() 2416 } while ( nWritten < 0 && errno == EINTR ); in osl_sendSocket() 2419 if ( nWritten < 0 ) in osl_sendSocket() 2424 else if ( nWritten == 0 ) in osl_sendSocket() 2429 return nWritten; in osl_sendSocket() 2441 int nWritten; in osl_sendToSocket() local 2463 nWritten = sendto(pSocket->m_Socket, in osl_sendToSocket() 2470 if ( nWritten < 0 ) in osl_sendToSocket() 2475 else if ( nWritten == 0 ) in osl_sendToSocket() [all …]
|
/aoo4110/main/sal/osl/unx/ |
H A D | socket.c | 2361 int nWritten; in osl_sendSocket() local 2374 nWritten = send(pSocket->m_Socket, in osl_sendSocket() 2378 } while ( nWritten < 0 && errno == EINTR ); in osl_sendSocket() 2381 if ( nWritten < 0 ) in osl_sendSocket() 2386 else if ( nWritten == 0 ) in osl_sendSocket() 2391 return nWritten; in osl_sendSocket() 2403 int nWritten; in osl_sendToSocket() local 2425 nWritten = sendto(pSocket->m_Socket, in osl_sendToSocket() 2432 if ( nWritten < 0 ) in osl_sendToSocket() 2437 else if ( nWritten == 0 ) in osl_sendToSocket() [all …]
|
H A D | file_misc.cxx | 1019 size_t nWritten = 0; in oslDoCopyFile() local 1033 nWritten = 0; in oslDoCopyFile() 1038 nWritten = write( DestFileFD, pBuffer, nRead ); in oslDoCopyFile() 1040 if ( (size_t)-1 != nWritten ) in oslDoCopyFile() 1041 nRemains -= nWritten; in oslDoCopyFile() 1043 while( nRemains && (size_t)-1 != nRead && nRead == nWritten ); in oslDoCopyFile()
|
/aoo4110/main/embedserv/source/embed/ |
H A D | ed_ipersiststr.cxx | 157 sal_uInt32 nWritten = 0; in copyXTempOutToIStream() local 158 HRESULT hr = pStream->Write( (void*)aBuffer.getArray(), nReadBytes, &nWritten ); in copyXTempOutToIStream() 159 if ( !SUCCEEDED( hr ) || nWritten != nReadBytes ) in copyXTempOutToIStream() 659 sal_uInt32 nWritten; in Save() local 666 hr = pNewExtStream->Write( (void*)aInf, EXT_STREAM_LENGTH, &nWritten ); in Save() 667 if ( nWritten != EXT_STREAM_LENGTH ) hr = E_FAIL; in Save() 842 sal_uInt32 nWritten; in Load() local 849 hr = m_pExtStream->Write( (void*)aInf, EXT_STREAM_LENGTH, &nWritten ); in Load() 850 if ( nWritten != EXT_STREAM_LENGTH ) hr = E_FAIL; in Load()
|
/aoo4110/main/padmin/source/ |
H A D | cmddlg.cxx | 155 int nWritten = 0; in setCommands() local 165 nWritten++; in setCommands() 169 while( nWritten > MAX_COMMANDS ) in setCommands() 172 nWritten--; in setCommands() 174 for( nWritten = 0, it = aWriteList.begin(); it != aWriteList.end(); ++it, ++nWritten ) in setCommands() 175 …rConfig.WriteKey( ByteString::CreateFromInt32( nWritten ), ByteString( *it, RTL_TEXTENCODING_UTF8 … in setCommands()
|
/aoo4110/main/ucb/source/ucp/ftp/ |
H A D | ftpcfunc.cxx | 49 sal_uInt64 nWritten = 0; in file_write() local 51 osl_writeFile( aFile, buffer, nToWrite, &nWritten ); in file_write() 53 return nWritten != nToWrite ? 0 : nmemb; in file_write()
|
/aoo4110/main/unotools/source/streaming/ |
H A D | streamhelper.cxx | 162 sal_Size nWritten; in writeBytes() local 163 …e nError = m_xLockBytes->WriteAt( m_nActPos, aData.getConstArray(), aData.getLength(), &nWritten ); in writeBytes() 165 m_nActPos += (sal_uInt32)nWritten; in writeBytes() 168 sal::static_int_cast<sal_Int32>(nWritten) != aData.getLength()) in writeBytes()
|
H A D | streamwrap.cxx | 234 sal_uInt32 nWritten = rStream.Write(aData.getConstArray(),aData.getLength()); in writeBytes() local 237 || (nWritten != (sal_uInt32)aData.getLength()) in writeBytes() 345 sal_uInt32 nWritten = m_pSvStream->Write(aData.getConstArray(),aData.getLength()); in writeBytes() local 348 || (nWritten != (sal_uInt32)aData.getLength()) in writeBytes()
|
/aoo4110/main/filter/source/xmlfilteradaptor/ |
H A D | streamwrap.cxx | 46 sal_uInt64 nWritten = 0; in writeBytes() local 47 rStream.write(aData.getConstArray(),aData.getLength(),nWritten); in writeBytes() 48 if (nWritten != (sal_uInt64)aData.getLength()) in writeBytes()
|
/aoo4110/main/sdext/source/pdfimport/ |
H A D | filterdet.cxx | 424 sal_uInt64 nWritten = 0; in detect() local 435 osl_writeFile( aFile, aBuf.getConstArray(), nBytes, &nWritten ); in detect() 437 OSL_ENSURE( nWritten == nBytes, "writing of header bytes failed" ); in detect() 439 if( nWritten == nBytes ) in detect() 449 osl_writeFile( aFile, aBuf.getConstArray(), nBytes, &nWritten ); in detect() 450 if( nWritten != nBytes ) in detect()
|
H A D | pdfiadaptor.cxx | 110 sal_uInt64 nWritten = 0; in filter() local 124 osl_writeFile( aFile, aBuf.getConstArray(), nBytes, &nWritten ); in filter() 125 if( static_cast<sal_Int32>(nWritten) != nBytes ) in filter()
|
/aoo4110/main/vcl/unx/generic/printergfx/ |
H A D | printerjob.cxx | 800 sal_uInt64 nWritten = 0; in writeFeature() local 801 return pFile->write( aFeature.getStr(), aFeature.getLength(), nWritten ) in writeFeature() 802 || nWritten != (sal_uInt64)aFeature.getLength() ? false : true; in writeFeature() 1187 sal_uInt64 nWritten = 0; in writeSetup() local 1188 bSuccess = pFile->write( aLine.GetBuffer(), aLine.Len(), nWritten ) in writeSetup() 1189 || nWritten != aLine.Len() ? false : true; in writeSetup()
|
/aoo4110/main/comphelper/source/streaming/ |
H A D | oslfile2streamwrap.cxx | 172 sal_uInt64 nWritten; in writeBytes() local 173 FileBase::RC eError = rFile.write(aData.getConstArray(),aData.getLength(), nWritten); in writeBytes() 175 || nWritten != sal::static_int_cast< sal_uInt32 >(aData.getLength())) in writeBytes()
|
/aoo4110/main/svl/source/misc/ |
H A D | strmadpt.cxx | 710 sal_uLong nWritten = 0; in PutData() local 715 std::min(sal_uLong(nSize - nWritten), in PutData() 723 + nWritten, in PutData() 731 nWritten += nRemain; in PutData() 733 return nWritten; in PutData()
|
/aoo4110/main/sdext/source/pdfimport/wrapper/ |
H A D | wrapper.cxx | 1068 sal_uInt64 nWritten = 0; in xpdf_ImportFromFile() local 1069 osl_writeFile( pIn, aBuf.getStr(), sal_uInt64(aBuf.getLength()), &nWritten ); in xpdf_ImportFromFile() 1119 sal_uInt64 nWritten = 0; in xpdf_ImportFromStream() local 1134 osl_writeFile( aFile, aBuf.getConstArray(), nBytes, &nWritten ); in xpdf_ImportFromStream() 1135 if( nWritten != nBytes ) in xpdf_ImportFromStream()
|
/aoo4110/main/sdext/source/pdfimport/test/ |
H A D | pdfunzip.cxx | 161 sal_uInt64 nWritten = 0; in write() local 162 return (osl_writeFile( m_aHandle, pBuf, nWrite, &nWritten ) == osl_File_E_None) in write() 163 && nWrite == nWritten; in write()
|
/aoo4110/main/tools/source/generic/ |
H A D | config.cxx | 179 sal_uInt64 nWritten; in ImplSysWriteConfig() local 192 if( aFile.write( pBuf, nBufLen, nWritten ) == ::osl::FileBase::E_None && nWritten == nBufLen ) in ImplSysWriteConfig()
|
/aoo4110/main/unotools/source/ucbhelper/ |
H A D | xtempfile.cxx | 288 sal_uInt32 nWritten = mpStream->Write(aData.getConstArray(),aData.getLength()); in writeBytes() local 290 if ( nWritten != (sal_uInt32)aData.getLength()) in writeBytes()
|
/aoo4110/main/extensions/source/update/check/ |
H A D | updatecheck.cxx | 1547 sal_uInt64 nWritten = 0; in storeReleaseNote() local 1551 rc = aFile.write( aLineBuf.getStr(), aLineBuf.getLength(), nWritten ); in storeReleaseNote() 1556 rc = aFile.write( aLineBuf.getStr(), aLineBuf.getLength(), nWritten ); in storeReleaseNote()
|
/aoo4110/main/sot/source/unoolestorage/ |
H A D | xolesimplestorage.cxx | 154 sal_Int32 nWritten = pNewStream->Write( aData.getArray(), nRead ); in InsertInputStreamToStorage_Impl() local 155 if ( nWritten < nRead ) in InsertInputStreamToStorage_Impl()
|
/aoo4110/main/desktop/win32/source/setup/ |
H A D | setup.cpp | 1746 size_t nRead, nWritten; in CopyIniFile() local 1752 nWritten = fwrite( pBuf, sizeof( BYTE ), nRead, pOut ); in CopyIniFile() 1753 if ( nWritten != nRead ) in CopyIniFile()
|
/aoo4110/main/tools/source/fsys/ |
H A D | dirent.cxx | 2870 int nBytes, nWritten, nErr = 0; in MoveTo() 2874 nWritten = fwrite( pBuf, 1, nBytes, fpOUT ); in MoveTo() 2876 if( nWritten < nBytes ) in MoveTo()
|