/aoo42x/main/sal/systools/win32/uwinapi/ |
H A D | GetModuleFileNameExA.cpp | 32 … WINAPI, GetModuleFileNameExA, (HANDLE hProcess, HMODULE hModule, LPSTR lpFileName, DWORD nSize ) ) 38 return GetModuleFileNameA( hModule, lpFileName, nSize ); 62 if ( dwResult > nSize && nSize > 0 ) 63 lpFileName[nSize -1] = 0; 65 _tcsncpy( lpFileName, me.szExePath, nSize );
|
/aoo42x/main/filter/source/graphicfilter/epict/ |
H A D | epict.cxx | 356 sal_uInt16 nDataSize,i,nSize; in WritePolygon() local 361 nSize=aPoly.GetSize(); in WritePolygon() 365 nSize++; in WritePolygon() 366 aPoly.SetSize(nSize); in WritePolygon() 370 nDataSize=nSize*4+10; in WritePolygon() 371 for (i=0; i<nSize; i++) in WritePolygon() 392 for (i=0; i<nSize; i++) in WritePolygon() 511 if (nSize==0) nSize=1; in WriteOpcode_PnSize() 513 *pPict << (sal_uInt16)0x0007 << nSize << nSize; in WriteOpcode_PnSize() 514 nDstPnSize=nSize; in WriteOpcode_PnSize() [all …]
|
/aoo42x/main/sw/source/filter/html/ |
H A D | swhtml.cxx | 3470 sal_uInt16 nSize = 3; in NewBasefontAttr() local 3499 if( nSize < 1 ) in NewBasefontAttr() 3500 nSize = 1; in NewBasefontAttr() 3502 if( nSize > 7 ) in NewBasefontAttr() 3503 nSize = 7; in NewBasefontAttr() 3646 if( nPoolId && nSize>=1 && nSize <=6 ) in NewFontAttr() 4749 long nSize = 0; in InsertSpacer() local 4832 if( nSize > 0 ) in InsertSpacer() 4857 nSize = nSize>HTML_PARSPACE ? nSize-HTML_PARSPACE : 0; in InsertSpacer() 4877 if( nSize > 0 ) in InsertSpacer() [all …]
|
/aoo42x/main/sc/source/filter/excel/ |
H A D | xestream.cxx | 111 void XclExpStream::SetSliceSize( sal_uInt16 nSize ) in SetSliceSize() argument 113 mnMaxSliceSize = nSize; in SetSliceSize() 420 void XclExpStream::UpdateSizeVars( sal_Size nSize ) in UpdateSizeVars() argument 423 mnCurrSize = mnCurrSize + static_cast< sal_uInt16 >( nSize ); in UpdateSizeVars() 442 void XclExpStream::PrepareWrite( sal_uInt16 nSize ) in PrepareWrite() argument 446 if( (mnCurrSize + nSize > mnCurrMaxSize) || in PrepareWrite() 449 UpdateSizeVars( nSize ); in PrepareWrite() 625 sal_uInt16 nSize = static_cast< sal_uInt16 >( aBytes.size() ); in EncryptBytes() local 626 if (nSize == 0) in EncryptBytes() 631 for (sal_uInt16 i = 0; i < nSize; ++i) in EncryptBytes() [all …]
|
H A D | exctools.cxx | 96 nSize = nNewSize + 1; in XclImpOutlineBuffer() 97 pLevel = new sal_uInt8[ nSize ]; in XclImpOutlineBuffer() 98 pOuted = new sal_Bool[ nSize ]; in XclImpOutlineBuffer() 99 pHidden = new sal_Bool[ nSize ]; in XclImpOutlineBuffer() 116 if( nIndex < nSize ) in SetLevel() 153 if( nLast < (nSize - 1) ) in MakeScOutline() 236 if( nL < nSize ) in SetLevelRange() 266 for( SCSIZE nC = 0 ; nC < nSize ; nC++ ) in Reset()
|
H A D | fontbuff.cxx | 92 DBG_ASSERT( nIndex < nSize, "*LotusFontBuffer::SetName(): Array zu klein!" ); in SetName() 93 if( nIndex < nSize ) in SetName() 106 DBG_ASSERT( nIndex < nSize, "*LotusFontBuffer::SetHeight(): Array zu klein!" ); in SetHeight() 107 if( nIndex < nSize ) in SetHeight() 114 DBG_ASSERT( nIndex < nSize, "*LotusFontBuffer::SetType(): Array zu klein!" ); in SetType() 115 if( nIndex < nSize ) in SetType()
|
/aoo42x/main/vcl/os2/source/gdi/ |
H A D | salgdi.cxx | 724 static PM_BYTE* ImplSearchEntry( PM_BYTE* pSource, PM_BYTE* pDest, ULONG nComp, ULONG nSize ) in ImplSearchEntry() argument 726 while ( nComp-- >= nSize ) in ImplSearchEntry() 729 for ( i = 0; i < nSize; i++ ) in ImplSearchEntry() 734 if ( i == nSize ) in ImplSearchEntry() 742 static PM_BOOL ImplGetBoundingBox( double* nNumb, PM_BYTE* pSource, ULONG nSize ) in ImplGetBoundingBox() argument 745 PM_BYTE* pDest = ImplSearchEntry( pSource, (PM_BYTE*)"%%BoundingBox:", nSize, 14 ); in ImplGetBoundingBox() 751 int nSizeLeft = nSize - ( pDest - pSource ); in ImplGetBoundingBox() 864 if ( pBuf && ImplGetBoundingBox( nBoundingBox, (PM_BYTE*)pPtr, nSize ) ) in drawEPS() 994 sal_uInt32 nToDo = nSize; in drawEPS() 1003 if ( DevEscape( mhDC, DEVESC_RAWDATA, nDoNow, (PM_BYTE*)pPtr + nSize - nToDo, in drawEPS() [all …]
|
/aoo42x/main/xmlhelp/source/cxxhelp/provider/ |
H A D | db.cxx | 40 void HDFData::copyToBuffer( const char* pSrcData, int nSize ) in copyToBuffer() argument 42 m_nSize = nSize; in copyToBuffer() 92 sal_Int32 nSize = m_xSFA->getSize( m_aFileURL ); in createHashMap() local 93 sal_Int32 nRead = xIn->readBytes( aData, nSize ); in createHashMap() 219 sal_Int32 nSize = m_xSFA->getSize( m_aFileURL ); in startIteration() local 224 m_nItRead = xIn->readBytes( m_aItData, nSize ); in startIteration() 225 if( m_nItRead == nSize ) in startIteration()
|
/aoo42x/main/tools/source/stream/ |
H A D | strmunx.cxx | 355 sal_Size SvFileStream::GetData( void* pData, sal_Size nSize ) in GetData() argument 359 aTraceStr += ByteString::CreateFromInt64(nSize); in GetData() 368 nRead = read(pInstanceData->nHandle,pData,(unsigned)nSize); in GetData() 385 sal_Size SvFileStream::PutData( const void* pData, sal_Size nSize ) in PutData() argument 389 aTraceStr += ByteString::CreateFromInt64(nSize); in PutData() 398 nWrite = write(pInstanceData->nHandle,pData,(unsigned)nSize); in PutData() 856 void SvFileStream::SetSize (sal_Size nSize) in SetSize() argument 861 if (::ftruncate (fd, (off_t)nSize) < 0) in SetSize() 873 if ((sal::static_int_cast< sal_sSize >(nSize) <= aStat.st_size)) in SetSize() 889 if (::lseek (fd, (off_t)(nSize - 1), SEEK_SET) < 0) in SetSize()
|
H A D | strmos2.cxx | 209 sal_uIntPtr SvFileStream::GetData( void* pData, sal_uIntPtr nSize ) in GetData() argument 213 aTraceStr += ByteString::CreateFromInt64(nSize); in GetData() 223 nResult = DosRead( pInstanceData->hFile,(PVOID)pData,nSize,&nCount ); in GetData() 240 sal_uIntPtr SvFileStream::PutData( const void* pData, sal_uIntPtr nSize ) in PutData() argument 244 aTraceStr += ByteString::CreateFromInt64(nSize); in PutData() 254 nResult = DosWrite( pInstanceData->hFile,(PVOID)pData,nSize,&nCount ); in PutData() 746 void SvFileStream::SetSize( sal_uIntPtr nSize ) in SetSize() argument 750 APIRET nRet = DosSetFileSize( pInstanceData->hFile, nSize ); in SetSize()
|
/aoo42x/main/package/source/package/zipapi/ |
H A D | ZipOutputStream.cxx | 95 if (rEntry.nSize == -1 || rEntry.nCompressedSize == -1 || in putNextEntry() 98 rEntry.nSize = rEntry.nCompressedSize = 0; in putNextEntry() 132 if (pEntry->nSize != aDeflater.getTotalIn()) in closeEntry() 152 pEntry->nSize = aDeflater.getTotalIn(); in closeEntry() 275 pCurrentEntry->nSize = pCurrentEntry->nCompressedSize; in doDeflate() 293 pCurrentEntry->nSize = pCurrentEntry->nCompressedSize; in doDeflate() 339 aChucker << rEntry.nSize; in writeCEN() 357 aChucker << rEntry.nSize; in writeEXT() 397 aChucker << rEntry.nSize; in writeLOC()
|
/aoo42x/main/editeng/source/rtf/ |
H A D | rtfgrf.cxx | 224 long nSize = nOffset + nWdtOut * n4Height; in WriteBMPHeader() local 226 << SwapLong(nSize) // Filesize in Bytes in WriteBMPHeader() 426 sal_uInt32 nSize = sizeof(aData); in ReadBmpData() local 430 if (rPicType.uPicLen < nSize) in ReadBmpData() 431 nSize = rPicType.uPicLen; in ReadBmpData() 433 rStrm.Read(aData, nSize); in ReadBmpData() 434 pTmpFile->Write(aData, nSize); in ReadBmpData() 435 rPicType.uPicLen -= nSize; in ReadBmpData()
|
/aoo42x/main/sw/source/filter/ww8/ |
H A D | WW8Sttbf.cxx | 32 WW8Struct::WW8Struct(SvStream& rSt, sal_uInt32 nPos, sal_uInt32 nSize) in WW8Struct() argument 33 : mn_offset(0), mn_size(nSize) in WW8Struct() 37 mp_data.reset(new sal_uInt8[nSize]); in WW8Struct() 38 rSt.Read(mp_data.get(), nSize); in WW8Struct() 41 WW8Struct::WW8Struct(WW8Struct * pStruct, sal_uInt32 nPos, sal_uInt32 nSize) in WW8Struct() argument 43 mn_size(nSize) in WW8Struct()
|
/aoo42x/main/desktop/win32/source/setup/ |
H A D | setup.cpp | 311 DWORD nSize = 0; in ReadProfile() local 316 bRet = GetProfileSection( sProfilePath, SECTION_SETUP, nSize, &pRetBuf ); in ReadProfile() 1239 DWORD nSize = MAX_PATH + 1; in CheckForUpgrade() local 1488 int nSize = lstrlen( *pCmdLine ) + 2; in GetCmdLineParameters() local 1489 TCHAR *pNewCmdLine = new TCHAR[ nSize ]; in GetCmdLineParameters() 1538 if ( FAILED( StringCchCat( pNewCmdLine, nSize, pStart ) ) ) in GetCmdLineParameters() 1571 if ( FAILED( StringCchCat( pNewCmdLine, nSize, pStart ) ) || in GetCmdLineParameters() 1572 FAILED( StringCchCat( pNewCmdLine, nSize, TEXT( " " ) ) ) ) in GetCmdLineParameters() 1615 if ( FAILED( StringCchCat( pNewCmdLine, nSize, pStart ) ) || in GetCmdLineParameters() 1625 if ( FAILED( StringCchCat( pNewCmdLine, nSize, pStart ) ) || in GetCmdLineParameters() [all …]
|
/aoo42x/main/cppu/source/typelib/ |
H A D | static_types.cxx | 388 nOffset = ((typelib_TypeDescription *)pComp->pBaseTypeDescription)->nSize; in init() 389 …n)->nSize, ((typelib_TypeDescription *)pComp->pBaseTypeDescription)->nAlignment ) == ((typelib_Typ… in init() 409 OSL_ENSURE( pTD->nSize, "### void member?" ); in init() 410 nOffset = newAlignedSize( nOffset, pTD->nSize, pTD->nAlignment ); in init() 411 pComp->pMemberOffsets[i] = nOffset - pTD->nSize; in init() 425 pReg->nSize = ::typelib_typedescription_getAlignedUnoSize( pReg, 0, pReg->nAlignment ); in init() 523 pReg->nSize = ::typelib_typedescription_getAlignedUnoSize( pReg, 0, pReg->nAlignment ); in typelib_static_mi_interface_type_init() 564 pReg->nSize = ::typelib_typedescription_getAlignedUnoSize( pReg, 0, pReg->nAlignment ); in typelib_static_enum_type_init() 628 pReg->nSize = ::typelib_typedescription_getAlignedUnoSize( pReg, 0, pReg->nAlignment ); in typelib_static_array_type_init()
|
/aoo42x/main/filter/source/flash/ |
H A D | swfwriter.cxx | 123 sal_uInt32 nSize = rIn.Tell(); in ImplCopySvStreamToXOutputStream() local 126 Sequence< sal_Int8 > aBuffer( min( nBufferSize, nSize ) ); in ImplCopySvStreamToXOutputStream() 128 while( nSize ) in ImplCopySvStreamToXOutputStream() 130 if( nSize < nBufferSize ) in ImplCopySvStreamToXOutputStream() 132 nBufferSize = nSize; in ImplCopySvStreamToXOutputStream() 133 aBuffer.realloc( nSize ); in ImplCopySvStreamToXOutputStream() 143 nSize -= nRead; in ImplCopySvStreamToXOutputStream() 182 const sal_uInt32 nSize = aHeader.Tell() + mpFontsStream->Tell() + mpMovieStream->Tell(); in storeTo() local 185 aHeader << (sal_uInt32)nSize; in storeTo()
|
/aoo42x/main/filter/source/graphicfilter/icgm/ |
H A D | class4.cxx | 188 sal_uInt32 nType, nSize; in ImplDoClass4() local 195 nSize = ImplGetUI( 1 ); in ImplDoClass4() 196 mpSource[ mnParaSize + nSize ] = 0; in ImplDoClass4() 203 (char*)mpSource + mnParaSize, nSize, (FinalFlag)nType ); in ImplDoClass4() 213 sal_uInt32 nType, nSize; in ImplDoClass4() local 233 nSize = ImplGetUI( 1 ); in ImplDoClass4() 235 mpSource[ mnParaSize + nSize ] = 0; in ImplDoClass4() 242 (char*)mpSource + mnParaSize, nSize, (FinalFlag)nType ); in ImplDoClass4() 250 sal_uInt32 nSize; in ImplDoClass4() local 253 nSize = ImplGetUI( 1 ); in ImplDoClass4() [all …]
|
/aoo42x/main/writerfilter/source/doctok/ |
H A D | Dff.cxx | 121 sal_uInt32 nSize = 0; in initChildren() local 123 (createDffRecord(this, nOffset, &nSize)); in initChildren() 125 if (nSize == 0) in initChildren() 130 nOffset += nSize; in initChildren() 390 sal_uInt32 nSize = 0; in initChildren() local 392 (createDffRecord(this, nOffset, &nSize)); in initChildren() 394 if (nSize == 0) in initChildren() 399 nOffset += nSize + mnPadding; in initChildren()
|
/aoo42x/main/setup_native/source/win32/customactions/reg4allmsdoc/ |
H A D | reg4allmsi.cxx | 103 DWORD nSize = sizeof( szBuffer ); in CheckExtensionInRegistry() local 105 lResult = RegQueryValueExA( hKey, "", NULL, NULL, (LPBYTE)szBuffer, &nSize ); in CheckExtensionInRegistry() 108 szBuffer[nSize] = '\0'; in CheckExtensionInRegistry() 137 nSize = sizeof( szBuffer ); in CheckExtensionInRegistry() 138 … lResult = RegEnumKeyExA( hSubKey, nIndex++, szBuffer, &nSize, NULL, NULL, NULL, NULL ); in CheckExtensionInRegistry() 146 else if ( nSize > 0 ) in CheckExtensionInRegistry() 219 DWORD nSize = sizeof( szBuffer ); in RemoveExtensionInRegistry() local 235 lResult = RegQueryValueExA( hSubKey, "", NULL, NULL, (LPBYTE)szBuffer, &nSize ); in RemoveExtensionInRegistry()
|
/aoo42x/main/svtools/source/filter/wmf/ |
H A D | wmfwr.cxx | 380 sal_uInt32 nSize; in UpdateRecordHeader() local 383 if ((nSize & 1)!=0) { in UpdateRecordHeader() 385 nPos++; nSize++; in UpdateRecordHeader() 387 nSize/=2; in UpdateRecordHeader() 388 if (nSize>nMaxRecordSize) nMaxRecordSize=nSize; in UpdateRecordHeader() 390 *pWMF << nSize; in UpdateRecordHeader() 745 sal_uInt16 nSize,i; in WMFRecord_Polygon() local 754 *pWMF << nSize; in WMFRecord_Polygon() 761 sal_uInt16 nSize,i; in WMFRecord_PolyLine() local 769 *pWMF << nSize; in WMFRecord_PolyLine() [all …]
|
/aoo42x/main/starmath/source/ |
H A D | utility.cxx | 65 nSize = nMaxSize; in SmPickList() 80 nSize = rList.nSize; in operator =() 93 if (Count() > nSize) in Insert() 95 DestroyItem(GetPtr(nSize)); in Insert() 96 RemovePtr(nSize, 1); in Insert() 281 while (GetEntryCount() > nSize) in Insert()
|
/aoo42x/main/sfx2/source/dialog/ |
H A D | splitwin.cxx | 99 long nSize; member 387 long nSize = 0; in StartSplit() local 401 nSize = aSize.Width() + aRect.GetWidth(); in StartSplit() 405 nSize = aSize.Height() + aRect.GetHeight(); in StartSplit() 409 SetMaxSizePixel( nSize ); in StartSplit() 443 const long nSize = GetItemSize( nId, SWIB_FIXED ); in Split() local 449 aSize.Width() = nSize; in Split() 455 aSize.Height() = nSize; in Split() 460 aNewOrgSizes.push_back( std::pair< sal_uInt16, long >( nId, nSize ) ); in Split() 731 pDock->nSize = nWinSize; in InsertWindow_Impl() [all …]
|
/aoo42x/main/package/source/package/zippackage/ |
H A D | ZipPackageFolder.cxx | 77 aEntry.nSize = 0; in ZipPackageFolder() 178 rDest.nSize = rSource.nSize; in copyZipEntry() 267 sal_uInt32 i=0, nSize = maContents.size(); in getElementNames() local 268 uno::Sequence < ::rtl::OUString > aSequence ( nSize ); in getElementNames() 299 rEntry.nCompressedSize = rEntry.nSize = aCRC32.updateStream ( rStream ); in ImplSetStoredData() 423 pTempEntry->nSize = static_cast < sal_Int32 > ( xSeek->getLength() ); in saveChild() 424 nOwnStreamOrigSize = pTempEntry->nSize; in saveChild() 447 pTempEntry->nSize = pTempEntry->nCompressedSize; in saveChild() 593 pTempEntry->nCrc = pTempEntry->nCompressedSize = pTempEntry->nSize = -1; in saveChild() 793 aValue >>= aEntry.nSize; in setPropertyValue() [all …]
|
/aoo42x/main/sc/source/core/data/ |
H A D | segmenttree.cxx | 60 void insertSegment(SCCOLROW nPos, SCCOLROW nSize, bool bSkipStartBoundary); 197 void ScFlatSegmentsImpl<_ValueType, _ExtValueType>::insertSegment(SCCOLROW nPos, SCCOLROW nSize, bo… in insertSegment() argument 199 maSegments.shift_right(nPos, nSize, bSkipStartBoundary); in insertSegment() 392 void ScFlatBoolRowSegments::insertSegment(SCROW nRow, SCROW nSize, bool bSkipStartBoundary) in insertSegment() argument 394 …mpImpl->insertSegment(static_cast<SCCOLROW>(nRow), static_cast<SCCOLROW>(nSize), bSkipStartBoundar… in insertSegment() 460 void ScFlatBoolColSegments::insertSegment(SCCOL nCol, SCCOL nSize, bool bSkipStartBoundary) in insertSegment() argument 462 …mpImpl->insertSegment(static_cast<SCCOLROW>(nCol), static_cast<SCCOLROW>(nSize), bSkipStartBoundar… in insertSegment() 559 void ScFlatUInt16RowSegments::insertSegment(SCROW nRow, SCROW nSize, bool bSkipStartBoundary) in insertSegment() argument 561 …mpImpl->insertSegment(static_cast<SCCOLROW>(nRow), static_cast<SCCOLROW>(nSize), bSkipStartBoundar… in insertSegment()
|
/aoo42x/main/cppu/source/uno/ |
H A D | lbenv.cxx | 223 ::std::size_t nSize = aInterfaces.size(); in find() 224 for ( ::std::size_t nPos = 0; nPos < nSize; ++nPos ) in find() 1018 sal_Int32 nSize = 0; in getRegisteredEnvironments() local 1028 ppFound[nSize] = 0; in getRegisteredEnvironments() 1030 if (ppFound[nSize]) in getRegisteredEnvironments() 1031 ++nSize; in getRegisteredEnvironments() 1035 *pnLen = nSize; in getRegisteredEnvironments() 1036 if (nSize) in getRegisteredEnvironments() 1039 sizeof (uno_Environment *) * nSize ); in getRegisteredEnvironments() 1041 while (nSize--) in getRegisteredEnvironments() [all …]
|