#include "absl/status/internal/status_internal.h"
#include <atomic>
#include <cassert>
#include <cstddef>
#include <cstdint>
#include <cstdio>
#include <cstring>
#include <memory>
#include <string>
#include <utility>
#include "absl/base/attributes.h"
#include "absl/base/config.h"
#include "absl/base/macros.h"
#include "absl/base/nullability.h"
#include "absl/debugging/stacktrace.h"
#include "absl/debugging/symbolize.h"
#include "absl/memory/memory.h"
#include "absl/status/status.h"
#include "absl/status/status_payload_printer.h"
#include "absl/strings/cord.h"
#include "absl/strings/escaping.h"
#include "absl/strings/str_cat.h"
#include "absl/strings/str_format.h"
#include "absl/strings/str_split.h"
#include "absl/strings/string_view.h"
#include "absl/types/optional.h"
namespace absl {
ABSL_NAMESPACE_BEGIN
namespace status_internal {
void StatusRep::Unref() const { … }
static absl::optional<size_t> FindPayloadIndexByUrl(
const Payloads* payloads, absl::string_view type_url) { … }
absl::optional<absl::Cord> StatusRep::GetPayload(
absl::string_view type_url) const { … }
void StatusRep::SetPayload(absl::string_view type_url, absl::Cord payload) { … }
StatusRep::EraseResult StatusRep::ErasePayload(absl::string_view type_url) { … }
void StatusRep::ForEachPayload(
absl::FunctionRef<void(absl::string_view, const absl::Cord&)> visitor)
const { … }
std::string StatusRep::ToString(StatusToStringMode mode) const { … }
bool StatusRep::operator==(const StatusRep& other) const { … }
absl::Nonnull<StatusRep*> StatusRep::CloneAndUnref() const { … }
absl::StatusCode MapToLocalCode(int value) { … }
absl::Nonnull<std::string*> MakeCheckFailString(
absl::Nonnull<const absl::Status*> status,
absl::Nonnull<const char*> prefix) { … }
}
ABSL_NAMESPACE_END
}