Home
last modified time | relevance | path

Searched refs:toPosition (Results 1 – 25 of 178) sorted by relevance

12345678

/dports/lang/solidity/solidity_0.8.11/test/liblangutil/
H A DCharStream.cpp94 BOOST_CHECK_EQUAL(toPosition(0, 0, ""), 0); in BOOST_AUTO_TEST_CASE()
95 BOOST_CHECK_EQUAL(toPosition(1, 0, ""), nullopt); in BOOST_AUTO_TEST_CASE()
96 BOOST_CHECK_EQUAL(toPosition(0, 1, ""), nullopt); in BOOST_AUTO_TEST_CASE()
99 BOOST_CHECK_EQUAL(toPosition(0, 0, "ABC"), 0); in BOOST_AUTO_TEST_CASE()
100 BOOST_CHECK_EQUAL(toPosition(0, 1, "ABC"), 1); in BOOST_AUTO_TEST_CASE()
101 BOOST_CHECK_EQUAL(toPosition(0, 2, "ABC"), 2); in BOOST_AUTO_TEST_CASE()
102 BOOST_CHECK_EQUAL(toPosition(0, 3, "ABC"), 3); in BOOST_AUTO_TEST_CASE()
106 BOOST_CHECK_EQUAL(toPosition(0, 3, "ABC\nDEF"), 3); in BOOST_AUTO_TEST_CASE()
108 BOOST_CHECK_EQUAL(toPosition(1, 0, "ABC\nDEF"), 4); in BOOST_AUTO_TEST_CASE()
109 BOOST_CHECK_EQUAL(toPosition(1, 1, "ABC\nDEF"), 5); in BOOST_AUTO_TEST_CASE()
[all …]
/dports/java/jtiger/jtiger-2.1.0376/src/org/jtiger/framework/
H A DSequenceFactory.java149 else if(toPosition > length()) in getSubSequence()
196 else if(toPosition > length()) in delete()
507 else if(toPosition > length()) in getSubSequence()
554 else if(toPosition > length()) in delete()
871 else if(toPosition > length())
918 else if(toPosition > length())
1186 private final int toPosition;
1195 this.toPosition = toPosition;
1241 else if(toPosition > length())
1929 private final int toPosition;
[all …]
/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/src/tools/clangbackend/source/
H A Dunsavedfile.cpp95 uint toPosition = toUtf8Position(toLine, 1, &ok); in lineRange() local
98 while (toPosition < endPosition && m_fileContent.constData()[toPosition] != '\n') in lineRange()
99 ++toPosition; in lineRange()
101 return m_fileContent.mid(int(fromPosition), int(toPosition - fromPosition)); in lineRange()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/
H A DCustomLabel.cs33 …public CustomLabel (double fromPosition, double toPosition, string text, int labelRow, LabelMarkSt… in CustomLabel() argument
36 ToPosition = toPosition; in CustomLabel()
41 …public CustomLabel (double fromPosition, double toPosition, string text, int labelRow, LabelMarkSt… in CustomLabel() argument
44 ToPosition = toPosition; in CustomLabel()
H A DCustomLabelCollection.cs35 public CustomLabel Add (double fromPosition, double toPosition, string text) in Add() argument
46 …public CustomLabel Add (double fromPosition, double toPosition, string text, int rowIndex, LabelMa… in Add() argument
56 …public CustomLabel Add (double fromPosition, double toPosition, string text, int rowIndex, LabelMa… in Add() argument
/dports/net/liveMedia/live/liveMedia/
H A DMediaSink.cpp150 unsigned toPosition) { in insert() argument
151 unsigned realToPosition = fPacketStart + toPosition; in insert()
158 if (toPosition + numBytes > fCurOffset) { in insert()
159 fCurOffset = toPosition + numBytes; in insert()
163 void OutPacketBuffer::insertWord(u_int32_t word, unsigned toPosition) { in insertWord() argument
165 insert((unsigned char*)&nWord, 4, toPosition); in insertWord()
/dports/lang/spidermonkey60/firefox-60.9.0/mobile/android/base/java/org/mozilla/gecko/tabs/
H A DTabStripAdapter.java91 /* package */ boolean moveTab(int fromPosition, int toPosition) { in moveTab() argument
93 final int toTabId = tabs.get(toPosition).getId(); in moveTab()
94 JavaUtil.moveInList(tabs, fromPosition, toPosition); in moveTab()
95 notifyItemMoved(fromPosition, toPosition); in moveTab()
96 Tabs.getInstance().moveTab(fromTabId, fromPosition, toTabId, toPosition); in moveTab()
H A DTabsLayoutAdapter.java103 /* package */ boolean moveTab(int fromPosition, int toPosition) { in moveTab() argument
105 final int toTabId = tabs.get(toPosition).getId(); in moveTab()
106 JavaUtil.moveInList(tabs, fromPosition, toPosition); in moveTab()
107 notifyItemMoved(fromPosition, toPosition); in moveTab()
108 Tabs.getInstance().moveTab(fromTabId, fromPosition, toTabId, toPosition); in moveTab()
H A DTabsTouchHelperCallback.java25 boolean onItemMove(int fromPosition, int toPosition); in onItemMove() argument
64 final int toPosition = target.getAdapterPosition(); in onMove() local
65 if (fromPosition == RecyclerView.NO_POSITION || toPosition == RecyclerView.NO_POSITION) { in onMove()
68 return dragListener.onItemMove(fromPosition, toPosition); in onMove()
/dports/www/firefox-legacy/firefox-52.8.0esr/mobile/android/base/java/org/mozilla/gecko/home/
H A DTabMenuStripLayout.java40 private int toPosition; field in TabMenuStripLayout
144 if (fromPosition == 0 && toPosition == 1) { in onPageScrolled()
147 } else if (fromPosition == 1 && toPosition == 0) { in onPageScrolled()
175 toPosition = position; in setScrollingData()
179 toPosition = position + 1; in setScrollingData()
184 toTab = getChildAt(toPosition); in setScrollingData()
/dports/biology/jalview/jalview/src/jalview/datamodel/
H A DMapping.java94 private int toPosition = 0; field in Mapping.AlignedCodonIterator
118 toPosition = currentToRange[0]; in AlignedCodonIterator()
159 int peptideCol = toPosition - 1 - Mapping.this.to.getStart(); in next()
176 if (toPosition <= currentToRange[1]) in getPeptide()
179 char pep = seq.getCharAt(toPosition - seq.getStart()); in getPeptide()
180 toPosition++; in getPeptide()
186 "Ran out of peptide at position " + toPosition); in getPeptide()
189 toPosition = currentToRange[0]; in getPeptide()
H A DMappedFeatures.java68 private final int toPosition; field in MappedFeatures
105 toPosition = pos; in MappedFeatures()
113 int[] codonIntervals = mapping.getMap().locateInFrom(toPosition, toPosition); in MappedFeatures()
250 var.append("p.").append(from3).append(String.valueOf(toPosition)) in findProteinVariants()
/dports/security/keybase/client-v5.7.1/shared/ios/Pods/lottie-ios/lottie-swift/src/Private/NodeRenderSystem/Nodes/ModifierNodes/
H A DTrimPathNode.swift94 …pathContainer.appendPath(path.trim(fromPosition: start, toPosition: end, offset: offset, trimSimul… in rebuildOutputs()
150 …let newPath = path.trim(fromPosition: 0, toPosition: cutLength / path.length, offset: 0, trimSimul… in rebuildOutputs()
180 …let newPath = path.trim(fromPosition: cutLength / path.length, toPosition: 1, offset: 0, trimSimul… in rebuildOutputs()
214 …let newPath = path.trim(fromPosition: cutLength / path.length, toPosition: 1, offset: 0, trimSimul… in rebuildOutputs()
220 …let newPath = path.trim(fromPosition: 0, toPosition: cutLength / path.length, offset: 0, trimSimul… in rebuildOutputs()
228 …let newPath = path.trim(fromPosition: cutFromLength / path.length, toPosition: cutToLength / path.… in rebuildOutputs()
/dports/security/keybase/client-v5.7.1/shared/ios/Pods/lottie-ios/lottie-swift/src/Private/Utility/Primitives/
H A DCompoundBezierPath.swift57 …func trim(fromPosition: CGFloat, toPosition: CGFloat, offset: CGFloat, trimSimultaneously: Bool) -… in trim()
58 if fromPosition == toPosition { in trim()
67 toLength: toPosition * path.length, in trim()
75 var endPosition = (toPosition+offset).truncatingRemainder(dividingBy: 1) in trim()
/dports/astro/celestia-gtk/celestia-1.6.1/src/celestia/
H A Dcelx_position.cpp244 p1 = celx.toPosition(1); in position_add()
245 p2 = celx.toPosition(2); in position_add()
252 p1 = celx.toPosition(1); in position_add()
275 p1 = celx.toPosition(1); in position_sub()
276 p2 = celx.toPosition(2); in position_sub()
282 p1 = celx.toPosition(1); in position_sub()
/dports/astro/celestia/celestia-1.6.1/src/celestia/
H A Dcelx_position.cpp244 p1 = celx.toPosition(1); in position_add()
245 p2 = celx.toPosition(2); in position_add()
252 p1 = celx.toPosition(1); in position_add()
275 p1 = celx.toPosition(1); in position_sub()
276 p2 = celx.toPosition(2); in position_sub()
282 p1 = celx.toPosition(1); in position_sub()
/dports/lang/spidermonkey60/firefox-60.9.0/mobile/android/base/java/org/mozilla/gecko/home/
H A DTabMenuStripLayout.java47 private int toPosition; field in TabMenuStripLayout
192 if (fromPosition == 0 && toPosition == 1) { in onPageScrolled()
195 } else if (fromPosition == 1 && toPosition == 0) { in onPageScrolled()
225 toPosition = position; in setScrollingData()
229 toPosition = position + 1; in setScrollingData()
234 toTab = getChildAt(toPosition); in setScrollingData()
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/tools/extra/clangd/unittests/
H A DConfigTesting.h61 inline Position toPosition(llvm::SMLoc L, const llvm::SourceMgr &SM) { in toPosition() function
70 return Range{toPosition(R.Start, SM), toPosition(R.End, SM)}; in toRange()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang-tools-extra/clangd/unittests/
H A DConfigTesting.h61 inline Position toPosition(llvm::SMLoc L, const llvm::SourceMgr &SM) { in toPosition() function
70 return Range{toPosition(R.Start, SM), toPosition(R.End, SM)}; in toRange()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang-tools-extra/clangd/unittests/
H A DConfigTesting.h61 inline Position toPosition(llvm::SMLoc L, const llvm::SourceMgr &SM) { in toPosition() function
70 return Range{toPosition(R.Start, SM), toPosition(R.End, SM)}; in toRange()
/dports/devel/icu-le-hb/icu-le-hb-1.0.3-7-g04505b2/src/
H A DLEGlyphStorage.cpp515 void LEGlyphStorage::moveGlyph(le_int32 fromPosition, le_int32 toPosition, le_uint32 marker ) in moveGlyph() argument
524 if ( fromPosition < toPosition ) { in moveGlyph()
525 for ( le_int32 i = fromPosition ; i < toPosition ; i++ ) { in moveGlyph()
531 for ( le_int32 i = toPosition ; i > fromPosition ; i-- ) { in moveGlyph()
539 setGlyphID(toPosition,holdGlyph,success); in moveGlyph()
540 setCharIndex(toPosition,holdCharIndex,success); in moveGlyph()
541 setAuxData(toPosition,holdAuxData | marker,success); in moveGlyph()
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/native/sun/font/layout/
H A DLEGlyphStorage.cpp540 void LEGlyphStorage::moveGlyph(le_int32 fromPosition, le_int32 toPosition, le_uint32 marker ) in moveGlyph() argument
549 if ( fromPosition < toPosition ) { in moveGlyph()
550 for ( le_int32 i = fromPosition ; i < toPosition ; i++ ) { in moveGlyph()
556 for ( le_int32 i = toPosition ; i > fromPosition ; i-- ) { in moveGlyph()
564 setGlyphID(toPosition,holdGlyph,success); in moveGlyph()
565 setCharIndex(toPosition,holdCharIndex,success); in moveGlyph()
566 setAuxData(toPosition,holdAuxData | marker,success); in moveGlyph()
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/share/native/sun/font/layout/
H A DLEGlyphStorage.cpp540 void LEGlyphStorage::moveGlyph(le_int32 fromPosition, le_int32 toPosition, le_uint32 marker ) in moveGlyph() argument
549 if ( fromPosition < toPosition ) { in moveGlyph()
550 for ( le_int32 i = fromPosition ; i < toPosition ; i++ ) { in moveGlyph()
556 for ( le_int32 i = toPosition ; i > fromPosition ; i-- ) { in moveGlyph()
564 setGlyphID(toPosition,holdGlyph,success); in moveGlyph()
565 setCharIndex(toPosition,holdCharIndex,success); in moveGlyph()
566 setAuxData(toPosition,holdAuxData | marker,success); in moveGlyph()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang-tools-extra/clangd/unittests/
H A DConfigTesting.h73 inline Position toPosition(llvm::SMLoc L, const llvm::SourceMgr &SM) { in toPosition() function
82 return Range{toPosition(R.Start, SM), toPosition(R.End, SM)}; in toRange()
/dports/devel/llvm12/llvm-project-12.0.1.src/clang-tools-extra/clangd/unittests/
H A DConfigTesting.h73 inline Position toPosition(llvm::SMLoc L, const llvm::SourceMgr &SM) { in toPosition() function
82 return Range{toPosition(R.Start, SM), toPosition(R.End, SM)}; in toRange()

12345678