Home
last modified time | relevance | path

Searched refs:currentBlock (Results 1 – 20 of 20) sorted by relevance

/external/openthread/examples/platforms/utils/
Dsettings_ram.c82 const struct settingsBlock *currentBlock; in otPlatSettingsGet() local
87 currentBlock = (struct settingsBlock *)&sSettingsBuf[i]; in otPlatSettingsGet()
89 if (aKey == currentBlock->key) in otPlatSettingsGet()
93 readLength = currentBlock->length; in otPlatSettingsGet()
107 valueLength = currentBlock->length; in otPlatSettingsGet()
115 i += sizeof(struct settingsBlock) + currentBlock->length; in otPlatSettingsGet()
131 const struct settingsBlock *currentBlock; in otPlatSettingsSet() local
136 currentBlock = (struct settingsBlock *)&sSettingsBuf[i]; in otPlatSettingsSet()
137 currentBlockLength = sizeof(struct settingsBlock) + currentBlock->length; in otPlatSettingsSet()
139 if (aKey == currentBlock->key) in otPlatSettingsSet()
[all …]
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/lz4/
DFramedLZ4CompressorInputStream.java81 private InputStream currentBlock; field in FramedLZ4CompressorInputStream
130 if (currentBlock != null) { in close()
131 currentBlock.close(); in close()
132 currentBlock = null; in close()
269 currentBlock = capped; in nextBlock()
276 currentBlock = s; in nextBlock()
281 if (currentBlock != null) { in maybeFinishCurrentBlock()
282 currentBlock.close(); in maybeFinishCurrentBlock()
283 currentBlock = null; in maybeFinishCurrentBlock()
322 int cnt = currentBlock.read(b, off, len); in readOnce()
[all …]
/external/aac/libMpegTPEnc/src/
Dtpenc_adts.cpp132 if (hAdts->currentBlock == 0) { in adtsWrite_GetHeaderBits()
187 hAdts->currentBlock = 0; in adtsWrite_Init()
205 if (hAdts->currentBlock == 0) { in adtsWrite_EncodeHeader()
212 if (hAdts->currentBlock == 0) { in adtsWrite_EncodeHeader()
276 if (hAdts->currentBlock < hAdts->num_raw_blocks) { in adtsWrite_EndRawDataBlock()
277 FDKpushFor(&bsWriter, hAdts->currentBlock * 16); in adtsWrite_EndRawDataBlock()
288 hAdts->currentBlock == hAdts->num_raw_blocks) { in adtsWrite_EndRawDataBlock()
318 hAdts->currentBlock++; in adtsWrite_EndRawDataBlock()
Dtpenc_adts.h129 int currentBlock; /*!< Index of current raw data block */ member
Dtpenc_lib.cpp509 if (hTpEnc->writer.adts.currentBlock >= in transportEnc_GetFrame()
512 hTpEnc->writer.adts.currentBlock = 0; in transportEnc_GetFrame()
/external/skia/src/base/
DSkTBlockList.h109 int avail = fAllocator->currentBlock()->template avail<alignof(T)>() / sizeof(T); in reserve()
124 SkBlockAllocator::Block* block = fAllocator->currentBlock(); in pop_back()
196 SkASSERT(this->count() > 0 && fAllocator->currentBlock()->metadata() > 0); in back()
197 return GetItem(fAllocator->currentBlock(), Last(fAllocator->currentBlock())); in back()
200 SkASSERT(this->count() > 0 && fAllocator->currentBlock()->metadata() > 0); in back()
201 return GetItem(fAllocator->currentBlock(), Last(fAllocator->currentBlock())); in back()
264 br.fAlignedOffset == First(fAllocator->currentBlock())); in pushItem()
317 int avail = fAllocator->currentBlock()->template avail<alignof(T)>() / sizeof(T); in concat()
DSkBlockAllocator.h315 const Block* currentBlock() const { return fTail; } in currentBlock() function
316 Block* currentBlock() { return fTail; } in currentBlock() function
549 this->currentBlock()->avail<Align, Padding>() < iSize) { in reserve()
/external/lz4/examples/
DdictionaryRandomAccess.c111 int currentBlock = offset / BLOCK_BYTES; in test_decompress() local
142 seek_bin(inpFp, offsets[currentBlock], SEEK_SET); in test_decompress()
146 for(; currentBlock < endBlock; ++currentBlock) { in test_decompress()
149 int cmpBytes = offsets[currentBlock + 1] - offsets[currentBlock]; in test_decompress()
/external/skia/tests/
DSkBlockAllocatorTest.cpp67 SkBlockAllocator::Block* current = pool->currentBlock(); in add_block()
68 while(pool->currentBlock() == current) { in add_block()
86 REPORTER_ASSERT(r, stack.preallocUsableSpace() == (size_t) stack.currentBlock()->avail()); in DEF_TEST()
123 REPORTER_ASSERT(r, pool->currentBlock() == br.fBlock); in DEF_TEST()
160 size_t avail = pool->currentBlock()->avail<4>(); in DEF_TEST()
166 REPORTER_ASSERT(r, pool->currentBlock()->avail<4>() < 4); in DEF_TEST()
173 size_t bigRequest = pool->currentBlock()->avail<4>() * 2; in DEF_TEST()
246 REPORTER_ASSERT(r, pool->currentBlock()->release(p.fStart, p.fEnd)); in DEF_TEST()
461 pool->releaseBlock(pool->currentBlock()); in DEF_TEST()
472 size_t avail = pool->currentBlock()->avail(); in DEF_TEST()
[all …]
/external/skia/src/gpu/ganesh/
DGrMemoryPool.h75 return fAllocator.currentBlock() == fAllocator.headBlock() && in isEmpty()
76 fAllocator.currentBlock()->metadata() == 0; in isEmpty()
/external/clang/lib/StaticAnalyzer/Checkers/
DDeadStoresChecker.cpp132 const CFGBlock *currentBlock; member in __anon421dbe980211::DeadStoreObs
143 Escaped(escaped), currentBlock(nullptr) {} in DeadStoreObs()
176 if (!reachableCode->isReachable(currentBlock)) in Report()
261 currentBlock = block; in observeStmt()
/external/swiftshader/src/Pipeline/
DSpirvShaderControlFlow.cpp651 auto currentBlock = function.getBlock(block); in EmitPhi() local
653 if(!currentBlock.isLoopMerge) in EmitPhi()
658 StorePhi(block, insn, currentBlock.ins); in EmitPhi()
683 void SpirvEmitter::StorePhi(Block::ID currentBlock, InsnIterator insn, const std::unordered_set<Blo… in StorePhi() argument
703 auto mask = GetActiveLaneMaskEdge(blockId, currentBlock); in StorePhi()
710 objectId, i, currentBlock, blockId, varId, in.UInt(i), mask); in StorePhi()
DSpirvShader.cpp44 Block::ID currentBlock; local
202 ASSERT(currentBlock == 0);
203 currentBlock = Block::ID(insn.word(1));
222 ASSERT(currentBlock != 0);
227 functions[currentFunction].blocks[currentBlock] = Block(blockStart, blockEnd);
228 currentBlock = Block::ID(0);
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTrieIterator.java391 int currentBlock = m_nextBlock_; in checkBlock() local
394 if (m_nextBlock_ == currentBlock && in checkBlock()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTrieIterator.java390 int currentBlock = m_nextBlock_; in checkBlock() local
393 if (m_nextBlock_ == currentBlock && in checkBlock()
/external/clang/lib/Analysis/
DUninitializedValues.cpp838 currentBlock(0) {} in PruneBlocksHandler()
849 unsigned currentBlock; member
853 hadUse[currentBlock] = true; in handleUseOfUninitVariable()
861 hadUse[currentBlock] = true; in handleSelfInit()
901 PBH.currentBlock = block->getBlockID(); in runUninitializedVariablesAnalysis()
DLiveVariables.cpp198 const CFGBlock *currentBlock; member in __anonfd9a74bd0411::TransferFunctions
204 : LV(im), val(Val), observer(Observer), currentBlock(CurrentBlock) {} in TransferFunctions()
255 observer->observeStmt(S, currentBlock, val); in Visit()
DCFG.cpp3227 CFGBlock *currentBlock = createBlock(false); in VisitCaseStmt() local
3228 currentBlock->setLabel(CS); in VisitCaseStmt()
3231 addSuccessor(LastBlock, currentBlock); in VisitCaseStmt()
3233 TopBlock = currentBlock; in VisitCaseStmt()
3238 ? currentBlock : nullptr); in VisitCaseStmt()
3240 LastBlock = currentBlock; in VisitCaseStmt()
4001 signed currentBlock; member in __anonddca03440211::StmtPrinterHelper
4007 : currentBlock(0), currStmt(0), LangOpts(LO) in StmtPrinterHelper()
4066 void setBlockID(signed i) { currentBlock = i; } in setBlockID()
4075 if (currentBlock >= 0 && I->second.first == (unsigned) currentBlock in handledStmt()
[all …]
/external/clang/include/clang/Analysis/Analyses/
DLiveVariables.h61 const CFGBlock *currentBlock, in observeStmt() argument
/external/skia/vma_android/include/
Dvk_mem_alloc.h10482 Block* currentBlock = (Block*)request.allocHandle; in Alloc() local
10484 VMA_ASSERT(currentBlock != VMA_NULL); in Alloc()
10485 VMA_ASSERT(currentBlock->offset <= offset); in Alloc()
10487 if (currentBlock != m_NullBlock) in Alloc()
10488 RemoveFreeBlock(currentBlock); in Alloc()
10491 VkDeviceSize misssingAlignment = offset - currentBlock->offset; in Alloc()
10496 Block* prevBlock = currentBlock->prevPhysical; in Alloc()
10517 currentBlock->prevPhysical = newBlock; in Alloc()
10520 newBlock->nextPhysical = currentBlock; in Alloc()
10522 newBlock->offset = currentBlock->offset; in Alloc()
[all …]