/dports/devel/lazygit/lazygit-0.31.4/pkg/commands/patch/ |
H A D | hunk.go | 13 newStart int member 26 oldStart, newStart, heading := headerInfo(header) 30 newStart: newStart, 41 newStart := utils.MustConvertToInt(match[2]) 44 return oldStart, newStart, heading 96 func (hunk *PatchHunk) formatHeader(oldStart int, oldLength int, newStart int, newLength int, headi… 97 return fmt.Sprintf("@@ -%d,%d +%d,%d @@%s\n", oldStart, oldLength, newStart, newLength, heading) 121 oldStart = hunk.newStart 137 newStart := oldStart + startOffset + newStartOffset 140 formattedHeader := hunk.formatHeader(oldStart, oldLength, newStart, newLength, hunk.heading)
|
/dports/devel/icu/icu/source/i18n/ |
H A D | strrepl.cpp | 109 int32_t newStart = 0; in replace() local 121 newStart = cursorPos; in replace() 210 newStart = start; in replace() 213 while (n < 0 && newStart > 0) { in replace() 214 newStart -= U16_LENGTH(text.char32At(newStart-1)); in replace() 217 newStart += n; in replace() 219 newStart = start + outLen; in replace() 223 newStart += U16_LENGTH(text.char32At(newStart)); in replace() 226 newStart += n; in replace() 230 newStart += start; in replace() [all …]
|
/dports/devel/icu-lx/icu/source/i18n/ |
H A D | strrepl.cpp | 109 int32_t newStart = 0; in replace() local 121 newStart = cursorPos; in replace() 210 newStart = start; in replace() 213 while (n < 0 && newStart > 0) { in replace() 214 newStart -= U16_LENGTH(text.char32At(newStart-1)); in replace() 217 newStart += n; in replace() 219 newStart = start + outLen; in replace() 223 newStart += U16_LENGTH(text.char32At(newStart)); in replace() 226 newStart += n; in replace() 230 newStart += start; in replace() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/intl/icu/source/i18n/ |
H A D | strrepl.cpp | 109 int32_t newStart = 0; in replace() local 121 newStart = cursorPos; in replace() 210 newStart = start; in replace() 213 while (n < 0 && newStart > 0) { in replace() 214 newStart -= U16_LENGTH(text.char32At(newStart-1)); in replace() 217 newStart += n; in replace() 219 newStart = start + outLen; in replace() 223 newStart += U16_LENGTH(text.char32At(newStart)); in replace() 226 newStart += n; in replace() 230 newStart += start; in replace() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/intl/icu/source/i18n/ |
H A D | strrepl.cpp | 109 int32_t newStart = 0; in replace() local 121 newStart = cursorPos; in replace() 210 newStart = start; in replace() 213 while (n < 0 && newStart > 0) { in replace() 214 newStart -= U16_LENGTH(text.char32At(newStart-1)); in replace() 217 newStart += n; in replace() 219 newStart = start + outLen; in replace() 223 newStart += U16_LENGTH(text.char32At(newStart)); in replace() 226 newStart += n; in replace() 230 newStart += start; in replace() [all …]
|
/dports/textproc/R-cran-stringi/stringi/src/icu69/i18n/ |
H A D | strrepl.cpp | 109 int32_t newStart = 0; in replace() local 121 newStart = cursorPos; in replace() 210 newStart = start; in replace() 213 while (n < 0 && newStart > 0) { in replace() 214 newStart -= U16_LENGTH(text.char32At(newStart-1)); in replace() 217 newStart += n; in replace() 219 newStart = start + outLen; in replace() 223 newStart += U16_LENGTH(text.char32At(newStart)); in replace() 226 newStart += n; in replace() 230 newStart += start; in replace() [all …]
|
/dports/textproc/R-cran-stringi/stringi/src/icu55/i18n/ |
H A D | strrepl.cpp | 107 int32_t newStart = 0; in replace() local 119 newStart = cursorPos; in replace() 208 newStart = start; in replace() 211 while (n < 0 && newStart > 0) { in replace() 212 newStart -= U16_LENGTH(text.char32At(newStart-1)); in replace() 215 newStart += n; in replace() 217 newStart = start + outLen; in replace() 221 newStart += U16_LENGTH(text.char32At(newStart)); in replace() 224 newStart += n; in replace() 228 newStart += start; in replace() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/icu/source/i18n/ |
H A D | strrepl.cpp | 109 int32_t newStart = 0; in replace() local 121 newStart = cursorPos; in replace() 210 newStart = start; in replace() 213 while (n < 0 && newStart > 0) { in replace() 214 newStart -= U16_LENGTH(text.char32At(newStart-1)); in replace() 217 newStart += n; in replace() 219 newStart = start + outLen; in replace() 223 newStart += U16_LENGTH(text.char32At(newStart)); in replace() 226 newStart += n; in replace() 230 newStart += start; in replace() [all …]
|
/dports/www/firefox/firefox-99.0/intl/icu/source/i18n/ |
H A D | strrepl.cpp | 109 int32_t newStart = 0; in replace() local 121 newStart = cursorPos; in replace() 210 newStart = start; in replace() 213 while (n < 0 && newStart > 0) { in replace() 214 newStart -= U16_LENGTH(text.char32At(newStart-1)); in replace() 217 newStart += n; in replace() 219 newStart = start + outLen; in replace() 223 newStart += U16_LENGTH(text.char32At(newStart)); in replace() 226 newStart += n; in replace() 230 newStart += start; in replace() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/intl/icu/source/i18n/ |
H A D | strrepl.cpp | 109 int32_t newStart = 0; in replace() local 121 newStart = cursorPos; in replace() 210 newStart = start; in replace() 213 while (n < 0 && newStart > 0) { in replace() 214 newStart -= U16_LENGTH(text.char32At(newStart-1)); in replace() 217 newStart += n; in replace() 219 newStart = start + outLen; in replace() 223 newStart += U16_LENGTH(text.char32At(newStart)); in replace() 226 newStart += n; in replace() 230 newStart += start; in replace() [all …]
|
/dports/lang/v8/v8-9.6.180.12/third_party/icu/source/i18n/ |
H A D | strrepl.cpp | 109 int32_t newStart = 0; in replace() local 121 newStart = cursorPos; in replace() 210 newStart = start; in replace() 213 while (n < 0 && newStart > 0) { in replace() 214 newStart -= U16_LENGTH(text.char32At(newStart-1)); in replace() 217 newStart += n; in replace() 219 newStart = start + outLen; in replace() 223 newStart += U16_LENGTH(text.char32At(newStart)); in replace() 226 newStart += n; in replace() 230 newStart += start; in replace() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/icu/source/i18n/ |
H A D | strrepl.cpp | 109 int32_t newStart = 0; in replace() local 121 newStart = cursorPos; in replace() 210 newStart = start; in replace() 213 while (n < 0 && newStart > 0) { in replace() 214 newStart -= U16_LENGTH(text.char32At(newStart-1)); in replace() 217 newStart += n; in replace() 219 newStart = start + outLen; in replace() 223 newStart += U16_LENGTH(text.char32At(newStart)); in replace() 226 newStart += n; in replace() 230 newStart += start; in replace() [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/intl/icu/source/i18n/ |
H A D | strrepl.cpp | 109 int32_t newStart = 0; in replace() local 121 newStart = cursorPos; in replace() 210 newStart = start; in replace() 213 while (n < 0 && newStart > 0) { in replace() 214 newStart -= U16_LENGTH(text.char32At(newStart-1)); in replace() 217 newStart += n; in replace() 219 newStart = start + outLen; in replace() 223 newStart += U16_LENGTH(text.char32At(newStart)); in replace() 226 newStart += n; in replace() 230 newStart += start; in replace() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/intl/icu/source/i18n/ |
H A D | strrepl.cpp | 109 int32_t newStart = 0; in replace() local 121 newStart = cursorPos; in replace() 210 newStart = start; in replace() 213 while (n < 0 && newStart > 0) { in replace() 214 newStart -= U16_LENGTH(text.char32At(newStart-1)); in replace() 217 newStart += n; in replace() 219 newStart = start + outLen; in replace() 223 newStart += U16_LENGTH(text.char32At(newStart)); in replace() 226 newStart += n; in replace() 230 newStart += start; in replace() [all …]
|
/dports/www/node10/node-v10.24.1/deps/icu-small/source/i18n/ |
H A D | strrepl.cpp | 109 int32_t newStart = 0; in replace() local 121 newStart = cursorPos; in replace() 210 newStart = start; in replace() 213 while (n < 0 && newStart > 0) { in replace() 214 newStart -= U16_LENGTH(text.char32At(newStart-1)); in replace() 217 newStart += n; in replace() 219 newStart = start + outLen; in replace() 223 newStart += U16_LENGTH(text.char32At(newStart)); in replace() 226 newStart += n; in replace() 230 newStart += start; in replace() [all …]
|
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/third_party/icu4c-57.1/source/i18n/ |
H A D | strrepl.cpp | 107 int32_t newStart = 0; in replace() local 119 newStart = cursorPos; in replace() 208 newStart = start; in replace() 211 while (n < 0 && newStart > 0) { in replace() 212 newStart -= U16_LENGTH(text.char32At(newStart-1)); in replace() 215 newStart += n; in replace() 217 newStart = start + outLen; in replace() 221 newStart += U16_LENGTH(text.char32At(newStart)); in replace() 224 newStart += n; in replace() 228 newStart += start; in replace() [all …]
|
/dports/sysutils/kpmcore/kpmcore-21.12.3/src/jobs/ |
H A D | setpartgeometryjob.cpp | 56 …val = backendPartitionTable->updateGeometry(*report, partition(), newStart(), newStart() + newLeng… in run() 59 partition().setFirstSector(newStart()); in run() 60 partition().setLastSector(newStart() + newLength() - 1); in run() 68 partition().setFirstSector(newStart()); in run() 69 partition().setLastSector(newStart() + newLength() - 1); in run() 81 …e>%1</filename>: Start sector: %2, length: %3", partition().deviceNode(), newStart(), newLength()); in description()
|
/dports/devel/juce/JUCE-f37e9a1/modules/juce_audio_formats/format/ |
H A D | juce_AudioFormatReaderSource.cpp | 61 const int64 newStart = start % reader->lengthInSamples; in getNextAudioBlock() local 64 if (newEnd > newStart) in getNextAudioBlock() 67 (int) (newEnd - newStart), newStart, true, true); in getNextAudioBlock() 71 const int endSamps = (int) (reader->lengthInSamples - newStart); in getNextAudioBlock() 74 endSamps, newStart, true, true); in getNextAudioBlock()
|
/dports/audio/libopenshot-audio/libopenshot-audio-0.2.2/JuceLibraryCode/modules/juce_audio_formats/format/ |
H A D | juce_AudioFormatReaderSource.cpp | 62 const int64 newStart = start % reader->lengthInSamples; in getNextAudioBlock() local 65 if (newEnd > newStart) in getNextAudioBlock() 68 (int) (newEnd - newStart), newStart, true, true); in getNextAudioBlock() 72 const int endSamps = (int) (reader->lengthInSamples - newStart); in getNextAudioBlock() 75 endSamps, newStart, true, true); in getNextAudioBlock()
|
/dports/audio/tiatracker/tiatracker-1.3/ |
H A D | instrumentstab.cpp | 317 int newStart = sb->value() - 1; in on_spinBoxSustainStart_editingFinished() local 319 if (newStart < curInstrument->getReleaseStart()) { in on_spinBoxSustainStart_editingFinished() 324 int newRelease = newStart + 1; in on_spinBoxSustainStart_editingFinished() 326 curInstrument->setSustainAndRelease(newStart, newRelease); in on_spinBoxSustainStart_editingFinished() 337 newStart--; in on_spinBoxSustainStart_valueChanged() 339 if (std::abs(newStart - curInstrument->getSustainStart()) == 1) { in on_spinBoxSustainStart_valueChanged() 348 int newStart = sb->value() - 1; in on_spinBoxReleaseStart_editingFinished() local 350 if (newStart < curInstrument->getEnvelopeLength() in on_spinBoxReleaseStart_editingFinished() 351 && newStart > curInstrument->getSustainStart()) { in on_spinBoxReleaseStart_editingFinished() 363 newStart--; in on_spinBoxReleaseStart_valueChanged() [all …]
|
/dports/audio/carla/Carla-2.4.1/source/modules/juce_core/maths/ |
H A D | juce_Range.h | 96 void setStart (const ValueType newStart) noexcept in setStart() argument 98 start = newStart; in setStart() 99 if (end < newStart) in setStart() 100 end = newStart; in setStart() 107 constexpr Range withStart (const ValueType newStart) const noexcept in withStart() argument 109 return Range (newStart, jmax (newStart, end)); in withStart() 113 constexpr Range movedToStartAt (const ValueType newStart) const noexcept in movedToStartAt() argument 115 return Range (newStart, end + (newStart - start)); in movedToStartAt()
|
/dports/devel/juce/JUCE-f37e9a1/modules/juce_core/maths/ |
H A D | juce_Range.h | 96 void setStart (const ValueType newStart) noexcept in setStart() argument 98 start = newStart; in setStart() 99 if (end < newStart) in setStart() 100 end = newStart; in setStart() 107 constexpr Range withStart (const ValueType newStart) const noexcept in withStart() argument 109 return Range (newStart, jmax (newStart, end)); in withStart() 113 constexpr Range movedToStartAt (const ValueType newStart) const noexcept in movedToStartAt() argument 115 return Range (newStart, end + (newStart - start)); in movedToStartAt()
|
/dports/audio/libopenshot-audio/libopenshot-audio-0.2.2/JuceLibraryCode/modules/juce_core/maths/ |
H A D | juce_Range.h | 96 void setStart (const ValueType newStart) noexcept in setStart() argument 98 start = newStart; in setStart() 99 if (end < newStart) in setStart() 100 end = newStart; in setStart() 107 JUCE_CONSTEXPR Range withStart (const ValueType newStart) const noexcept in withStart() argument 109 return Range (newStart, jmax (newStart, end)); in withStart() 113 JUCE_CONSTEXPR Range movedToStartAt (const ValueType newStart) const noexcept in movedToStartAt() argument 115 return Range (newStart, end + (newStart - start)); in movedToStartAt()
|
/dports/devel/icu-lx/icu/source/tools/makeconv/ |
H A D | genmbcs.cpp | 1192 prevEnd=(uint16_t)(newStart-1); in singleCompactStage2() 1205 } else if(newStart<start) { in singleCompactStage2() 1223 mbcsData->stage2Top=newStart; in singleCompactStage2() 1244 start=newStart=16; in singleCompactStage3() 1246 prevEnd=(uint16_t)(newStart-1); in singleCompactStage3() 1259 } else if(newStart<start) { in singleCompactStage3() 1261 map[start>>4]=newStart; in singleCompactStage3() 1267 start=newStart+=16; in singleCompactStage3() 1277 mbcsData->stage3Top=newStart; in singleCompactStage3() 1317 } else if(newStart<start) { in compactStage2() [all …]
|
/dports/devel/icu/icu/source/tools/makeconv/ |
H A D | genmbcs.cpp | 1192 prevEnd=(uint16_t)(newStart-1); in singleCompactStage2() 1205 } else if(newStart<start) { in singleCompactStage2() 1223 mbcsData->stage2Top=newStart; in singleCompactStage2() 1244 start=newStart=16; in singleCompactStage3() 1246 prevEnd=(uint16_t)(newStart-1); in singleCompactStage3() 1259 } else if(newStart<start) { in singleCompactStage3() 1261 map[start>>4]=newStart; in singleCompactStage3() 1267 start=newStart+=16; in singleCompactStage3() 1277 mbcsData->stage3Top=newStart; in singleCompactStage3() 1317 } else if(newStart<start) { in compactStage2() [all …]
|