Namespaces | Defines | Functions
escaping.cc File Reference
#include "absl/strings/escaping.h"
#include <algorithm>
#include <cassert>
#include <cstdint>
#include <cstring>
#include <iterator>
#include <limits>
#include <string>
#include "absl/base/internal/endian.h"
#include "absl/base/internal/raw_logging.h"
#include "absl/base/internal/unaligned_access.h"
#include "absl/strings/internal/char_map.h"
#include "absl/strings/internal/resize_uninitialized.h"
#include "absl/strings/internal/utf8.h"
#include "absl/strings/str_cat.h"
#include "absl/strings/str_join.h"
#include "absl/strings/string_view.h"
Include dependency graph for escaping.cc:

Go to the source code of this file.

Namespaces

namespace  absl

Defines

#define GET_INPUT(label, remain)

Functions

void absl::Base64Escape (absl::string_view src, std::string *dest)
std::string absl::Base64Escape (absl::string_view src)
bool absl::Base64Unescape (absl::string_view src, std::string *dest)
std::string absl::BytesToHexString (absl::string_view from)
std::string absl::CEscape (absl::string_view src)
std::string absl::CHexEscape (absl::string_view src)
bool absl::CUnescape (absl::string_view source, std::string *dest, std::string *error)
std::string absl::HexStringToBytes (absl::string_view from)
std::string absl::Utf8SafeCEscape (absl::string_view src)
std::string absl::Utf8SafeCHexEscape (absl::string_view src)
void absl::WebSafeBase64Escape (absl::string_view src, std::string *dest)
std::string absl::WebSafeBase64Escape (absl::string_view src)
bool absl::WebSafeBase64Unescape (absl::string_view src, std::string *dest)

Define Documentation

#define GET_INPUT (   label,
  remain 
)
Value:
label:                                                        \
  --szsrc;                                                      \
  ch = *src++;                                                  \
  decode = unbase64[ch];                                        \
  if (decode < 0) {                                             \
    if (absl::ascii_isspace(ch) && szsrc >= remain) goto label; \
    state = 4 - remain;                                         \
    break;                                                      \
  }


abseil_cpp
Author(s):
autogenerated on Wed Jun 19 2019 19:42:16