Audacity 3.2.0
Functions
details Namespace Reference

Functions

const char * begin (const char *str) noexcept
 
const char * end (const char *str) noexcept
 
const wchar_t * begin (const wchar_t *str) noexcept
 
const wchar_t * end (const wchar_t *str) noexcept
 

Function Documentation

◆ begin() [1/2]

const char * details::begin ( const char *  str)
inlinenoexcept

Definition at line 101 of file StringUtils.h.

102{
103 return str;
104}
#define str(a)

References str.

Referenced by VampEffect::AddFeatures(), WaveformDisplay::AppendColumns(), Composite::Builder< Base, Derived, BaseArgs >::Builder(), MacroCommandsCatalog::ByCommandId(), MacroCommandsCatalog::ByFriendlyName(), MacroCommandsCatalog::ByTranslation(), TrackList::cbegin(), SelectionState::ChangeSelectionOnShiftClick(), TestWaveClipMaker::ClipFilledWith(), Envelope::CollapseRegion(), anonymous_namespace{CompositeTest.cpp}::compareSequences(), OverlayPanel::Compress(), Envelope::CopyRange(), TrackList::DetachFirst(), anonymous_namespace{LabelMenus.cpp}::DoAddLabel(), ShuttleGuiBase::DoInsertListColumns(), TimeShiftHandle::DoSlideVertical(), anonymous_namespace{SpectrumView.cpp}::DrawClipSpectrum(), anonymous_namespace{WaveformView.cpp}::DrawWaveformBackground(), Envelope::EqualRange(), EstimateRemovedBlocks(), CommandManager::ExcludedList(), anonymous_namespace{ProjectSerializer.cpp}::FastStringConvert(), TrackList::FindById(), CellularPanel::FindCell(), WaveTrack::FindClip(), anonymous_namespace{ProjectFileManager.cpp}::FindHelpUrl(), SubViewAdjuster::FindIndex(), anonymous_namespace{Scrubbing.cpp}::FindMenuItem(), BasicMenu::anonymous_namespace{BasicMenu.cpp}::FindPathName(), ToolBarConfiguration::FindPeers(), SubViewAdjuster::FindPermutation(), RealtimeEffectList::FindState(), Ruler::FindZero(), for(), ToolManager::ForEach(), anonymous_namespace{WaveChannelViewConstants.cpp}::Registry::Get(), TrackList::getBegin(), WaveTrack::GetChannelType(), WaveTrack::GetClipIndex(), anonymous_namespace{PitchAndSpeedDialog.cpp}::GetHitClip(), WaveTrack::GetIdealBlockSize(), WaveTrack::GetLeftmostClip(), audacity::cloud::audiocom::sync::GetOpenedProject(), WaveTrack::GetRightmostClip(), WaveChannelView::GetSubViews(), CellularPanel::HandleMotion(), ImportRaw(), EffectAmplify::Init(), VampEffect::Init(), wxArrayStringEx::insert(), anonymous_namespace{Registry.cpp}::CollectedItems::InsertNewItemUsingHint(), SyncLock::IsSyncLockSelected(), ThemeBase::LoadOneThemeComponents(), anonymous_namespace{ParsedNumericConverterFormatter.cpp}::MakeGroup(), anonymous_namespace{WaveChannelView.cpp}::NextClipLooped(), SqliteSampleBlockFactory::OnBeginPurge(), anonymous_namespace{TransportMenus.cpp}::OnPunchAndRoll(), SpectralDataManager::Worker::OvertonesProcessor(), Envelope::PasteEnvelope(), TimeTrack::PasteInto(), DynamicRangeProcessorEditor::PopulateOrExchange(), anonymous_namespace{FormantShifterLogger.cpp}::PrintPythonVector(), NyquistEffect::ProcessOne(), audacity::network_manager::IResponse::readAll(), anonymous_namespace{ProjectSerializer.cpp}::ReadBigEndian(), audacity::network_manager::CurlResponse::readData(), AllProjects::Remove(), UndoManager::RemoveStates(), BasicMenu::anonymous_namespace{BasicMenu.cpp}::ReplayPopup(), Importer::SelectDefaultOpenType(), anonymous_namespace{WaveChannelView.cpp}::SelectedClip(), SelectionState::SelectRangeOfTracks(), TrackFocus::SetFocus(), LabelTrack::SortLabels(), TrackList::SwapNodes(), TEST_CASE(), Journal::WindowPaths::anonymous_namespace{JournalWindowPaths.cpp}::UniqueWindowAmongPeers(), ExportAudioDialog::UpdateLabelExportSettings(), Journal::anonymous_namespace{Journal.cpp}::VersionCheck(), CellularPanel::Visit(), MenuRegistry::Visitor< MenuTraits >::Visitor(), UndoManager::VisitStates(), MIR::WavMirAudioReader::WavMirAudioReader(), and anonymous_namespace{ProjectSerializer.cpp}::WriteBigEndian().

◆ begin() [2/2]

const wchar_t * details::begin ( const wchar_t *  str)
inlinenoexcept

Definition at line 114 of file StringUtils.h.

