Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/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.cc57 CordRepFlat* flat = CordRepFlat::New(size - kFlatOverhead); in Flat()
59 flat->length = size - kFlatOverhead; in Flat()
/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()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dcord.cc2034 size_t CordTestAccess::FlatOverhead() { return cord_internal::kFlatOverhead; } in FlatOverhead()
2041 return cord_internal::AllocatedSizeToTag(s + cord_internal::kFlatOverhead); in LengthToTag()