Home
last modified time | relevance | path

Searched refs:newTop (Results 1 – 15 of 15) sorted by relevance

/external/v8/tools/sodium/
Dsodium.js235 function makeContainerPosVisible(container, newTop) { argument
238 if (newTop < container.scrollTop + margin) {
239 newTop -= margin;
240 if (newTop < 0) newTop = 0;
241 container.scrollTop = newTop;
244 if (newTop > (container.scrollTop + 3 * margin)) {
245 newTop = newTop - 3 * margin;
246 container.scrollTop = newTop;
250 function makeAsmPosVisible(newTop) { argument
252 makeContainerPosVisible(asmContainer, newTop);
[all …]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DTreeMultiset.java785 AvlNode<E> newTop = pred;
787 newTop.left = left.removeMax(newTop);
788 newTop.right = right;
789 newTop.distinctElements = distinctElements - 1;
790 newTop.totalCount = totalCount - oldElemCount;
791 return newTop.rebalance();
793 AvlNode<E> newTop = succ;
794 newTop.right = right.removeMin(newTop);
795 newTop.left = left;
796 newTop.distinctElements = distinctElements - 1;
[all …]
/external/guava/guava/src/com/google/common/collect/
DTreeMultiset.java789 AvlNode<E> newTop = pred;
791 newTop.left = left.removeMax(newTop);
792 newTop.right = right;
793 newTop.distinctElements = distinctElements - 1;
794 newTop.totalCount = totalCount - oldElemCount;
795 return newTop.rebalance();
797 AvlNode<E> newTop = succ;
798 newTop.right = right.removeMin(newTop);
799 newTop.left = left;
800 newTop.distinctElements = distinctElements - 1;
[all …]
/external/icu/icu4c/source/tools/makeconv/
Dgenmbcs.cpp574 uint32_t blockSize, newTop, i, nextOffset, newBlock, min; in MBCSSingleAddFromUnicode() local
606 newTop=newBlock+MBCS_STAGE_2_BLOCK_SIZE; in MBCSSingleAddFromUnicode()
608 if(newTop>MBCS_MAX_STAGE_2_TOP) { in MBCSSingleAddFromUnicode()
618 mbcsData->stage2Top=newTop; in MBCSSingleAddFromUnicode()
640 newTop=newBlock+blockSize; in MBCSSingleAddFromUnicode()
642 if(newTop>MBCS_STAGE_3_SBCS_SIZE) { in MBCSSingleAddFromUnicode()
648 while(newBlock<newTop) { in MBCSSingleAddFromUnicode()
652 mbcsData->stage3Top=newTop; /* ==newBlock */ in MBCSSingleAddFromUnicode()
693 uint32_t blockSize, newTop, i, nextOffset, newBlock, min, overlap, maxOverlap; in MBCSAddFromUnicode() local
736 newTop=newBlock+MBCS_STAGE_2_BLOCK_SIZE; in MBCSAddFromUnicode()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTrie2Writable.java171 int newBlock, newTop; in allocIndex2Block() local
174 newTop=newBlock+UTRIE2_INDEX_2_BLOCK_LENGTH; in allocIndex2Block()
175 if(newTop > index2.length) { in allocIndex2Block()
183 index2Length=newTop; in allocIndex2Block()
205 int newBlock, newTop; in allocDataBlock() local
214 newTop=newBlock+UTRIE2_DATA_BLOCK_LENGTH; in allocDataBlock()
215 if(newTop>dataCapacity) { in allocDataBlock()
237 dataLength=newTop; in allocDataBlock()
DIntTrieBuilder.java509 int newTop = newBlock + DATA_BLOCK_LENGTH; in allocDataBlock() local
510 if (newTop > m_dataCapacity_) { in allocDataBlock()
514 m_dataLength_ = newTop; in allocDataBlock()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTrie2Writable.java169 int newBlock, newTop; in allocIndex2Block() local
172 newTop=newBlock+UTRIE2_INDEX_2_BLOCK_LENGTH; in allocIndex2Block()
173 if(newTop > index2.length) { in allocIndex2Block()
181 index2Length=newTop; in allocIndex2Block()
203 int newBlock, newTop; in allocDataBlock() local
212 newTop=newBlock+UTRIE2_DATA_BLOCK_LENGTH; in allocDataBlock()
213 if(newTop>dataCapacity) { in allocDataBlock()
235 dataLength=newTop; in allocDataBlock()
DIntTrieBuilder.java507 int newTop = newBlock + DATA_BLOCK_LENGTH; in allocDataBlock() local
508 if (newTop > m_dataCapacity_) { in allocDataBlock()
512 m_dataLength_ = newTop; in allocDataBlock()
/external/icu/icu4c/source/common/
Dutrie2_builder.cpp512 int32_t newBlock, newTop; in allocIndex2Block() local
515 newTop=newBlock+UTRIE2_INDEX_2_BLOCK_LENGTH; in allocIndex2Block()
516 if(newTop>UPRV_LENGTHOF(trie->index2)) { in allocIndex2Block()
524 trie->index2Length=newTop; in allocIndex2Block()
551 int32_t newBlock, newTop; in allocDataBlock() local
560 newTop=newBlock+UTRIE2_DATA_BLOCK_LENGTH; in allocDataBlock()
561 if(newTop>trie->dataCapacity) { in allocDataBlock()
587 trie->dataLength=newTop; in allocDataBlock()
Dutrie.cpp177 int32_t newBlock, newTop; in utrie_allocDataBlock() local
180 newTop=newBlock+UTRIE_DATA_BLOCK_LENGTH; in utrie_allocDataBlock()
181 if(newTop>trie->dataCapacity) { in utrie_allocDataBlock()
185 trie->dataLength=newTop; in utrie_allocDataBlock()
Dumutablecptrie.cpp403 int32_t newTop = newBlock + blockLength; in allocDataBlock() local
404 if (newTop > dataCapacity) { in allocDataBlock()
425 dataLength = newTop; in allocDataBlock()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DMutableCodePointTrie.java445 int newTop = newBlock + blockLength; in allocDataBlock() local
446 if (newTop > data.length) { in allocDataBlock()
462 dataLength = newTop; in allocDataBlock()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DMutableCodePointTrie.java438 int newTop = newBlock + blockLength; in allocDataBlock() local
439 if (newTop > data.length) { in allocDataBlock()
455 dataLength = newTop; in allocDataBlock()
/external/skqp/src/core/
DSkCanvas.cpp830 MCRec* newTop = (MCRec*)fMCStack.push_back(); in internalSave() local
831 new (newTop) MCRec(*fMCRec); // balanced in restore() in internalSave()
832 fMCRec = newTop; in internalSave()
/external/skia/src/core/
DSkCanvas.cpp817 MCRec* newTop = (MCRec*)fMCStack.push_back(); in internalSave() local
818 new (newTop) MCRec(*fMCRec); // balanced in restore() in internalSave()
819 fMCRec = newTop; in internalSave()