115{
116 return str;
117}

References str.

Referenced by IsPrefixed().

Here is the caller graph for this function:

◆ end() [1/2]

const char * details::end ( const char *  str)
inlinenoexcept

Definition at line 106 of file StringUtils.h.

107{
108 if (str == nullptr)
109 return nullptr;
110
111 return str + StringLength(str);
112}
std::size_t StringLength(const char str)
Definition: StringUtils.h:19

References str, and StringLength().

Referenced by CommandDirectory::AddCommand(), PluginManager::Iterator::Advance(), AudioGraph::Buffers::Advance(), EffectNormalize::AnalyseTrackData(), EffectTruncSilence::Analyze(), WaveformDisplay::AppendColumns(), SelectTimeCommand::Apply(), EffectAutoDuck::ApplyDuckFade(), RingBuffer::AvailForGet(), Composite::Builder< Base, Derived, BaseArgs >::Builder(), MacroCommandsCatalog::ByCommandId(), MacroCommandsCatalog::ByFriendlyName(), MacroCommandsCatalog::ByTranslation(), AttachedVirtualFunction< Tag, Return, This, Arguments >::Call(), TrackList::cend(), LV2FeaturesListBase::CheckFeatures(), WaveClip::CheckInvariants(), LV2InstanceFeaturesList::CheckOptions(), RingBuffer::Clear(), AudioGraph::Buffers::ClearBuffer(), PendingTracks::ClearPendingTracks(), SubViewAdjustHandle::Click(), TestWaveClipMaker::ClipFilledWith(), Envelope::CollapseRegion(), anonymous_namespace{CompositeTest.cpp}::compareSequences(), OverlayPanel::Compress(), Envelope::CopyRange(), AudioGraph::Buffers::Discard(), RingBuffer::Discard(), WaveTrack::Disjoin(), anonymous_namespace{SelectMenus.cpp}::DoBoundaryMove(), anonymous_namespace{TrackMenus.cpp}::DoMixAndRender(), TimeShiftHandle::DoSlideVertical(), PendingTracks::DoSubstituteOriginalChannel(), PendingTracks::DoSubstitutePendingChangedChannel(), SampleHandle::Drag(), anonymous_namespace{TrackPanel.cpp}::VRulersAndChannels::Draw(), anonymous_namespace{SpectrumView.cpp}::DrawClipSpectrum(), anonymous_namespace{WaveformView.cpp}::DrawWaveformBackground(), Envelope::EqualRange(), EstimateRemovedBlocks(), CommandManager::ExcludedList(), WaveClip::ExpandCutLine(), WaveTrackUtilities::ExpandCutLine(), anonymous_namespace{ProjectSerializer.cpp}::FastStringConvert(), RingBuffer::Filled(), anonymous_namespace{Registry.cpp}::CollectedItems::Find(), ToolBarConfiguration::Find(), UndoTracks::Find(), ChoiceSetting::Find(), TrackList::FindById(), Journal::WindowPaths::FindByPath(), CellularPanel::FindCell(), anonymous_namespace{ProjectFileManager.cpp}::FindHelpUrl(), SubViewAdjuster::FindIndex(), anonymous_namespace{Scrubbing.cpp}::FindMenuItem(), BasicMenu::anonymous_namespace{BasicMenu.cpp}::FindPathName(), ToolBarConfiguration::FindPeers(), SubViewAdjuster::FindPermutation(), RealtimeEffectList::FindState(), anonymous_namespace{WaveformView.cpp}::FindWavePortions(), Ruler::FindZero(), for(), ToolManager::ForEach(), RingBuffer::Free(), anonymous_namespace{WaveChannelViewConstants.cpp}::Registry::Get(), MeterUpdateQueue::Get(), RingBuffer::Get(), SqliteSampleBlockFactory::GetActiveBlockIDs(), FrequencyPlotDialog::GetAudio(), Effect::GetBounds(), WaveTrack::GetClipIndex(), TrackList::getEnd(), anonymous_namespace{PitchAndSpeedDialog.cpp}::GetHitClip(), anonymous_namespace{ImportMP3_MPG123.cpp}::GetId3v2Genre(), Languages::GetLanguages(), MIR::StftFrameProvider::GetNextFrame(), GetNextWindowPlacement(), audacity::cloud::audiocom::sync::GetOpenedProject(), TranscriptionToolBar::GetSamples(), WaveChannelView::GetSubViews(), FFmpegAPIResolver::GetSuportedAVFormatVersions(), ToolManager::GetToolBar(), RingBuffer::GetUnflushed(), Viewport::GetZoomOfToFit(), CellularPanel::HandleMotion(), PendingTracks::HasPendingTracks(), Identifier::Identifier(), EffectAmplify::Init(), anonymous_namespace{Registry.cpp}::CollectedItems::InsertNewItemUsingHint(), WaveTrack::InsertSilence(), EffectTruncSilence::Intersect(), TrackList::isNull(), WaveTrack::Join(), ThemeBase::LoadOneThemeComponents(), CommandDirectory::LookUp(), anonymous_namespace{ParsedNumericConverterFormatter.cpp}::MakeGroup(), VSTWrapper::MakeMessageFS(), ProjectSelectionManager::ModifySelection(), SelectionBar::ModifySelection(), anonymous_namespace{WaveChannelView.cpp}::NextClipLooped(), NoteTrackTCPLines::NoteTrackTCPLines(), VoiceKey::OffBackward(), Ruler::OfflimitsPixels(), VoiceKey::OnBackward(), SqliteSampleBlockFactory::OnBeginPurge(), NavigationActions::Handler::OnNextWindow(), NavigationActions::Handler::OnPrevWindow(), anonymous_namespace{TransportMenus.cpp}::OnPunchAndRoll(), ProjectAudioManager::OnRecord(), FFTDeleter::operator()(), anonymous_namespace{MIDIPlay.h}::Iterator::OutputEvent(), SpectralDataManager::Worker::OvertonesProcessor(), audacity::ParseISO8601Date(), AudioUnitWrapper::ParameterInfo::ParseKey(), audacity::ParseRFC822Date(), Envelope::PasteEnvelope(), TrackList::Permute(), DynamicRangeProcessorEditor::PopulateOrExchange(), PrefsDialog::PrefsDialog(), anonymous_namespace{FormantShifterLogger.cpp}::PrintPythonVector(), RealtimeEffectManager::Process(), EffectAutoDuck::Process(), EffectChangeSpeed::Process(), EffectClickRemoval::Process(), EffectEqualization::Process(), EffectFindClipping::Process(), NyquistEffect::Process(), EffectRepeat::Process(), EffectReverse::Process(), EffectSBSMS::Process(), EffectStereoToMono::Process(), EffectNoiseReduction::Worker::Process(), Mixer::Process(), EffectPaulstretch::ProcessOne(), EffectChangeSpeed::ProcessOne(), EffectStereoToMono::ProcessOne(), EffectTwoPassSimpleMono::ProcessOne(), EffectNormalize::ProcessOne(), EffectLoudness::ProcessOne(), EffectTwoPassSimpleMono::ProcessPass(), RingBuffer::Put(), MeterUpdateQueue::Put(), audacity::network_manager::IResponse::readAll(), audacity::network_manager::CurlResponse::readData(), ThemeBase::ReadImageCache(), MultiFormatReader::ReadSamples(), PrefsDialog::RecordExpansionState(), Registry::detail::RegisterItem(), AllProjects::Remove(), WaveTrack::RemoveInterval(), RealtimeEffectList::RemoveState(), UndoManager::RemoveStates(), BasicMenu::anonymous_namespace{BasicMenu.cpp}::ReplayPopup(), anonymous_namespace{FormantShifter.cpp}::ResampleFreqDomain(), WaveTrackUtilities::Reverse(), WaveTrack::RightmostOrNewClip(), anonymous_namespace{SampleHandle.cpp}::SampleResolutionTest(), anonymous_namespace{SelectMenus.cpp}::SeekWhenAudioInactive(), anonymous_namespace{WaveChannelView.cpp}::SelectedClip(), PlayRegion::SetAllTimes(), TimeStretching::SetClipStretchRatio(), PlayRegion::SetEnd(), LabelTrackView::SetTextSelection(), PlayRegion::SetTimes(), SelectionBar::SetTimes(), WaveTrack::Silence(), AdornedRulerPanel::StartQPPlay(), SelectHandle::StartSnappingFreqSelection(), TranslatableString::Strip(), WaveClip::StrongInvariant(), anonymous_namespace{CellularPanel.cpp}::Subdivide(), SubRipTimestampToDouble(), TEST_CASE(), XMLAttributeValueView::TryGet(), XMLAttributeValueView::TryGetInteger(), CommandManager::TryToMakeActionAllowed(), Journal::WindowPaths::anonymous_namespace{JournalWindowPaths.cpp}::UniqueWindowAmongPeers(), RingBuffer::Unput(), internal::x11::RunLoop::unregisterEventHandler(), UnregisterProviderFactory(), internal::x11::RunLoop::unregisterTimer(), anonymous_namespace{ScrubState.cpp}::ScrubQueue::Update(), LogarithmicUpdater::Update(), TrackPanel::UpdateTrackVRuler(), audacity::UrlDecode(), Journal::anonymous_namespace{Journal.cpp}::VersionCheck(), CellularPanel::Visit(), UndoManager::VisitStates(), WaveTrackTCPLines::WaveTrackTCPLines(), audacity::cloud::audiocom::sync::anonymous_namespace{WavPackCompressor.cpp}::Exporter::WriteBlock(), NoteTrackDisplayData::ZoomTo(), and SelectionStateChanger::~SelectionStateChanger().

Here is the call graph for this function:

◆ end() [2/2]

const wchar_t * details::end ( const wchar_t *  str)
inlinenoexcept

Definition at line 119 of file StringUtils.h.

120{
121 if (str == nullptr)
122 return nullptr;
123
124 return str + StringLength(str);
125}

References str, and StringLength().

Referenced by IsPrefixed().

Here is the call graph for this function:
Here is the caller graph for this function: