util/NumberParser: rename to CNumberParser

A new NumberParser library based on std::from_chars() will be added.
This commit is contained in:
Max Kellermann 2024-01-04 20:59:16 +01:00
parent b283fe07af
commit 393d57b387
19 changed files with 18 additions and 18 deletions

View File

@ -17,7 +17,7 @@
#include "util/StringAPI.hxx"
#include "util/StringBuffer.hxx"
#include "util/StringStrip.hxx"
#include "util/NumberParser.hxx"
#include "util/CNumberParser.hxx"
#include <stdlib.h>

View File

@ -23,7 +23,7 @@
#include "BulkEdit.hxx"
#include "util/Exception.hxx"
#include "util/StringAPI.hxx"
#include "util/NumberParser.hxx"
#include "util/CNumberParser.hxx"
#include <fmt/format.h>

View File

@ -13,7 +13,7 @@
#include "lib/fmt/RuntimeError.hxx"
#include "util/StringAPI.hxx"
#include "util/StringCompare.hxx"
#include "util/NumberParser.hxx"
#include "util/CNumberParser.hxx"
#include <fmt/format.h>

View File

@ -4,7 +4,7 @@
#include "lib/upnp/ContentDirectoryService.hxx"
#include "lib/upnp/Action.hxx"
#include "Directory.hxx"
#include "util/NumberParser.hxx"
#include "util/CNumberParser.hxx"
#include <fmt/format.h>

View File

@ -6,7 +6,7 @@
#include "Tags.hxx"
#include "tag/Builder.hxx"
#include "tag/Table.hxx"
#include "util/NumberParser.hxx"
#include "util/CNumberParser.hxx"
#include <algorithm>
#include <string>

View File

@ -9,7 +9,7 @@
#include "tag/ParseName.hxx"
#include "util/ASCII.hxx"
#include "tag/ReplayGainInfo.hxx"
#include "util/NumberParser.hxx"
#include "util/CNumberParser.hxx"
#include "util/StringCompare.hxx"
#include "util/StringSplit.hxx"

View File

@ -12,7 +12,7 @@
#include "util/Domain.hxx"
#include "util/ByteReverse.hxx"
#include "util/StaticFifoBuffer.hxx"
#include "util/NumberParser.hxx"
#include "util/CNumberParser.hxx"
#include "util/MimeType.hxx"
#include "Log.hxx"

View File

@ -5,7 +5,7 @@
#include "../EncoderAPI.hxx"
#include "pcm/AudioFormat.hxx"
#include "lib/fmt/RuntimeError.hxx"
#include "util/NumberParser.hxx"
#include "util/CNumberParser.hxx"
#include "util/ReusableArray.hxx"
#include "util/SpanCast.hxx"

View File

@ -5,7 +5,7 @@
#include "../EncoderAPI.hxx"
#include "pcm/AudioFormat.hxx"
#include "lib/fmt/RuntimeError.hxx"
#include "util/NumberParser.hxx"
#include "util/CNumberParser.hxx"
#include "util/SpanCast.hxx"
#include "util/Domain.hxx"
#include "Log.hxx"

View File

@ -9,7 +9,7 @@
#include "pcm/AudioFormat.hxx"
#include "config/Domain.hxx"
#include "util/StringUtil.hxx"
#include "util/NumberParser.hxx"
#include "util/CNumberParser.hxx"
#include <vorbis/vorbisenc.h>

View File

@ -20,7 +20,7 @@
#include "event/Call.hxx"
#include "event/Loop.hxx"
#include "util/ASCII.hxx"
#include "util/NumberParser.hxx"
#include "util/CNumberParser.hxx"
#include "util/Domain.hxx"
#include "Log.hxx"
#include "PluginUnavailable.hxx"

View File

@ -8,7 +8,7 @@
#include "mixer/Mixer.hxx"
#include "mixer/Listener.hxx"
#include "output/plugins/PulseOutputPlugin.hxx"
#include "util/NumberParser.hxx"
#include "util/CNumberParser.hxx"
#include "config/Block.hxx"
#include <pulse/context.h>

View File

@ -5,7 +5,7 @@
#include "Chrono.hxx"
#include "MusicChunk.hxx"
#include "pcm/AudioFormat.hxx"
#include "util/NumberParser.hxx"
#include "util/CNumberParser.hxx"
#include "util/Domain.hxx"
#include "util/Math.hxx"
#include "Log.hxx"

View File

@ -6,7 +6,7 @@
#include "Ack.hxx"
#include "Chrono.hxx"
#include "lib/fmt/ToBuffer.hxx"
#include "util/NumberParser.hxx"
#include "util/CNumberParser.hxx"
#include <stdlib.h>

View File

@ -18,7 +18,7 @@
#include "util/CharUtil.hxx"
#include "util/StringAPI.hxx"
#include "util/StringCompare.hxx"
#include "util/NumberParser.hxx"
#include "util/CNumberParser.hxx"
#include "Log.hxx"
#include <fmt/format.h>

View File

@ -5,7 +5,7 @@
#include "VorbisComment.hxx"
#include "ReplayGainInfo.hxx"
#include "util/ASCII.hxx"
#include "util/NumberParser.hxx"
#include "util/CNumberParser.hxx"
#include <cassert>

View File

@ -1,7 +1,7 @@
// SPDX-License-Identifier: BSD-2-Clause
// author: Max Kellermann <max.kellermann@gmail.com>
#include "NumberParser.hxx"
#include "CNumberParser.hxx"
#include <algorithm>
#include <iterator>

View File

@ -3,7 +3,7 @@ util = static_library(
'Exception.cxx',
'UTF8.cxx',
'MimeType.cxx',
'NumberParser.cxx',
'CNumberParser.cxx',
'TruncateString.cxx',
'StringStrip.cxx',
'StringUtil.cxx',