Home
last modified time | relevance | path

Searched refs:oldRange (Results 1 – 25 of 134) sorted by relevance

123456

/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.team/bundles/org.eclipse.compare.core/src/org/eclipse/compare/internal/core/patch/
H A DPatchReader.java242 int[] oldRange= new int[2]; in readUnifiedDiff() local
276 …Hunk.createHunk(diff, oldRange, newRange, lines, encounteredPlus, encounteredMinus, encounteredSpa… in readUnifiedDiff()
281 extractPair(line, '-', oldRange); in readUnifiedDiff()
283 remainingOld= oldRange[1]; in readUnifiedDiff()
345 …Hunk.createHunk(diff, oldRange, newRange, lines, encounteredPlus, encounteredMinus, encounteredSpa… in readUnifiedDiff()
368 int[] oldRange= new int[2]; in readContextDiff() local
404 extractPair(line, ' ', oldRange); in readContextDiff()
405 if (oldRange[0] == 0) { in readContextDiff()
406 oldRange[1] = 0; // In case of the file addition in readContextDiff()
408 oldRange[1] = oldRange[1] - oldRange[0] + 1; in readContextDiff()
[all …]
H A DHunk.java34 public static Hunk createHunk(FilePatch2 parent, int[] oldRange, int[] newRange, in createHunk() argument
40 if (oldRange[0] > 0) in createHunk()
41 oldStart= oldRange[0]-1; // line number start at 0! in createHunk()
44 oldLength= oldRange[1]; in createHunk()
/dports/audio/audacity/audacity-Audacity-3.1.3/src/tracks/playabletrack/wavetrack/ui/
H A DWaveformVZoomHandle.cpp204 const float oldRange = max - min; in DoZoom() local
205 const float l = std::max(ZOOMLIMIT, 0.5f * oldRange); in DoZoom()
211 min = c - ratio * (1.0f - p1) * oldRange, in DoZoom()
212 max = c + ratio * p1 * oldRange; in DoZoom()
232 const float oldRange = max - min; in DoZoom() local
235 std::max(minRange, c - 2 * (1.0f - p1) * oldRange)); in DoZoom()
237 std::min(maxRange, c + 2 * p1 * oldRange)); in DoZoom()
/dports/games/0ad/0ad-0.0.23b-alpha/source/simulation2/components/
H A DCCmpVision.cpp127 entity_pos_t oldRange = m_Range; in ReloadRange() local
129 CMessageVisionRangeChanged msg(GetEntityId(), oldRange, newRange); in ReloadRange()
/dports/games/libretro-mu/Mu-ff746b8/qtBuildSystem/Mu/
H A Dtouchscreen.cpp22 float TouchScreen::rangeSwap(float newRange, float oldRange, float value){ in rangeSwap() argument
23 return value / oldRange * newRange; in rangeSwap()
H A Dtouchscreen.h11 float rangeSwap(float newRange, float oldRange, float value);
/dports/devel/kdevelop/kdevelop-21.12.3/plugins/clang/codecompletion/
H A Dcontext.cpp833 … auto oldRange = KTextEditor::Range(cursor - KTextEditor::Cursor(0, oldAccess.length()), cursor); in replaceCurrentAccess() local
837 … while (textDocument->text(oldRange) == QLatin1String(" ") && oldRange.start().column() >= 0) { in replaceCurrentAccess()
838oldRange = KTextEditor::Range({oldRange.start().line(), oldRange.start().column() - 1}, in replaceCurrentAccess()
839 … {oldRange.end().line(), oldRange.end().column() - 1}); in replaceCurrentAccess()
842 if (oldRange.start().column() >= 0 && textDocument->text(oldRange) == oldAccess) { in replaceCurrentAccess()
843 textDocument->replaceText(oldRange, newAccess); in replaceCurrentAccess()
/dports/games/0ad/0ad-0.0.23b-alpha/source/simulation2/
H A DMessageTypes.h536 CMessageVisionRangeChanged(entity_id_t entity, entity_pos_t oldRange, entity_pos_t newRange) : in DEFAULT_MESSAGE_IMPL()
537 entity(entity), oldRange(oldRange), newRange(newRange) in DEFAULT_MESSAGE_IMPL()
542 entity_pos_t oldRange; variable
/dports/java/berkeley-db/je-6.2.31/src/com/sleepycat/je/rep/vlsn/
H A DVLSNTracker.java458 VLSNRange oldRange = range; in truncateFromHead() local
459 range = oldRange.shortenFromHead(deleteEnd); in truncateFromHead()
603 VLSNRange oldRange = range; in truncateFromTail() local
604 range = oldRange.shortenFromEnd(deleteStart); in truncateFromTail()
780 VLSNRange oldRange = range; in merge() local
781 range = oldRange.merge(recoveryTracker.range); in merge()
/dports/emulators/sameboy/SameBoy-0.14.7/HexFiend/
H A DHFLineCountingView.m384 HFRange oldRange = HFRangeMake(storedLineIndex, storedLineCount);
386 HFRange rangeToPreserve = HFIntersectionRange(oldRange, newRange);
389 leftRangeToReplace = oldRange;
397 HFASSERT(HFRangeIsSubrangeOfRange(rangeToPreserve, oldRange));
399 … leftRangeToReplace = HFRangeMake(oldRange.location, rangeToPreserve.location - oldRange.location);
401 rightRangeToReplace = HFRangeMake(maxPreserve, HFMaxRange(oldRange) - maxPreserve);
405 … if (debug) NSLog(@"Changing %@ -> %@", HFRangeToString(oldRange), HFRangeToString(newRange));
409 …HFASSERT(leftRangeToReplace.length == 0 || HFRangeIsSubrangeOfRange(leftRangeToReplace, oldRange));
410 …ASSERT(rightRangeToReplace.length == 0 || HFRangeIsSubrangeOfRange(rightRangeToReplace, oldRange));
/dports/math/vtk6/VTK-6.2.0/Common/DataModel/
H A DvtkPiecewiseFunction.cxx481 double oldRange[2]; in UpdateRange() local
482 oldRange[0] = this->Range[0]; in UpdateRange()
483 oldRange[1] = this->Range[1]; in UpdateRange()
497 if (oldRange[0] == this->Range[0] && oldRange[1] == this->Range[1]) in UpdateRange()
/dports/devel/kf5-ktexteditor/ktexteditor-5.89.0/src/buffer/
H A Dkatetextfolding.cpp634 bool TextFolding::updateFoldedRangesForRemovedRange(TextFolding::FoldingRange *oldRange) in updateFoldedRangesForRemovedRange() argument
637 if (oldRange->flags & Folded) { in updateFoldedRangesForRemovedRange()
642 TextFolding::FoldingRange *parent = oldRange->parent; in updateFoldedRangesForRemovedRange()
659 if (range == oldRange) { in updateFoldedRangesForRemovedRange()
660 appendFoldedRanges(newFoldedFoldingRanges, oldRange->nestedRanges); in updateFoldedRangesForRemovedRange()
/dports/math/vtk8/VTK-8.2.0/Common/DataModel/
H A DvtkPiecewiseFunction.cxx483 double oldRange[2]; in UpdateRange() local
484 oldRange[0] = this->Range[0]; in UpdateRange()
485 oldRange[1] = this->Range[1]; in UpdateRange()
499 if (oldRange[0] == this->Range[0] && oldRange[1] == this->Range[1]) in UpdateRange()
/dports/math/vtk9/VTK-9.1.0/Common/DataModel/
H A DvtkPiecewiseFunction.cxx460 double oldRange[2]; in UpdateRange() local
461 oldRange[0] = this->Range[0]; in UpdateRange()
462 oldRange[1] = this->Range[1]; in UpdateRange()
476 if (oldRange[0] == this->Range[0] && oldRange[1] == this->Range[1]) in UpdateRange()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/deferred/
H A DBackgroundContentProvider.java425 ConcurrentTableUpdator.Range oldRange = range; in checkVisibleRange() local
428 if (newRange.start != oldRange.start || newRange.length != oldRange.length) { in checkVisibleRange()
/dports/www/firefox-esr/firefox-91.8.0/gfx/skia/skia/src/gpu/vk/
H A DGrVkCommandBuffer.cpp144 const VkImageSubresourceRange oldRange = currentBarrier.subresourceRange; in pipelineBarrier() local
145 SkASSERT(newRange.aspectMask == oldRange.aspectMask); in pipelineBarrier()
146 SkASSERT(newRange.baseArrayLayer == oldRange.baseArrayLayer); in pipelineBarrier()
147 SkASSERT(newRange.layerCount == oldRange.layerCount); in pipelineBarrier()
150 uint32_t oldStart = oldRange.baseMipLevel; in pipelineBarrier()
151 uint32_t oldEnd = oldRange.baseMipLevel + oldRange.levelCount - 1; in pipelineBarrier()
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/skia/skia/src/gpu/vk/
H A DGrVkCommandBuffer.cpp144 const VkImageSubresourceRange oldRange = currentBarrier.subresourceRange; in pipelineBarrier() local
145 SkASSERT(newRange.aspectMask == oldRange.aspectMask); in pipelineBarrier()
146 SkASSERT(newRange.baseArrayLayer == oldRange.baseArrayLayer); in pipelineBarrier()
147 SkASSERT(newRange.layerCount == oldRange.layerCount); in pipelineBarrier()
150 uint32_t oldStart = oldRange.baseMipLevel; in pipelineBarrier()
151 uint32_t oldEnd = oldRange.baseMipLevel + oldRange.levelCount - 1; in pipelineBarrier()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/src/gpu/vk/
H A DGrVkCommandBuffer.cpp120 const VkImageSubresourceRange oldRange = currentBarrier.subresourceRange; in pipelineBarrier() local
121 SkASSERT(newRange.aspectMask == oldRange.aspectMask); in pipelineBarrier()
122 SkASSERT(newRange.baseArrayLayer == oldRange.baseArrayLayer); in pipelineBarrier()
123 SkASSERT(newRange.layerCount == oldRange.layerCount); in pipelineBarrier()
126 uint32_t oldStart = oldRange.baseMipLevel; in pipelineBarrier()
127 uint32_t oldEnd = oldRange.baseMipLevel + oldRange.levelCount - 1; in pipelineBarrier()
/dports/www/firefox/firefox-99.0/gfx/skia/skia/src/gpu/vk/
H A DGrVkCommandBuffer.cpp144 const VkImageSubresourceRange oldRange = currentBarrier.subresourceRange; in pipelineBarrier() local
145 SkASSERT(newRange.aspectMask == oldRange.aspectMask); in pipelineBarrier()
146 SkASSERT(newRange.baseArrayLayer == oldRange.baseArrayLayer); in pipelineBarrier()
147 SkASSERT(newRange.layerCount == oldRange.layerCount); in pipelineBarrier()
150 uint32_t oldStart = oldRange.baseMipLevel; in pipelineBarrier()
151 uint32_t oldEnd = oldRange.baseMipLevel + oldRange.levelCount - 1; in pipelineBarrier()
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/skia/skia/src/gpu/vk/
H A DGrVkCommandBuffer.cpp144 const VkImageSubresourceRange oldRange = currentBarrier.subresourceRange; in pipelineBarrier() local
145 SkASSERT(newRange.aspectMask == oldRange.aspectMask); in pipelineBarrier()
146 SkASSERT(newRange.baseArrayLayer == oldRange.baseArrayLayer); in pipelineBarrier()
147 SkASSERT(newRange.layerCount == oldRange.layerCount); in pipelineBarrier()
150 uint32_t oldStart = oldRange.baseMipLevel; in pipelineBarrier()
151 uint32_t oldEnd = oldRange.baseMipLevel + oldRange.levelCount - 1; in pipelineBarrier()
/dports/science/paje/Paje_1.97/General/
H A DSourceTextController.h49 willChangeSelectionFromCharacterRange:(NSRange)oldRange
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/src/gpu/vk/
H A DGrVkCommandBuffer.cpp134 const VkImageSubresourceRange oldRange = currentBarrier.subresourceRange; in pipelineBarrier() local
135 SkASSERT(newRange.aspectMask == oldRange.aspectMask); in pipelineBarrier()
136 SkASSERT(newRange.baseArrayLayer == oldRange.baseArrayLayer); in pipelineBarrier()
137 SkASSERT(newRange.layerCount == oldRange.layerCount); in pipelineBarrier()
140 uint32_t oldStart = oldRange.baseMipLevel; in pipelineBarrier()
141 uint32_t oldEnd = oldRange.baseMipLevel + oldRange.levelCount - 1; in pipelineBarrier()
/dports/x11-toolkits/ctk/CTK-2018-10-29/Libs/Visualization/VTK/Core/
H A DvtkDiscretizableColorTransferChart.cpp501 double* oldRange = this->ColorTransferFunction->GetRange(); in RemapColorTransferFunction() local
502 if (oldRange[0] == newRange[0] in RemapColorTransferFunction()
503 && oldRange[1] == newRange[1]) in RemapColorTransferFunction()
/dports/graphics/vigra/vigra-8acd73a/vigranumpy/src/core/
H A Dcolors.cxx241 python::object oldRange, in pythonLinearRangeMapping() argument
250 bool computeRange = !parseRange(oldRange, &oldMin, &oldMax, in pythonLinearRangeMapping()
281 python::object oldRange, in pythonLinearRangeMapping2D() argument
285 return pythonLinearRangeMapping(image, oldRange, newRange, res); in pythonLinearRangeMapping2D()
/dports/editors/kate/kate-21.12.3/addons/project/git/
H A Dgitdiff.cpp262 const auto oldRange = parseRange(m.captured(1)); in parseHunks() local
289 …DiffHunk{oldRange.first, oldRange.second, newRange.first, newRange.second, firstLineIdx, curSrcFil… in parseHunks()

123456