Home
last modified time | relevance | path

Searched refs:blockCount (Results 1 – 25 of 35) sorted by relevance

12

/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowStatFs.java30 return stat.blockCount; in getBlockCount()
51 … public static void registerStats(File path, int blockCount, int freeBlocks, int availableBlocks) { in registerStats() argument
52 registerStats(path.getAbsolutePath(), blockCount, freeBlocks, availableBlocks); in registerStats() local
55 …public static void registerStats(String path, int blockCount, int freeBlocks, int availableBlocks)… in registerStats() argument
56 stats.put(path, new Stats(blockCount, freeBlocks, availableBlocks)); in registerStats()
64 Stats(int blockCount, int freeBlocks, int availableBlocks) { in Stats() argument
65 this.blockCount = blockCount; in Stats()
69 int blockCount, freeBlocks, availableBlocks; field in ShadowStatFs.Stats
/external/dng_sdk/source/
Ddng_memory_stream.cpp98 uint32 blockCount = Min_uint32 (fPageSize - pageOffset, count); in DoRead() local
105 DoCopyBytes (sPtr, dPtr, blockCount); in DoRead()
107 offset += blockCount; in DoRead()
108 count -= blockCount; in DoRead()
202 uint32 blockCount = Min_uint32 (fPageSize - pageOffset, count); in DoWrite() local
209 DoCopyBytes (sPtr, dPtr, blockCount); in DoWrite()
211 offset += blockCount; in DoWrite()
212 count -= blockCount; in DoWrite()
251 uint32 blockCount = (uint32) Min_uint64 (fPageSize - pageOffset, count); in CopyToStream() local
256 dstStream.Put (sPtr, blockCount); in CopyToStream()
[all …]
Ddng_stream.cpp1128 uint32 blockCount = (uint32) Min_uint64 (bigBufferSize, in CopyToStream() local
1132 blockCount); in CopyToStream()
1135 blockCount); in CopyToStream()
1137 count -= blockCount; in CopyToStream()
/external/pdfium/xfa/src/fxbarcode/datamatrix/
DBC_ErrorCorrection.cpp93 int32_t blockCount = symbolInfo->getInterleavedBlockCount(); in encodeECC200() local
94 if (blockCount == 1) { in encodeECC200()
101 dataSizes.SetSize(blockCount); in encodeECC200()
103 errorSizes.SetSize(blockCount); in encodeECC200()
105 startPos.SetSize(blockCount); in encodeECC200()
106 for (int32_t i = 0; i < blockCount; i++) { in encodeECC200()
114 for (int32_t block = 0; block < blockCount; block++) { in encodeECC200()
116 for (int32_t d = block; d < symbolInfo->m_dataCapacity; d += blockCount) { in encodeECC200()
122 for (int32_t l = block; l < errorSizes[block] * blockCount; in encodeECC200()
123 l += blockCount) { in encodeECC200()
/external/deqp/framework/delibs/destream/
DdeRingbuffer.c35 deInt32 blockCount; member
52 deRingbuffer* deRingbuffer_create (deInt32 blockSize, deInt32 blockCount) in deRingbuffer_create() argument
57 DE_ASSERT(blockCount > 0); in deRingbuffer_create()
61 ringbuffer->blockCount = blockCount; in deRingbuffer_create()
62 ringbuffer->buffer = (deUint8*)deMalloc(sizeof(deUint8) * (size_t)blockSize * (size_t)blockCount); in deRingbuffer_create()
63 ringbuffer->blockUsage = (deInt32*)deMalloc(sizeof(deUint32) * (size_t)blockCount); in deRingbuffer_create()
64 ringbuffer->emptyCount = deSemaphore_create(ringbuffer->blockCount, DE_NULL); in deRingbuffer_create()
82 memset(ringbuffer->blockUsage, 0, sizeof(deInt32) * (size_t)blockCount); in deRingbuffer_create()
156 if (ringbuffer->inBlock == ringbuffer->blockCount) in producerStream_write()
178 if (ringbuffer->inBlock == ringbuffer->blockCount) in producerStream_flush()
[all …]
DdeRingbuffer.h33 deRingbuffer* deRingbuffer_create (deInt32 blockSize, deInt32 blockCount);
/external/sonivox/arm-wt-22k/lib_src/
Deas_imaadpcm.c127 pState->blockCount = 0; in IMADecoderSample()
133 if ((pState->blockSize != 0) && (pState->blockCount == 0) && (pState->bytesLeft != 0)) in IMADecoderSample()
167 pState->blockCount = pState->blockSize - 8; in IMADecoderSample()
172 pState->blockCount = pState->blockSize - 4; in IMADecoderSample()
188 pState->blockCount--; in IMADecoderSample()
361 pState->blockCount = 0; in IMADecoderLocate()
Deas_pcmdata.h112 EAS_U16 blockCount; /* block counter for ADPCM decoder */ member
/external/emma/core/java12/com/vladium/emma/instr/
DInstrVisitor.java591 final int blockCount = blockCounts [m]; in visit() local
592 if (blockCount > 0) in visit()
605 CodeGen.push_int_value (buf, cls, blockCount); in visit()
943 final int blockCount = leaders.size (); in visit() local
944 if (trace2) m_log.trace2 ("visit", "method contains " + blockCount + " basic blocks"); in visit()
946 final BlockList blocks = new BlockList (blockCount); in visit()
948 final int [] _leaders = new int [blockCount + 1]; // room for end-of-code leader at the end in visit()
950 _leaders [blockCount] = codeSize; in visit()
963 m_methodBlockSizes = new int [blockCount]; in visit()
976 for (int bl = 0, br = 0; bl < blockCount; ++ bl) in visit()
[all …]
/external/lzma/Java/Tukaani/src/org/tukaani/xz/
DSeekableXZInputStream.java120 private int blockCount = 0; field in SeekableXZInputStream
421 blockCount += index.getRecordCount(); in SeekableXZInputStream()
422 if (blockCount < 0) in SeekableXZInputStream()
511 return blockCount; in getBlockCount()
810 if (blockNumber < 0 || blockNumber >= blockCount) in seekToBlock()
921 if (blockNumber < 0 || blockNumber >= blockCount)
/external/emma/core/java12/com/vladium/emma/data/
DMethodDescriptor.java46 final int blockCount = blockSizes.length; in MethodDescriptor() local
48 …if ($assert.ENABLED) $assert.ASSERT (blockCount > 0, "blockCount must be positive: " + blockCount); in MethodDescriptor()
62 …$assert.ASSERT (blockCount == blockMap.length, "blockCount " + blockCount + " != blockMap.length "… in MethodDescriptor()
/external/dexmaker/src/dx/java/com/android/dx/ssa/
DSsaConverter.java291 int blockCount; in placePhiFunctions() local
294 blockCount = ssaBlocks.size(); in placePhiFunctions()
307 defsites[i] = new BitSet(blockCount); in placePhiFunctions()
308 phisites[i] = new BitSet(blockCount); in placePhiFunctions()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineCXX.cpp433 unsigned blockCount = currBldrCtx->blockCount(); in VisitCXXNewExpr() local
455 symVal = svalBuilder.getConjuredHeapSymbolVal(CNE, LCtx, blockCount); in VisitCXXNewExpr()
458 blockCount); in VisitCXXNewExpr()
468 State = Call->invalidateRegions(blockCount); in VisitCXXNewExpr()
549 currBldrCtx->blockCount()); in VisitCXXCatchStmt()
DExprEngineC.cpp49 unsigned Count = currBldrCtx->blockCount(); in VisitBinaryOperator()
70 unsigned Count = currBldrCtx->blockCount(); in VisitBinaryOperator()
162 currBldrCtx->blockCount()); in VisitBinaryOperator()
196 currBldrCtx->blockCount()); in VisitBlockExpr()
394 currBldrCtx->blockCount()); in VisitCast()
423 currBldrCtx->blockCount()); in VisitCast()
523 currBldrCtx->blockCount()); in VisitDeclStmt()
713 currBldrCtx->blockCount()); in VisitGuardedExpr()
964 currBldrCtx->blockCount()); in VisitIncrementDecrementOperator()
DSValBuilder.cpp223 unsigned blockCount) { in getBlockPointer() argument
227 blockCount); in getBlockPointer()
DExprEngineObjC.cpp116 currBldrCtx->blockCount()); in VisitObjCForCollectionStmt()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTrie2Writable.java740 int i, mapIndex, blockCount; in compactData() local
753 blockCount=blockLength>>UTRIE2_SHIFT_2; in compactData()
762 blockCount=1; in compactData()
778 for(i=blockCount, mapIndex=start>>UTRIE2_SHIFT_2; i>0; --i) { in compactData()
799 for(i=blockCount, mapIndex=start>>UTRIE2_SHIFT_2; i>0; --i) { in compactData()
810 for(i=blockCount, mapIndex=start>>UTRIE2_SHIFT_2; i>0; --i) { in compactData()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTrie2Writable.java742 int i, mapIndex, blockCount; in compactData() local
755 blockCount=blockLength>>UTRIE2_SHIFT_2; in compactData()
764 blockCount=1; in compactData()
780 for(i=blockCount, mapIndex=start>>UTRIE2_SHIFT_2; i>0; --i) { in compactData()
801 for(i=blockCount, mapIndex=start>>UTRIE2_SHIFT_2; i>0; --i) { in compactData()
812 for(i=blockCount, mapIndex=start>>UTRIE2_SHIFT_2; i>0; --i) { in compactData()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DCheckerContext.h126 unsigned blockCount() const { in blockCount() function
127 return NB.getContext().blockCount(); in blockCount()
/external/skia/include/core/
DSkChunkAlloc.h51 SkDEBUGCODE(int blockCount() const { return fBlockCount; })
/external/deqp/framework/common/
DtcuCompressedTexture.cpp1052 const IVec3 blockCount (deDivRoundUp32(dst.getWidth(), blockPixelSize.x()), in decompress() local
1055 …t IVec3 blockPitches (blockSize, blockSize * blockCount.x(), blockSize * blockCount.x() * bloc… in decompress()
1062 for (int blockZ = 0; blockZ < blockCount.z(); blockZ++) in decompress()
1063 for (int blockY = 0; blockY < blockCount.y(); blockY++) in decompress()
1064 for (int blockX = 0; blockX < blockCount.x(); blockX++) in decompress()
/external/icu/icu4c/source/common/
Dutrie2_builder.cpp986 int32_t i, mapIndex, blockCount; in compactData() local
999 blockCount=blockLength>>UTRIE2_SHIFT_2; in compactData()
1008 blockCount=1; in compactData()
1025 for(i=blockCount, mapIndex=start>>UTRIE2_SHIFT_2; i>0; --i) { in compactData()
1046 for(i=blockCount, mapIndex=start>>UTRIE2_SHIFT_2; i>0; --i) { in compactData()
1057 for(i=blockCount, mapIndex=start>>UTRIE2_SHIFT_2; i>0; --i) { in compactData()
/external/clang/lib/StaticAnalyzer/Checkers/
DBuiltinFunctionChecker.cpp62 RM.getAllocaRegion(CE, C.blockCount(), C.getLocationContext()); in evalCall()
DCStringChecker.cpp685 C.blockCount()); in getCStringLengthForRegion()
935 return state->invalidateRegions(R, E, C.blockCount(), LCtx, in InvalidateBuffer()
1069 C.blockCount()); in evalCopyCommon()
1211 C.blockCount()); in evalMemcmp()
1322 C.blockCount()); in evalstrLengthCommon()
1346 C.blockCount()); in evalstrLengthCommon()
1730 Result = svalBuilder.conjureSymbolVal(nullptr, CE, LCtx, C.blockCount()); in evalStrcpyCommon()
1888 C.blockCount()); in evalStrcmpCommon()
1941 C.blockCount())); in evalStrsep()
1945 Result = SVB.conjureSymbolVal(nullptr, CE, LCtx, C.blockCount()); in evalStrsep()
/external/skia/tests/
DMemsetTest.cpp16 SkDEBUGCODE(REPORTER_ASSERT(reporter, alloc.blockCount() == numBlocks);) in check_alloc()

12