Home
last modified time | relevance | path

Searched refs:CordRepRing (Results 1 – 18 of 18) sorted by relevance

/external/angle/third_party/abseil-cpp/absl/strings/internal/
Dcord_rep_ring.h70 class CordRepRing : public CordRep {
98 CordRepRing() = delete;
99 CordRepRing(const CordRepRing&) = delete;
100 CordRepRing& operator=(const CordRepRing&) = delete;
115 static CordRepRing* Create(CordRep* child, size_t extra = 0);
161 static CordRepRing* Append(CordRepRing* rep, CordRep* child);
169 static CordRepRing* Append(CordRepRing* rep, string_view data,
180 static CordRepRing* Prepend(CordRepRing* rep, CordRep* child);
188 static CordRepRing* Prepend(CordRepRing* rep, string_view data,
209 static CordRepRing* SubRing(CordRepRing* r, size_t offset, size_t len,
[all …]
Dcord_rep_ring.cc38 using index_type = CordRepRing::index_type;
48 if (ABSL_PREDICT_FALSE(extra > CordRepRing::kMaxCapacity - n)) { in CheckCapacity()
66 void UnrefEntries(const CordRepRing* rep, index_type head, index_type tail) { in UnrefEntries()
81 std::ostream& operator<<(std::ostream& s, const CordRepRing& rep) { in operator <<()
89 CordRepRing::index_type head = rep.head(); in operator <<()
104 void CordRepRing::AddDataOffset(index_type index, size_t n) { in AddDataOffset()
108 void CordRepRing::SubLength(index_type index, size_t n) { in SubLength()
112 class CordRepRing::Filler {
114 Filler(CordRepRing* rep, index_type pos) : rep_(rep), head_(pos), pos_(pos) {} in Filler()
127 CordRepRing* rep_;
[all …]
Dcord_rep_ring_reader.h37 CordRepRing* ring() const { return ring_; } in ring()
41 CordRepRing::index_type index() const { return index_; } in index()
76 absl::string_view Reset(CordRepRing* ring) { in Reset()
101 CordRepRing::index_type hint = (offset >= current) ? index_ : ring_->head(); in Seek()
102 const CordRepRing::Position head = ring_->Find(hint, offset); in Seek()
110 CordRepRing* ring_ = nullptr;
111 CordRepRing::index_type index_;
Dcordz_info_statistics_test.cc132 size_t SizeOf(const CordRepRing* rep) { in SizeOf()
133 return CordRepRing::AllocSize(rep->capacity()); in SizeOf()
149 rep->ring()->ForEach([&](CordRepRing::index_type i) { in FairShare()
376 CordRepRing* ring = CordRepRing::Create(flat1); in TEST()
377 ring = CordRepRing::Append(ring, flat2); in TEST()
378 ring = CordRepRing::Append(ring, flat3); in TEST()
379 ring = ref.NeedsUnref(CordRepRing::Append(ring, external)); in TEST()
403 CordRepRing* ring = CordRepRing::Create(flat1); in TEST()
404 ring = CordRepRing::Append(ring, flat2); in TEST()
405 ring = CordRepRing::Append(ring, flat3); in TEST()
[all …]
Dcord_internal.h158 class CordRepRing; variable
213 inline CordRepRing* ring();
214 inline const CordRepRing* ring() const;
Dcordz_info.cc233 const CordRepRing* ring = rep.rep->ring(); in AnalyzeRing()
234 ring_usage.Add(CordRepRing::AllocSize(ring->capacity()), 1); in AnalyzeRing()
235 ring->ForEach([&](CordRepRing::index_type pos) { in AnalyzeRing()
Dcord_internal.cc54 CordRepRing::Destroy(rep->ring()); in Destroy()
/external/angle/third_party/abseil-cpp/absl/strings/
Dcord_ring_test.cc44 using ::absl::cord_internal::CordRepRing;
60 using index_type = CordRepRing::index_type;
134 std::vector<string_view> ToFlats(const CordRepRing* r) { in ToFlats()
175 std::vector<not_a_string_view> ToRawFlats(const CordRepRing* r) { in ToRawFlats()
186 std::string ToString(const CordRepRing* r) { in ToString()
301 CordRepRing* FromFlats(Span<const char* const> flats, in FromFlats()
304 CordRepRing* ring = nullptr; in FromFlats()
307 ring = CordRepRing::Create(MakeLeaf(flats.front()), flats.size() - 1); in FromFlats()
309 ring = CordRepRing::Append(ring, MakeLeaf(flats[i])); in FromFlats()
313 ring = CordRepRing::Create(MakeLeaf(flats.back()), flats.size() - 1); in FromFlats()
[all …]
Dcord_ring_reader_test.cc44 CordRepRing* FromFlats(Span<absl::string_view const> flats) { in FromFlats()
45 CordRepRing* ring = CordRepRing::Create(MakeFlat(flats[0]), flats.size() - 1); in FromFlats()
47 ring = CordRepRing::Append(ring, MakeFlat(flats[i])); in FromFlats()
74 CordRepRing* ring = FromFlats(flats); in TEST()
96 CordRepRing* ring = FromFlats(flats); in TEST()
97 CordRepRing::index_type head = ring->head(); in TEST()
103 CordRepRing::index_type index = ring->advance(head, i); in TEST()
124 CordRepRing* ring = FromFlats(flats); in TEST()
125 CordRepRing::index_type head = ring->head(); in TEST()
131 CordRepRing::index_type index = ring->advance(head, i); in TEST()
[all …]
Dcord.cc57 using ::absl::cord_internal::CordRepRing;
232 auto* root = CordRepRing::Create(flat, extra); in RingNewTree()
233 return CordRepRing::Append(root, {data, length}, alloc_hint); in RingNewTree()
351 static CordRepRing* ForceRing(CordRep* rep, size_t extra) { in ForceRing()
352 return (rep->tag == RING) ? rep->ring() : CordRepRing::Create(rep, extra); in ForceRing()
361 tree = CordRepRing::Append(CordRepRing::Create(flat, 1), tree); in AppendTreeToInlined()
373 tree = CordRepRing::Append(ForceRing(data_.as_tree(), 1), tree); in AppendTreeToTree()
395 tree = CordRepRing::Prepend(CordRepRing::Create(flat, 1), tree); in PrependTreeToInlined()
408 tree = CordRepRing::Prepend(ForceRing(data_.as_tree(), 1), tree); in PrependTreeToTree()
504 rep = CordRepRing::Append(ForceRing(rep, 1), new_node); in GetAppendRegion()
[all …]
Dcord.h373 using CordRepRing = absl::cord_internal::CordRepRing; variable
/external/angle/third_party/abseil-cpp/
Dsymbols_arm64_rel.def6 ??$AddRing@$00@CordRepRing@cord_internal@absl@@CAPEAV012@PEAV012@0_K1@Z
7 ??$AddRing@$0A@@CordRepRing@cord_internal@absl@@CAPEAV012@PEAV012@0_K1@Z
48 ??$Fill@$00@CordRepRing@cord_internal@absl@@AEAAXPEBV012@II@Z
49 ??$Fill@$0A@@CordRepRing@cord_internal@absl@@AEAAXPEBV012@II@Z
55 …??$ForEach@V<lambda_1>@?0???$AddRing@$00@CordRepRing@cord_internal@absl@@CAPEAV234@PEAV234@0_K1@Z@…
56 …??$ForEach@V<lambda_1>@?0???$AddRing@$0A@@CordRepRing@cord_internal@absl@@CAPEAV234@PEAV234@0_K1@Z…
57 …??$ForEach@V<lambda_1>@?0???$Fill@$00@CordRepRing@cord_internal@absl@@AEAAXPEBV234@II@Z@@CordRepRi…
58 …??$ForEach@V<lambda_1>@?0???$Fill@$0A@@CordRepRing@cord_internal@absl@@AEAAXPEBV234@II@Z@@CordRepR…
59 …??$ForEach@V<lambda_2>@?0???$AddRing@$00@CordRepRing@cord_internal@absl@@CAPEAV234@PEAV234@0_K1@Z@…
60 …??$ForEach@V<lambda_2>@?0???$AddRing@$0A@@CordRepRing@cord_internal@absl@@CAPEAV234@PEAV234@0_K1@Z…
[all …]
Dsymbols_x86_rel.def6 ??$AddRing@$00@CordRepRing@cord_internal@absl@@CAPAV012@PAV012@0II@Z
7 ??$AddRing@$0A@@CordRepRing@cord_internal@absl@@CAPAV012@PAV012@0II@Z
48 ??$Fill@$00@CordRepRing@cord_internal@absl@@AAEXPBV012@II@Z
49 ??$Fill@$0A@@CordRepRing@cord_internal@absl@@AAEXPBV012@II@Z
55 …??$ForEach@V<lambda_1>@?0???$AddRing@$00@CordRepRing@cord_internal@absl@@CAPAV234@PAV234@0II@Z@@Co…
56 …??$ForEach@V<lambda_1>@?0???$AddRing@$0A@@CordRepRing@cord_internal@absl@@CAPAV234@PAV234@0II@Z@@C…
57 …??$ForEach@V<lambda_1>@?0???$Fill@$00@CordRepRing@cord_internal@absl@@AAEXPBV234@II@Z@@CordRepRing
58 …??$ForEach@V<lambda_1>@?0???$Fill@$0A@@CordRepRing@cord_internal@absl@@AAEXPBV234@II@Z@@CordRepRin…
59 …??$ForEach@V<lambda_2>@?0???$AddRing@$00@CordRepRing@cord_internal@absl@@CAPAV234@PAV234@0II@Z@@Co…
60 …??$ForEach@V<lambda_2>@?0???$AddRing@$0A@@CordRepRing@cord_internal@absl@@CAPAV234@PAV234@0II@Z@@C…
[all …]
Dsymbols_x64_rel.def6 ??$AddRing@$00@CordRepRing@cord_internal@absl@@CAPEAV012@PEAV012@0_K1@Z
7 ??$AddRing@$0A@@CordRepRing@cord_internal@absl@@CAPEAV012@PEAV012@0_K1@Z
48 ??$Fill@$00@CordRepRing@cord_internal@absl@@AEAAXPEBV012@II@Z
49 ??$Fill@$0A@@CordRepRing@cord_internal@absl@@AEAAXPEBV012@II@Z
55 …??$ForEach@V<lambda_1>@?0???$AddRing@$00@CordRepRing@cord_internal@absl@@CAPEAV234@PEAV234@0_K1@Z@…
56 …??$ForEach@V<lambda_1>@?0???$AddRing@$0A@@CordRepRing@cord_internal@absl@@CAPEAV234@PEAV234@0_K1@Z…
57 …??$ForEach@V<lambda_1>@?0???$Fill@$00@CordRepRing@cord_internal@absl@@AEAAXPEBV234@II@Z@@CordRepRi…
58 …??$ForEach@V<lambda_1>@?0???$Fill@$0A@@CordRepRing@cord_internal@absl@@AEAAXPEBV234@II@Z@@CordRepR…
59 …??$ForEach@V<lambda_2>@?0???$AddRing@$00@CordRepRing@cord_internal@absl@@CAPEAV234@PEAV234@0_K1@Z@…
60 …??$ForEach@V<lambda_2>@?0???$AddRing@$0A@@CordRepRing@cord_internal@absl@@CAPEAV234@PEAV234@0_K1@Z…
[all …]
Dsymbols_x64_rel_asan.def6 ??$AddRing@$00@CordRepRing@cord_internal@absl@@CAPEAV012@PEAV012@0_K1@Z
7 ??$AddRing@$0A@@CordRepRing@cord_internal@absl@@CAPEAV012@PEAV012@0_K1@Z
48 ??$Fill@$00@CordRepRing@cord_internal@absl@@AEAAXPEBV012@II@Z
49 ??$Fill@$0A@@CordRepRing@cord_internal@absl@@AEAAXPEBV012@II@Z
55 …??$ForEach@V<lambda_1>@?0???$AddRing@$00@CordRepRing@cord_internal@absl@@CAPEAV234@PEAV234@0_K1@Z@…
56 …??$ForEach@V<lambda_1>@?0???$AddRing@$0A@@CordRepRing@cord_internal@absl@@CAPEAV234@PEAV234@0_K1@Z…
57 …??$ForEach@V<lambda_1>@?0???$Fill@$00@CordRepRing@cord_internal@absl@@AEAAXPEBV234@II@Z@@CordRepRi…
58 …??$ForEach@V<lambda_1>@?0???$Fill@$0A@@CordRepRing@cord_internal@absl@@AEAAXPEBV234@II@Z@@CordRepR…
59 …??$ForEach@V<lambda_2>@?0???$AddRing@$00@CordRepRing@cord_internal@absl@@CAPEAV234@PEAV234@0_K1@Z@…
60 …??$ForEach@V<lambda_2>@?0???$AddRing@$0A@@CordRepRing@cord_internal@absl@@CAPEAV234@PEAV234@0_K1@Z…
[all …]
Dsymbols_x86_dbg.def224 ??$AddRing@$00@CordRepRing@cord_internal@absl@@CAPAV012@PAV012@0II@Z
225 ??$AddRing@$0A@@CordRepRing@cord_internal@absl@@CAPAV012@PAV012@0II@Z
318 ??$Fill@$00@CordRepRing@cord_internal@absl@@AAEXPBV012@II@Z
319 ??$Fill@$0A@@CordRepRing@cord_internal@absl@@AAEXPBV012@II@Z
320 ??$FindBinary@$00@CordRepRing@cord_internal@absl@@ABEIIII@Z
321 ??$FindBinary@$0A@@CordRepRing@cord_internal@absl@@ABEIIII@Z
327 …??$ForEach@V<lambda_1>@?0???$AddRing@$00@CordRepRing@cord_internal@absl@@CAPAV234@PAV234@0II@Z@@Co…
328 …??$ForEach@V<lambda_1>@?0???$AddRing@$0A@@CordRepRing@cord_internal@absl@@CAPAV234@PAV234@0II@Z@@C…
329 …??$ForEach@V<lambda_1>@?0???$Fill@$00@CordRepRing@cord_internal@absl@@AAEXPBV234@II@Z@@CordRepRing
330 …??$ForEach@V<lambda_1>@?0???$Fill@$0A@@CordRepRing@cord_internal@absl@@AAEXPBV234@II@Z@@CordRepRin…
[all …]
Dsymbols_x64_dbg.def224 ??$AddRing@$00@CordRepRing@cord_internal@absl@@CAPEAV012@PEAV012@0_K1@Z
225 ??$AddRing@$0A@@CordRepRing@cord_internal@absl@@CAPEAV012@PEAV012@0_K1@Z
318 ??$Fill@$00@CordRepRing@cord_internal@absl@@AEAAXPEBV012@II@Z
319 ??$Fill@$0A@@CordRepRing@cord_internal@absl@@AEAAXPEBV012@II@Z
320 ??$FindBinary@$00@CordRepRing@cord_internal@absl@@AEBAIII_K@Z
321 ??$FindBinary@$0A@@CordRepRing@cord_internal@absl@@AEBAIII_K@Z
327 …??$ForEach@V<lambda_1>@?0???$AddRing@$00@CordRepRing@cord_internal@absl@@CAPEAV234@PEAV234@0_K1@Z@…
328 …??$ForEach@V<lambda_1>@?0???$AddRing@$0A@@CordRepRing@cord_internal@absl@@CAPEAV234@PEAV234@0_K1@Z…
329 …??$ForEach@V<lambda_1>@?0???$Fill@$00@CordRepRing@cord_internal@absl@@AEAAXPEBV234@II@Z@@CordRepRi…
330 …??$ForEach@V<lambda_1>@?0???$Fill@$0A@@CordRepRing@cord_internal@absl@@AEAAXPEBV234@II@Z@@CordRepR…
[all …]
Dsymbols_arm64_dbg.def224 ??$AddRing@$00@CordRepRing@cord_internal@absl@@CAPEAV012@PEAV012@0_K1@Z
225 ??$AddRing@$0A@@CordRepRing@cord_internal@absl@@CAPEAV012@PEAV012@0_K1@Z
318 ??$Fill@$00@CordRepRing@cord_internal@absl@@AEAAXPEBV012@II@Z
319 ??$Fill@$0A@@CordRepRing@cord_internal@absl@@AEAAXPEBV012@II@Z
320 ??$FindBinary@$00@CordRepRing@cord_internal@absl@@AEBAIII_K@Z
321 ??$FindBinary@$0A@@CordRepRing@cord_internal@absl@@AEBAIII_K@Z
327 …??$ForEach@V<lambda_1>@?0???$AddRing@$00@CordRepRing@cord_internal@absl@@CAPEAV234@PEAV234@0_K1@Z@…
328 …??$ForEach@V<lambda_1>@?0???$AddRing@$0A@@CordRepRing@cord_internal@absl@@CAPEAV234@PEAV234@0_K1@Z…
329 …??$ForEach@V<lambda_1>@?0???$Fill@$00@CordRepRing@cord_internal@absl@@AEAAXPEBV234@II@Z@@CordRepRi…
330 …??$ForEach@V<lambda_1>@?0???$Fill@$0A@@CordRepRing@cord_internal@absl@@AEAAXPEBV234@II@Z@@CordRepR…
[all …]