Searched refs:TryFlat (Results 1 – 6 of 6) sorted by relevance
/third_party/abseil-cpp/absl/strings/ |
D | cord_test.cc | 431 TEST(TryFlat, Empty) { in TEST() argument 433 EXPECT_EQ(c.TryFlat(), ""); in TEST() 436 TEST(TryFlat, Flat) { in TEST() argument 438 EXPECT_EQ(c.TryFlat(), "hello"); in TEST() 441 TEST(TryFlat, SubstrInlined) { in TEST() argument 444 EXPECT_EQ(c.TryFlat(), "ello"); in TEST() 447 TEST(TryFlat, SubstrFlat) { in TEST() argument 450 EXPECT_EQ(c.TryFlat(), "onger than 15 bytes"); in TEST() 453 TEST(TryFlat, Concat) { in TEST() argument 455 EXPECT_EQ(c.TryFlat(), absl::nullopt); in TEST() [all …]
|
D | cord.h | 604 absl::optional<absl::string_view> TryFlat() const; 620 absl::optional<absl::string_view> maybe_flat = c.TryFlat(); in AbslHashValue() 1021 inline absl::optional<absl::string_view> Cord::TryFlat() const { in TryFlat() function
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
D | cord_test.cc | 491 EXPECT_EQ(c.TryFlat(), ""); in TEST_P() 496 EXPECT_EQ(c.TryFlat(), "hello"); in TEST_P() 502 EXPECT_EQ(c.TryFlat(), "ello"); in TEST_P() 508 EXPECT_EQ(sub.TryFlat(), "onger than 15 bytes"); in TEST_P() 513 EXPECT_EQ(c.TryFlat(), absl::nullopt); in TEST_P() 518 EXPECT_EQ(c.TryFlat(), "hell"); in TEST_P() 524 EXPECT_EQ(sub.TryFlat(), "ell"); in TEST_P() 530 EXPECT_EQ(sub.TryFlat(), absl::nullopt); in TEST_P() 532 EXPECT_EQ(c.TryFlat(), absl::nullopt); in TEST_P() 556 EXPECT_EQ(subcord1.TryFlat(), expected); in TEST_P() [all …]
|
D | cord.h | 642 absl::optional<absl::string_view> TryFlat() const; 658 absl::optional<absl::string_view> maybe_flat = c.TryFlat(); in AbslHashValue() 1196 inline absl::optional<absl::string_view> Cord::TryFlat() const { in TryFlat() function
|
/third_party/abseil-cpp/absl/container/internal/ |
D | hash_function_defaults_test.cc | 249 EXPECT_FALSE(c.TryFlat().has_value()); in TEST() 259 EXPECT_FALSE(c.TryFlat().has_value()); in TEST()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
D | hash_function_defaults_test.cc | 249 EXPECT_FALSE(c.TryFlat().has_value()); in TEST() 259 EXPECT_FALSE(c.TryFlat().has_value()); in TEST()
|