Home
last modified time | relevance | path

Searched refs:nPageSize (Results 1 – 25 of 40) sorted by relevance

12

/aoo42x/main/sot/source/sdstor/
H A Dstgstrms.cxx192 if( nOffset >= nPageSize ) in MakeChain()
375 nRel /= nPageSize; in Pos2Page()
415 sal_Int32 nPgs = ( nBytes + nPageSize - 1 ) / nPageSize; in Copy()
444 sal_Int32 nOld = ( ( nSize + nPageSize - 1 ) / nPageSize ) * nPageSize; in SetSize()
445 sal_Int32 nNew = ( ( nBytes + nPageSize - 1 ) / nPageSize ) * nPageSize; in SetSize()
481 return ( nSize + nPageSize - 1 ) / nPageSize; in GetPages()
651 short nOld = (short) ( ( nSize + ( nPageSize - 1 ) ) / nPageSize ); in SetSize()
653 ( nBytes + ( nPageSize - 1 ) ) / nPageSize ) ; in SetSize()
729 ( nBytes + ( nPageSize - 1 ) ) / nPageSize ); in SetSize()
732 nSize = nNew * nPageSize; in SetSize()
[all …]
H A Dstgcache.cxx109 return (nFileSize >= 512) ? (nFileSize - 512 + nPageSize - 1) / nPageSize : 0; in lcl_GetPageCount()
117 nPageSize = 512; in StgCache()
137 nPageSize = n; in SetPhysPageSize()
140 nPages = lcl_GetPageCount( nFileSize, nPageSize ); in SetPhysPageSize()
150 StgPage* pElem = new StgPage( this, nPageSize ); in Create()
447 sal_uLong nBytes = nPg2 * nPageSize; in Read()
478 if ( SAL_MAX_INT32 / nPg > nPageSize ) in Write()
479 nBytes = nPg * nPageSize; in Write()
520 sal_Int32 nSize = n * nPageSize + 512; in SetSize()
554 return( nPage * nPageSize ) + nPageSize; in Page2Pos()
[all …]
H A Dstgelem.cxx79 , nPageSize( 0 ) in StgHeader()
103 nPageSize = 9; // 512 bytes in Init()
141 >> nPageSize // 1E 1 << nPageSize = block size in Load()
167 << nPageSize // 1E 1 << nPageSize = block size in Store()
194 && nPageSize == 9 in Check()
195 && lcl_wontoverflow(nPageSize) in Check()
H A Dstgstrms.hxx44 short nPageSize; // physical page size member in StgFAT
76 short nPageSize; // logical page size member in StgStrm
86 short GetPageSize() { return nPageSize; } in GetPageSize()
H A Dstgio.cxx155 sal_Int32 nPageSize; member in EasyFat
161 sal_Int32 GetPageSize() { return nPageSize; } in GetPageSize()
176 nPageSize = nPSize; in EasyFat()
H A Dstgdir.cxx815 nEntries = nPageSize / STGENTRY_SIZE; in StgDirStrm()
927 nBytes = ( ( nBytes + nPageSize - 1 ) / nPageSize ) * nPageSize; in SetSize()
H A Dstgcache.hxx50 short nPageSize; // page size of the file member in StgCache
70 short GetPhysPageSize() { return nPageSize; } in GetPhysPageSize()
H A Dstgelem.hxx51 sal_Int16 nPageSize; // 1E 1 << nPageSize = block size member in StgHeader
80 short GetPageSize() const { return nPageSize; } in GetPageSize()
/aoo42x/main/store/workben/
H A Dt_page.cxx218 explicit PageData (sal_uInt16 nPageSize = thePageSize) in PageData()
219 : m_aDescr (STORE_PAGE_NULL, nPageSize, thePageSize) in PageData()
758 BIOS::init (rxLockBytes, eAccessMode, nPageSize)
763 sal_uInt16 pagesize = nPageSize;
1055 (void) nPageSize; // UNUSED in initialize()
1225 (void) nPageSize; // UNUSED in initialize()
1379 return MemoryPageAccess::initialize (eAccessMode, nPageSize); in initialize()
1402 sal_uInt16 nPageSize
1409 return rxPageAccess->initialize (eAccessMode, nPageSize);
1416 sal_uInt16 nPageSize
[all …]
H A Dt_base.cxx342 sal_uInt16 nPageSize = TEST_PAGESIZE; in main() local
343 eErrCode = xBIOS->initialize (&*xLockBytes, store_AccessReadWrite, nPageSize); in main()
351 eErrCode = xBIOS->initialize (&*xLockBytes, store_AccessReadCreate, nPageSize); in main()
/aoo42x/main/store/source/
H A Dlockbyte.cxx52 … ILockBytes::initialize (rtl::Reference< PageData::Allocator > & rxAllocator, sal_uInt16 nPageSize) in initialize() argument
54 …OSL_PRECOND((STORE_MINIMUM_PAGESIZE <= nPageSize) && (nPageSize <= STORE_MAXIMUM_PAGESIZE), "inval… in initialize()
55 return initialize_Impl (rxAllocator, nPageSize); in initialize()
301 …eError initialize_Impl (rtl::Reference< PageData::Allocator > & rxAllocator, sal_uInt16 nPageSize);
374 …kBytes::initialize_Impl (rtl::Reference< PageData::Allocator > & rxAllocator, sal_uInt16 nPageSize) in initialize_Impl() argument
380 result = PageData::Allocator::createInstance (rxAllocator, nPageSize); in initialize_Impl()
540 …eError initialize_Impl (rtl::Reference< PageData::Allocator > & rxAllocator, sal_uInt16 nPageSize);
609 …kBytes::initialize_Impl (rtl::Reference< PageData::Allocator > & rxAllocator, sal_uInt16 nPageSize) in initialize_Impl() argument
612 m_nPageSize = nPageSize; in initialize_Impl()
692 …eError initialize_Impl (rtl::Reference< PageData::Allocator > & rxAllocator, sal_uInt16 nPageSize);
[all …]
H A Dstorbase.cxx93 storeError initialize (sal_uInt16 nPageSize);
135 PageData::Allocator_Impl::initialize (sal_uInt16 nPageSize) in initialize() argument
138 sal_Size size = sal::static_int_cast< sal_Size >(nPageSize); in initialize()
145 m_page_size = nPageSize; in initialize()
174 …locator::createInstance (rtl::Reference< PageData::Allocator > & rxAllocator, sal_uInt16 nPageSize) in createInstance() argument
181 return xAllocator->initialize (nPageSize); in createInstance()
H A Dstorbios.cxx73 explicit OStoreSuperBlock (sal_uInt16 nPageSize) in OStoreSuperBlock()
75 m_aDescr (nPageSize, nPageSize, STORE_MINIMUM_PAGESIZE), in OStoreSuperBlock()
204 static void * operator new (size_t, sal_uInt16 nPageSize) SAL_THROW(()) in operator new()
206 return rtl_allocateZeroMemory (sal::static_int_cast<sal_Size>(nPageSize)); in operator new()
215 explicit SuperBlockPage (sal_uInt16 nPageSize = thePageSize) in SuperBlockPage()
216 : m_aSuperOne(nPageSize), in SuperBlockPage()
217 m_aSuperTwo(nPageSize) in SuperBlockPage()
H A Dstorcach.cxx316 explicit PageCache_Impl (sal_uInt16 nPageSize);
331 PageCache_Impl::PageCache_Impl (sal_uInt16 nPageSize) in PageCache_Impl() argument
335 m_page_shift (highbit(nPageSize) - 1), in PageCache_Impl()
548 sal_uInt16 nPageSize) in PageCache_createInstance() argument
550 rxCache = new PageCache_Impl (nPageSize); in PageCache_createInstance()
H A Dstordata.hxx84 explicit OStoreDataPageData (sal_uInt16 nPageSize = self::thePageSize) in OStoreDataPageData()
85 : base (nPageSize) in OStoreDataPageData()
178 explicit OStoreIndirectionPageData (sal_uInt16 nPageSize) in OStoreIndirectionPageData()
179 : base (nPageSize) in OStoreIndirectionPageData()
608 explicit OStoreDirectoryPageData (sal_uInt16 nPageSize) in OStoreDirectoryPageData()
609 : base (nPageSize), m_aNameBlock(), m_aDataBlock() in OStoreDirectoryPageData()
H A Dstore.cxx114 sal_uInt16 nPageSize, in store_createMemoryFile() argument
134 &*xLockBytes, store_AccessCreate, nPageSize); in store_createMemoryFile()
150 sal_uInt16 nPageSize, in store_openFile() argument
172 &*xLockBytes, eAccessMode, nPageSize); in store_openFile()
H A Dlockbyte.hxx62 sal_uInt16 nPageSize);
124 sal_uInt16 nPageSize) = 0;
H A Dstorbase.hxx507 rtl::Reference< PageData::Allocator > & rxAllocator, sal_uInt16 nPageSize);
521 explicit PageData (sal_uInt16 nPageSize = thePageSize) in PageData()
523 m_aDescr(STORE_PAGE_NULL, nPageSize, thePageSize), in PageData()
/aoo42x/main/store/inc/store/
H A Dstore.hxx435 sal_uInt16 nPageSize = STORE_DEFAULT_PAGESIZE) SAL_THROW(()) in create() argument
442 return store_openFile (rFilename.pData, eAccessMode, nPageSize, &m_hImpl); in create()
449 sal_uInt16 nPageSize = STORE_DEFAULT_PAGESIZE) SAL_THROW(()) in createInMemory() argument
456 return store_createMemoryFile (nPageSize, &m_hImpl); in createInMemory()
H A Dstore.h71 sal_uInt16 nPageSize,
91 sal_uInt16 nPageSize,
/aoo42x/main/sw/source/filter/ww8/
H A Dww8atr.cxx4330 SwTwips nPageSize = pFmt->GetFrmSize().GetWidth(); in CurrentPageWidth() local
4333 return nPageSize; in CurrentPageWidth()
4430 SwTwips nPageSize; in FormatColumns() local
4434 nPageSize = pFmt->GetFrmSize().GetHeight(); in FormatColumns()
4435 nPageSize -= rUL.GetUpper() + rUL.GetLower(); in FormatColumns()
4443 nPageSize -= headerFmt->GetFrmSize().GetHeight(); in FormatColumns()
4452 nPageSize -= footerFmt->GetFrmSize().GetHeight(); in FormatColumns()
4459 nPageSize = pFmt->GetFrmSize().GetWidth(); in FormatColumns()
4460 nPageSize -= rLR.GetLeft() + rLR.GetRight(); in FormatColumns()
4462 nPageSize -= rCol.GetAdjustValue(); in FormatColumns()
[all …]
H A Dwrtw8esh.cxx579 SwTwips nPageRight, SwTwips nPageSize) in RTLGraphicsHack() argument
586 rLeft = nPageSize - rLeft; in RTLGraphicsHack()
595 rLeft = nPageSize - nPageLeft - nPageRight - rLeft; in RTLGraphicsHack()
606 SwTwips nPageRight, SwTwips nPageSize) in RTLDrawingsHack() argument
613 rLeft = nPageSize + rLeft; in RTLDrawingsHack()
622 rLeft = nPageSize - nPageLeft - nPageRight + rLeft; in RTLDrawingsHack()
638 SwTwips nPageSize = CurrentPageWidth(nPageLeft, nPageRight); in MiserableRTLFrmFmtHack() local
647 rHOr.GetRelationOrient(), nPageLeft, nPageRight, nPageSize)) in MiserableRTLFrmFmtHack()
655 rHOr.GetRelationOrient(), nPageLeft, nPageRight, nPageSize)) in MiserableRTLFrmFmtHack()
H A Ddocxattributeoutput.cxx1190 sal_uInt32 nPageSize = 0; in InitTableHelper() local
1194 GetTablePageSize( pTableTextNodeInfoInner, nPageSize, bRelBoxSize ); in InitTableHelper()
1204 m_pTableWrt = new SwWriteTable( pTable->GetTabLines(), (sal_uInt16)nPageSize, in InitTableHelper()
1290 sal_uInt32 nPageSize = 0; in TableDefinition() local
1294 GetTablePageSize( pTableTextNodeInfoInner, nPageSize, bRelBoxSize ); in TableDefinition()
1297 if ( nPageSize != 0 ) in TableDefinition()
1299 FSNS( XML_w, XML_w ), OString::valueOf( sal_Int32( nPageSize ) ).getStr( ), in TableDefinition()
3170 …Output::FormatColumns_Impl( sal_uInt16 nCols, const SwFmtCol& rCol, bool bEven, SwTwips nPageSize ) in FormatColumns_Impl() argument
3203 sal_uInt16 nWidth = rCol.CalcPrtColWidth( n, ( sal_uInt16 ) nPageSize ); in FormatColumns_Impl()
/aoo42x/main/desktop/source/deployment/gui/
H A Ddp_gui_extlistbox.cxx738 long nPageSize = GetOutputSizePixel().Height() / m_nStdHeight; in HandleCursorKey() local
739 if ( nPageSize < 2 ) in HandleCursorKey()
740 nPageSize = 2; in HandleCursorKey()
751 nSelect = m_nActive - nPageSize + 1; in HandleCursorKey()
753 nSelect = m_nActive + nPageSize - 1; in HandleCursorKey()
/aoo42x/main/sal/osl/unx/
H A Dfile.cxx1052 size_t const nPageSize = FileHandle_Impl::getpagesize(); in osl_mapFile() local
1053 if (size_t(-1) != nPageSize) in osl_mapFile()
1063 while (nSize > nPageSize) in osl_mapFile()
1066 pData += nPageSize; in osl_mapFile()
1067 nSize -= nPageSize; in osl_mapFile()

Completed in 176 milliseconds

12