Home
last modified time | relevance | path

Searched refs:kFlatOverhead (Results 1 – 8 of 8) sorted by relevance

/external/angle/third_party/abseil-cpp/absl/strings/internal/
Dcord_rep_flat.h40 static constexpr size_t kFlatOverhead = offsetof(CordRep, storage); variable
43 static constexpr size_t kMaxFlatLength = kMaxFlatSize - kFlatOverhead;
44 static constexpr size_t kMinFlatLength = kMinFlatSize - kFlatOverhead;
81 return TagToAllocatedSize(tag) - kFlatOverhead; in TagToLength()
97 const size_t size = RoundUpForTag(len + kFlatOverhead); in New()
Dcordz_info_statistics_test.cc54 CordRepFlat* flat = CordRepFlat::New(size - kFlatOverhead); in Flat()
56 flat->length = size - kFlatOverhead; in Flat()
/external/webrtc/third_party/abseil-cpp/absl/strings/
Dcord.cc137 static const size_t kFlatOverhead = offsetof(CordRep, data); variable
139 static_assert(kFlatOverhead == 13, "Unittests assume kFlatOverhead == 13");
146 static constexpr size_t kMaxFlatLength = kMaxFlatSize - kFlatOverhead;
147 static constexpr size_t kMinFlatLength = 32 - kFlatOverhead;
179 return TagToAllocatedSize(tag) - kFlatOverhead; in TagToLength()
465 const size_t size = RoundUpForTag(length_hint + kFlatOverhead); in NewFlat()
2001 size_t CordTestAccess::FlatOverhead() { return kFlatOverhead; } in FlatOverhead()
2008 return AllocatedSizeToTag(s + kFlatOverhead); in LengthToTag()
/external/abseil-cpp/absl/strings/
Dcord.cc137 static const size_t kFlatOverhead = offsetof(CordRep, data); variable
139 static_assert(kFlatOverhead == 13, "Unittests assume kFlatOverhead == 13");
146 static constexpr size_t kMaxFlatLength = kMaxFlatSize - kFlatOverhead;
147 static constexpr size_t kMinFlatLength = 32 - kFlatOverhead;
179 return TagToAllocatedSize(tag) - kFlatOverhead; in TagToLength()
465 const size_t size = RoundUpForTag(length_hint + kFlatOverhead); in NewFlat()
2001 size_t CordTestAccess::FlatOverhead() { return kFlatOverhead; } in FlatOverhead()
2008 return AllocatedSizeToTag(s + kFlatOverhead); in LengthToTag()
/external/openscreen/third_party/abseil/src/absl/strings/
Dcord.cc92 static const size_t kFlatOverhead = offsetof(CordRep, data); variable
99 static constexpr size_t kMaxFlatLength = kMaxFlatSize - kFlatOverhead;
100 static constexpr size_t kMinFlatLength = 32 - kFlatOverhead;
132 return TagToAllocatedSize(tag) - kFlatOverhead; in TagToLength()
382 const size_t size = RoundUpForTag(length_hint + kFlatOverhead); in NewFlat()
1977 size_t CordTestAccess::FlatOverhead() { return kFlatOverhead; } in FlatOverhead()
1984 return AllocatedSizeToTag(s + kFlatOverhead); in LengthToTag()
/external/libtextclassifier/abseil-cpp/absl/strings/
Dcord.cc98 static const size_t kFlatOverhead = offsetof(CordRep, data); variable
105 static constexpr size_t kMaxFlatLength = kMaxFlatSize - kFlatOverhead;
106 static constexpr size_t kMinFlatLength = 32 - kFlatOverhead;
138 return TagToAllocatedSize(tag) - kFlatOverhead; in TagToLength()
386 const size_t size = RoundUpForTag(length_hint + kFlatOverhead); in NewFlat()
1980 size_t CordTestAccess::FlatOverhead() { return kFlatOverhead; } in FlatOverhead()
1987 return AllocatedSizeToTag(s + kFlatOverhead); in LengthToTag()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/
Dcord.cc98 static const size_t kFlatOverhead = offsetof(CordRep, data); variable
105 static constexpr size_t kMaxFlatLength = kMaxFlatSize - kFlatOverhead;
106 static constexpr size_t kMinFlatLength = 32 - kFlatOverhead;
138 return TagToAllocatedSize(tag) - kFlatOverhead; in TagToLength()
386 const size_t size = RoundUpForTag(length_hint + kFlatOverhead); in NewFlat()
1980 size_t CordTestAccess::FlatOverhead() { return kFlatOverhead; } in FlatOverhead()
1987 return AllocatedSizeToTag(s + kFlatOverhead); in LengthToTag()
/external/angle/third_party/abseil-cpp/absl/strings/
Dcord.cc2008 size_t CordTestAccess::FlatOverhead() { return cord_internal::kFlatOverhead; } in FlatOverhead()
2015 return cord_internal::AllocatedSizeToTag(s + cord_internal::kFlatOverhead); in LengthToTag()