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(), DynamicRangeProcessorEditor::AddSliderPanel(), 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(), DynamicRangeProcessorUtils::anonymous_namespace{DynamicRangeProcessorUtils.cpp}::Deserialize(), 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(), WavPackImportFileHandle::Import(), ImportRaw(), AmplifyBase::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(), anonymous_namespace{FormantShifterLogger.cpp}::PrintPythonVector(), NyquistBase::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(), DynamicRangeProcessorEditor::AddSliderPanel(), PluginManager::Iterator::Advance(), AudioGraph::Buffers::Advance(), NormalizeBase::AnalyseTrackData(), TruncSilenceBase::Analyze(), WaveformDisplay::AppendColumns(), SelectTimeCommand::Apply(), AutoDuckBase::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(), DynamicRangeProcessorUtils::anonymous_namespace{DynamicRangeProcessorUtils.cpp}::Deserialize(), 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(), SequenceDownmixSource::FindChannelFlags(), 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(), RingBuffer::Get(), LockFreeQueue< T >::Get(), SqliteSampleBlockFactory::GetActiveBlockIDs(), PlotSpectrumBase::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(), AmplifyBase::Init(), anonymous_namespace{Registry.cpp}::CollectedItems::InsertNewItemUsingHint(), WaveTrack::InsertSilence(), TruncSilenceBase::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(), PrefsDialog::PrefsDialog(), anonymous_namespace{FormantShifterLogger.cpp}::PrintPythonVector(), AutoDuckBase::Process(), ChangeSpeedBase::Process(), ClickRemovalBase::Process(), EqualizationBase::Process(), FindClippingBase::Process(), RepeatBase::Process(), Reverse::Process(), SBSMSBase::Process(), StereoToMono::Process(), NyquistBase::Process(), NoiseReductionBase::Worker::Process(), PaulstretchBase::ProcessOne(), ChangeSpeedBase::ProcessOne(), StereoToMono::ProcessOne(), EffectTwoPassSimpleMono::ProcessOne(), NormalizeBase::ProcessOne(), LoudnessBase::ProcessOne(), EffectTwoPassSimpleMono::ProcessPass(), LockFreeQueue< T >::Put(), RingBuffer::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: