Home
last modified time | relevance | path

Searched refs:is_tree (Results 1 – 23 of 23) sorted by relevance

/external/angle/third_party/abseil-cpp/absl/strings/internal/
Dcord_internal.h391 bool is_tree() const { return (tag() & 1) != 0; } in is_tree() function
396 assert(is_tree()); in is_profiled()
405 assert(data1.is_tree() && data2.is_tree()); in is_either_profiled()
414 assert(is_tree()); in cordz_info()
425 assert(is_tree()); in set_cordz_info()
432 assert(is_tree()); in clear_cordz_info()
439 assert(!is_tree()); in as_chars()
463 assert(is_tree()); in as_tree()
478 assert(is_tree()); in set_tree()
485 assert(!is_tree()); in inline_size()
Dcordz_info.cc273 assert(cord.is_tree()); in TrackCord()
282 assert(cord.is_tree()); in TrackCord()
283 assert(src.is_tree()); in TrackCord()
Dcordz_info_statistics_test.cc462 if (cord.is_tree()) { in TEST()
488 if (cord.is_tree()) { in TEST()
/external/angle/third_party/abseil-cpp/absl/strings/
Dcord.h167 if (contents_.is_tree()) DestroyCordSlow(); in ~Cord()
810 bool is_tree() const { return data_.is_tree(); } in is_tree() function
813 bool is_profiled() const { return data_.is_tree() && data_.is_profiled(); } in is_profiled()
1020 if (!is_tree() && !src.is_tree()) {
1030 if (is_tree()) {
1046 return is_tree() ? nullptr : data_.as_chars(); in data()
1050 assert(data_.is_tree()); in as_tree()
1055 if (is_tree()) { in tree()
1065 return is_tree() ? as_tree()->length : inline_size(); in size()
1094 assert(data_.is_tree()); in SetTree()
[all …]
Dcord.cc357 assert(!is_tree()); in AppendTreeToInlined()
370 assert(is_tree()); in AppendTreeToTree()
382 if (data_.is_tree()) { in AppendTree()
391 assert(!is_tree()); in PrependTreeToInlined()
405 assert(is_tree()); in PrependTreeToTree()
417 if (data_.is_tree()) { in PrependTree()
532 assert(is_tree() || src.is_tree()); in AssignSlow()
534 if (ABSL_PREDICT_TRUE(!is_tree())) { in AssignSlow()
553 if (is_tree()) { in UnrefTree()
588 assert(contents_.is_tree()); in DestroyCordSlow()
[all …]
Dcordz_test_helpers.h38 if (!cord.contents_.is_tree()) return nullptr; in GetCordzInfoForTesting()
Dcord_test.cc186 static bool IsTree(const Cord& c) { return c.contents_.is_tree(); } in IsTree()
193 ABSL_RAW_CHECK(src.contents_.is_tree(), "Can not be inlined"); in MakeSubstring()
/external/abseil-cpp/absl/strings/
Dcord.h107 if (contents_.is_tree()) DestroyCordSlow(); in ~Cord()
547 bool is_tree() const { return data_[kMaxInline] > kMaxInline; } in is_tree() function
737 if (!is_tree() && !src.is_tree()) {
747 if (is_tree()) {
767 return is_tree() ? nullptr : data_; in data()
771 if (is_tree()) { in tree()
792 bool was_tree = is_tree(); in set_tree()
802 ABSL_ASSERT(is_tree()); in replace_tree()
822 assert(!is_tree()); in CopyToArray()
895 if (!contents_.is_tree() && !rhs.contents_.is_tree()) { in Compare()
[all …]
Dcord.cc713 if (is_tree()) { in AssignSlow()
719 if (is_tree()) { in ClearSlow()
905 if (!contents_.is_tree() && cur_size + src.size() <= InlineRep::kMaxInline) { in Prepend()
1487 if (!src.contents_.is_tree()) { in CopyCordToString()
1496 assert(contents_.is_tree()); in CopyToArraySlowPath()
/external/webrtc/third_party/abseil-cpp/absl/strings/
Dcord.h107 if (contents_.is_tree()) DestroyCordSlow(); in ~Cord()
547 bool is_tree() const { return data_[kMaxInline] > kMaxInline; } in is_tree() function
737 if (!is_tree() && !src.is_tree()) {
747 if (is_tree()) {
767 return is_tree() ? nullptr : data_; in data()
771 if (is_tree()) { in tree()
792 bool was_tree = is_tree(); in set_tree()
802 ABSL_ASSERT(is_tree()); in replace_tree()
822 assert(!is_tree()); in CopyToArray()
895 if (!contents_.is_tree() && !rhs.contents_.is_tree()) { in Compare()
[all …]
Dcord.cc713 if (is_tree()) { in AssignSlow()
719 if (is_tree()) { in ClearSlow()
905 if (!contents_.is_tree() && cur_size + src.size() <= InlineRep::kMaxInline) { in Prepend()
1487 if (!src.contents_.is_tree()) { in CopyCordToString()
1496 assert(contents_.is_tree()); in CopyToArraySlowPath()
/external/openscreen/third_party/abseil/src/absl/strings/
Dcord.h159 if (contents_.is_tree()) DestroyCordSlow(); in ~Cord()
727 bool is_tree() const { return tagged_size() > kMaxInline; } in is_tree() function
914 if (!is_tree() && !src.is_tree()) {
924 if (is_tree()) {
941 return is_tree() ? nullptr : data_.as_chars; in data()
945 if (is_tree()) { in tree()
964 bool was_tree = is_tree(); in set_tree()
975 ABSL_ASSERT(is_tree()); in replace_tree()
990 assert(!is_tree()); in CopyToArray()
1077 if (!contents_.is_tree() && !rhs.contents_.is_tree()) { in Compare()
[all …]
Dcord.cc622 if (is_tree()) { in AssignSlow()
628 if (is_tree()) { in ClearSlow()
868 if (!contents_.is_tree() && cur_size + src.size() <= InlineRep::kMaxInline) { in Prepend()
1461 if (!src.contents_.is_tree()) { in CopyCordToString()
1470 assert(contents_.is_tree()); in CopyToArraySlowPath()
Dcord_test.cc185 static bool IsTree(const Cord& c) { return c.contents_.is_tree(); } in IsTree()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/
Dcord.h158 if (contents_.is_tree()) DestroyCordSlow(); in ~Cord()
718 bool is_tree() const { return data_[kMaxInline] > kMaxInline; } in is_tree() function
894 if (!is_tree() && !src.is_tree()) {
904 if (is_tree()) {
924 return is_tree() ? nullptr : data_; in data()
928 if (is_tree()) { in tree()
949 bool was_tree = is_tree(); in set_tree()
959 ABSL_ASSERT(is_tree()); in replace_tree()
979 assert(!is_tree()); in CopyToArray()
1054 if (!contents_.is_tree() && !rhs.contents_.is_tree()) { in Compare()
[all …]
Dcord.cc625 if (is_tree()) { in AssignSlow()
631 if (is_tree()) { in ClearSlow()
871 if (!contents_.is_tree() && cur_size + src.size() <= InlineRep::kMaxInline) { in Prepend()
1464 if (!src.contents_.is_tree()) { in CopyCordToString()
1473 assert(contents_.is_tree()); in CopyToArraySlowPath()
/external/libtextclassifier/abseil-cpp/absl/strings/
Dcord.h158 if (contents_.is_tree()) DestroyCordSlow(); in ~Cord()
718 bool is_tree() const { return data_[kMaxInline] > kMaxInline; } in is_tree() function
894 if (!is_tree() && !src.is_tree()) {
904 if (is_tree()) {
924 return is_tree() ? nullptr : data_; in data()
928 if (is_tree()) { in tree()
949 bool was_tree = is_tree(); in set_tree()
959 ABSL_ASSERT(is_tree()); in replace_tree()
979 assert(!is_tree()); in CopyToArray()
1054 if (!contents_.is_tree() && !rhs.contents_.is_tree()) { in Compare()
[all …]
Dcord.cc625 if (is_tree()) { in AssignSlow()
631 if (is_tree()) { in ClearSlow()
871 if (!contents_.is_tree() && cur_size + src.size() <= InlineRep::kMaxInline) { in Prepend()
1464 if (!src.contents_.is_tree()) { in CopyCordToString()
1473 assert(contents_.is_tree()); in CopyToArraySlowPath()
/external/fonttools/Lib/fontTools/colorLib/
Dbuilder.py506 is_tree = len(layers) > MAX_PAINT_COLR_LAYER_COUNT
529 if not is_tree:
/external/python/setuptools/setuptools/command/
Deasy_install.py229 is_tree = os.path.isdir(path) and not os.path.islink(path)
230 remover = rmtree if is_tree else os.unlink
/external/angle/third_party/abseil-cpp/
Dsymbols_x86_dbg.def3182 ?is_tree@InlineData@cord_internal@absl@@QBE_NXZ
3183 ?is_tree@InlineRep@Cord@absl@@QBE_NXZ
Dsymbols_x64_dbg.def3188 ?is_tree@InlineData@cord_internal@absl@@QEBA_NXZ
3189 ?is_tree@InlineRep@Cord@absl@@QEBA_NXZ
Dsymbols_arm64_dbg.def3190 ?is_tree@InlineData@cord_internal@absl@@QEBA_NXZ
3191 ?is_tree@InlineRep@Cord@absl@@QEBA_NXZ