#include "util/misc/lexing.h"
#include <stddef.h>
#include <stdint.h>
#include <string.h>
#include <limits>
#include <string_view>
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_util.h"
namespace crashpad {
namespace {
#define MAKE_ADAPTER …
MAKE_ADAPTER(int, base::StringToInt)
MAKE_ADAPTER(unsigned int, base::StringToUint)
MAKE_ADAPTER
MAKE_ADAPTER
#undef MAKE_ADAPTER
}
bool AdvancePastPrefix(const char** input, const char* pattern) { … }
template <typename T>
bool AdvancePastNumber(const char** input, T* value) { … }
template bool AdvancePastNumber(const char** input, int* value);
template bool AdvancePastNumber(const char** input, unsigned int* value);
template bool AdvancePastNumber(const char** input, int64_t* value);
template bool AdvancePastNumber(const char** input, uint64_t* value);
}