Home
last modified time | relevance | path

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

/external/icu/icu4c/source/tools/makeconv/
Dgenmbcs.cpp566 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/icu/android_icu4j/src/main/java/android/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/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTrie2Writable.java167 int newBlock, newTop; in allocIndex2Block() local
169 newBlock=index2Length; in allocIndex2Block()
170 newTop=newBlock+UTRIE2_INDEX_2_BLOCK_LENGTH; in allocIndex2Block()
180 System.arraycopy(index2, index2NullOffset, index2, newBlock, UTRIE2_INDEX_2_BLOCK_LENGTH); in allocIndex2Block()
181 return newBlock; in allocIndex2Block()
201 int newBlock, newTop; in allocDataBlock() local
205 newBlock=firstFreeBlock; in allocDataBlock()
206 firstFreeBlock=-map[newBlock>>UTRIE2_SHIFT_2]; in allocDataBlock()
209 newBlock=dataLength; in allocDataBlock()
210 newTop=newBlock+UTRIE2_DATA_BLOCK_LENGTH; in allocDataBlock()
[all …]
DIntTrieBuilder.java504 int newBlock = m_dataLength_; in allocDataBlock() local
505 int newTop = newBlock + DATA_BLOCK_LENGTH; in allocDataBlock()
511 return newBlock; in allocDataBlock()
528 int newBlock = allocDataBlock(); in getDataBlock() local
529 if (newBlock < 0) { in getDataBlock()
533 m_index_[ch] = newBlock; in getDataBlock()
536 System.arraycopy(m_data_, Math.abs(indexValue), m_data_, newBlock, in getDataBlock()
538 return newBlock; in getDataBlock()
/external/icu/icu4c/source/common/
Dutrie2_builder.cpp473 int32_t newBlock, newTop; in allocIndex2Block() local
475 newBlock=trie->index2Length; in allocIndex2Block()
476 newTop=newBlock+UTRIE2_INDEX_2_BLOCK_LENGTH; in allocIndex2Block()
486 …uprv_memcpy(trie->index2+newBlock, trie->index2+trie->index2NullOffset, UTRIE2_INDEX_2_BLOCK_LENGT… in allocIndex2Block()
487 return newBlock; in allocIndex2Block()
512 int32_t newBlock, newTop; in allocDataBlock() local
516 newBlock=trie->firstFreeBlock; in allocDataBlock()
517 trie->firstFreeBlock=-trie->map[newBlock>>UTRIE2_SHIFT_2]; in allocDataBlock()
520 newBlock=trie->dataLength; in allocDataBlock()
521 newTop=newBlock+UTRIE2_DATA_BLOCK_LENGTH; in allocDataBlock()
[all …]
Dutrie.cpp175 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/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/dexmaker/src/dx/java/com/android/dx/ssa/
DSsaMethod.java240 SsaBasicBlock newBlock = new SsaBasicBlock(newIndex, maxLabel++, this); in makeNewGotoBlock() local
242 newBlock.getInsns().add(getGoto(newBlock)); in makeNewGotoBlock()
243 blocks.add(newBlock); in makeNewGotoBlock()
245 return newBlock; in makeNewGotoBlock()
DEscapeAnalysis.java745 SsaBasicBlock newBlock = in insertExceptionThrow() local
747 SsaInsn newInsn = newBlock.getInsns().get(0); in insertExceptionThrow()
755 newBlock.insertNewSuccessor(newBlock.getPrimarySuccessor()); in insertExceptionThrow()
/external/skia/src/core/
DSkDeque.cpp230 Block* newBlock = (Block*)sk_malloc_throw(sizeof(Block) + allocCount * fElemSize); in allocateBlock() local
231 newBlock->init(sizeof(Block) + allocCount * fElemSize); in allocateBlock()
232 return newBlock; in allocateBlock()
DSkChunkAlloc.cpp118 SkChunkAlloc::Block* SkChunkAlloc::newBlock(size_t bytes, AllocFailType ftype) { in newBlock() function in SkChunkAlloc
143 Block* block = this->newBlock(bytes, ftype); in addBlockIfNecessary()
/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/skia/include/core/
DSkChunkAlloc.h72 Block* newBlock(size_t bytes, AllocFailType ftype);
/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()
DBigUnsigned.hh100 void setBlock(Index i, Blk newBlock);
/external/pdfium/core/src/fxcrt/
Dfx_basic_maps.cpp113 CFX_Plex* newBlock = CFX_Plex::Create(m_pBlocks, m_nBlockSize, in NewAssoc() local
116 (CFX_MapPtrToPtr::CAssoc*)newBlock->data(); in NewAssoc()
/external/boringssl/src/ssl/test/runner/
Ddtls.go44 c.rawInput = c.in.newBlock()
275 b = c.out.newBlock()
Dconn.go611 func (hc *halfConn) newBlock() *block { func
638 bb := hc.newBlock()
653 c.rawInput = c.in.newBlock()
884 b := c.out.newBlock()
/external/lz4/lib/
Dlz4hc.c618 static void LZ4HC_setExternalDict(LZ4HC_Data_Structure* ctxPtr, const BYTE* newBlock) in LZ4HC_setExternalDict() argument
626 ctxPtr->base = newBlock - ctxPtr->dictLimit; in LZ4HC_setExternalDict()
627 ctxPtr->end = newBlock; in LZ4HC_setExternalDict()
/external/clang/lib/Analysis/
DCFG.cpp1958 if (CFGBlock *newBlock = addStmt(*I)) in VisitCompoundStmt() local
1959 LastBlock = newBlock; in VisitCompoundStmt()
2126 if (CFGBlock *newBlock = Visit(EC->getSubExpr())) in VisitDeclSubExpr() local
2127 LastBlock = newBlock; in VisitDeclSubExpr()
2130 if (CFGBlock *newBlock = Visit(Init)) in VisitDeclSubExpr() local
2131 LastBlock = newBlock; in VisitDeclSubExpr()
2138 if (CFGBlock *newBlock = addStmt(VA->getSizeExpr())) in VisitDeclSubExpr() local
2139 LastBlock = newBlock; in VisitDeclSubExpr()