Home
last modified time | relevance | path

Searched refs:nBytes (Results 26 – 50 of 149) sorted by relevance

123456

/aoo41x/main/oox/source/xls/
H A Dbiffcodec.cxx68 …ecode( sal_uInt8* pnDestData, const sal_uInt8* pnSrcData, sal_Int64 nStreamPos, sal_uInt16 nBytes ) in decode() argument
70 if( pnDestData && pnSrcData && (nBytes > 0) ) in decode()
73 implDecode( pnDestData, pnSrcData, nStreamPos, nBytes ); in decode()
75 memcpy( pnDestData, pnSrcData, nBytes ); in decode()
140 …ecode( sal_uInt8* pnDestData, const sal_uInt8* pnSrcData, sal_Int64 nStreamPos, sal_uInt16 nBytes ) in implDecode() argument
143 maCodec.skip( static_cast< sal_Int32 >( (nStreamPos + nBytes) & 0x0F ) ); in implDecode()
144 maCodec.decode( pnDestData, pnSrcData, nBytes ); in implDecode()
230 …ecode( sal_uInt8* pnDestData, const sal_uInt8* pnSrcData, sal_Int64 nStreamPos, sal_uInt16 nBytes ) in implDecode() argument
235 sal_uInt16 nBytesLeft = nBytes; in implDecode()
/aoo41x/main/vcl/source/helper/
H A Dxconnection.cxx68 int nBytes; in DisplayConnection() local
69 void* pBytes = ImplGetSVData()->mpDefInst->GetConnectionIdentifier( eType, nBytes ); in DisplayConnection()
76 m_aAny <<= Sequence< sal_Int8 >( (sal_Int8*)pBytes, nBytes ); in DisplayConnection()
141 bool DisplayConnection::dispatchEvent( void* pData, int nBytes ) in dispatchEvent() argument
145 Sequence< sal_Int8 > aSeq( (sal_Int8*)pData, nBytes ); in dispatchEvent()
159 bool DisplayConnection::dispatchErrorEvent( void* pData, int nBytes ) in dispatchErrorEvent() argument
163 Sequence< sal_Int8 > aSeq( (sal_Int8*)pData, nBytes ); in dispatchErrorEvent()
/aoo41x/main/vcl/unx/generic/printergfx/
H A Dpsputil.cxx136 sal_Int32 nBytes = strlen (pSrc); in appendStr() local
137 strncpy (pDst, pSrc, nBytes + 1); in appendStr()
139 return nBytes; in appendStr()
143 appendStr (const sal_Char* pSrc, sal_Char* pDst, sal_Int32 nBytes) in appendStr() argument
145 strncpy (pDst, pSrc, nBytes); in appendStr()
146 pDst [nBytes] = '\0'; in appendStr()
147 return nBytes; in appendStr()
/aoo41x/main/sal/textenc/
H A Dconvertiso2022jp.c413 sal_uInt16 nBytes = 0; in ImplConvertUnicodeToIso2022Jp() local
422 nBytes = pJisX0208Data[nIndex1]. in ImplConvertUnicodeToIso2022Jp()
424 if (nBytes == 0) in ImplConvertUnicodeToIso2022Jp()
430 nBytes = 0x216F; in ImplConvertUnicodeToIso2022Jp()
434 nBytes = 0x2131; in ImplConvertUnicodeToIso2022Jp()
439 if (nBytes != 0) in ImplConvertUnicodeToIso2022Jp()
455 *pDestBufPtr++ = (sal_Char) (nBytes >> 8); in ImplConvertUnicodeToIso2022Jp()
456 *pDestBufPtr++ = (sal_Char) (nBytes & 0xFF); in ImplConvertUnicodeToIso2022Jp()
/aoo41x/main/vcl/unx/generic/dtrans/
H A DX11_selection.cxx1285 unsigned long nItems, nBytes; in getPasteDataTypes() local
1870 unsigned long nItems = 0, nBytes = 0; in handleReceivePropertyNotify() local
1881 &nItems, &nBytes, in handleReceivePropertyNotify()
1885 nBytes, in handleReceivePropertyNotify()
1906 0, nBytes/4 +1, in handleReceivePropertyNotify()
1910 &nItems, &nBytes, in handleReceivePropertyNotify()
1916 nFormat, nBytes ); in handleReceivePropertyNotify()
2014 nBytes = (nBytes > m_nIncrementalThreshold) ? m_nIncrementalThreshold : nBytes; in handleSendPropertyNotify()
2016 nBytes = 0; in handleSendPropertyNotify()
2019 nBytes, nBytes > 32 ? 32 : nBytes, in handleSendPropertyNotify()
[all …]
/aoo41x/main/vcl/win/source/gdi/
H A Dsalprn.cxx190 DWORD nBytes = 0; in getPrinterQueueInfoOldStyle() local
196 if ( nBytes ) in getPrinterQueueInfoOldStyle()
199 …if ( EnumPrintersA( PRINTER_ENUM_LOCAL, NULL, 2, (LPBYTE)pWinInfo2, nBytes, &nBytes, &nInfoPrn2 ) ) in getPrinterQueueInfoOldStyle()
321 DWORD nBytes = 0; in GetPrinterQueueInfo() local
325 if ( nBytes ) in GetPrinterQueueInfo()
348 DWORD nBytes = 0; in getPrinterQueueStateOldStyle() local
352 if ( nBytes ) in getPrinterQueueStateOldStyle()
355 if ( EnumPrintersA( PRINTER_ENUM_LOCAL, NULL, 2, (LPBYTE)pWinInfo2, nBytes, &nBytes, &nInfoRet ) ) in getPrinterQueueStateOldStyle()
403 DWORD nBytes = 0; in GetPrinterQueueState() local
405 if( nBytes ) in GetPrinterQueueState()
[all …]
/aoo41x/main/desktop/source/deployment/registry/configuration/
H A Ddp_configuration.cxx613 sal_Size nBytes = bytes.getLength(); in replaceOrigin() local
615 while (nBytes > 0) in replaceOrigin()
617 sal_Int32 index = rtl_str_indexOfChar_WithLength( pBytes, nBytes, '%' ); in replaceOrigin()
621 index = nBytes; in replaceOrigin()
629 nBytes -= index; in replaceOrigin()
630 if (nBytes == 0) in replaceOrigin()
635 --nBytes; in replaceOrigin()
638 if (nBytes > 1 && pBytes[ 0 ] == '%') in replaceOrigin()
642 --nBytes; in replaceOrigin()
646 pBytes, nBytes, in replaceOrigin()
[all …]
/aoo41x/main/vcl/unx/generic/printer/
H A Djobdata.cxx166 sal_uLong nBytes; in getStreamBuffer() local
167 void* pContextBuffer = m_aContext.getStreamableBuffer( nBytes ); in getStreamBuffer()
168 if( nBytes ) in getStreamBuffer()
169 aStream.Write( pContextBuffer, nBytes ); in getStreamBuffer()
250 int nBytes = bytes - aStream.Tell(); in constructFromStreamBuffer() local
252 aStream.Read( pRemain, nBytes ); in constructFromStreamBuffer()
253 rJobData.m_aContext.rebuildFromStreamBuffer( pRemain, nBytes ); in constructFromStreamBuffer()
/aoo41x/main/oox/inc/oox/xls/
H A Dbiffinputstream.hxx80 void read( void* opData, sal_uInt16 nBytes );
82 void skip( sal_uInt16 nBytes );
259 …virtual sal_Int32 readData( StreamDataSequence& orData, sal_Int32 nBytes, size_t nAtomSize = 1 );
262 virtual sal_Int32 readMemory( void* opMem, sal_Int32 nBytes, size_t nAtomSize = 1 );
264 virtual void skip( sal_Int32 nBytes, size_t nAtomSize = 1 );
380 sal_uInt16 getMaxRawReadSize( sal_Int32 nBytes, size_t nAtomSize ) const;
/aoo41x/main/sc/source/filter/excel/
H A Dxestream.cxx197 sal_Size XclExpStream::Write( const void* pData, sal_Size nBytes ) in Write() argument
200 if( pData && (nBytes > 0) ) in Write()
205 sal_Size nBytesLeft = nBytes; in Write()
233 nRet = mrStrm.Write( pData, nBytes ); in Write()
238 void XclExpStream::WriteZeroBytes( sal_Size nBytes ) in WriteZeroBytes() argument
242 sal_Size nBytesLeft = nBytes; in WriteZeroBytes()
252 WriteRawZeroBytes( nBytes ); in WriteZeroBytes()
255 void XclExpStream::WriteZeroBytesToRecord( sal_Size nBytes ) in WriteZeroBytesToRecord() argument
262 for (sal_Size i = 0; i < nBytes; ++i) in WriteZeroBytesToRecord()
468 void XclExpStream::WriteRawZeroBytes( sal_Size nBytes ) in WriteRawZeroBytes() argument
[all …]
/aoo41x/main/oox/source/ole/
H A Daxbinaryreader.cxx78 sal_Int32 AxAlignedInputStream::readData( StreamDataSequence& orData, sal_Int32 nBytes, size_t nAto… in readData() argument
83 nReadSize = mpInStrm->readData( orData, nBytes, nAtomSize ); in readData()
90 sal_Int32 AxAlignedInputStream::readMemory( void* opMem, sal_Int32 nBytes, size_t nAtomSize ) in readMemory() argument
95 nReadSize = mpInStrm->readMemory( opMem, nBytes, nAtomSize ); in readMemory()
102 void AxAlignedInputStream::skip( sal_Int32 nBytes, size_t nAtomSize ) in skip() argument
106 mpInStrm->skip( nBytes, nAtomSize ); in skip()
107 mnStrmPos += nBytes; in skip()
/aoo41x/main/sot/source/sdstor/
H A Dstgcache.cxx447 sal_uLong nBytes = nPg2 * nPageSize; in Read() local
451 nPos = 0L, nBytes = 512; in Read()
462 pStrm->Read( pBuf, nBytes ); in Read()
477 sal_uLong nBytes = 0; in Write() local
479 nBytes = nPg * nPageSize; in Write()
484 nPos = 0L, nBytes = 512; in Write()
493 sal_uLong nRes = pStrm->Write( pBuf, nBytes ); in Write()
494 if( nRes != nBytes ) in Write()
/aoo41x/main/sal/osl/w32/
H A Dprocess.cxx516 sal_Int32* nBytes) in ReadPipe() argument
518 *nBytes = osl_receivePipe(hPipe, pBuffer, BytesToRead); in ReadPipe()
520 BytesToRead, *nBytes); in ReadPipe()
521 return (sal_Bool)((*nBytes >= 0) && (osl_getLastPipeError(hPipe) == osl_Pipe_E_None)); in ReadPipe()
527 sal_Int32* nBytes) in WritePipe() argument
529 *nBytes = osl_sendPipe(hPipe, pBuffer, BytesToSend); in WritePipe()
531 BytesToSend, *nBytes); in WritePipe()
532 … return (sal_Bool)((*nBytes == BytesToSend) && (osl_getLastPipeError(hPipe) == osl_Pipe_E_None)); in WritePipe()
/aoo41x/main/filter/source/msfilter/
H A Dmscodec.cxx213 void MSCodec_XorXLS95::Decode( sal_uInt8* pnData, sal_Size nBytes ) in Decode() argument
218 for( const sal_uInt8* pnDataEnd = pnData + nBytes; pnData < pnDataEnd; ++pnData ) in Decode()
226 Skip( nBytes ); in Decode()
229 void MSCodec_XorWord95::Decode( sal_uInt8* pnData, sal_Size nBytes ) in Decode() argument
234 for( const sal_uInt8* pnDataEnd = pnData + nBytes; pnData < pnDataEnd; ++pnData ) in Decode()
243 Skip( nBytes ); in Decode()
247 void MSCodec_Xor95::Skip( sal_Size nBytes ) in Skip() argument
249 mnOffset = (mnOffset + nBytes) & 0x0F; in Skip()
/aoo41x/main/sal/osl/os2/
H A Dfile.cxx238 size_t nBytes);
420 if (-1 == nBytes) in readAt()
422 m_offset += nBytes; in readAt()
425 *pBytesRead = nBytes; in readAt()
451 if (-1 == nBytes) in writeAt()
453 m_offset += nBytes; in writeAt()
458 *pBytesWritten = nBytes; in writeAt()
472 if (-1 == nBytes) in readFileAt()
474 *pBytesRead = nBytes; in readFileAt()
542 if (-1 == nBytes) in writeFileAt()
[all …]
/aoo41x/main/sw/source/filter/ww1/
H A Dw1class.hxx379 Ww1SingleSprm(sal_uInt16 nBytes, const sal_Char* /*pName*/ = 0 ) in Ww1SingleSprm() argument
380 : nCountBytes(nBytes) in Ww1SingleSprm()
392 Ww1SingleSprmByteSized(sal_uInt16 nBytes, sal_Char* sName = 0) : in Ww1SingleSprmByteSized() argument
393 Ww1SingleSprm(nBytes, sName) { in Ww1SingleSprmByteSized()
401 Ww1SingleSprmWordSized(sal_uInt16 nBytes, sal_Char* sName = 0) : in Ww1SingleSprmWordSized() argument
402 Ww1SingleSprm(nBytes, sName) { in Ww1SingleSprmWordSized()
454 Ww1SingleSprmTab(sal_uInt16 nBytes, sal_Char* sName = 0) : in Ww1SingleSprmTab() argument
455 Ww1SingleSprm(nBytes, sName) { in Ww1SingleSprmTab()
988 Ww1PlcFields(Ww1Fib& rFibL, sal_uLong start, sal_uInt16 nBytes) in Ww1PlcFields() argument
989 : Ww1Plc(rFibL, start, nBytes, 2) in Ww1PlcFields()
[all …]
/aoo41x/main/cui/source/dialogs/
H A Dabout.cxx129 sal_uInt32 nBytes = (sal_uInt32)aStatus.getFileSize(); in lcl_readTxtFile() local
131 sal_Char *pBuffer = new sal_Char[nBytes]; in lcl_readTxtFile()
134 nBytes-nPosition, in lcl_readTxtFile()
136 && nPosition + nBytesRead < nBytes) in lcl_readTxtFile()
141 OSL_ENSURE( nBytes < STRING_MAXLEN, "Text file has too much bytes!" ); in lcl_readTxtFile()
142 if ( nBytes > STRING_MAXLEN ) in lcl_readTxtFile()
143 nBytes = STRING_MAXLEN - 1; in lcl_readTxtFile()
146 nBytes, in lcl_readTxtFile()
/aoo41x/main/sdext/source/pdfimport/
H A Dpdfiadaptor.cxx118 sal_Int32 nBytes; in filter() local
121 nBytes = xInput->readBytes( aBuf, nBufSize ); in filter()
122 if( nBytes > 0 ) in filter()
124 osl_writeFile( aFile, aBuf.getConstArray(), nBytes, &nWritten ); in filter()
125 if( static_cast<sal_Int32>(nWritten) != nBytes ) in filter()
131 } while( nBytes == nBufSize ); in filter()
/aoo41x/main/bridges/source/cpp_uno/cc50_solaris_intel/
H A Dexcept.cxx122 int nBytes = aToken.getLength(); in toRTTImangledname() local
123 if( nBytes ) in toRTTImangledname()
125 if( nBytes > 25 ) in toRTTImangledname()
127 aRet.append( (sal_Char)( nBytes/26 + 'a' ) ); in toRTTImangledname()
128 aRet.append( (sal_Char)( nBytes%26 + 'A' ) ); in toRTTImangledname()
131 aRet.append( (sal_Char)( nBytes + 'A' ) ); in toRTTImangledname()
/aoo41x/main/bridges/source/cpp_uno/cc50_solaris_sparc/
H A Dexcept.cxx124 int nBytes = aToken.getLength(); in toRTTImangledname() local
125 if( nBytes ) in toRTTImangledname()
127 if( nBytes > 25 ) in toRTTImangledname()
129 aRet.append( (sal_Char)( nBytes/26 + 'a' ) ); in toRTTImangledname()
130 aRet.append( (sal_Char)( nBytes%26 + 'A' ) ); in toRTTImangledname()
133 aRet.append( (sal_Char)( nBytes + 'A' ) ); in toRTTImangledname()
/aoo41x/main/crashrep/source/unx/
H A Dmain.cxx165 size_t nBytes; in fcopy() local
168 while ( 0 != (nBytes = fread( buffer, 1, sizeof(buffer), fpin )) ) in fcopy()
170 nBytesWritten += fwrite( buffer, 1, nBytes, fpout ); in fcopy()
372 size_t nBytes; in SendHTTPRequest() local
376 nBytes = fread( buffer, 1, sizeof(buffer), fp ); in SendHTTPRequest()
378 if ( nBytes ) in SendHTTPRequest()
381 fwrite( buffer, 1, nBytes, stdout ); in SendHTTPRequest()
382 success = SOCKET_ERROR != send( s, buffer, nBytes, 0 ); in SendHTTPRequest()
384 } while( nBytes && success ); in SendHTTPRequest()
/aoo41x/main/connectivity/source/drivers/odbcbase/
H A DOTools.cxx496 SQLINTEGER nBytes = pcbValue != SQL_NO_TOTAL ? std::min(pcbValue, nMaxLen) : nMaxLen; in getBytesValue() local
497 …if ( ((pcbValue == SQL_NO_TOTAL) || pcbValue > nMaxLen) && aCharArray[nBytes-1] == 0 && nBytes > … in getBytesValue()
498 --nBytes; in getBytesValue()
499 Sequence<sal_Int8> aData((sal_Int8*)aCharArray, nBytes); in getBytesValue()
512 nBytes = pcbValue - nMaxLen; in getBytesValue()
514 nBytes = nMaxLen; in getBytesValue()
522 (SQLINTEGER)nBytes, in getBytesValue()
526 aData.realloc(nLen + nBytes); in getBytesValue()
527 memcpy(aData.getArray() + nLen, aCharArray, nBytes); in getBytesValue()
/aoo41x/main/vcl/unx/generic/gdi/
H A Dgcach_xpeer.cxx471 const sal_uLong nBytes = maRawBitmap.mnHeight * maRawBitmap.mnScanlineSize; in GetPixmap() local
472 if( nBytes > 0 ) in GetPixmap()
512 for( int i = nBytes; --i >= 0; ++pTemp ) in GetPixmap()
535 mnBytesUsed += nBytes; in GetPixmap()
620 const sal_uLong nBytes = maRawBitmap.mnScanlineSize * maRawBitmap.mnHeight; in GetXRGlyph() local
622 aGlyphInfo, (char*)maRawBitmap.mpBits, nBytes ); in GetXRGlyph()
623 mnBytesUsed += nBytes; in GetXRGlyph()
/aoo41x/main/sc/source/filter/xcl97/
H A Dxcl97rec.cxx1124 sal_uInt16 nBytes = 0x0867; in WriteBody() local
1125 rStrm << nBytes; in WriteBody()
1131 nBytes = 0x0200; in WriteBody()
1132 rStrm << nBytes; in WriteBody()
1133 nBytes = 0x0100; in WriteBody()
1134 rStrm << nBytes; in WriteBody()
1135 nBytes = 0xFFFF; in WriteBody()
1136 rStrm << nBytes << nBytes; in WriteBody()
1139 nBytes = 0; in WriteBody()
1140 rStrm << nBytes; in WriteBody()
/aoo41x/main/desktop/source/app/
H A Dofficeipcthread.cxx693 int nBytes = 0; in run() local
696 while ((nResult=maStreamPipe.recv( pBuf+nBytes, nBufSz-nBytes))>0) { in run()
697 nBytes += nResult; in run()
698 if (pBuf[nBytes-1]=='\0') { in run()
912 nBytes = 0; in run()
914 … (nResult = maStreamPipe.send(sc_aConfirmationSequence+nBytes, sc_nCSeqLength-nBytes))>0 && in run()
915 ((nBytes += nResult) < sc_nCSeqLength) ) ; in run()

Completed in 195 milliseconds

123456