/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
D | cord.h | 97 class Cord; variable 100 Cord MakeCordFromExternal(absl::string_view, Releaser&&); 101 void CopyCordToString(const Cord& src, std::string* dst); 131 class Cord { 141 constexpr Cord() noexcept; 145 Cord(const Cord& src); 146 Cord(Cord&& src) noexcept; 147 Cord& operator=(const Cord& x); 148 Cord& operator=(Cord&& x) noexcept; 153 explicit Cord(absl::string_view src); [all …]
|
D | cord_test.cc | 104 static void AddExternalMemory(absl::string_view s, absl::Cord* dst) { in AddExternalMemory() 112 absl::Cord str; in DumpGrowth() 122 absl::Cord* cord) { in AppendWithFragments() 148 static void AddNewStringBlock(const std::string& str, absl::Cord* dst) { in AddNewStringBlock() 157 static absl::Cord MakeComposite() { in MakeComposite() 158 absl::Cord cord; in MakeComposite() 163 absl::Cord full(" over"); in MakeComposite() 166 absl::Cord substring = full.Subcord(0, 18); in MakeComposite() 182 const Cord& c, absl::FunctionRef<void(absl::string_view)> callback) { in ForEachChunk() 186 static bool IsTree(const Cord& c) { return c.contents_.is_tree(); } in IsTree() [all …]
|
D | cordz_test.cc | 50 inline void PrintTo(const Cord& cord, std::ostream* s) { in PrintTo() 71 absl::Cord MakeAppendStringCord(TestCordSize size) { in MakeAppendStringCord() 73 absl::Cord cord; in MakeAppendStringCord() 84 Cord& cord() { return cord_; } in cord() 93 Cord cord_{MakeString(GetParam())}; 122 Cord cord(MakeString(TestCordSize::kSmall)); in TEST() 128 Cord cord(MakeString(TestCordSize::kLarge)); in TEST() 134 Cord cord(std::string(Length(GetParam()), '.')); in TEST_P() 142 Cord src = UnsampledCord(MakeString(TestCordSize::kLarge)); in TEST() 143 Cord cord(src); in TEST() [all …]
|
D | cord.cc | 309 constexpr unsigned char Cord::InlineRep::kMaxInline; 311 inline void Cord::InlineRep::set_data(const char* data, size_t n, in set_data() 319 inline char* Cord::InlineRep::set_data(size_t n) { in set_data() 326 inline void Cord::InlineRep::reduce_size(size_t n) { in reduce_size() 335 inline void Cord::InlineRep::remove_prefix(size_t n) { in remove_prefix() 347 void Cord::InlineRep::AppendTreeToInlined(CordRep* tree, in AppendTreeToInlined() 361 void Cord::InlineRep::AppendTreeToTree(CordRep* tree, MethodIdentifier method) { in AppendTreeToTree() 372 void Cord::InlineRep::AppendTree(CordRep* tree, MethodIdentifier method) { in AppendTree() 381 void Cord::InlineRep::PrependTreeToInlined(CordRep* tree, in PrependTreeToInlined() 395 void Cord::InlineRep::PrependTreeToTree(CordRep* tree, in PrependTreeToTree() [all …]
|
D | cord_test_helpers.h | 103 Cord MakeFragmentedCord(const Container& c) { in MakeFragmentedCord() 104 Cord result; in MakeFragmentedCord() 107 Cord tmp = absl::MakeCordFromExternal( in MakeFragmentedCord() 115 inline Cord MakeFragmentedCord(std::initializer_list<absl::string_view> list) { in MakeFragmentedCord()
|
D | cordz_test_helpers.h | 37 const Cord& cord) { in GetCordzInfoForTesting() 141 Cord UnsampledCord(Args... args) { in UnsampledCord() 143 Cord cord(std::forward<Args>(args)...); in UnsampledCord()
|
/third_party/abseil-cpp/absl/strings/ |
D | cord.h | 87 class Cord; variable 90 Cord MakeCordFromExternal(absl::string_view, Releaser&&); 91 void CopyCordToString(const Cord& src, std::string* dst); 121 class Cord { 131 constexpr Cord() noexcept; 135 Cord(const Cord& src); 136 Cord(Cord&& src) noexcept; 137 Cord& operator=(const Cord& x); 138 Cord& operator=(Cord&& x) noexcept; 143 explicit Cord(absl::string_view src); [all …]
|
D | cord_test.cc | 89 static void AddExternalMemory(absl::string_view s, absl::Cord* dst) { in AddExternalMemory() 97 absl::Cord str; in DumpGrowth() 107 absl::Cord* cord) { in AppendWithFragments() 133 static void AddNewStringBlock(const std::string& str, absl::Cord* dst) { in AddNewStringBlock() 142 static absl::Cord MakeComposite() { in MakeComposite() 143 absl::Cord cord; in MakeComposite() 148 absl::Cord full(" over"); in MakeComposite() 151 absl::Cord substring = full.Subcord(0, 18); in MakeComposite() 167 const Cord& c, absl::FunctionRef<void(absl::string_view)> callback) { in ForEachChunk() 175 TEST(Cord, AllFlatSizes) { in TEST() argument [all …]
|
D | cord.cc | 444 constexpr unsigned char Cord::InlineRep::kMaxInline; 446 inline void Cord::InlineRep::set_data(const char* data, size_t n, in set_data() 454 inline char* Cord::InlineRep::set_data(size_t n) { in set_data() 461 inline CordRep* Cord::InlineRep::force_tree(size_t extra_hint) { in force_tree() 475 inline void Cord::InlineRep::reduce_size(size_t n) { in reduce_size() 484 inline void Cord::InlineRep::remove_prefix(size_t n) { in remove_prefix() 489 void Cord::InlineRep::AppendTree(CordRep* tree) { in AppendTree() 499 void Cord::InlineRep::PrependTree(CordRep* tree) { in PrependTree() 548 void Cord::InlineRep::GetAppendRegion(char** region, size_t* size, in GetAppendRegion() 581 void Cord::InlineRep::GetAppendRegion(char** region, size_t* size) { in GetAppendRegion() [all …]
|
D | cord_test_helpers.h | 41 Cord MakeFragmentedCord(const Container& c) { in MakeFragmentedCord() 42 Cord result; in MakeFragmentedCord() 45 Cord tmp = absl::MakeCordFromExternal( in MakeFragmentedCord() 53 inline Cord MakeFragmentedCord(std::initializer_list<absl::string_view> list) { in MakeFragmentedCord()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/status/ |
D | status_test.cc | 149 using PayloadsVec = std::vector<std::pair<std::string, absl::Cord>>; 153 ok_status.SetPayload(kUrl1, absl::Cord(kPayload1)); in TEST() 154 ok_status.SetPayload(kUrl2, absl::Cord(kPayload2)); in TEST() 160 bad_status.SetPayload(kUrl1, absl::Cord(kPayload1)); in TEST() 161 bad_status.SetPayload(kUrl2, absl::Cord(kPayload2)); in TEST() 168 bad_status.SetPayload(kUrl1, absl::Cord(kPayload3)); in TEST() 172 bad_status.SetPayload(absl::StrCat(kUrl1, ".1"), absl::Cord(kPayload1)); in TEST() 179 bad_status.SetPayload(kUrl1, absl::Cord(kPayload1)); in TEST() 180 bad_status.SetPayload(kUrl2, absl::Cord(kPayload2)); in TEST() 181 bad_status.SetPayload(kUrl3, absl::Cord(kPayload3)); in TEST() [all …]
|
/third_party/abseil-cpp/absl/status/ |
D | status_test.cc | 145 using PayloadsVec = std::vector<std::pair<std::string, absl::Cord>>; 149 ok_status.SetPayload(kUrl1, absl::Cord(kPayload1)); in TEST() 150 ok_status.SetPayload(kUrl2, absl::Cord(kPayload2)); in TEST() 156 bad_status.SetPayload(kUrl1, absl::Cord(kPayload1)); in TEST() 157 bad_status.SetPayload(kUrl2, absl::Cord(kPayload2)); in TEST() 164 bad_status.SetPayload(kUrl1, absl::Cord(kPayload3)); in TEST() 168 bad_status.SetPayload(absl::StrCat(kUrl1, ".1"), absl::Cord(kPayload1)); in TEST() 175 bad_status.SetPayload(kUrl1, absl::Cord(kPayload1)); in TEST() 176 bad_status.SetPayload(kUrl2, absl::Cord(kPayload2)); in TEST() 177 bad_status.SetPayload(kUrl3, absl::Cord(kPayload3)); in TEST() [all …]
|
/third_party/abseil-cpp/absl/container/internal/ |
D | hash_function_defaults_test.cc | 210 hash_default_eq<absl::Cord> eq; in TEST() 212 const absl::Cord a_cord(a_string_view); in TEST() 214 const absl::Cord b_cord(b_string_view); in TEST() 225 hash_default_hash<absl::Cord> hash; in TEST() 227 const absl::Cord a_cord(a_string_view); in TEST() 229 const absl::Cord b_cord(b_string_view); in TEST() 235 EXPECT_EQ(hash(absl::Cord("")), hash("")); in TEST() 236 EXPECT_EQ(hash(absl::Cord()), hash(absl::string_view())); in TEST() 247 hash_default_hash<absl::Cord> hash; in TEST() 248 absl::Cord c = absl::MakeFragmentedCord({"a", "b", "c"}); in TEST() [all …]
|
D | hash_function_defaults.h | 76 size_t operator()(const absl::Cord& v) const { in operator() 77 return absl::Hash<absl::Cord>{}(v); in operator() 89 bool operator()(const absl::Cord& lhs, const absl::Cord& rhs) const { in operator() 92 bool operator()(const absl::Cord& lhs, absl::string_view rhs) const { in operator() 95 bool operator()(absl::string_view lhs, const absl::Cord& rhs) const { in operator() 106 struct HashEq<absl::Cord> : StringHashEq {};
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
D | hash_function_defaults_test.cc | 210 hash_default_eq<absl::Cord> eq; in TEST() 212 const absl::Cord a_cord(a_string_view); in TEST() 214 const absl::Cord b_cord(b_string_view); in TEST() 225 hash_default_hash<absl::Cord> hash; in TEST() 227 const absl::Cord a_cord(a_string_view); in TEST() 229 const absl::Cord b_cord(b_string_view); in TEST() 235 EXPECT_EQ(hash(absl::Cord("")), hash("")); in TEST() 236 EXPECT_EQ(hash(absl::Cord()), hash(absl::string_view())); in TEST() 247 hash_default_hash<absl::Cord> hash; in TEST() 248 absl::Cord c = absl::MakeFragmentedCord({"a", "b", "c"}); in TEST() [all …]
|
D | hash_function_defaults.h | 76 size_t operator()(const absl::Cord& v) const { in operator() 77 return absl::Hash<absl::Cord>{}(v); in operator() 86 bool operator()(const absl::Cord& lhs, const absl::Cord& rhs) const { in operator() 89 bool operator()(const absl::Cord& lhs, absl::string_view rhs) const { in operator() 92 bool operator()(absl::string_view lhs, const absl::Cord& rhs) const { in operator() 108 struct HashEq<absl::Cord> : StringHashEq {};
|
/third_party/skia/third_party/externals/abseil-cpp/absl/hash/ |
D | hash_benchmark.cc | 87 absl::Cord FlatCord(size_t size) { in FlatCord() 88 absl::Cord result(std::string(size, 'a')); in FlatCord() 93 absl::Cord FragmentedCord(size_t size) { in FragmentedCord() 104 absl::Cord result = absl::MakeFragmentedCord(chunks); in FragmentedCord() 140 MAKE_BENCHMARK(AbslHash, Cord_Flat_0, absl::Cord());
|
D | hash_test.cc | 273 absl::Cord FlatCord(absl::string_view sv) { in FlatCord() 274 absl::Cord c(sv); in FlatCord() 279 absl::Cord FragmentedCord(absl::string_view sv) { in FragmentedCord() 281 return absl::Cord(sv); in FragmentedCord() 298 std::string(), absl::string_view(), absl::Cord(), // in TEST() 299 std::string(""), absl::string_view(""), absl::Cord(""), // in TEST() 300 std::string(small), absl::string_view(small), absl::Cord(small), // in TEST() 301 std::string(dup), absl::string_view(dup), absl::Cord(dup), // in TEST() 302 std::string(large), absl::string_view(large), absl::Cord(large), // in TEST() 309 t(std::string()), t(absl::string_view()), t(absl::Cord()), // in TEST() [all …]
|
/third_party/abseil-cpp/absl/hash/ |
D | hash_test.cc | 273 absl::Cord FlatCord(absl::string_view sv) { in FlatCord() 274 absl::Cord c(sv); in FlatCord() 279 absl::Cord FragmentedCord(absl::string_view sv) { in FragmentedCord() 281 return absl::Cord(sv); in FragmentedCord() 298 std::string(), absl::string_view(), absl::Cord(), // in TEST() 299 std::string(""), absl::string_view(""), absl::Cord(""), // in TEST() 300 std::string(small), absl::string_view(small), absl::Cord(small), // in TEST() 301 std::string(dup), absl::string_view(dup), absl::Cord(dup), // in TEST() 302 std::string(large), absl::string_view(large), absl::Cord(large), // in TEST() 309 t(std::string()), t(absl::string_view()), t(absl::Cord()), // in TEST() [all …]
|
/third_party/abseil-cpp/absl/container/ |
D | btree_test.h | 105 struct Generator<Cord> { 108 Cord operator()(int i) const { 110 return Cord(GenerateDigits(buf, i, maxval));
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/ |
D | btree_test.h | 105 struct Generator<Cord> { 108 Cord operator()(int i) const { 110 return Cord(GenerateDigits(buf, i, maxval));
|
/third_party/abseil-cpp/absl/strings/internal/str_format/ |
D | output_test.cc | 41 TEST(InvokeFlush, Cord) { in TEST() argument 42 absl::Cord str("ABC"); in TEST()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/ |
D | output_test.cc | 41 TEST(InvokeFlush, Cord) { in TEST() argument 42 absl::Cord str("ABC"); in TEST()
|
/third_party/skia/third_party/externals/abseil-cpp/ |
D | symbols_arm64_rel.def | 3 …??$?0V?$basic_string@DU?$char_traits@D@__1@std@@V?$allocator@D@23@@__1@std@@$0A@@Cord@absl@@QEAA@$… 14 …??$Append@V?$basic_string@DU?$char_traits@D@__1@std@@V?$allocator@D@23@@__1@std@@$0A@@Cord@absl@@Q… 15 ??$AppendImpl@AEBVCord@absl@@@Cord@absl@@AEAAXAEBV01@@Z 16 ??$AppendImpl@VCord@absl@@@Cord@absl@@AEAAX$$QEAV01@@Z 78 …??$Prepend@V?$basic_string@DU?$char_traits@D@__1@std@@V?$allocator@D@23@@__1@std@@$0A@@Cord@absl@@… 124 ??0Cord@absl@@AEAA@Vstring_view@1@W4MethodIdentifier@CordzUpdateTracker@cord_internal@1@@Z 162 ??4Cord@absl@@QEAAAEAV01@Vstring_view@1@@Z 187 ??EChunkIterator@Cord@absl@@QEAAAEAV012@XZ 215 ?AdvanceAndReadBytes@ChunkIterator@Cord@absl@@AEAA?AV23@_K@Z 216 ?AdvanceBytesBtree@ChunkIterator@Cord@absl@@AEAAX_K@Z [all …]
|
D | symbols_x64_rel.def | 3 …??$?0V?$basic_string@DU?$char_traits@D@__1@std@@V?$allocator@D@23@@__1@std@@$0A@@Cord@absl@@QEAA@$… 14 …??$Append@V?$basic_string@DU?$char_traits@D@__1@std@@V?$allocator@D@23@@__1@std@@$0A@@Cord@absl@@Q… 15 ??$AppendImpl@AEBVCord@absl@@@Cord@absl@@AEAAXAEBV01@@Z 16 ??$AppendImpl@VCord@absl@@@Cord@absl@@AEAAX$$QEAV01@@Z 78 …??$Prepend@V?$basic_string@DU?$char_traits@D@__1@std@@V?$allocator@D@23@@__1@std@@$0A@@Cord@absl@@… 128 ??0Cord@absl@@AEAA@Vstring_view@1@W4MethodIdentifier@CordzUpdateTracker@cord_internal@1@@Z 166 ??4Cord@absl@@QEAAAEAV01@Vstring_view@1@@Z 191 ??EChunkIterator@Cord@absl@@QEAAAEAV012@XZ 220 ?AdvanceAndReadBytes@ChunkIterator@Cord@absl@@AEAA?AV23@_K@Z 221 ?AdvanceBytesBtree@ChunkIterator@Cord@absl@@AEAAX_K@Z [all …]
|