Home
last modified time | relevance | path

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

12345678910

/trunk/main/tools/inc/tools/
H A Dstream.hxx124 sal_Size nSize;
156 virtual ErrCode ReadAt(sal_Size nPos, void * pBuffer, sal_Size nCount,
157 sal_Size * pRead) const;
159 virtual ErrCode WriteAt(sal_Size nPos, const void * pBuffer, sal_Size nCount,
160 sal_Size * pWritten);
164 virtual ErrCode SetSize(sal_Size nSize);
166 virtual ErrCode LockRegion(sal_Size, sal_Size, LockType);
168 virtual ErrCode UnlockRegion(sal_Size, sal_Size, LockType);
189 virtual ErrCode FillAppend(const void * pBuffer, sal_Size nCount,
190 sal_Size * pWritten) = 0;
[all …]
/trunk/main/sal/textenc/
H A Dtenchelp.h45 sal_Size (* ImplConvertToUnicodeProc)(ImplTextConverterData const * pData,
48 sal_Size nSrcBytes,
50 sal_Size nDestChars,
53 sal_Size * pSrcCvtBytes);
56 sal_Size (* ImplConvertToTextProc)(ImplTextConverterData const * pData,
59 sal_Size nSrcChars,
61 sal_Size nDestBytes,
64 sal_Size * pSrcCvtChars);
217 sal_Size ImplSymbolToUnicode( const ImplTextConverterData* pData, void* pContext,
218 const sal_Char* pSrcBuf, sal_Size nSrcBytes,
[all …]
H A Dtextcvt.c30 static sal_Size ImplDummyToUnicode( const sal_Char* pSrcBuf, sal_Size nSrcBytes, in ImplDummyToUnicode()
31 sal_Unicode* pDestBuf, sal_Size nDestChars, in ImplDummyToUnicode()
33 sal_Size* pSrcCvtBytes ) in ImplDummyToUnicode()
69 static sal_Size ImplUnicodeToDummy( const sal_Unicode* pSrcBuf, sal_Size nSrcChars, in ImplUnicodeToDummy()
70 sal_Char* pDestBuf, sal_Size nDestBytes, in ImplUnicodeToDummy()
72 sal_Size* pSrcCvtChars ) in ImplUnicodeToDummy()
157 sal_Size SAL_CALL rtl_convertTextToUnicode( rtl_TextToUnicodeConverter hConverter, in rtl_convertTextToUnicode()
159 const sal_Char* pSrcBuf, sal_Size nSrcBytes, in rtl_convertTextToUnicode()
160 sal_Unicode* pDestBuf, sal_Size nDestChars, in rtl_convertTextToUnicode()
162 sal_Size* pSrcCvtBytes ) in rtl_convertTextToUnicode()
[all …]
H A Dtcvtbyte.c464 sal_Size ImplSymbolToUnicode( const ImplTextConverterData* pData, in ImplSymbolToUnicode()
466 const sal_Char* pSrcBuf, sal_Size nSrcBytes, in ImplSymbolToUnicode()
467 sal_Unicode* pDestBuf, sal_Size nDestChars, in ImplSymbolToUnicode()
469 sal_Size* pSrcCvtBytes ) in ImplSymbolToUnicode()
506 sal_Size ImplUnicodeToSymbol( const ImplTextConverterData* pData, in ImplUnicodeToSymbol()
508 const sal_Unicode* pSrcBuf, sal_Size nSrcChars, in ImplUnicodeToSymbol()
509 sal_Char* pDestBuf, sal_Size nDestBytes, in ImplUnicodeToSymbol()
511 sal_Size* pSrcCvtChars ) in ImplUnicodeToSymbol()
573 sal_Size ImplCharToUnicode( const ImplTextConverterData* pData, in ImplCharToUnicode()
575 const sal_Char* pSrcBuf, sal_Size nSrcBytes, in ImplCharToUnicode()
[all …]
/trunk/main/tools/source/stream/
H A Dstream.cxx182 ErrCode SvLockBytes::ReadAt(sal_Size nPos, void * pBuffer, sal_Size nCount, in ReadAt()
183 sal_Size * pRead) const in ReadAt()
192 sal_Size nTheRead = m_pStream->Read(pBuffer, nCount); in ReadAt()
200 ErrCode SvLockBytes::WriteAt(sal_Size nPos, const void * pBuffer, sal_Size nCount, in WriteAt()
201 sal_Size * pWritten) in WriteAt()
210 sal_Size nTheWritten = m_pStream->Write(pBuffer, nCount); in WriteAt()
232 ErrCode SvLockBytes::SetSize(sal_Size nSize) in SetSize()
245 ErrCode SvLockBytes::LockRegion(sal_Size, sal_Size, LockType) in LockRegion() argument
253 ErrCode SvLockBytes::UnlockRegion(sal_Size, sal_Size, LockType) in UnlockRegion() argument
270 sal_Size nPos = m_pStream->Tell(); in Stat()
[all …]
H A Dstrmunx.cxx64 sal_Size m_nStartPos;
65 sal_Size m_nEndPos;
69 InternalStreamLock( sal_Size, sal_Size, SvFileStream* );
72 static sal_Bool LockFile( sal_Size nStart, sal_Size nEnd, SvFileStream* );
73 static void UnlockFile( sal_Size nStart, sal_Size nEnd, SvFileStream* );
77 sal_Size nStart, in InternalStreamLock()
78 sal_Size nEnd, in InternalStreamLock()
107 sal_Bool InternalStreamLock::LockFile( sal_Size nStart, sal_Size nEnd, SvFileStream* pStream ) in LockFile()
157 void InternalStreamLock::UnlockFile( sal_Size nStart, sal_Size nEnd, SvFileStream* pStream ) in UnlockFile()
355 sal_Size SvFileStream::GetData( void* pData, sal_Size nSize ) in GetData()
[all …]
/trunk/main/sc/source/filter/inc/
H A Dxistream.hxx87 …virtual void OnUpdate( sal_Size nOldStrmPos, sal_Size nNewStrmPos, sal_uInt16 nRecSize ) = …
93 sal_Size mnOldPos; /// Last known stream position.
116 virtual void OnUpdate( sal_Size nOldStrmPos, sal_Size nNewStrmPos, sal_uInt16 nRecSize );
147 virtual void OnUpdate( sal_Size nOldStrmPos, sal_Size nNewStrmPos, sal_uInt16 nRecSize );
152 sal_uInt32 GetBlock( sal_Size nStrmPos ) const;
154 sal_uInt16 GetOffset( sal_Size nStrmPos ) const;
178 void Set( const SvStream& rStrm, sal_Size nNextPos, sal_Size nCurrSize,
183 void Get( SvStream& rStrm, sal_Size& rnNextPos, sal_Size& rnCurrSize,
188 inline sal_Size GetPos() const { return mnPos; } in GetPos()
191 sal_Size mnPos; /// Absolute position of the stream.
[all …]
H A Dfprogressbar.hxx118 sal_Int32 AddSegment( sal_Size nSize );
135 void ProgressAbs( sal_Size nPos );
137 void Progress( sal_Size nDelta = 1 );
155 void IncreaseProgressBar( sal_Size nDelta );
164 sal_Size mnSize; /// Size of this segment.
165 sal_Size mnPos; /// Current position of this segment.
167 explicit ScfProgressSegment( sal_Size nSize );
183 sal_Size mnTotalSize; /// Total size of all segments.
184 sal_Size mnTotalPos; /// Sum of positions of all segments.
185 sal_Size mnUnitSize; /// Size between two calls of system progress.
[all …]
H A DXclExpChangeTrack.hxx57 virtual sal_Size GetLen() const;
93 virtual sal_Size GetLen() const;
106 virtual sal_Size GetLen() const;
119 virtual sal_Size GetLen() const;
132 virtual sal_Size GetLen() const;
145 virtual sal_Size GetLen() const;
158 virtual sal_Size GetLen() const;
174 virtual sal_Size GetLen() const;
189 virtual sal_Size GetLen() const;
208 virtual sal_Size GetLen() const;
[all …]
H A Dexcrecds.hxx73 virtual sal_Size GetLen() const = 0;
93 virtual sal_Size GetLen() const;
146 virtual sal_Size GetLen( void ) const;
176 virtual sal_Size GetLen( void ) const;
191 virtual sal_Size GetLen( void ) const;
202 virtual sal_Size GetLen( void ) const;
213 static const sal_Size nMyLen;
215 virtual sal_Size GetLen( void ) const;
256 static const sal_Size nMyLen;
258 virtual sal_Size GetLen( void ) const;
[all …]
H A Dxestream.hxx95 void StartRecord( sal_uInt16 nRecId, sal_Size nRecSize );
122 sal_Size Write( const void* pData, sal_Size nBytes );
124 void WriteZeroBytes( sal_Size nBytes );
126 void WriteZeroBytesToRecord( sal_Size nBytes );
130 sal_Size CopyFromStream( SvStream& rInStrm, sal_Size nBytes = STREAM_SEEK_TO_END );
161 sal_Size SetSvStreamPos( sal_Size nPos );
163 inline sal_Size GetSvStreamPos() const { return mrStrm.Tell(); } in GetSvStreamPos()
179 void UpdateSizeVars( sal_Size nSize );
189 void WriteRawZeroBytes( sal_Size nBytes );
206 sal_Size mnPredictSize; /// Predicted size received from calling function.
[all …]
/trunk/main/sal/rtl/source/
H A Dcipher.c84 const sal_uInt8 *pKeyData, sal_Size nKeyLen,
85 const sal_uInt8 *pArgData, sal_Size nArgLen);
89 const void *pData, sal_Size nDatLen,
90 sal_uInt8 *pBuffer, sal_Size nBufLen);
143 const sal_uInt8 *pKeyData, sal_Size nKeyLen, in rtl_cipher_init()
144 const sal_uInt8 *pArgData, sal_Size nArgLen) in rtl_cipher_init()
161 const void *pData, sal_Size nDatLen, in rtl_cipher_encode()
162 sal_uInt8 *pBuffer, sal_Size nBufLen) in rtl_cipher_encode()
178 const void *pData, sal_Size nDatLen, in rtl_cipher_decode()
179 sal_uInt8 *pBuffer, sal_Size nBufLen) in rtl_cipher_decode()
[all …]
H A Dalloc_arena.c81 sal_Size * pSize
88 sal_Size nSize
91 static sal_Size
150 sal_Size size = rtl_machdep_pagesize(); in rtl_arena_segment_populate()
156 sal_Size count = size / sizeof(rtl_arena_segment_type); in rtl_arena_segment_populate()
311 sal_Size new_size in rtl_arena_hash_rescale()
315 sal_Size new_bytes; in rtl_arena_hash_rescale()
323 sal_Size old_size, i; in rtl_arena_hash_rescale()
346 sal_Size k = 0; rtl_arena_segment_type ** segpp = &(arena->m_hash_table[i]); in rtl_arena_hash_rescale()
382 sal_Size old_bytes = old_size * sizeof(rtl_arena_segment_type*); in rtl_arena_hash_rescale()
[all …]
H A Dalloc_cache.h44 sal_Size m_mem_total;
45 sal_Size m_mem_alloc;
71 sal_Size m_ntypes; /* number of buffers used */
89 sal_Size m_mag_size;
90 sal_Size m_mag_used;
104 sal_Size m_mag_count; /* count */
107 sal_Size m_curr_min;
108 sal_Size m_prev_min;
131 sal_Size m_type_size; /* const */
132 sal_Size m_type_align; /* const */
[all …]
H A Dalloc_arena.h44 sal_Size m_mem_total;
45 sal_Size m_mem_alloc;
52 #define RTL_ARENA_SEGMENT_TYPE_HEAD ((sal_Size)(0x01))
53 #define RTL_ARENA_SEGMENT_TYPE_SPAN ((sal_Size)(0x02))
54 #define RTL_ARENA_SEGMENT_TYPE_FREE ((sal_Size)(0x04))
55 #define RTL_ARENA_SEGMENT_TYPE_USED ((sal_Size)(0x08))
70 sal_Size m_size;
71 sal_Size m_type;
97 void * (SAL_CALL * m_source_alloc)(rtl_arena_type *, sal_Size *);
98 void (SAL_CALL * m_source_free) (rtl_arena_type *, void *, sal_Size);
[all …]
H A Dalloc_global.c54 static const sal_Size g_alloc_sizes[] =
118 sal_Size size; in rtl_memory_once_init()
201 SAL_CALL rtl_allocateMemory (sal_Size n) SAL_THROW_EXTERN_C() in rtl_allocateMemory()
207 sal_Size size = RTL_MEMORY_ALIGN(n + RTL_MEMALIGN, RTL_MEMALIGN); in rtl_allocateMemory()
209 OSL_ASSERT(RTL_MEMALIGN >= sizeof(sal_Size)); in rtl_allocateMemory()
224 ((sal_Size*)(addr))[0] = size; in rtl_allocateMemory()
246 sal_Size size = ((sal_Size*)(addr))[0]; in rtl_freeMemory()
257 void * SAL_CALL rtl_reallocateMemory (void * p, sal_Size n) SAL_THROW_EXTERN_C() in rtl_reallocateMemory()
264 sal_Size n_old = ((sal_Size*)( (char*)(p) - RTL_MEMALIGN ))[0] - RTL_MEMALIGN; in rtl_reallocateMemory()
304 void * SAL_CALL rtl_allocateMemory (sal_Size n) in rtl_allocateMemory()
[all …]
/trunk/main/sal/inc/rtl/
H A Dcipher.h141 const sal_uInt8 *pKeyData, sal_Size nKeyLen,
142 const sal_uInt8 *pArgData, sal_Size nArgLen
159 const void *pData, sal_Size nDatLen,
160 sal_uInt8 *pBuffer, sal_Size nBufLen
177 const void *pData, sal_Size nDatLen,
178 sal_uInt8 *pBuffer, sal_Size nBufLen
213 const sal_uInt8 *pKeyData, sal_Size nKeyLen,
214 const sal_uInt8 *pArgData, sal_Size nArgLen
223 const void *pData, sal_Size nDatLen,
224 sal_uInt8 *pBuffer, sal_Size nBufLen
[all …]
H A Dalloc.h42 sal_Size Bytes
62 sal_Size Bytes
83 sal_Size Bytes
94 sal_Size Bytes
122 sal_Size quantum,
123 sal_Size quantum_cache_max,
125 void * (SAL_CALL * source_alloc)(rtl_arena_type *, sal_Size *),
126 void (SAL_CALL * source_free) (rtl_arena_type *, void *, sal_Size),
156 sal_Size * pBytes
174 sal_Size nBytes
[all …]
/trunk/main/sc/source/filter/excel/
H A Dxistream.cxx91 sal_Size nNewPos = rStrm.Tell(); in Update()
196 void XclImpBiff5Decrypter::OnUpdate( sal_Size /*nOldStrmPos*/, sal_Size nNewStrmPos, sal_uInt16 nRe… in OnUpdate() argument
275 void XclImpBiff8Decrypter::OnUpdate( sal_Size nOldStrmPos, sal_Size nNewStrmPos, sal_uInt16 /*nRecS… in OnUpdate()
323 sal_uInt32 XclImpBiff8Decrypter::GetBlock( sal_Size nStrmPos ) const in GetBlock()
328 sal_uInt16 XclImpBiff8Decrypter::GetOffset( sal_Size nStrmPos ) const in GetOffset()
349 const SvStream& rStrm, sal_Size nNextPos, sal_Size nCurrSize, in Set()
363 SvStream& rStrm, sal_Size& rnNextPos, sal_Size& rnCurrSize, in Get()
455 sal_Size nZeroRecCount = 5; in StartNextRecord()
474 bool XclImpStream::StartNextRecord( sal_Size nNextRecPos ) in StartNextRecord()
571 sal_Size XclImpStream::GetRecPos() const in GetRecPos()
[all …]
H A Dxestream.cxx90 void XclExpStream::StartRecord( sal_uInt16 nRecId, sal_Size nRecSize ) in StartRecord()
197 sal_Size XclExpStream::Write( const void* pData, sal_Size nBytes ) in Write()
199 sal_Size nRet = 0; in Write()
205 sal_Size nBytesLeft = nBytes; in Write()
210 sal_Size nWriteLen = ::std::min< sal_Size >( PrepareWrite(), nBytesLeft ); in Write()
211 sal_Size nWriteRet = nWriteLen; in Write()
238 void XclExpStream::WriteZeroBytes( sal_Size nBytes ) in WriteZeroBytes()
242 sal_Size nBytesLeft = nBytes; in WriteZeroBytes()
245 sal_Size nWriteLen = ::std::min< sal_Size >( PrepareWrite(), nBytesLeft ); in WriteZeroBytes()
255 void XclExpStream::WriteZeroBytesToRecord( sal_Size nBytes ) in WriteZeroBytesToRecord()
[all …]
/trunk/main/sal/qa/rtl/textenc/
H A Drtl_textcvt.cxx49 sal_Size nNumber = 0; in testSingleByteCharSet()
61 sal_Size nSize; in testSingleByteCharSet()
63 sal_Size nConverted; in testSingleByteCharSet()
94 sal_Size nSize; in testSingleByteCharSet()
96 sal_Size nConverted; in testSingleByteCharSet()
127 sal_Size nSize; in testSingleByteCharSet()
129 sal_Size nConverted; in testSingleByteCharSet()
152 sal_Size m_nTextSize;
154 sal_Size m_nUnicodeSize;
170 sal_Size nSize; in doComplexCharSetTest()
[all …]
/trunk/main/extensions/source/xmlextract/
H A Dxmxtrct.cxx50 …virtual ErrCode ReadAt( sal_Size nPos, void* pBuffer, sal_Size nCount, sal_Size* p…
51 …virtual ErrCode WriteAt( sal_Size nPos, const void* pBuffer, sal_Size nCount, sal_…
53 virtual ErrCode SetSize( sal_Size nSize );
92 ErrCode XMXLockBytes::ReadAt( sal_Size nPos, void* pBuffer, sal_Size nCount, sal_Size* pRead ) const in ReadAt()
94 const sal_Size nSeqLen = maSeq.getLength(); in ReadAt()
113 ErrCode XMXLockBytes::WriteAt( sal_Size /*nPos*/, const void* /*pBuffer*/, sal_Size /*nCount*/, sal… in WriteAt() argument
127 ErrCode XMXLockBytes::SetSize( sal_Size /*nSize*/ ) in SetSize() argument
/trunk/main/filter/source/msfilter/
H A Dmscodec.cxx70 sal_Size lclGetLen( const sal_uInt8* pnPassData, sal_Size nBufferSize ) in lclGetLen()
72 sal_Size nLen = 0; in lclGetLen()
77 sal_uInt16 lclGetKey( const sal_uInt8* pnPassData, sal_Size nBufferSize ) in lclGetKey()
79 sal_Size nLen = lclGetLen( pnPassData, nBufferSize ); in lclGetKey()
86 for( sal_Size nIndex = 0; nIndex < nLen; ++nIndex, --pnChar ) in lclGetKey()
102 sal_uInt16 lclGetHash( const sal_uInt8* pnPassData, sal_Size nBufferSize ) in lclGetHash()
104 sal_Size nLen = lclGetLen( pnPassData, nBufferSize ); in lclGetHash()
111 for( sal_Size nIndex = 0; nIndex < nLen; ++nIndex, ++pnChar ) in lclGetHash()
156 sal_Size nIndex; in InitKey()
157 sal_Size nLen = lclGetLen( pnPassData, 16 ); in InitKey()
[all …]
/trunk/main/tools/source/string/
H A Dstrcvt.cxx29 const sal_Unicode* pUniStr, sal_Size nUniLen, in ImplUpdateStringFromUniString()
198 sal_Size nSrcBytes; in ImplGet1ByteUnicodeTab()
199 sal_Size nDestChars; in ImplGet1ByteUnicodeTab()
267 sal_Size nSrcBytes; in ImplGet1ByteConvertTab()
268 sal_Size nDestChars; in ImplGet1ByteConvertTab()
269 sal_Size nSrcChars; in ImplGet1ByteConvertTab()
270 sal_Size nDestBytes; in ImplGet1ByteConvertTab()
375 sal_Size nSrcBytes; in ImplStringConvert()
376 sal_Size nDestChars; in ImplStringConvert()
377 sal_Size nTempLen; in ImplStringConvert()
[all …]
/trunk/main/sc/source/filter/ftools/
H A Dfprogressbar.cxx32 ScfProgressBar::ScfProgressSegment::ScfProgressSegment( sal_Size nSize ) : in ScfProgressSegment()
118 void ScfProgressBar::IncreaseProgressBar( sal_Size nDelta ) in IncreaseProgressBar()
120 sal_Size nNewPos = mnTotalPos + nDelta; in IncreaseProgressBar()
126 sal_Size nParentPos = static_cast< sal_Size >( in IncreaseProgressBar()
147 sal_Int32 ScfProgressBar::AddSegment( sal_Size nSize ) in AddSegment()
184 void ScfProgressBar::ProgressAbs( sal_Size nPos ) in ProgressAbs()
199 void ScfProgressBar::Progress( sal_Size nDelta ) in Progress()
206 ScfSimpleProgressBar::ScfSimpleProgressBar( sal_Size nSize, SfxObjectShell* pDocShell, const String… in ScfSimpleProgressBar()
212 ScfSimpleProgressBar::ScfSimpleProgressBar( sal_Size nSize, SfxObjectShell* pDocShell, sal_uInt16 n… in ScfSimpleProgressBar()
218 void ScfSimpleProgressBar::Init( sal_Size nSize ) in Init()
[all …]

12345678910