Home
last modified time | relevance | path

Searched refs:newBlock (Results 1 – 25 of 43) sorted by relevance

12

/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DAttributeResolution.java149 int newBlock = theme.resolveAttributeReference(valueRef, block, in ResolveAttrs() local
155 if (newBlock >= 0) block = newBlock; in ResolveAttrs()
162 int newBlock = theme.GetAttribute(curIdent, valueRef, typeSetFlagsRef); in ResolveAttrs() local
166 if (newBlock >= 0) { in ResolveAttrs()
170 newBlock = res.resolveReference(valueRef, newBlock, residRef, typeSetFlagsRef, configRef); in ResolveAttrs()
176 if (newBlock == BAD_INDEX) { in ResolveAttrs()
180 if (newBlock >= 0) block = newBlock; in ResolveAttrs()
358 int newBlock = theme.resolveAttributeReference(value, block, in ApplyStyle() local
360 if (newBlock >= 0) { in ApplyStyle()
361 block = newBlock; in ApplyStyle()
[all …]
/external/icu/icu4c/source/tools/makeconv/
Dgenmbcs.cpp574 uint32_t blockSize, newTop, i, nextOffset, newBlock, min; in MBCSSingleAddFromUnicode() local
599 newBlock=mbcsData->stage2Top; in MBCSSingleAddFromUnicode()
601 min=newBlock-nextOffset; /* minimum block start with overlap */ in MBCSSingleAddFromUnicode()
602 while(min<newBlock && mbcsData->stage2Single[newBlock-1]==0) { in MBCSSingleAddFromUnicode()
603 --newBlock; in MBCSSingleAddFromUnicode()
606 newTop=newBlock+MBCS_STAGE_2_BLOCK_SIZE; in MBCSSingleAddFromUnicode()
617 mbcsData->stage1[idx]=(uint16_t)newBlock; in MBCSSingleAddFromUnicode()
633 newBlock=mbcsData->stage3Top; in MBCSSingleAddFromUnicode()
635 min=newBlock-nextOffset; /* minimum block start with overlap */ in MBCSSingleAddFromUnicode()
636 while(min<newBlock && stage3[newBlock-1]==0) { in MBCSSingleAddFromUnicode()
[all …]
Dgencnvex.c823 int32_t i1, i2, i3, i3b, nextOffset, min, newBlock; in addFromUTrieEntry() local
843 newBlock=extData->stage2Top; in addFromUTrieEntry()
844 min=newBlock-nextOffset; /* minimum block start with overlap */ in addFromUTrieEntry()
845 while(min<newBlock && extData->stage2[newBlock-1]==0) { in addFromUTrieEntry()
846 --newBlock; in addFromUTrieEntry()
849 extData->stage1[i1]=(uint16_t)newBlock; in addFromUTrieEntry()
850 extData->stage2Top=newBlock+MBCS_STAGE_2_BLOCK_SIZE; in addFromUTrieEntry()
862 newBlock=extData->stage3Top; in addFromUTrieEntry()
863 min=newBlock-nextOffset; /* minimum block start with overlap */ in addFromUTrieEntry()
864 while(min<newBlock && extData->stage3[newBlock-1]==0) { in addFromUTrieEntry()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTrie2Writable.java171 int newBlock, newTop; in allocIndex2Block() local
173 newBlock=index2Length; in allocIndex2Block()
174 newTop=newBlock+UTRIE2_INDEX_2_BLOCK_LENGTH; in allocIndex2Block()
184 System.arraycopy(index2, index2NullOffset, index2, newBlock, UTRIE2_INDEX_2_BLOCK_LENGTH); in allocIndex2Block()
185 return newBlock; in allocIndex2Block()
205 int newBlock, newTop; in allocDataBlock() local
209 newBlock=firstFreeBlock; in allocDataBlock()
210 firstFreeBlock=-map[newBlock>>UTRIE2_SHIFT_2]; in allocDataBlock()
213 newBlock=dataLength; in allocDataBlock()
214 newTop=newBlock+UTRIE2_DATA_BLOCK_LENGTH; in allocDataBlock()
[all …]
DIntTrieBuilder.java508 int newBlock = m_dataLength_; in allocDataBlock() local
509 int newTop = newBlock + DATA_BLOCK_LENGTH; in allocDataBlock()
515 return newBlock; in allocDataBlock()
532 int newBlock = allocDataBlock(); in getDataBlock() local
533 if (newBlock < 0) { in getDataBlock()
537 m_index_[ch] = newBlock; in getDataBlock()
540 System.arraycopy(m_data_, Math.abs(indexValue), m_data_, newBlock, in getDataBlock()
542 return newBlock; in getDataBlock()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTrie2Writable.java169 int newBlock, newTop; in allocIndex2Block() local
171 newBlock=index2Length; in allocIndex2Block()
172 newTop=newBlock+UTRIE2_INDEX_2_BLOCK_LENGTH; in allocIndex2Block()
182 System.arraycopy(index2, index2NullOffset, index2, newBlock, UTRIE2_INDEX_2_BLOCK_LENGTH); in allocIndex2Block()
183 return newBlock; in allocIndex2Block()
203 int newBlock, newTop; in allocDataBlock() local
207 newBlock=firstFreeBlock; in allocDataBlock()
208 firstFreeBlock=-map[newBlock>>UTRIE2_SHIFT_2]; in allocDataBlock()
211 newBlock=dataLength; in allocDataBlock()
212 newTop=newBlock+UTRIE2_DATA_BLOCK_LENGTH; in allocDataBlock()
[all …]
DIntTrieBuilder.java506 int newBlock = m_dataLength_; in allocDataBlock() local
507 int newTop = newBlock + DATA_BLOCK_LENGTH; in allocDataBlock()
513 return newBlock; in allocDataBlock()
530 int newBlock = allocDataBlock(); in getDataBlock() local
531 if (newBlock < 0) { in getDataBlock()
535 m_index_[ch] = newBlock; in getDataBlock()
538 System.arraycopy(m_data_, Math.abs(indexValue), m_data_, newBlock, in getDataBlock()
540 return newBlock; in getDataBlock()
/external/skqp/src/sksl/
DSkSLCFGGenerator.cpp30 BlockId CFG::newBlock() { in newBlock() function in SkSL::CFG
307 cfg.newBlock(); in addExpression()
309 cfg.newBlock(); in addExpression()
405 cfg.newBlock(); in addExpression()
407 BlockId next = cfg.newBlock(); in addExpression()
409 cfg.newBlock(); in addExpression()
466 cfg.newBlock(); in addStatement()
468 BlockId next = cfg.newBlock(); in addStatement()
471 cfg.newBlock(); in addStatement()
532 BlockId loopStart = cfg.newBlock(); in addStatement()
[all …]
/external/skia/src/sksl/
DSkSLCFGGenerator.cpp30 BlockId CFG::newBlock() { in newBlock() function in SkSL::CFG
307 cfg.newBlock(); in addExpression()
309 cfg.newBlock(); in addExpression()
406 cfg.newBlock(); in addExpression()
408 BlockId next = cfg.newBlock(); in addExpression()
410 cfg.newBlock(); in addExpression()
467 cfg.newBlock(); in addStatement()
469 BlockId next = cfg.newBlock(); in addStatement()
472 cfg.newBlock(); in addStatement()
533 BlockId loopStart = cfg.newBlock(); in addStatement()
[all …]
/external/python/cpython2/Lib/compiler/
Dpycodegen.py241 self.newBlock = self.graph.newBlock
414 end = self.newBlock()
423 nextTest = self.newBlock()
436 loop = self.newBlock()
437 else_ = self.newBlock()
439 after = self.newBlock()
461 start = self.newBlock()
462 anchor = self.newBlock()
463 after = self.newBlock()
519 end = self.newBlock()
[all …]
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dfifo.hpp131 T* newBlock = (T*)arena.AllocAligned(sizeof(T)*mBlockSize, KNOB_SIMD_WIDTH*4); in enqueue_try_nosync() local
132 SWR_ASSERT(newBlock); in enqueue_try_nosync()
134 mBlocks.push_back(newBlock); in enqueue_try_nosync()
135 mCurBlock = newBlock; in enqueue_try_nosync()
/external/icu/icu4c/source/common/
Dutrie2_builder.cpp512 int32_t newBlock, newTop; in allocIndex2Block() local
514 newBlock=trie->index2Length; in allocIndex2Block()
515 newTop=newBlock+UTRIE2_INDEX_2_BLOCK_LENGTH; in allocIndex2Block()
525 …uprv_memcpy(trie->index2+newBlock, trie->index2+trie->index2NullOffset, UTRIE2_INDEX_2_BLOCK_LENGT… in allocIndex2Block()
526 return newBlock; in allocIndex2Block()
551 int32_t newBlock, newTop; in allocDataBlock() local
555 newBlock=trie->firstFreeBlock; in allocDataBlock()
556 trie->firstFreeBlock=-trie->map[newBlock>>UTRIE2_SHIFT_2]; in allocDataBlock()
559 newBlock=trie->dataLength; in allocDataBlock()
560 newTop=newBlock+UTRIE2_DATA_BLOCK_LENGTH; in allocDataBlock()
[all …]
Dutrie.cpp177 int32_t newBlock, newTop; in utrie_allocDataBlock() local
179 newBlock=trie->dataLength; in utrie_allocDataBlock()
180 newTop=newBlock+UTRIE_DATA_BLOCK_LENGTH; in utrie_allocDataBlock()
186 return newBlock; in utrie_allocDataBlock()
197 int32_t indexValue, newBlock; in utrie_getDataBlock() local
206 newBlock=utrie_allocDataBlock(trie); in utrie_getDataBlock()
207 if(newBlock<0) { in utrie_getDataBlock()
211 trie->index[c]=newBlock; in utrie_getDataBlock()
214 uprv_memcpy(trie->data+newBlock, trie->data-indexValue, 4*UTRIE_DATA_BLOCK_LENGTH); in utrie_getDataBlock()
215 return newBlock; in utrie_getDataBlock()
Dumutablecptrie.cpp402 int32_t newBlock = dataLength; in allocDataBlock() local
403 int32_t newTop = newBlock + blockLength; in allocDataBlock()
426 return newBlock; in allocDataBlock()
440 int32_t newBlock = allocDataBlock(UCPTRIE_FAST_DATA_BLOCK_LENGTH); in getDataBlock() local
441 if (newBlock < 0) { return newBlock; } in getDataBlock()
446 writeBlock(data + newBlock, index[iStart]); in getDataBlock()
448 index[iStart++] = newBlock; in getDataBlock()
449 newBlock += UCPTRIE_SMALL_DATA_BLOCK_LENGTH; in getDataBlock()
453 int32_t newBlock = allocDataBlock(UCPTRIE_SMALL_DATA_BLOCK_LENGTH); in getDataBlock() local
454 if (newBlock < 0) { return newBlock; } in getDataBlock()
[all …]
/external/skia/src/core/
DSkArenaAlloc.cpp131 char* newBlock = new char[allocationSize]; in ensureSpace() local
134 fCursor = newBlock; in ensureSpace()
135 fDtorCursor = newBlock; in ensureSpace()
DSkDeque.cpp229 Block* newBlock = (Block*)sk_malloc_throw(sizeof(Block) + allocCount * fElemSize); in allocateBlock() local
230 newBlock->init(sizeof(Block) + allocCount * fElemSize); in allocateBlock()
231 return newBlock; in allocateBlock()
/external/skqp/src/core/
DSkArenaAlloc.cpp131 char* newBlock = new char[allocationSize]; in ensureSpace() local
134 fCursor = newBlock; in ensureSpace()
135 fDtorCursor = newBlock; in ensureSpace()
DSkDeque.cpp229 Block* newBlock = (Block*)sk_malloc_throw(sizeof(Block) + allocCount * fElemSize); in allocateBlock() local
230 newBlock->init(sizeof(Block) + allocCount * fElemSize); in allocateBlock()
231 return newBlock; in allocateBlock()
/external/deqp/framework/delibs/decpp/
DdeAppendList.hpp251 Block* const newBlock = new Block(blockNdx+1, m_blockSize); in append() local
258 m_last = newBlock; in append()
263 curBlock->next = newBlock; in append()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DMutableCodePointTrie.java444 int newBlock = dataLength; in allocDataBlock() local
445 int newTop = newBlock + blockLength; in allocDataBlock()
463 return newBlock; in allocDataBlock()
475 int newBlock = allocDataBlock(CodePointTrie.FAST_DATA_BLOCK_LENGTH); in getDataBlock() local
480 writeBlock(newBlock, index[iStart]); in getDataBlock()
482 index[iStart++] = newBlock; in getDataBlock()
483 newBlock += CodePointTrie.SMALL_DATA_BLOCK_LENGTH; in getDataBlock()
487 int newBlock = allocDataBlock(CodePointTrie.SMALL_DATA_BLOCK_LENGTH); in getDataBlock() local
488 if (newBlock < 0) { return newBlock; } in getDataBlock()
489 writeBlock(newBlock, index[i]); in getDataBlock()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DMutableCodePointTrie.java437 int newBlock = dataLength; in allocDataBlock() local
438 int newTop = newBlock + blockLength; in allocDataBlock()
456 return newBlock; in allocDataBlock()
468 int newBlock = allocDataBlock(CodePointTrie.FAST_DATA_BLOCK_LENGTH); in getDataBlock() local
473 writeBlock(newBlock, index[iStart]); in getDataBlock()
475 index[iStart++] = newBlock; in getDataBlock()
476 newBlock += CodePointTrie.SMALL_DATA_BLOCK_LENGTH; in getDataBlock()
480 int newBlock = allocDataBlock(CodePointTrie.SMALL_DATA_BLOCK_LENGTH); in getDataBlock() local
481 if (newBlock < 0) { return newBlock; } in getDataBlock()
482 writeBlock(newBlock, index[i]); in getDataBlock()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/util/
DTryListBuilder.java304 … MutableTryBlock<EH> newBlock = new MutableTryBlock<EH>(previousEnd, tryBlock.startCodeAddress); in addHandler() local
305 tryBlock.prepend(newBlock); in addHandler()
306 tryBlock = newBlock; in addHandler()
/external/pdfium/third_party/bigint/
DBigUnsigned.cc30 void BigUnsigned::setBlock(Index i, Blk newBlock) { in setBlock() argument
31 if (newBlock == 0) { in setBlock()
46 blk[i] = newBlock; in setBlock()
/external/syzkaller/pkg/ast/
Dparser.go362 newBlock := false
364 newBlock = true
373 fld.NewBlock = newBlock
/external/swiftshader/third_party/LLVM/lib/Transforms/Instrumentation/
DPathProfiling.cpp193 void splitUpdate(BLInstrumentationEdge* formerEdge, BasicBlock* newBlock);
553 BasicBlock* newBlock) { in splitUpdate() argument
555 BallLarusNode* newNode = addNode(newBlock); in splitUpdate()
1419 BasicBlock* newBlock = terminator->getSuccessor(succNum); in splitCritical() local
1420 dag->splitUpdate(edge, newBlock); in splitCritical()

12