chromium/base/strings/string_number_conversions.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "base/strings/string_number_conversions.h"

#include <iterator>
#include <string>
#include <string_view>

#include "base/containers/span.h"
#include "base/logging.h"
#include "base/strings/string_number_conversions_internal.h"

namespace base {

std::string NumberToString(int value) {}

std::u16string NumberToString16(int value) {}

std::string NumberToString(unsigned value) {}

std::u16string NumberToString16(unsigned value) {}

std::string NumberToString(long value) {}

std::u16string NumberToString16(long value) {}

std::string NumberToString(unsigned long value) {}

std::u16string NumberToString16(unsigned long value) {}

std::string NumberToString(long long value) {}

std::u16string NumberToString16(long long value) {}

std::string NumberToString(unsigned long long value) {}

std::u16string NumberToString16(unsigned long long value) {}

std::string NumberToString(double value) {}

std::u16string NumberToString16(double value) {}

bool StringToInt(std::string_view input, int* output) {}

bool StringToInt(std::u16string_view input, int* output) {}

bool StringToUint(std::string_view input, unsigned* output) {}

bool StringToUint(std::u16string_view input, unsigned* output) {}

bool StringToInt64(std::string_view input, int64_t* output) {}

bool StringToInt64(std::u16string_view input, int64_t* output) {}

bool StringToUint64(std::string_view input, uint64_t* output) {}

bool StringToUint64(std::u16string_view input, uint64_t* output) {}

bool StringToSizeT(std::string_view input, size_t* output) {}

bool StringToSizeT(std::u16string_view input, size_t* output) {}

bool StringToDouble(std::string_view input, double* output) {}

bool StringToDouble(std::u16string_view input, double* output) {}

std::string HexEncode(const void* bytes, size_t size) {}

std::string HexEncode(span<const uint8_t> bytes) {}

std::string HexEncode(std::string_view chars) {}

bool HexStringToInt(std::string_view input, int* output) {}

bool HexStringToUInt(std::string_view input, uint32_t* output) {}

bool HexStringToInt64(std::string_view input, int64_t* output) {}

bool HexStringToUInt64(std::string_view input, uint64_t* output) {}

bool HexStringToBytes(std::string_view input, std::vector<uint8_t>* output) {}

bool HexStringToString(std::string_view input, std::string* output) {}

bool HexStringToSpan(std::string_view input, span<uint8_t> output) {}

}  // namespace base