Home
last modified time | relevance | path

Searched refs:lastBlock (Results 1 – 21 of 21) sorted by relevance

/external/gptfdisk/
Dgpttext.cc202 uint64_t firstBlock, firstInLargest, lastBlock, sector, origSector; in CreatePartition() local
214 lastBlock = FindLastAvailable(); in CreatePartition()
229 prompt2 << "First sector (" << firstBlock << "-" << lastBlock << ", default = " in CreatePartition()
232 sector = GetSectorNum(firstBlock, lastBlock, firstInLargest, blockSize, prompt2.str()); in CreatePartition()
246 lastBlock = FindLastInFree(firstBlock); in CreatePartition()
247 prompt3 << "Last sector (" << firstBlock << "-" << lastBlock << ", default = " in CreatePartition()
248 << lastBlock << ") or {+-}size{KMGTP}: "; in CreatePartition()
250 sector = GetSectorNum(firstBlock, lastBlock, lastBlock, blockSize, prompt3.str()); in CreatePartition()
252 lastBlock = sector; in CreatePartition()
254 firstFreePart = GPTData::CreatePartition(partNum, firstBlock, lastBlock); in CreatePartition()
Dgpt.cc2282 uint64_t start, firstBlock, lastBlock, segmentSize, selectedSize = 0, selectedSegment = 0; in FindFirstInLargest() local
2288 lastBlock = FindLastInFree(firstBlock); in FindFirstInLargest()
2289 segmentSize = lastBlock - firstBlock + UINT32_C(1); in FindFirstInLargest()
2294 start = lastBlock + 1; in FindFirstInLargest()
2350 uint64_t lastBlock; // last block in a segment in FindFreeBlocks() local
2359 lastBlock = FindLastInFree(firstBlock); in FindFreeBlocks()
2360 segmentSize = lastBlock - firstBlock + UINT64_C(1); in FindFreeBlocks()
2366 start = lastBlock + 1; in FindFreeBlocks()
Dbasicmbr.cc1093 uint64_t lastBlock; // last block in a segment in MakeBiggestPart() local
1103 lastBlock = FindLastInFree(firstBlock); in MakeBiggestPart()
1104 segmentSize = lastBlock - firstBlock + UINT64_C(1); in MakeBiggestPart()
1109 start = lastBlock + 1; in MakeBiggestPart()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLEvpCipher.java154 final byte[] lastBlock = new byte[maximumLen]; in doFinalInternal()
155 writtenBytes = NativeCrypto.EVP_CipherFinal_ex(cipherCtx, lastBlock, 0); in doFinalInternal()
160 System.arraycopy(lastBlock, 0, output, outputOffset, writtenBytes); in doFinalInternal()
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLEvpCipher.java150 final byte[] lastBlock = new byte[maximumLen]; in doFinalInternal()
151 writtenBytes = NativeCrypto.EVP_CipherFinal_ex(cipherCtx, lastBlock, 0); in doFinalInternal()
156 System.arraycopy(lastBlock, 0, output, outputOffset, writtenBytes); in doFinalInternal()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
DCTSBlockCipher.java249 byte[] lastBlock = new byte[blockSize]; in doFinal()
266 lastBlock[i - blockSize] = (byte)(block[i - blockSize] ^ buf[i]); in doFinal()
272 System.arraycopy(lastBlock, 0, out, outOff + blockSize, len); in doFinal()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/modes/
DCTSBlockCipher.java251 byte[] lastBlock = new byte[blockSize]; in doFinal()
268 lastBlock[i - blockSize] = (byte)(block[i - blockSize] ^ buf[i]); in doFinal()
274 System.arraycopy(lastBlock, 0, out, outOff + blockSize, len); in doFinal()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/modes/
DCTSBlockCipher.java251 byte[] lastBlock = new byte[blockSize]; in doFinal()
268 lastBlock[i - blockSize] = (byte)(block[i - blockSize] ^ buf[i]); in doFinal()
274 System.arraycopy(lastBlock, 0, out, outOff + blockSize, len); in doFinal()
/external/zstd/lib/compress/
Dzstd_compress_superblock.c546 U32 lastBlock) in ZSTD_compressSubBlock() argument
552 litSize, nbSeq, writeLitEntropy, writeSeqEntropy, lastBlock); in ZSTD_compressSubBlock()
573 U32 const cBlockHeader24 = lastBlock + (((U32)bt_compressed)<<1) + (U32)(cSize << 3); in ZSTD_compressSubBlock()
708 const int bmi2, U32 lastBlock, in ZSTD_compressSubBlock_multi() argument
771 lastBlock && lastSequence); in ZSTD_compressSubBlock_multi()
807 size_t const cSize = ZSTD_noCompressBlock(op, oend - op, ip, iend - ip, lastBlock); in ZSTD_compressSubBlock_multi()
830 unsigned lastBlock) { in ZSTD_compressSuperBlock() argument
847 zc->bmi2, lastBlock, in ZSTD_compressSuperBlock()
Dzstd_compress_superblock.h30 unsigned lastBlock);
Dzstd_compress.c2735 const size_t bss, U32 lastBlock) in ZSTD_compressBlock_targetCBlockSize_body() argument
2747 return ZSTD_rleCompressBlock(dst, dstCapacity, *(BYTE const*)src, srcSize, lastBlock); in ZSTD_compressBlock_targetCBlockSize_body()
2768 … size_t const cSize = ZSTD_compressSuperBlock(zc, dst, dstCapacity, src, srcSize, lastBlock); in ZSTD_compressBlock_targetCBlockSize_body()
2784 return ZSTD_noCompressBlock(dst, dstCapacity, src, srcSize, lastBlock); in ZSTD_compressBlock_targetCBlockSize_body()
2790 U32 lastBlock) in ZSTD_compressBlock_targetCBlockSize() argument
2798 …ize = ZSTD_compressBlock_targetCBlockSize_body(zc, dst, dstCapacity, src, srcSize, bss, lastBlock); in ZSTD_compressBlock_targetCBlockSize()
2858 U32 const lastBlock = lastFrameChunk & (blockSize >= remaining); in ZSTD_compress_frameChunk() local
2874 … cSize = ZSTD_compressBlock_targetCBlockSize(cctx, op, dstCapacity, ip, blockSize, lastBlock); in ZSTD_compress_frameChunk()
2885 cSize = ZSTD_noCompressBlock(op, dstCapacity, ip, blockSize, lastBlock); in ZSTD_compress_frameChunk()
2889 lastBlock + (((U32)bt_rle)<<1) + (U32)(blockSize << 3) : in ZSTD_compress_frameChunk()
[all …]
Dzstd_compress_internal.h432 …STD_noCompressBlock (void* dst, size_t dstCapacity, const void* src, size_t srcSize, U32 lastBlock) in ZSTD_noCompressBlock() argument
434 U32 const cBlockHeader24 = lastBlock + (((U32)bt_raw)<<1) + (U32)(srcSize << 3); in ZSTD_noCompressBlock()
442 …ze_t ZSTD_rleCompressBlock (void* dst, size_t dstCapacity, BYTE src, size_t srcSize, U32 lastBlock) in ZSTD_rleCompressBlock() argument
445 U32 const cBlockHeader = lastBlock + (((U32)bt_rle)<<1) + (U32)(srcSize << 3); in ZSTD_rleCompressBlock()
/external/skqp/src/core/
DSkRWBuffer.cpp110 const SkBufferBlock* lastBlock = block; in validate() local
114 lastBlock = block; in validate()
119 SkASSERT(tail == lastBlock); in validate()
/external/zstd/tests/
Ddecodecorpus.c1031 int lastBlock, dictInfo info) in writeBlock() argument
1042 DISPLAYLEVEL(4, " last block: %s\n", lastBlock ? "yes" : "no"); in writeBlock()
1091 header[0] = (BYTE) ((lastBlock | (blockType << 1) | (blockSize << 3)) & 0xff); in writeBlock()
1103 int const lastBlock = contentLeft > maxBlockSize ? 0 : !(RAND(seed) & 3); in writeBlocks() local
1105 if (lastBlock) { in writeBlocks()
1120 writeBlock(seed, frame, blockContentSize, lastBlock, info); in writeBlocks()
1123 if (lastBlock) break; in writeBlocks()
/external/zstd/lib/common/
Dzstd_internal.h457 U32 lastBlock; member
/external/zstd/lib/decompress/
Dzstd_decompress.c518 if (blockProperties.lastBlock) break; in ZSTD_findFrameSizeInfo()
680 if (blockProperties.lastBlock) break; in ZSTD_decompressFrame()
940 dctx->stage = bp.lastBlock ? ZSTDds_decompressLastBlock : ZSTDds_decompressBlock; in ZSTD_decompressContinue()
944 if (bp.lastBlock) { in ZSTD_decompressContinue()
Dzstd_decompress_block.c63 bpPtr->lastBlock = cBlockHeader & 1; in ZSTD_getcBlockSize()
/external/tinyxml2/
Dtinyxml2.h357 Block* lastBlock = _blockPtrs.Pop(); in Clear() local
358 delete lastBlock; in Clear() local
/external/clang/lib/Analysis/
DCFG.cpp2721 CFGBlock *lastBlock = Block; in VisitPseudoObjectExpr() local
2734 lastBlock = B; in VisitPseudoObjectExpr()
2737 return lastBlock; in VisitPseudoObjectExpr()
3047 CFGBlock *lastBlock = Block; in VisitUnaryExprOrTypeTraitExpr() local
3052 lastBlock = addStmt(VA->getSizeExpr()); in VisitUnaryExprOrTypeTraitExpr()
3054 return lastBlock; in VisitUnaryExprOrTypeTraitExpr()
/external/llvm-project/clang/lib/Analysis/
DCFG.cpp3677 CFGBlock *lastBlock = Block; in VisitPseudoObjectExpr() local
3690 lastBlock = B; in VisitPseudoObjectExpr()
3693 return lastBlock; in VisitPseudoObjectExpr()
4024 CFGBlock *lastBlock = Block; in VisitUnaryExprOrTypeTraitExpr() local
4029 lastBlock = addStmt(VA->getSizeExpr()); in VisitUnaryExprOrTypeTraitExpr()
4031 return lastBlock; in VisitUnaryExprOrTypeTraitExpr()
/external/zstd/programs/
Dfileio.c2858 { int lastBlock = 0; in FIO_analyzeFrames() local
2869 lastBlock = blockHeader & 1; in FIO_analyzeFrames()
2873 } while (lastBlock != 1); in FIO_analyzeFrames()