/aoo41x/main/svx/source/sdr/overlay/ |
H A D | overlaymanager.cxx | 49 const sal_uInt32 nSize(maOverlayObjects.size()); in ImpDrawMembers() local 51 if(nSize) in ImpDrawMembers() 101 const sal_uInt32 nSize(maOverlayObjects.size()); in ImpStripeDefinitionChanged() local 103 if(nSize) in ImpStripeDefinitionChanged() 225 const sal_uInt32 nSize(maOverlayObjects.size()); in ~OverlayManager() local 227 if(nSize) in ~OverlayManager()
|
/aoo41x/main/sot/source/sdstor/ |
H A D | ucbstorage.cxx | 1019 aResult = m_pStream->Read( pData, nSize ); 1020 if( m_bSourceRead && aResult < nSize ) 1025 sal_uLong aToRead = nSize - aResult; 1045 if( aResult < nSize ) 1060 if( !nSize || !Init() ) 1145 if( m_pStream->Tell() < nSize ) 1150 m_pStream->SetStreamSize( nSize ); 1425 return pImp->GetData( pData, nSize ); 1440 return pImp->PutData( pData, nSize ); 2012 sal_Int64 nSize = xRow->getLong(4); local [all …]
|
H A D | stgdir.cxx | 415 sal_Int32 nSize = aEntry.GetSize(); in Seek() local 418 nNew = nSize; in Seek() 421 if( nNew > nSize ) in Seek() 830 SetupEntry(0, pRoot, nSize/STGENTRY_SIZE, 0); in StgDirStrm() 944 sal_Int32 nOldSize = nSize; in Store() 946 nSize = nPos = 0; in Store() 955 nStart = nOldStart; nSize = nOldSize; in Store() 960 if( !Copy( STG_FREE, nSize ) ) in Store() 972 sal_Int32 ne = nSize / STGENTRY_SIZE; in Store() 999 if( n < 0 && n >= nSize ) in GetEntry()
|
/aoo41x/main/sal/osl/all/ |
H A D | debugbase.cxx | 108 std::size_t nSize; in osl_detail_ObjectRegistry_checkObjectCount() local 110 nSize = rData.m_addresses.size(); in osl_detail_ObjectRegistry_checkObjectCount() 112 nSize = static_cast<std::size_t>(rData.m_nCount); in osl_detail_ObjectRegistry_checkObjectCount() 114 bool const bRet = (nSize == nExpected); in osl_detail_ObjectRegistry_checkObjectCount() 120 buf.append( static_cast<sal_Int64>(nSize) ); in osl_detail_ObjectRegistry_checkObjectCount()
|
/aoo41x/main/sw/source/core/doc/ |
H A D | docfld.cxx | 93 sal_uInt16 nSize = pFldTypes->Count(), in SV_IMPL_OP_PTRARR_SORT() local 115 for( ; i < nSize; ++i ) in SV_IMPL_OP_PTRARR_SORT() 123 for( ; i < nSize; ++i ) in SV_IMPL_OP_PTRARR_SORT() 129 for( i = 0; i < nSize; ++i ) in SV_IMPL_OP_PTRARR_SORT() 159 pFldTypes->Insert( pNew, nSize ); in SV_IMPL_OP_PTRARR_SORT() 162 return (*pFldTypes)[ nSize ]; in SV_IMPL_OP_PTRARR_SORT() 184 for( ; i < nSize; ++i ) in InsDeletedFldType() 198 if( i >= nSize ) // nicht gefunden in InsDeletedFldType() 209 pFldTypes->Insert( &rFldTyp, nSize ); in InsDeletedFldType() 235 if(nFld < nSize) in RemoveFldType() [all …]
|
/aoo41x/main/sc/source/core/data/ |
H A D | fillinfo.cxx | 983 long nSize = 0; in FillInfo() local 985 … nSize += std::max( static_cast< long >( GetColWidth( nDocCol, nTab ) * nScaleX ), 1L ); in FillInfo() 986 rArray.SetAddMergedLeftSize( nCol, nRow, nSize ); in FillInfo() 991 long nSize = 0; in FillInfo() local 993 … nSize += std::max( static_cast< long >( GetColWidth( nDocCol, nTab ) * nScaleX ), 1L ); in FillInfo() 994 rArray.SetAddMergedRightSize( nCol, nRow, nSize ); in FillInfo() 999 long nSize = 0; in FillInfo() local 1001 … nSize += std::max( static_cast< long >( GetRowHeight( nDocRow, nTab ) * nScaleY ), 1L ); in FillInfo() 1002 rArray.SetAddMergedTopSize( nCol, nRow, nSize ); in FillInfo() 1007 long nSize = 0; in FillInfo() local [all …]
|
H A D | column.cxx | 788 void ScColumn::Resize( SCSIZE nSize ) in Resize() argument 791 nSize = MAXROWCOUNT; in Resize() 792 if (nSize < nCount) in Resize() 793 nSize = nCount; in Resize() 796 if (nSize) in Resize() 798 SCSIZE nNewSize = nSize + COLUMN_DELTA - 1; in Resize() 1096 … pItems[nCount-1].nRow <= MAXROW-(SCROW)nSize && pAttrArray->TestInsertRow( nSize ) ); in TestInsertRow() 1098 return pAttrArray->TestInsertRow( nSize ); in TestInsertRow() 1103 if ( nSize > static_cast<SCSIZE>(MAXROW) ) in TestInsertRow() 1120 pAttrArray->InsertRow( nStartRow, nSize ); in InsertRow() [all …]
|
/aoo41x/main/sal/osl/unx/ |
H A D | file.cxx | 298 off_t const nSize = sal::static_int_cast< off_t >(uSize); in setSize() local 299 if (-1 == ftruncate (m_fd, nSize)) in setSize() 317 if (-1 == lseek (m_fd, (off_t)(nSize - 1), SEEK_SET)) in setSize() 332 OSL_FILE_TRACE("osl_setFileSize(%d, %lld) => %ld", m_fd, getSize(), nSize); in setSize() 333 m_size = sal::static_int_cast< sal_uInt64 >(nSize); in setSize() 1062 size_t nSize (nLength); in osl_mapFile() local 1065 while (nSize > nPageSize) in osl_mapFile() 1069 nSize -= nPageSize; in osl_mapFile() 1071 if (nSize > 0) in osl_mapFile() 1074 pData += nSize; in osl_mapFile() [all …]
|
/aoo41x/main/filter/source/graphicfilter/egif/ |
H A D | giflzwc.cxx | 180 void GIFLZWCompressor::Compress( HPBYTE pSrc, sal_uLong nSize ) in Compress() argument 188 if( !pPrefix && nSize ) in Compress() 191 nSize--; in Compress() 194 while( nSize ) in Compress() 196 nSize--; in Compress()
|
/aoo41x/main/framework/source/fwi/helper/ |
H A D | networkdomain.cxx | 49 static DWORD WINAPI GetUserDomainW_NT( LPWSTR lpBuffer, DWORD nSize ) in GetUserDomainW_NT() argument 51 return GetEnvironmentVariable( TEXT("USERDOMAIN"), lpBuffer, nSize ); in GetUserDomainW_NT() 58 static DWORD WINAPI GetUserDomainW_WINDOWS( LPWSTR lpBuffer, DWORD nSize ) in GetUserDomainW_WINDOWS() argument 84 DWORD dwBufferSize = nSize; in GetUserDomainW_WINDOWS() 99 DWORD dwBufferSize = nSize; in GetUserDomainW_WINDOWS()
|
/aoo41x/main/desktop/source/so_comp/ |
H A D | evaluation.cxx | 70 sal_Int32 nSize = (sizeof( interfaces ) / sizeof( const char *)) - 1; in GetSupportedServiceNames() local 71 Sequence< OUString > aResult( nSize ); in GetSupportedServiceNames() 73 for( sal_Int32 i = 0; i < nSize; i++ ) in GetSupportedServiceNames() 187 sal_Int32 nSize = (sizeof( interfaces ) / sizeof( const char *))-1; in supportsService() local 189 for( sal_Int32 i = 0; i < nSize; i++ ) in supportsService()
|
H A D | oemjob.cxx | 71 sal_Int32 nSize = (sizeof( interfaces ) / sizeof( const char *)) - 1; in GetSupportedServiceNames() local 72 Sequence< OUString > aResult( nSize ); in GetSupportedServiceNames() 74 for( sal_Int32 i = 0; i < nSize; i++ ) in GetSupportedServiceNames() 125 sal_Int32 nSize = sizeof( interfaces ) / sizeof( const char *); in supportsService() local 127 for( sal_Int32 i = 0; i < nSize; i++ ) in supportsService()
|
/aoo41x/main/sfx2/source/doc/ |
H A D | syspath.cxx | 30 extern "C" bool GetUserTemplateLocation(sal_Unicode*, int nSize); 32 bool SystemPath::GetUserTemplateLocation(sal_Unicode* pFolder, int nSize ) in GetUserTemplateLocation() argument 35 return ::GetUserTemplateLocation( pFolder, nSize ); in GetUserTemplateLocation() 38 (void)nSize; in GetUserTemplateLocation()
|
/aoo41x/main/avmedia/source/win/ |
H A D | framegrabber.cxx | 152 long nWidth = 0, nHeight = 0, nSize = 0; in grabFrame() local 183 SUCCEEDED( pDet->GetBitmapBits( 0, &nSize, NULL, nWidth, nHeight ) ) && in grabFrame() 184 ( nSize > 0 ) ) in grabFrame() 186 char* pBuffer = new char[ nSize ]; in grabFrame() 192 SvMemoryStream aMemStm( pBuffer, nSize, STREAM_READ | STREAM_WRITE ); in grabFrame()
|
/aoo41x/main/oox/inc/oox/ole/ |
H A D | axbinaryreader.hxx | 72 void align( size_t nSize ); 233 inline explicit StringProperty( ::rtl::OUString& rValue, sal_uInt32 nSize ) : in StringProperty() 234 mrValue( rValue ), mnSize( nSize ) {} in StringProperty() 243 inline explicit StringArrayProperty( AxStringArray& rArray, sal_uInt32 nSize ) : in StringArrayProperty() 244 mrArray( rArray ), mnSize( nSize ) {} in StringArrayProperty()
|
/aoo41x/main/sal/systools/win32/uwinapi/ |
H A D | GetModuleFileNameExW.cpp | 31 …INAPI, GetModuleFileNameExW, (HANDLE hProcess, HMODULE hModule, LPWSTR lpFileNameW, DWORD nSize ) ) 33 AUTO_STR( lpFileName, 2 * nSize ); 35 if ( GetModuleFileNameExA( hProcess, hModule, lpFileNameA, 2 * nSize ) ) 36 return (DWORD) STR2WSTR( lpFileName, nSize );
|
/aoo41x/main/tools/source/stream/ |
H A D | strmwnt.cxx | 221 sal_uIntPtr SvFileStream::GetData( void* pData, sal_uIntPtr nSize ) in GetData() argument 226 bool bResult = ReadFile(pInstanceData->hFile,(LPVOID)pData,nSize,&nCount,NULL); in GetData() 246 sal_uIntPtr SvFileStream::PutData( const void* pData, sal_uIntPtr nSize ) in PutData() argument 251 if(!WriteFile(pInstanceData->hFile,(LPVOID)pData,nSize,&nCount,NULL)) in PutData() 662 void SvFileStream::SetSize( sal_uIntPtr nSize ) in SetSize() argument 672 if( SetFilePointer(hFile,nSize,NULL,FILE_BEGIN ) != 0xffffffff) in SetSize()
|
/aoo41x/main/sal/textenc/ |
H A D | tcvtmb.c | 284 sal_uInt32 nSize; in ImplUnicodeToDBCS() local 287 nSize in ImplUnicodeToDBCS() 289 if (nTrailOff < nSize) in ImplUnicodeToDBCS() 294 nTrailOff -= nSize; in ImplUnicodeToDBCS() 295 nSize in ImplUnicodeToDBCS() 297 if (nTrailOff < nSize) in ImplUnicodeToDBCS() 302 nTrailOff -= nSize; in ImplUnicodeToDBCS()
|
/aoo41x/main/vcl/inc/vcl/ |
H A D | salbtype.hxx | 545 const sal_uLong nSize = mnCount * sizeof( BitmapColor ); in BitmapPalette() local 546 mpBitmapColor = (BitmapColor*) new sal_uInt8[ nSize ]; in BitmapPalette() 547 memcpy( mpBitmapColor, rBitmapPalette.mpBitmapColor, nSize ); in BitmapPalette() 560 const sal_uLong nSize = mnCount * sizeof( BitmapColor ); in BitmapPalette() local 561 mpBitmapColor = (BitmapColor*) new sal_uInt8[ nSize ]; in BitmapPalette() 562 memset( mpBitmapColor, 0, nSize ); in BitmapPalette() 584 const sal_uLong nSize = mnCount * sizeof( BitmapColor ); in operator =() local 585 mpBitmapColor = (BitmapColor*) new sal_uInt8[ nSize ]; in operator =() 586 memcpy( mpBitmapColor, rBitmapPalette.mpBitmapColor, nSize ); in operator =()
|
/aoo41x/main/store/source/ |
H A D | storbios.cxx | 222 storeError save (OStorePageBIOS & rBIOS, sal_uInt32 nSize = theSize) in save() 226 return rBIOS.write (0, this, nSize); in save() 709 sal_uInt32 nAddr, void *pData, sal_uInt32 nSize) in read() argument 716 return m_xLockBytes->readAt (nAddr, pData, nSize); in read() 724 sal_uInt32 nAddr, const void *pData, sal_uInt32 nSize) in write() argument 733 return m_xLockBytes->writeAt (nAddr, pData, nSize); in write() 861 sal_uInt32 nSize = STORE_PAGE_NULL; in allocate() local 862 eErrCode = m_xLockBytes->getSize (nSize); in allocate() 867 return saveObjectAt_Impl (rPage, nSize); in allocate()
|
/aoo41x/main/sw/source/ui/fldui/ |
H A D | fldref.cxx | 439 sal_uInt16 nSize = FillFormatLB(nTypeId); in IMPL_LINK() local 440 sal_Bool bFormat = nSize != 0; in IMPL_LINK() 735 sal_uInt16 nSize( 0 ); in FillFormatLB() local 750 nSize = FMT_REF_PAGE_PGDSC - FMT_REF_BEGIN + 1; in FillFormatLB() 760 nSize = FMT_REF_ONLYSEQNO - FMT_REF_BEGIN + 1; in FillFormatLB() 764 nSize = GetFldMgr().GetFormatCount( nTypeId, sal_False, IsFldDlgHtmlMode() ); in FillFormatLB() 772 for (sal_uInt16 i = 0; i < nSize; i++) in FillFormatLB() 789 nSize += 3; in FillFormatLB() 794 if (nSize) in FillFormatLB() 809 return nSize; in FillFormatLB()
|
/aoo41x/main/vcl/source/gdi/ |
H A D | region.cxx | 60 const sal_uInt16 nSize = aPoly.GetSize(); in ImplIsPolygonRectilinear() local 62 if (nSize < 2) in ImplIsPolygonRectilinear() 66 for (sal_uInt16 nPoint = 1; nPoint < nSize; ++nPoint) in ImplIsPolygonRectilinear() 111 const sal_uInt16 nSize = aPoly.GetSize(); in ImplRectilinearPolygonToBands() local 112 if (nSize < 2) in ImplRectilinearPolygonToBands() 118 for (sal_uInt16 nPoint = 1; nPoint <= nSize; ++nPoint, aStart=aEnd) in ImplRectilinearPolygonToBands() 122 aEnd = aPoly.GetPoint(nPoint%nSize); in ImplRectilinearPolygonToBands() 209 const sal_uInt16 nSize = aPoly.GetSize(); in ImplGeneralPolygonToBands() local 212 if ( nSize <= 2 ) in ImplGeneralPolygonToBands() 216 for ( sal_uInt16 nPoint = 1; nPoint < nSize; nPoint++ ) in ImplGeneralPolygonToBands() [all …]
|
/aoo41x/main/svtools/source/filter/ |
H A D | filter.cxx | 192 while ( nComp-- >= nSize ) in ImplSearchEntry() 195 for ( i = 0; i < nSize; i++ ) in ImplSearchEntry() 200 if ( i == nSize ) in ImplSearchEntry() 655 sal_uLong nSize = ( nStreamLen > 2048 ) ? 2048 : nStreamLen; in ImpPeekGraphicFormat() local 656 sal_uInt8* pBuf = new sal_uInt8 [ nSize ]; in ImpPeekGraphicFormat() 659 rStream.Read( pBuf, nSize ); in ImpPeekGraphicFormat() 660 sal_uInt8* pPtr = ImplSearchEntry( pBuf, (sal_uInt8*)"#define", nSize, 7 ); in ImpPeekGraphicFormat() 708 sal_uInt8* pBuf = new sal_uInt8[nSize]; in ImpPeekGraphicFormat() 711 rStream.Read(pBuf, nSize); in ImpPeekGraphicFormat() 746 sal_uInt8* pBuf = new sal_uInt8[nSize]; in ImpPeekGraphicFormat() [all …]
|
/aoo41x/main/tools/source/generic/ |
H A D | poly.cxx | 384 if ( nSize ) in Polygon() 884 if( nOptimizeFlags && nSize ) in Optimize() 906 while( nSize && ( mpImplPolygon->mpPointAry[ nSize - 1 ] == rFirst ) ) in Optimize() 907 nSize--; in Optimize() 909 if( nSize > 1 ) in Optimize() 913 aNewPoly.SetSize( nSize ); in Optimize() 934 nSize = mpImplPolygon->mnPoints; in Optimize() 936 if( nSize > 1 ) in Optimize() 949 while( nSize && ( mpImplPolygon->mpPointAry[ nSize - 1 ] == rFirst ) ) in Optimize() 950 nSize--; in Optimize() [all …]
|
/aoo41x/main/sc/source/filter/excel/ |
H A D | xetable.cxx | 411 for( size_t nPos = 0, nSize = maTableopList.GetSize(); !xRec && (nPos < nSize); ++nPos ) in CreateOrExtendTableop() local 428 for( size_t nPos = 0, nSize = maTableopList.GetSize(); nPos < nSize; ++nPos ) in Finalize() local 1689 size_t nPos, nSize; in Finalize() local 1712 for( nPos = 0, nSize = maColInfos.GetSize(); nPos < nSize; ++nPos ) in Finalize() 1862 size_t nPos, nSize; in Finalize() local 1871 for( nPos = 0, nSize = maCellList.GetSize(); nPos < nSize; ++nPos ) in Finalize() 2119 size_t nPos, nSize; in Finalize() local 2126 for( nPos = 0, nSize = maRowList.GetSize(); nPos < nSize; ++nPos ) in Finalize() 2158 nSize = maRowList.GetSize(); in Finalize() 2159 if( nMaxDefCount < nSize ) in Finalize() [all …]
|