Go to the documentation of this file.
52 #ifndef ABSL_STRINGS_ASCII_H_
53 #define ABSL_STRINGS_ASCII_H_
58 #include "absl/base/attributes.h"
59 #include "absl/base/config.h"
60 #include "absl/strings/string_view.h"
64 namespace ascii_internal {
200 return str.substr(
static_cast<size_t>(
it -
str.begin()));
214 return str.substr(0,
static_cast<size_t>(
str.rend() -
it));
220 str->erase(
static_cast<size_t>(
str->rend() -
it));
242 #endif // ABSL_STRINGS_ASCII_H_
ABSL_MUST_USE_RESULT absl::string_view StripAsciiWhitespace(absl::string_view str)
bool ascii_isblank(unsigned char c)
char ascii_tolower(unsigned char c)
void RemoveExtraAsciiWhitespace(std::string *str)
ABSL_MUST_USE_RESULT absl::string_view StripTrailingAsciiWhitespace(absl::string_view str)
bool ascii_iscntrl(unsigned char c)
bool ascii_isgraph(unsigned char c)
#define ABSL_NAMESPACE_END
void AsciiStrToLower(std::string *s)
bool ascii_isspace(unsigned char c)
#define ABSL_MUST_USE_RESULT
bool ascii_isalnum(unsigned char c)
#define ABSL_NAMESPACE_BEGIN
bool ascii_isascii(unsigned char c)
void AsciiStrToUpper(std::string *s)
bool ascii_isprint(unsigned char c)
ABSL_MUST_USE_RESULT absl::string_view StripLeadingAsciiWhitespace(absl::string_view str)
const ABSL_DLL unsigned char kPropertyBits[256]
const ABSL_DLL char kToUpper[256]
bool ascii_islower(unsigned char c)
bool ascii_isupper(unsigned char c)
bool ascii_isalpha(unsigned char c)
char ascii_toupper(unsigned char c)
bool ascii_ispunct(unsigned char c)
const ABSL_DLL char kToLower[256]
bool ascii_isxdigit(unsigned char c)
bool ascii_isdigit(unsigned char c)
grpc
Author(s):
autogenerated on Thu Mar 13 2025 02:58:34