/trunk/main/jurt/java/jurt/src/main/java/com/sun/star/comp/connections/ |
H A D | PipedConnection.java | 118 private synchronized void receive(byte aData[]) throws com.sun.star.io.IOException { in receive() argument 121 …if(DEBUG) System.err.println("##### PipedConnection.receive - bytes:" + aData.length + " at:" + _o… in receive() 123 while(bytesWritten < aData.length) { in receive() 141 bytes = Math.min(aData.length - bytesWritten, _in - _out - 1); in receive() 143 System.arraycopy(aData, bytesWritten, _buffer, _out, bytes); in receive() 147 bytes = Math.min(aData.length - bytesWritten, _buffer.length - _out); in receive() 150 bytes = Math.min(aData.length - bytesWritten, _buffer.length - _out - 1); in receive() 153 System.arraycopy(aData, bytesWritten, _buffer, _out, bytes); in receive() 225 …public void write(byte aData[]) throws com.sun.star.io.IOException, com.sun.star.uno.RuntimeExcept… in write() argument 226 _otherSide.receive(aData); in write()
|
/trunk/main/xmlsecurity/source/xmlsec/nss/ |
H A D | ciphercontext.cxx | 97 …nt8 > SAL_CALL OCipherContext::convertWithCipherContext( const uno::Sequence< ::sal_Int8 >& aData ) in convertWithCipherContext() argument 109 if ( aData.getLength() ) in convertWithCipherContext() 114 sal_Int32 nAvailableData = nOldLastBlockLen + aData.getLength(); in convertWithCipherContext() 137 m_aLastBlock.realloc( nOldLastBlockLen + aData.getLength() ); in convertWithCipherContext() 138 …rtl_copyMemory( m_aLastBlock.getArray() + nOldLastBlockLen, aData.getConstArray(), aData.getLength… in convertWithCipherContext() 145 m_aLastBlock.realloc( nOldLastBlockLen - nToConvertLen + aData.getLength() ); in convertWithCipherContext() 146 …( m_aLastBlock.getArray() + nOldLastBlockLen - nToConvertLen, aData.getConstArray(), aData.getLeng… in convertWithCipherContext() 152 …rtl_copyMemory( aToConvert.getArray() + nOldLastBlockLen, aData.getConstArray(), nToConvertLen - n… in convertWithCipherContext() 154 …rtl_copyMemory( m_aLastBlock.getArray(), aData.getConstArray() + nToConvertLen - nOldLastBlockLen,… in convertWithCipherContext()
|
/trunk/main/comphelper/source/streaming/ |
H A D | oslfile2streamwrap.cxx | 56 sal_Int32 SAL_CALL OSLInputStreamWrapper::readBytes(staruno::Sequence< sal_Int8 >& aData, sal_Int32… in readBytes() argument 67 aData.realloc(nBytesToRead); in readBytes() 70 FileBase::RC eError = m_pFile->read((void*)aData.getArray(), nBytesToRead, nRead); in readBytes() 76 aData.realloc( sal::static_int_cast< sal_Int32 >(nRead) ); in readBytes() 82 sal_Int32 SAL_CALL OSLInputStreamWrapper::readSomeBytes(staruno::Sequence< sal_Int8 >& aData, sal_I… in readSomeBytes() argument 98 return readBytes(aData, nMaxBytesToRead); in readSomeBytes() 170 void SAL_CALL OSLOutputStreamWrapper::writeBytes(const staruno::Sequence< sal_Int8 >& aData) throw(… in writeBytes() argument 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/unotools/source/streaming/ |
H A D | streamhelper.cxx | 45 sal_Int32 SAL_CALL OInputStreamHelper::readBytes(staruno::Sequence< sal_Int8 >& aData, sal_Int32 nB… in readBytes() argument 55 aData.realloc(nBytesToRead); in readBytes() 58 ErrCode nError = m_xLockBytes->ReadAt(m_nActPos, (void*)aData.getArray(), nBytesToRead, &nRead); in readBytes() 67 aData.realloc( nRead ); in readBytes() 97 sal_Int32 SAL_CALL OInputStreamHelper::readSomeBytes(staruno::Sequence< sal_Int8 >& aData, in readSomeBytes() argument 102 return readBytes(aData, nMaxBytesToRead); in readSomeBytes() 155 void SAL_CALL OOutputStreamHelper::writeBytes(const staruno::Sequence< sal_Int8 >& aData) in writeBytes() argument 163 …ErrCode nError = m_xLockBytes->WriteAt( m_nActPos, aData.getConstArray(), aData.getLength(), &nWri… in writeBytes() 168 sal::static_int_cast<sal_Int32>(nWritten) != aData.getLength()) in writeBytes()
|
/trunk/main/chart2/source/model/template/ |
H A D | BubbleDataInterpreter.cxx | 68 Sequence< Reference< data::XLabeledDataSequence > > aData( xSource->getDataSequences() ); in interpretDataSource() local 75 bool bHasCategories = HasCategories( aArguments, aData ); in interpretDataSource() 79 sal_Int32 nDataSeqCount = aData.getLength(); in interpretDataSource() 92 xCategories.set( aData[nDataIdx] ); in interpretDataSource() 106 xValuesX.set( aData[nDataIdx] ); in interpretDataSource() 112 aYValuesVector.push_back( aData[nDataIdx] ); in interpretDataSource() 113 if( aData[nDataIdx].is()) in interpretDataSource() 114 SetRole( aData[nDataIdx]->getValues(), C2U("values-y")); in interpretDataSource() 119 aSizeValuesVector.push_back( aData[nDataIdx] ); in interpretDataSource() 120 if( aData[nDataIdx].is()) in interpretDataSource() [all …]
|
H A D | XYDataInterpreter.cxx | 68 Sequence< Reference< data::XLabeledDataSequence > > aData( xSource->getDataSequences() ); in interpretDataSource() local 74 bool bHasCategories = HasCategories( aArguments, aData ); in interpretDataSource() 79 bool bSetXValues = aData.getLength()>(bCategoriesUsed?2:1); in interpretDataSource() 80 for( sal_Int32 nDataIdx= 0; nDataIdx < aData.getLength(); ++nDataIdx ) in interpretDataSource() 86 xCategories.set( aData[nDataIdx] ); in interpretDataSource() 97 xValuesX.set( aData[nDataIdx] ); in interpretDataSource() 103 aSequencesVec.push_back( aData[nDataIdx] ); in interpretDataSource() 104 if( aData[nDataIdx].is()) in interpretDataSource() 105 SetRole( aData[nDataIdx]->getValues(), C2U("values-y")); in interpretDataSource()
|
/trunk/main/xmlhelp/source/cxxhelp/provider/ |
H A D | bufferedinputstream.cxx | 62 Sequence< sal_Int8 > aData(4096); in BufferedInputStream() local 64 num = xInputStream->readBytes(aData,4096); in BufferedInputStream() 73 (void *)(aData.getArray()), in BufferedInputStream() 125 sal_Int32 SAL_CALL BufferedInputStream::readBytes( Sequence< sal_Int8 >& aData,sal_Int32 nBytesToRe… in readBytes() argument 139 if( aData.getLength() < nBytesToRead ) in readBytes() 140 aData.realloc(nBytesToRead); in readBytes() 142 rtl_copyMemory((void*)(aData.getArray()), in readBytes() 151 Sequence< sal_Int8 >& aData,sal_Int32 nMaxBytesToRead ) in readSomeBytes() 157 return readBytes(aData,nMaxBytesToRead); in readSomeBytes()
|
/trunk/main/ucb/source/ucp/gvfs/ |
H A D | gvfs_stream.cxx | 100 Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead ) in readBytes() 113 aData.realloc( 0 ); in readBytes() 118 aData.realloc( nBytesToRead ); in readBytes() 124 result = gnome_vfs_read( m_handle, aData.getArray(), in readBytes() 135 aData.realloc( sal::static_int_cast<sal_uInt32>(nBytesRead) ); in readBytes() 141 Sequence< sal_Int8 >& aData, sal_Int32 nMaxBytesToRead ) in readSomeBytes() 149 return readBytes( aData, nMaxBytesToRead ); in readSomeBytes() 262 void SAL_CALL Stream::writeBytes( const com::sun::star::uno::Sequence< sal_Int8 >& aData ) in writeBytes() argument 269 GnomeVFSFileSize toWrite = aData.getLength(); in writeBytes() 270 const sal_Int8 *p = aData.getConstArray(); in writeBytes()
|
/trunk/main/svx/source/svdraw/ |
H A D | svdlayer.cxx | 41 if(aData[i] != 0) in IsEmpty() 52 if(aData[i] != 0xFF) in IsFull() 65 sal_uInt8 a(aData[i]); in GetSetCount() 130 aData[i] &= r2ndSet.aData[i]; in operator &=() 138 aData[i] |= r2ndSet.aData[i]; in operator |=() 156 aData[nIndex] = static_cast<sal_uInt8>(aSeq[nIndex]); in PutValue() 161 aData[nIndex] = 0; in PutValue() 174 if( 0 != aData[nIndex] ) in QueryValue() 185 aSeq[nIndex] = static_cast<sal_Int8>(aData[nIndex]); in QueryValue()
|
/trunk/main/sw/source/ui/dbui/ |
H A D | mmlayoutpage.cxx | 417 … SwInsertFld_Data aData(TYP_CONDTXTFLD, 0, sCondition, sExpression, 0, &rShell ); in InsertAddressFrame() local 418 aFldMgr.InsertFld( aData ); in InsertAddressFrame() 423 aFldMgr.InsertFld( aData ); in InsertAddressFrame() 428 SwInsertFld_Data aData(TYP_DBFLD, 0, sDB, aEmptyStr, 0, &rShell ); in InsertAddressFrame() local 429 aFldMgr.InsertFld( aData ); in InsertAddressFrame() 441 aFldMgr.InsertFld( aData ); in InsertAddressFrame() 451 aFldMgr.InsertFld( aData ); in InsertAddressFrame() 620 aFldMgr.InsertFld( aData ); in InsertGreeting() 625 aFldMgr.InsertFld( aData ); in InsertGreeting() 652 SwInsertFld_Data aData(TYP_DBFLD, 0, sDB, aEmptyStr, 0, &rShell ); in InsertGreeting() local [all …]
|
/trunk/main/scripting/java/com/sun/star/script/framework/io/ |
H A D | XInputStreamImpl.java | 38 …public int readBytes( /*OUT*/byte[][] aData, /*IN*/int nBytesToRead ) throws com.sun.star.io.NotCo… in readBytes() argument 40 aData[ 0 ] = new byte[ nBytesToRead ]; in readBytes() 47 …while ( ( nBytesToRead > 0 ) && ( bytesRead = is.read( aData[ 0 ], totalBytesRead, nBytesToRead ) … in readBytes() 52 if ( totalBytesRead < aData[ 0 ].length ) in readBytes() 55 System.arraycopy( aData[ 0 ], 0, out, 0, totalBytesRead ); in readBytes() 56 aData[ 0 ] = out; in readBytes() 70 …public int readSomeBytes( /*OUT*/byte[][] aData, /*IN*/int nMaxBytesToRead ) throws com.sun.star.i… in readSomeBytes() argument 78 int read = readBytes( aData, bytesToRead ); in readSomeBytes()
|
/trunk/main/store/source/ |
H A D | storlckb.cxx | 170 OStoreDataPageObject aData; in readAt() local 204 storeError eErrCode = aPage.read (aDescr.m_nPage, aData, *m_xManager); in readAt() 217 PageHolderObject< data > xData (aData.makeHolder<data>()); in readAt() 296 OStoreDataPageObject aData; in writeAt() local 306 eErrCode = aPage.read (aDescr.m_nPage, aData, *m_xManager); in writeAt() 312 eErrCode = aData.construct<data>(m_xManager->allocator()); in writeAt() 318 PageHolderObject< data > xData (aData.makeHolder<data>()); in writeAt() 321 eErrCode = aData.construct<data>(m_xManager->allocator()); in writeAt() 324 xData = aData.makeHolder<data>(); in writeAt() 334 eErrCode = aPage.write (aDescr.m_nPage, aData, *m_xManager); in writeAt()
|
/trunk/main/package/source/package/zippackage/ |
H A D | ZipPackageBuffer.cxx | 45 sal_Int32 SAL_CALL ZipPackageBuffer::readBytes( Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead… in readBytes() argument 54 aData.realloc ( nBytesToRead ); in readBytes() 55 memcpy(aData.getArray(), m_aBuffer.getConstArray() + m_nCurrent, nBytesToRead); in readBytes() 60 sal_Int32 SAL_CALL ZipPackageBuffer::readSomeBytes( Sequence< sal_Int8 >& aData, sal_Int32 nMaxByte… in readSomeBytes() argument 63 return readBytes(aData, nMaxBytesToRead); in readSomeBytes() 85 void SAL_CALL ZipPackageBuffer::writeBytes( const Sequence< sal_Int8 >& aData ) in writeBytes() argument 88 sal_Int64 nDataLen = aData.getLength(), nCombined = m_nEnd + nDataLen; in writeBytes() 103 …memcpy( m_aBuffer.getArray() + m_nCurrent, aData.getConstArray(), static_cast < sal_Int32 > (nData… in writeBytes()
|
/trunk/main/sc/source/filter/dif/ |
H A D | difimp.cxx | 72 String& rData = aDifParser.aData; in ScImportDif() 391 aData = aLine.Copy( 1, aLine.Len() - 2 ); in GetNextTopic() 393 aData.Erase(); in GetNextTopic() 545 ReadNextLine( aData ); in GetNextDataset() 551 aTmp += aData; in GetNextDataset() 553 aData = aTmp; in GetNextDataset() 575 aData = aLine.Copy( 1, nLineLength - 2 ); in GetNextDataset() 576 lcl_DeEscapeQuotesDif( aData ); in GetNextDataset() 583 aData = aLine.Copy( 1 ); in GetNextDataset() 587 aData.Append( '\n' ); in GetNextDataset() [all …]
|
/trunk/main/connectivity/source/drivers/jdbc/ |
H A D | Reader.cxx | 55 …va_io_Reader::readSomeBytes( ::com::sun::star::uno::Sequence< sal_Int8 >& aData, sal_Int32 nMaxByt… in readSomeBytes() argument 57 return readBytes(aData,nMaxBytesToRead); in readSomeBytes() 89 sal_Int32 SAL_CALL java_io_Reader::readBytes( ::com::sun::star::uno::Sequence< sal_Int8 >& aData, s… in readBytes() argument 91 OSL_ENSURE(aData.getLength() < nBytesToRead," Sequence is smaller than BytesToRead"); in readBytes() 108 if(aData.getLength() < out) in readBytes() 109 aData.realloc(out-aData.getLength()); in readBytes() 111 memcpy(aData.getArray(),t.pEnv->GetCharArrayElements(pCharArray,&p),out); in readBytes()
|
H A D | tools.cxx | 236 Sequence< sal_Int8 > aData; in createByteInputStream() local 237 x->readBytes(aData,length); in createByteInputStream() 239 rtl_copyMemory(t.pEnv->GetByteArrayElements(pByteArray,&p),aData.getArray(),aData.getLength()); in createByteInputStream() 263 Sequence< sal_Int8 > aData; in createCharArrayReader() local 264 x->readBytes(aData,length); in createCharArrayReader() 266 rtl_copyMemory(t.pEnv->GetCharArrayElements(pCharArray,&p),aData.getArray(),aData.getLength()); in createCharArrayReader()
|
/trunk/main/odk/examples/DevelopersGuide/Charts/ |
H A D | JavaSampleChartAddIn.java | 211 double aData[][] = aDataArray.getData(); in refresh() local 223 final int nLength = aData.length; in refresh() 234 fMin = fMax = aData[ i ][ 1 ]; in refresh() 235 for( j = 1; j < aData[ i ].length; j++ ) in refresh() 237 if( aData[ i ][ j ] > fMax ) in refresh() 238 fMax = aData[ i ][ j ]; in refresh() 239 else if( aData[ i ][ j ] < fMin ) in refresh() 240 fMin = aData[ i ][ j ]; in refresh() 242 aMaxPtSeq[ 0 ][ i ] = new Point( getAxisPosition( aXAxis, aData[ i ][ 0 ], false ), in refresh() 244 aMinPtSeq[ 0 ][ i ] = new Point( getAxisPosition( aXAxis, aData[ i ][ 0 ], false ), in refresh()
|
/trunk/main/vcl/unx/generic/dtrans/ |
H A D | X11_transferable.cxx | 70 Sequence< sal_Int8 > aData; in getTransferData() local 71 …ess = m_rManager.getPasteData( m_aSelection ? m_aSelection : XA_PRIMARY, rFlavor.MimeType, aData ); in getTransferData() 73 …steData( m_rManager.getAtom( OUString::createFromAscii( "CLIPBOARD" ) ), rFlavor.MimeType, aData ); in getTransferData() 81 int nLen = aData.getLength()/2; in getTransferData() 82 if( ((sal_Unicode*)aData.getConstArray())[nLen-1] == 0 ) in getTransferData() 84 OUString aString( (sal_Unicode*)aData.getConstArray(), nLen ); in getTransferData() 93 aRet <<= aData; in getTransferData()
|
/trunk/main/unotools/source/ucbhelper/ |
H A D | xtempfile.cxx | 169 sal_Int32 SAL_CALL OTempFileService::readBytes( ::css::uno::Sequence< sal_Int8 >& aData, sal_Int32 … in readBytes() argument 180 aData.realloc(nBytesToRead); in readBytes() 182 sal_uInt32 nRead = mpStream->Read(static_cast < void* > ( aData.getArray() ), nBytesToRead); in readBytes() 186 aData.realloc( nRead ); in readBytes() 202 sal_Int32 SAL_CALL OTempFileService::readSomeBytes( ::css::uno::Sequence< sal_Int8 >& aData, sal_In… in readSomeBytes() argument 217 aData.realloc(0); in readSomeBytes() 221 return readBytes(aData, nMaxBytesToRead); in readSomeBytes() 280 void SAL_CALL OTempFileService::writeBytes( const ::css::uno::Sequence< sal_Int8 >& aData ) in writeBytes() argument 288 sal_uInt32 nWritten = mpStream->Write(aData.getConstArray(),aData.getLength()); in writeBytes() 290 if ( nWritten != (sal_uInt32)aData.getLength()) in writeBytes()
|
/trunk/main/vcl/source/gdi/ |
H A D | pngwrite.cxx | 284 sal_uInt32 nDataSize = aBeg->aData.size(); in Write() 286 nCRC = rtl_crc32( nCRC, &aBeg->aData[ 0 ], nDataSize ); in Write() 290 rOStm.Write( &aBeg->aData[ 0 ], nDataSize ); in Write() 672 maChunkSeq.back().aData.push_back( nSource ); in ImplWriteChunk() 678 rChunkData.aData.push_back( (sal_uInt8)( nSource >> 24 ) ); in ImplWriteChunk() 679 rChunkData.aData.push_back( (sal_uInt8)( nSource >> 16 ) ); in ImplWriteChunk() 680 rChunkData.aData.push_back( (sal_uInt8)( nSource >> 8 ) ); in ImplWriteChunk() 681 rChunkData.aData.push_back( (sal_uInt8)( nSource ) ); in ImplWriteChunk() 689 sal_uInt32 nSize = rChunkData.aData.size(); in ImplWriteChunk() 690 rChunkData.aData.resize( nSize + nDatSize ); in ImplWriteChunk() [all …]
|
/trunk/main/embeddedobj/source/msole/ |
H A D | ownview.cxx | 391 uno::Sequence< sal_Int8 > aData( 8 ); in ReadContentsAndGenerateTempFile() local 392 if ( xInStream->readBytes( aData, 8 ) == 8 in ReadContentsAndGenerateTempFile() 393 && aData[0] == -1 && aData[1] == -1 && aData[2] == -1 && aData[3] == -1 in ReadContentsAndGenerateTempFile() 394 && ( aData[4] == 2 || aData[4] == 3 ) && aData[5] == 0 && aData[6] == 0 && aData[7] == 0 ) in ReadContentsAndGenerateTempFile()
|
/trunk/main/xmlsecurity/tools/standalone/mscsfit/ |
H A D | helper.hxx | 82 Sequence< sal_Int8 >& aData , in readBytes() 89 aData = Sequence< sal_Int8 > ( &( m_seq.getConstArray()[nPos] ), nBytesToRead ) ; in readBytes() 95 ::com::sun::star::uno::Sequence< sal_Int8 >& aData , in readSomeBytes() 99 return readBytes( aData, nMaxBytesToRead ) ; in readSomeBytes() 145 const Sequence< sal_Int8 >& aData in writeBytes() 151 fwrite( aData.getConstArray() , 1 , aData.getLength() , m_f ) ; in writeBytes()
|
/trunk/main/cui/source/options/ |
H A D | optlingu.cxx | 500 if(aData.HasNumericValue()) in Paint() 1363 if (aData.GetEntryId() < nDics) in FillItemSet() 1399 if (aData.IsCheckable()) in FillItemSet() 1404 else if (aData.HasNumericValue()) in FillItemSet() 1406 sal_Int16 nVal = aData.GetNumericValue(); in FillItemSet() 1485 lcl_SetCheckButton( pEntry, aData.IsChecked() ); in AddDicBoxEntry() 1787 sal_uInt16 nDicPos = aData.GetEntryId(); in IMPL_LINK() 1818 sal_uInt16 nDicPos = aData.GetEntryId(); in IMPL_LINK() 1879 if(aData.HasNumericValue()) in IMPL_LINK() 1882 switch (aData.GetEntryId()) in IMPL_LINK() [all …]
|
/trunk/main/xmlsecurity/tools/standalone/csfit/ |
H A D | helper.hxx | 88 Sequence< sal_Int8 >& aData , in readBytes() 95 aData = Sequence< sal_Int8 > ( &( m_seq.getConstArray()[nPos] ), nBytesToRead ) ; in readBytes() 101 ::com::sun::star::uno::Sequence< sal_Int8 >& aData , in readSomeBytes() 105 return readBytes( aData, nMaxBytesToRead ) ; in readSomeBytes() 151 const Sequence< sal_Int8 >& aData in writeBytes() 157 fwrite( aData.getConstArray() , 1 , aData.getLength() , m_f ) ; in writeBytes()
|
/trunk/main/basic/source/sbx/ |
H A D | sbxvar.cxx | 342 if( aData.eType == SbxOBJECT ) in GetType() 343 return aData.pObj ? aData.pObj->GetType() : SbxOBJECT; in GetType() 344 else if( aData.eType == SbxVARIANT ) in GetType() 345 return aData.pObj ? aData.pObj->GetType() : SbxVARIANT; in GetType() 347 return aData.eType; in GetType() 459 aTmp.eType = aData.eType = (SbxDataType) nType; in LoadData() 504 aData.eType = SbxNULL; in LoadData() 591 aData.eType = p->GetType(); in SbxAlias()
|