Home
last modified time | relevance | path

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

/external/icu4c/tools/makeconv/
Dgenmbcs.c566 uint32_t blockSize, newTop, i, nextOffset, newBlock, min; in MBCSSingleAddFromUnicode() local
591 newBlock=mbcsData->stage2Top; in MBCSSingleAddFromUnicode()
593 min=newBlock-nextOffset; /* minimum block start with overlap */ in MBCSSingleAddFromUnicode()
594 while(min<newBlock && mbcsData->stage2Single[newBlock-1]==0) { in MBCSSingleAddFromUnicode()
595 --newBlock; in MBCSSingleAddFromUnicode()
598 newTop=newBlock+MBCS_STAGE_2_BLOCK_SIZE; in MBCSSingleAddFromUnicode()
609 mbcsData->stage1[idx]=(uint16_t)newBlock; in MBCSSingleAddFromUnicode()
625 newBlock=mbcsData->stage3Top; in MBCSSingleAddFromUnicode()
627 min=newBlock-nextOffset; /* minimum block start with overlap */ in MBCSSingleAddFromUnicode()
628 while(min<newBlock && stage3[newBlock-1]==0) { in MBCSSingleAddFromUnicode()
[all …]
Dgencnvex.c821 int32_t i1, i2, i3, i3b, nextOffset, min, newBlock; in addFromUTrieEntry() local
841 newBlock=extData->stage2Top; in addFromUTrieEntry()
842 min=newBlock-nextOffset; /* minimum block start with overlap */ in addFromUTrieEntry()
843 while(min<newBlock && extData->stage2[newBlock-1]==0) { in addFromUTrieEntry()
844 --newBlock; in addFromUTrieEntry()
847 extData->stage1[i1]=(uint16_t)newBlock; in addFromUTrieEntry()
848 extData->stage2Top=newBlock+MBCS_STAGE_2_BLOCK_SIZE; in addFromUTrieEntry()
860 newBlock=extData->stage3Top; in addFromUTrieEntry()
861 min=newBlock-nextOffset; /* minimum block start with overlap */ in addFromUTrieEntry()
862 while(min<newBlock && extData->stage3[newBlock-1]==0) { in addFromUTrieEntry()
[all …]
/external/icu4c/common/
Dutrie2_builder.c475 int32_t newBlock, newTop; in allocIndex2Block() local
477 newBlock=trie->index2Length; in allocIndex2Block()
478 newTop=newBlock+UTRIE2_INDEX_2_BLOCK_LENGTH; in allocIndex2Block()
488 …uprv_memcpy(trie->index2+newBlock, trie->index2+trie->index2NullOffset, UTRIE2_INDEX_2_BLOCK_LENGT… in allocIndex2Block()
489 return newBlock; in allocIndex2Block()
514 int32_t newBlock, newTop; in allocDataBlock() local
518 newBlock=trie->firstFreeBlock; in allocDataBlock()
519 trie->firstFreeBlock=-trie->map[newBlock>>UTRIE2_SHIFT_2]; in allocDataBlock()
522 newBlock=trie->dataLength; in allocDataBlock()
523 newTop=newBlock+UTRIE2_DATA_BLOCK_LENGTH; in allocDataBlock()
[all …]
Dutrie.c175 int32_t newBlock, newTop; in utrie_allocDataBlock() local
177 newBlock=trie->dataLength; in utrie_allocDataBlock()
178 newTop=newBlock+UTRIE_DATA_BLOCK_LENGTH; in utrie_allocDataBlock()
184 return newBlock; in utrie_allocDataBlock()
195 int32_t indexValue, newBlock; in utrie_getDataBlock() local
204 newBlock=utrie_allocDataBlock(trie); in utrie_getDataBlock()
205 if(newBlock<0) { in utrie_getDataBlock()
209 trie->index[c]=newBlock; in utrie_getDataBlock()
212 uprv_memcpy(trie->data+newBlock, trie->data-indexValue, 4*UTRIE_DATA_BLOCK_LENGTH); in utrie_getDataBlock()
213 return newBlock; in utrie_getDataBlock()
/external/webkit/Source/WebCore/editing/
DCompositeEditCommand.cpp747 RefPtr<Node> newBlock = insertNewDefaultParagraphElementAt(upstreamStart); in moveParagraphContentsToNewBlockIfNecessary() local
751 …(visibleParagraphStart, visibleParagraphEnd, VisiblePosition(firstPositionInNode(newBlock.get()))); in moveParagraphContentsToNewBlockIfNecessary()
753 if (newBlock->lastChild() && newBlock->lastChild()->hasTagName(brTag) && !endWasBr) in moveParagraphContentsToNewBlockIfNecessary()
754 removeNode(newBlock->lastChild()); in moveParagraphContentsToNewBlockIfNecessary()
756 return newBlock.release(); in moveParagraphContentsToNewBlockIfNecessary()
1055 RefPtr<Element> newBlock = 0; in breakOutOfEmptyListItem() local
1065 newBlock = createListItemElement(document()); in breakOutOfEmptyListItem()
1069 newBlock = createListItemElement(document()); in breakOutOfEmptyListItem()
1071 if (!newBlock) in breakOutOfEmptyListItem()
1072 newBlock = createDefaultParagraphElement(document()); in breakOutOfEmptyListItem()
[all …]
DApplyStyleCommand.cpp271 …RefPtr<Node> newBlock = moveParagraphContentsToNewBlockIfNecessary(paragraphStart.deepEquivalent()… in applyBlockStyle() local
272 if (newBlock) in applyBlockStyle()
273 block = newBlock; in applyBlockStyle()
/external/webkit/Source/WebCore/rendering/
DRenderRuby.cpp90 …RenderBlock* newBlock = new (ruby->renderArena()) RenderBlock(ruby->document() /* anonymous box */… in createAnonymousRubyInlineBlock() local
91 newBlock->setStyle(newStyle.release()); in createAnonymousRubyInlineBlock()
92 return newBlock; in createAnonymousRubyInlineBlock()
/external/skia/src/core/
DSkChunkAlloc.cpp85 SkChunkAlloc::Block* SkChunkAlloc::newBlock(size_t bytes, AllocFailType ftype) { in newBlock() function in SkChunkAlloc
116 block = this->newBlock(bytes, ftype); in alloc()
/external/skia/include/core/
DSkChunkAlloc.h73 Block* newBlock(size_t bytes, AllocFailType ftype);
DSkWriter32.h149 Block* newBlock(size_t bytes);
/external/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()
1420 BasicBlock* newBlock = terminator->getSuccessor(succNum); in splitCritical() local
1421 dag->splitUpdate(edge, newBlock); in splitCritical()
/external/clang/lib/Analysis/
DCFG.cpp1252 if (CFGBlock *newBlock = addStmt(*I)) in VisitCompoundStmt() local
1253 LastBlock = newBlock; in VisitCompoundStmt()