/aoo4110/main/sot/source/sdstor/ |
H A D | stgstrms.cxx | 192 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 D | stgcache.cxx | 109 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 D | stgelem.cxx | 79 , 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 D | stgstrms.hxx | 44 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 D | stgio.cxx | 155 sal_Int32 nPageSize; member in EasyFat 161 sal_Int32 GetPageSize() { return nPageSize; } in GetPageSize() 176 nPageSize = nPSize; in EasyFat()
|
H A D | stgcache.hxx | 50 short nPageSize; // page size of the file member in StgCache 70 short GetPhysPageSize() { return nPageSize; } in GetPhysPageSize()
|
H A D | stgdir.cxx | 815 nEntries = nPageSize / STGENTRY_SIZE; in StgDirStrm() 925 nBytes = ( ( nBytes + nPageSize - 1 ) / nPageSize ) * nPageSize; in SetSize()
|
H A D | stgelem.hxx | 51 sal_Int16 nPageSize; // 1E 1 << nPageSize = block size member in StgHeader 80 short GetPageSize() const { return nPageSize; } in GetPageSize()
|
/aoo4110/main/store/workben/ |
H A D | t_page.cxx | 218 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 D | t_base.cxx | 342 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()
|
/aoo4110/main/store/source/ |
H A D | lockbyte.cxx | 52 … 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 D | storbase.cxx | 93 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 D | storbios.cxx | 73 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 D | storcach.cxx | 316 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 D | stordata.hxx | 84 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 D | store.cxx | 113 sal_uInt16 nPageSize, in store_createMemoryFile() argument 133 &*xLockBytes, store_AccessCreate, nPageSize); in store_createMemoryFile() 149 sal_uInt16 nPageSize, in store_openFile() argument 171 &*xLockBytes, eAccessMode, nPageSize); in store_openFile()
|
H A D | lockbyte.hxx | 62 sal_uInt16 nPageSize); 124 sal_uInt16 nPageSize) = 0;
|
H A D | storbase.hxx | 507 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()
|
/aoo4110/main/store/inc/store/ |
H A D | store.hxx | 435 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 D | store.h | 70 sal_uInt16 nPageSize, 90 sal_uInt16 nPageSize,
|
/aoo4110/main/sw/source/filter/ww8/ |
H A D | ww8atr.cxx | 4330 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 D | wrtw8esh.cxx | 590 SwTwips nPageRight, SwTwips nPageSize) in RTLGraphicsHack() argument 597 rLeft = nPageSize - rLeft; in RTLGraphicsHack() 606 rLeft = nPageSize - nPageLeft - nPageRight - rLeft; in RTLGraphicsHack() 617 SwTwips nPageRight, SwTwips nPageSize) in RTLDrawingsHack() argument 624 rLeft = nPageSize + rLeft; in RTLDrawingsHack() 633 rLeft = nPageSize - nPageLeft - nPageRight + rLeft; in RTLDrawingsHack() 649 SwTwips nPageSize = CurrentPageWidth(nPageLeft, nPageRight); in MiserableRTLFrmFmtHack() local 658 rHOr.GetRelationOrient(), nPageLeft, nPageRight, nPageSize)) in MiserableRTLFrmFmtHack() 666 rHOr.GetRelationOrient(), nPageLeft, nPageRight, nPageSize)) in MiserableRTLFrmFmtHack()
|
H A D | docxattributeoutput.cxx | 1190 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()
|
/aoo4110/main/sal/osl/unx/ |
H A D | file.cxx | 1054 size_t const nPageSize = FileHandle_Impl::getpagesize(); in osl_mapFile() local 1055 if (size_t(-1) != nPageSize) in osl_mapFile() 1065 while (nSize > nPageSize) in osl_mapFile() 1068 pData += nPageSize; in osl_mapFile() 1069 nSize -= nPageSize; in osl_mapFile()
|
/aoo4110/main/desktop/source/deployment/gui/ |
H A D | dp_gui_extlistbox.cxx | 738 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()
|