Home
last modified time | relevance | path

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

12

/trunk/main/sdext/source/pdfimport/sax/
H A Demitcontext.cxx113 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()
/trunk/main/filter/source/placeware/
H A Dzip.cxx96 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()
/trunk/main/sal/rtl/source/
H A Dlogfile.cxx73 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()
/trunk/main/sal/osl/unx/
H A Dsocket.c2361 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 Dfile_misc.cxx1007 size_t nWritten = 0; in oslDoCopyFile() local
1021 nWritten = 0; in oslDoCopyFile()
1026 nWritten = write( DestFileFD, pBuffer, nRead ); in oslDoCopyFile()
1028 if ( (size_t)-1 != nWritten ) in oslDoCopyFile()
1029 nRemains -= nWritten; in oslDoCopyFile()
1031 while( nRemains && (size_t)-1 != nRead && nRead == nWritten ); in oslDoCopyFile()
/trunk/main/embedserv/source/embed/
H A Ded_ipersiststr.cxx157 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()
/trunk/main/sal/osl/os2/
H A Dsocket.c2399 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 …]
/trunk/main/padmin/source/
H A Dcmddlg.cxx155 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()
/trunk/main/unotools/source/streaming/
H A Dstreamhelper.cxx162 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 Dstreamwrap.cxx234 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()
/trunk/main/ucb/source/ucp/ftp/
H A Dftpcfunc.cxx49 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()
/trunk/main/filter/source/xmlfilteradaptor/
H A Dstreamwrap.cxx46 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()
/trunk/main/sdext/source/pdfimport/
H A Dfilterdet.cxx424 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 Dpdfiadaptor.cxx110 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()
/trunk/main/vcl/unx/generic/printergfx/
H A Dprinterjob.cxx800 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()
/trunk/main/comphelper/source/streaming/
H A Doslfile2streamwrap.cxx172 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()
/trunk/main/svl/source/misc/
H A Dstrmadpt.cxx710 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()
/trunk/main/sdext/source/pdfimport/wrapper/
H A Dwrapper.cxx1064 sal_uInt64 nWritten = 0; in xpdf_ImportFromFile() local
1065 osl_writeFile( pIn, aBuf.getStr(), sal_uInt64(aBuf.getLength()), &nWritten ); in xpdf_ImportFromFile()
1115 sal_uInt64 nWritten = 0; in xpdf_ImportFromStream() local
1130 osl_writeFile( aFile, aBuf.getConstArray(), nBytes, &nWritten ); in xpdf_ImportFromStream()
1131 if( nWritten != nBytes ) in xpdf_ImportFromStream()
/trunk/main/sdext/source/pdfimport/test/
H A Dpdfunzip.cxx161 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()
/trunk/main/tools/source/generic/
H A Dconfig.cxx179 sal_uInt64 nWritten; in ImplSysWriteConfig() local
192 if( aFile.write( pBuf, nBufLen, nWritten ) == ::osl::FileBase::E_None && nWritten == nBufLen ) in ImplSysWriteConfig()
/trunk/main/unotools/source/ucbhelper/
H A Dxtempfile.cxx288 sal_uInt32 nWritten = mpStream->Write(aData.getConstArray(),aData.getLength()); in writeBytes() local
290 if ( nWritten != (sal_uInt32)aData.getLength()) in writeBytes()
/trunk/main/extensions/source/update/check/
H A Dupdatecheck.cxx1547 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()
/trunk/main/sot/source/unoolestorage/
H A Dxolesimplestorage.cxx154 sal_Int32 nWritten = pNewStream->Write( aData.getArray(), nRead ); in InsertInputStreamToStorage_Impl() local
155 if ( nWritten < nRead ) in InsertInputStreamToStorage_Impl()
/trunk/main/desktop/win32/source/setup/
H A Dsetup.cpp1746 size_t nRead, nWritten; in CopyIniFile() local
1752 nWritten = fwrite( pBuf, sizeof( BYTE ), nRead, pOut ); in CopyIniFile()
1753 if ( nWritten != nRead ) in CopyIniFile()
/trunk/main/tools/source/fsys/
H A Ddirent.cxx2867 int nBytes, nWritten, nErr = 0; in MoveTo()
2871 nWritten = fwrite( pBuf, 1, nBytes, fpOUT ); in MoveTo()
2873 if( nWritten < nBytes ) in MoveTo()

Completed in 152 milliseconds

12