/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/frmts/pcidsk/sdk/blockdir/ |
H A D | blocklayer.cpp | 105 uint32 nBlockSize = mpoBlockDir->GetBlockSize(); in AllocateBlocks() local 111 ((nSize + nStartOffset + nBlockSize - 1) / nBlockSize); in AllocateBlocks() 142 uint32 nBlockSize = mpoBlockDir->GetBlockSize(); in AreBlocksAllocated() local 148 ((nSize + nStartOffset + nBlockSize - 1) / nBlockSize); in AreBlocksAllocated() 181 uint32 nBlockSize = mpoBlockDir->GetBlockSize(); in GetContiguousCount() local 187 ((nSize + nStartOffset + nBlockSize - 1) / nBlockSize); in GetContiguousCount() 227 uint32 nBlockSize = mpoBlockDir->GetBlockSize(); in FreeBlocks() local 229 uint32 iStartBlock = (uint32) ((nOffset + nBlockSize - 1) / nBlockSize); in FreeBlocks() 276 uint32 nBlockSize = mpoBlockDir->GetBlockSize(); in WriteToLayer() local 329 uint32 nBlockSize = mpoBlockDir->GetBlockSize(); in ReadFromLayer() local [all …]
|
H A D | binarytiledir.cpp | 62 uint32 nBlockSize = nTileSize * nTileSize; in GetOptimizedBlockSize() local 65 if (nBlockSize < 8192) in GetOptimizedBlockSize() 66 nBlockSize = 8192; in GetOptimizedBlockSize() 69 if (nBlockSize % 4096 != 0) in GetOptimizedBlockSize() 70 nBlockSize = (nBlockSize / 4096 + 1) * 4096; in GetOptimizedBlockSize() 72 return nBlockSize; in GetOptimizedBlockSize() 165 if (msBlockDir.nBlockSize == 0 || msBlockDir.nBlockSize % 4096 != 0) in BinaryTileDir() 281 uint32 nBlockSize) in BinaryTileDir() argument 286 msBlockDir.nBlockSize = nBlockSize; in BinaryTileDir() 325 return msBlockDir.nBlockSize; in GetBlockSize() [all …]
|
/dports/graphics/gdal/gdal-3.3.3/frmts/pcidsk/sdk/blockdir/ |
H A D | blocklayer.cpp | 105 uint32 nBlockSize = mpoBlockDir->GetBlockSize(); in AllocateBlocks() local 111 ((nSize + nStartOffset + nBlockSize - 1) / nBlockSize); in AllocateBlocks() 142 uint32 nBlockSize = mpoBlockDir->GetBlockSize(); in AreBlocksAllocated() local 148 ((nSize + nStartOffset + nBlockSize - 1) / nBlockSize); in AreBlocksAllocated() 181 uint32 nBlockSize = mpoBlockDir->GetBlockSize(); in GetContiguousCount() local 187 ((nSize + nStartOffset + nBlockSize - 1) / nBlockSize); in GetContiguousCount() 227 uint32 nBlockSize = mpoBlockDir->GetBlockSize(); in FreeBlocks() local 229 uint32 iStartBlock = (uint32) ((nOffset + nBlockSize - 1) / nBlockSize); in FreeBlocks() 276 uint32 nBlockSize = mpoBlockDir->GetBlockSize(); in WriteToLayer() local 329 uint32 nBlockSize = mpoBlockDir->GetBlockSize(); in ReadFromLayer() local [all …]
|
H A D | binarytiledir.cpp | 62 uint32 nBlockSize = nTileSize * nTileSize; in GetOptimizedBlockSize() local 65 if (nBlockSize < 8192) in GetOptimizedBlockSize() 66 nBlockSize = 8192; in GetOptimizedBlockSize() 69 if (nBlockSize % 4096 != 0) in GetOptimizedBlockSize() 70 nBlockSize = (nBlockSize / 4096 + 1) * 4096; in GetOptimizedBlockSize() 72 return nBlockSize; in GetOptimizedBlockSize() 165 if (msBlockDir.nBlockSize == 0 || msBlockDir.nBlockSize % 4096 != 0) in BinaryTileDir() 281 uint32 nBlockSize) in BinaryTileDir() argument 286 msBlockDir.nBlockSize = nBlockSize; in BinaryTileDir() 325 return msBlockDir.nBlockSize; in GetBlockSize() [all …]
|
/dports/graphics/py-gdal/gdal-3.3.3/frmts/pcidsk/sdk/blockdir/ |
H A D | blocklayer.cpp | 105 uint32 nBlockSize = mpoBlockDir->GetBlockSize(); in AllocateBlocks() local 111 ((nSize + nStartOffset + nBlockSize - 1) / nBlockSize); in AllocateBlocks() 142 uint32 nBlockSize = mpoBlockDir->GetBlockSize(); in AreBlocksAllocated() local 148 ((nSize + nStartOffset + nBlockSize - 1) / nBlockSize); in AreBlocksAllocated() 181 uint32 nBlockSize = mpoBlockDir->GetBlockSize(); in GetContiguousCount() local 187 ((nSize + nStartOffset + nBlockSize - 1) / nBlockSize); in GetContiguousCount() 227 uint32 nBlockSize = mpoBlockDir->GetBlockSize(); in FreeBlocks() local 229 uint32 iStartBlock = (uint32) ((nOffset + nBlockSize - 1) / nBlockSize); in FreeBlocks() 276 uint32 nBlockSize = mpoBlockDir->GetBlockSize(); in WriteToLayer() local 329 uint32 nBlockSize = mpoBlockDir->GetBlockSize(); in ReadFromLayer() local [all …]
|
H A D | binarytiledir.cpp | 62 uint32 nBlockSize = nTileSize * nTileSize; in GetOptimizedBlockSize() local 65 if (nBlockSize < 8192) in GetOptimizedBlockSize() 66 nBlockSize = 8192; in GetOptimizedBlockSize() 69 if (nBlockSize % 4096 != 0) in GetOptimizedBlockSize() 70 nBlockSize = (nBlockSize / 4096 + 1) * 4096; in GetOptimizedBlockSize() 72 return nBlockSize; in GetOptimizedBlockSize() 165 if (msBlockDir.nBlockSize == 0 || msBlockDir.nBlockSize % 4096 != 0) in BinaryTileDir() 281 uint32 nBlockSize) in BinaryTileDir() argument 286 msBlockDir.nBlockSize = nBlockSize; in BinaryTileDir() 325 return msBlockDir.nBlockSize; in GetBlockSize() [all …]
|
/dports/devel/upp/upp/bazaar/plugin/gdal/frmts/kea/ |
H A D | keacopy.cpp | 47 unsigned int nBlockSize; in KEACopyRasterData() local 49 nBlockSize = pImageIO->getImageBlockSize( nBand ); in KEACopyRasterData() 59 void *pData = VSIMalloc3( nPixelSize, nBlockSize, nBlockSize); in KEACopyRasterData() 66 …lBlocks = std::ceil( (double)nXSize / (double)nBlockSize ) * std::ceil( (double)nYSize / (double)n… in KEACopyRasterData() 70 for( unsigned int nY = 0; nY < nYSize; nY += nBlockSize ) in KEACopyRasterData() 73 unsigned int nysize = nBlockSize; in KEACopyRasterData() 74 unsigned int nytotalsize = nY + nBlockSize; in KEACopyRasterData() 80 unsigned int nxsize = nBlockSize; in KEACopyRasterData() 81 unsigned int nxtotalsize = nX + nBlockSize; in KEACopyRasterData() 93 …eIO->writeImageBlock2Band( nBand, pData, nX, nY, nxsize, nysize, nBlockSize, nBlockSize, eKeaType); in KEACopyRasterData() [all …]
|
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/frmts/kea/ |
H A D | keacopy.cpp | 47 unsigned int nBlockSize; in KEACopyRasterData() local 49 nBlockSize = pImageIO->getImageBlockSize( nBand ); in KEACopyRasterData() 59 void *pData = VSIMalloc3( nPixelSize, nBlockSize, nBlockSize); in KEACopyRasterData() 66 …cast<int>(std::ceil( (double)nXSize / (double)nBlockSize ) * std::ceil( (double)nYSize / (double)n… in KEACopyRasterData() 70 for( unsigned int nY = 0; nY < nYSize; nY += nBlockSize ) in KEACopyRasterData() 73 unsigned int nysize = nBlockSize; in KEACopyRasterData() 74 unsigned int nytotalsize = nY + nBlockSize; in KEACopyRasterData() 80 unsigned int nxsize = nBlockSize; in KEACopyRasterData() 81 unsigned int nxtotalsize = nX + nBlockSize; in KEACopyRasterData() 96 …eIO->writeImageBlock2Band( nBand, pData, nX, nY, nxsize, nysize, nBlockSize, nBlockSize, eKeaType); in KEACopyRasterData() [all …]
|
/dports/graphics/gdal/gdal-3.3.3/frmts/kea/ |
H A D | keacopy.cpp | 47 unsigned int nBlockSize; in KEACopyRasterData() local 49 nBlockSize = pImageIO->getImageBlockSize( nBand ); in KEACopyRasterData() 59 void *pData = VSIMalloc3( nPixelSize, nBlockSize, nBlockSize); in KEACopyRasterData() 66 …cast<int>(std::ceil( (double)nXSize / (double)nBlockSize ) * std::ceil( (double)nYSize / (double)n… in KEACopyRasterData() 70 for( unsigned int nY = 0; nY < nYSize; nY += nBlockSize ) in KEACopyRasterData() 73 unsigned int nysize = nBlockSize; in KEACopyRasterData() 74 unsigned int nytotalsize = nY + nBlockSize; in KEACopyRasterData() 80 unsigned int nxsize = nBlockSize; in KEACopyRasterData() 81 unsigned int nxtotalsize = nX + nBlockSize; in KEACopyRasterData() 96 …eIO->writeImageBlock2Band( nBand, pData, nX, nY, nxsize, nysize, nBlockSize, nBlockSize, eKeaType); in KEACopyRasterData() [all …]
|
/dports/graphics/py-gdal/gdal-3.3.3/frmts/kea/ |
H A D | keacopy.cpp | 47 unsigned int nBlockSize; in KEACopyRasterData() local 49 nBlockSize = pImageIO->getImageBlockSize( nBand ); in KEACopyRasterData() 59 void *pData = VSIMalloc3( nPixelSize, nBlockSize, nBlockSize); in KEACopyRasterData() 66 …cast<int>(std::ceil( (double)nXSize / (double)nBlockSize ) * std::ceil( (double)nYSize / (double)n… in KEACopyRasterData() 70 for( unsigned int nY = 0; nY < nYSize; nY += nBlockSize ) in KEACopyRasterData() 73 unsigned int nysize = nBlockSize; in KEACopyRasterData() 74 unsigned int nytotalsize = nY + nBlockSize; in KEACopyRasterData() 80 unsigned int nxsize = nBlockSize; in KEACopyRasterData() 81 unsigned int nxtotalsize = nX + nBlockSize; in KEACopyRasterData() 96 …eIO->writeImageBlock2Band( nBand, pData, nX, nY, nxsize, nysize, nBlockSize, nBlockSize, eKeaType); in KEACopyRasterData() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/oox/source/helper/ |
H A D | binarystreambase.cxx | 44 void BinaryStreamBase::alignToBlock( sal_Int32 nBlockSize, sal_Int64 nAnchorPos ) in alignToBlock() argument 48 if( mbSeekable && (0 <= nAnchorPos) && (nAnchorPos != nStrmPos) && (nBlockSize > 1) ) in alignToBlock() 52 (nBlockSize - ((nStrmPos - nAnchorPos - 1) % nBlockSize) - 1) : in alignToBlock() 53 ((nAnchorPos - nStrmPos) % nBlockSize); in alignToBlock()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/oox/source/helper/ |
H A D | binarystreambase.cxx | 43 void BinaryStreamBase::alignToBlock( sal_Int32 nBlockSize, sal_Int64 nAnchorPos ) in alignToBlock() argument 47 if( mbSeekable && (0 <= nAnchorPos) && (nAnchorPos != nStrmPos) && (nBlockSize > 1) ) in alignToBlock() 51 (nBlockSize - ((nStrmPos - nAnchorPos - 1) % nBlockSize) - 1) : in alignToBlock() 52 ((nAnchorPos - nStrmPos) % nBlockSize); in alignToBlock()
|
/dports/graphics/py-gdal/gdal-3.3.3/ogr/ogrsf_frmts/mitab/ |
H A D | mitab_maptoolblock.cpp | 100 int nBlockSize, int nSizeUsed, in InitBlockFromData() argument 109 TABRawBinBlock::InitBlockFromData(pabyBuf, nBlockSize, nSizeUsed, in InitBlockFromData() 132 if( m_numDataBytes < 0 || m_numDataBytes + MAP_TOOL_HEADER_SIZE > nBlockSize ) in InitBlockFromData() 136 m_numDataBytes, nBlockSize); in InitBlockFromData() 230 int TABMAPToolBlock::InitNewBlock(VSILFILE *fpSrc, int nBlockSize, in InitNewBlock() argument 241 if ( TABRawBinBlock::InitNewBlock(fpSrc, nBlockSize, nFileOffset) != 0) in InitNewBlock()
|
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/ogr/ogrsf_frmts/mitab/ |
H A D | mitab_maptoolblock.cpp | 100 int nBlockSize, int nSizeUsed, in InitBlockFromData() argument 109 TABRawBinBlock::InitBlockFromData(pabyBuf, nBlockSize, nSizeUsed, in InitBlockFromData() 132 if( m_numDataBytes < 0 || m_numDataBytes + MAP_TOOL_HEADER_SIZE > nBlockSize ) in InitBlockFromData() 136 m_numDataBytes, nBlockSize); in InitBlockFromData() 230 int TABMAPToolBlock::InitNewBlock(VSILFILE *fpSrc, int nBlockSize, in InitNewBlock() argument 241 if ( TABRawBinBlock::InitNewBlock(fpSrc, nBlockSize, nFileOffset) != 0) in InitNewBlock()
|
/dports/graphics/gdal/gdal-3.3.3/ogr/ogrsf_frmts/mitab/ |
H A D | mitab_maptoolblock.cpp | 100 int nBlockSize, int nSizeUsed, in InitBlockFromData() argument 109 TABRawBinBlock::InitBlockFromData(pabyBuf, nBlockSize, nSizeUsed, in InitBlockFromData() 132 if( m_numDataBytes < 0 || m_numDataBytes + MAP_TOOL_HEADER_SIZE > nBlockSize ) in InitBlockFromData() 136 m_numDataBytes, nBlockSize); in InitBlockFromData() 230 int TABMAPToolBlock::InitNewBlock(VSILFILE *fpSrc, int nBlockSize, in InitNewBlock() argument 241 if ( TABRawBinBlock::InitNewBlock(fpSrc, nBlockSize, nFileOffset) != 0) in InitNewBlock()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sc/source/core/tool/ |
H A D | grouparealistener.cxx | 184 size_t nBlockSize = 0; in collectFormulaCells() local 185 ScFormulaCell* const * pp = mpColumn->GetFormulaCellBlockAddress( mnTopCellRow, nBlockSize); in collectFormulaCells() 207 pp = mpColumn->GetFormulaCellBlockAddress( mnTopCellRow, nBlockSize); in collectFormulaCells() 232 if (nBlockSize < static_cast<size_t>(mnGroupLen)) in collectFormulaCells() 235 nBlockSize << " < " << mnGroupLen << " mnGroupLen"); in collectFormulaCells() 236 const_cast<FormulaGroupAreaListener*>(this)->mnGroupLen = static_cast<SCROW>(nBlockSize); in collectFormulaCells() 329 size_t nBlockSize = 0; in getTopCell() local 330 … const ScFormulaCell* const * pp = mpColumn->GetFormulaCellBlockAddress( mnTopCellRow, nBlockSize); in getTopCell()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/sc/source/core/tool/ |
H A D | grouparealistener.cxx | 186 size_t nBlockSize = 0; in collectFormulaCells() local 187 ScFormulaCell* const * pp = mpColumn->GetFormulaCellBlockAddress( mnTopCellRow, nBlockSize); in collectFormulaCells() 209 pp = mpColumn->GetFormulaCellBlockAddress( mnTopCellRow, nBlockSize); in collectFormulaCells() 234 if (nBlockSize < o3tl::make_unsigned(mnGroupLen)) in collectFormulaCells() 237 nBlockSize << " < " << mnGroupLen << " mnGroupLen"); in collectFormulaCells() 238 const_cast<FormulaGroupAreaListener*>(this)->mnGroupLen = static_cast<SCROW>(nBlockSize); in collectFormulaCells() 331 size_t nBlockSize = 0; in getTopCell() local 332 … const ScFormulaCell* const * pp = mpColumn->GetFormulaCellBlockAddress( mnTopCellRow, nBlockSize); in getTopCell()
|
/dports/devel/ode/ode-0.13/ou/src/ou/ |
H A D | malloc.cpp | 48 /*extern*/ void *_OU_CONVENTION_API AllocateMemoryBlock(size_t nBlockSize) in AllocateMemoryBlock() argument 56 pv_NewBlock = fnMemoryAllocationProcedure(nBlockSize); in AllocateMemoryBlock() 61 pv_NewBlock = malloc(nBlockSize); in AllocateMemoryBlock()
|
/dports/games/irrlamb/irrlamb-1.0.1/src/ou/ |
H A D | malloc.cpp | 48 /*extern*/ void *_OU_CONVENTION_API AllocateMemoryBlock(size_t nBlockSize) in BEGIN_NAMESPACE_OU() 56 pv_NewBlock = fnMemoryAllocationProcedure(nBlockSize); in BEGIN_NAMESPACE_OU() 61 pv_NewBlock = malloc(nBlockSize); in BEGIN_NAMESPACE_OU()
|
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/frmts/rik/ |
H A D | rikdataset.cpp | 290 GUInt32 nBlockSize = poRDS->nFileSize; in IReadBlock() local 295 nBlockSize = poRDS->pOffsets[bi]; in IReadBlock() 299 nBlockSize -= nBlockOffset; in IReadBlock() 305 if( !nBlockOffset || !nBlockSize in IReadBlock() 331 if( VSIFReadL( blockData, 1, nBlockSize, poRDS->fp ) != nBlockSize ) in IReadBlock() 347 while( filePos+1 < nBlockSize && imagePos < pixels ) in IReadBlock() 367 if( nBlockSize < 5 ) in IReadBlock() 424 filePos < nBlockSize ) in IReadBlock() 427 code = GetNextLZWCode( codeBits, blockData, nBlockSize, in IReadBlock() 443 filePos, nBlockSize ); in IReadBlock() [all …]
|
/dports/graphics/gdal/gdal-3.3.3/frmts/rik/ |
H A D | rikdataset.cpp | 290 GUInt32 nBlockSize = poRDS->nFileSize; in IReadBlock() local 295 nBlockSize = poRDS->pOffsets[bi]; in IReadBlock() 299 nBlockSize -= nBlockOffset; in IReadBlock() 305 if( !nBlockOffset || !nBlockSize in IReadBlock() 331 if( VSIFReadL( blockData, 1, nBlockSize, poRDS->fp ) != nBlockSize ) in IReadBlock() 347 while( filePos+1 < nBlockSize && imagePos < pixels ) in IReadBlock() 367 if( nBlockSize < 5 ) in IReadBlock() 424 filePos < nBlockSize ) in IReadBlock() 427 code = GetNextLZWCode( codeBits, blockData, nBlockSize, in IReadBlock() 443 filePos, nBlockSize ); in IReadBlock() [all …]
|
/dports/graphics/py-gdal/gdal-3.3.3/frmts/rik/ |
H A D | rikdataset.cpp | 290 GUInt32 nBlockSize = poRDS->nFileSize; in IReadBlock() local 295 nBlockSize = poRDS->pOffsets[bi]; in IReadBlock() 299 nBlockSize -= nBlockOffset; in IReadBlock() 305 if( !nBlockOffset || !nBlockSize in IReadBlock() 331 if( VSIFReadL( blockData, 1, nBlockSize, poRDS->fp ) != nBlockSize ) in IReadBlock() 347 while( filePos+1 < nBlockSize && imagePos < pixels ) in IReadBlock() 367 if( nBlockSize < 5 ) in IReadBlock() 424 filePos < nBlockSize ) in IReadBlock() 427 code = GetNextLZWCode( codeBits, blockData, nBlockSize, in IReadBlock() 443 filePos, nBlockSize ); in IReadBlock() [all …]
|
/dports/devel/upp/upp/bazaar/plugin/gdal/frmts/ingr/ |
H A D | IngrTypes.cpp | 929 nSrcBytes, nBlockSize, in INGR_Decode() 953 while( ( iInput < nSrcBytes ) && ( iOutput < nBlockSize ) ) in INGR_DecodeRunLength() 1047 for( i = 0; i < nCount && iOutput < nBlockSize; i++ ) in INGR_DecodeRunLengthPaletted() 1054 iOutput += MIN(nCount, nBlockSize - iOutput); in INGR_DecodeRunLengthPaletted() 1057 while( ( iInput < nSrcShorts ) && ( iOutput < nBlockSize) ); in INGR_DecodeRunLengthPaletted() 1100 if (nBlockSize < 0x00005900) in INGR_DecodeRunLengthBitonal() 1168 if (nTotal != nBlockSize) in INGR_DecodeRunLengthBitonal() 1188 for( i = 0; i < nRun && iOutput < nBlockSize; i++ ) in INGR_DecodeRunLengthBitonal() 1197 iOutput += MIN(nRun, nBlockSize - iOutput); in INGR_DecodeRunLengthBitonal() 1264 for( i = 0; i < nRun && iOutput < nBlockSize; i++ ) in INGR_DecodeRunLengthBitonalTiled() [all …]
|
/dports/graphics/py-gdal/gdal-3.3.3/frmts/ingr/ |
H A D | IngrTypes.cpp | 939 nSrcBytes, nBlockSize, in INGR_Decode() 944 nSrcBytes, nBlockSize, in INGR_Decode() 949 nSrcBytes, nBlockSize, in INGR_Decode() 966 while( ( iInput < nSrcBytes ) && ( iOutput < nBlockSize ) ) in INGR_DecodeRunLength() 1066 iOutput += MIN(nCount, nBlockSize - iOutput); in INGR_DecodeRunLengthPaletted() 1069 while( ( iInput < nSrcShorts ) && ( iOutput < nBlockSize) ); in INGR_DecodeRunLengthPaletted() 1083 uint32_t nSrcBytes, uint32_t nBlockSize, in INGR_DecodeRunLengthBitonal() argument 1108 if (nBlockSize < 0x00005900) in INGR_DecodeRunLengthBitonal() 1180 if (nTotal != nBlockSize) in INGR_DecodeRunLengthBitonal() 1209 iOutput += MIN(nRun, nBlockSize - iOutput); in INGR_DecodeRunLengthBitonal() [all …]
|
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/frmts/ingr/ |
H A D | IngrTypes.cpp | 939 nSrcBytes, nBlockSize, in INGR_Decode() 944 nSrcBytes, nBlockSize, in INGR_Decode() 949 nSrcBytes, nBlockSize, in INGR_Decode() 966 while( ( iInput < nSrcBytes ) && ( iOutput < nBlockSize ) ) in INGR_DecodeRunLength() 1066 iOutput += MIN(nCount, nBlockSize - iOutput); in INGR_DecodeRunLengthPaletted() 1069 while( ( iInput < nSrcShorts ) && ( iOutput < nBlockSize) ); in INGR_DecodeRunLengthPaletted() 1083 uint32_t nSrcBytes, uint32_t nBlockSize, in INGR_DecodeRunLengthBitonal() argument 1108 if (nBlockSize < 0x00005900) in INGR_DecodeRunLengthBitonal() 1180 if (nTotal != nBlockSize) in INGR_DecodeRunLengthBitonal() 1209 iOutput += MIN(nRun, nBlockSize - iOutput); in INGR_DecodeRunLengthBitonal() [all …]
|