709 {
712 return false;
713 }
714
715 if (!fTreeHead.
fChild[1]) {
719 return false;
720 }
722 return true;
723 }
724
725
731 int last = 0;
732
735
736
737 while (true) {
738 if (!curr) {
739
740 if ((pred && pred->
intersect(p0, v, index0, index1)) ||
741 (succ && succ->
intersect(p0, v, index0, index1))) {
742 return false;
743 }
744
745 parent->
fChild[
dir] = curr = this->allocate(p0, v, index0, index1);
747 if (!curr) {
748 return false;
749 }
752 if (pred) {
755 return false;
756 }
758 }
759 if (succ) {
762 return false;
763 }
765 }
766 if (IsRed(parent)) {
767 int dir2 = (top->
fChild[1] == grandparent);
768 if (curr == parent->
fChild[last]) {
769 top->
fChild[dir2] = SingleRotation(grandparent, !last);
770 } else {
771 top->
fChild[dir2] = DoubleRotation(grandparent, !last);
772 }
773 }
774 break;
775 }
else if (IsRed(curr->
fChild[0]) && IsRed(curr->
fChild[1])) {
776
780 if (IsRed(parent)) {
781 int dir2 = (top->
fChild[1] == grandparent);
782 if (curr == parent->
fChild[last]) {
783 top->
fChild[dir2] = SingleRotation(grandparent, !last);
784 } else {
785 top->
fChild[dir2] = DoubleRotation(grandparent, !last);
786 }
787 }
788 }
789
792
795 } else {
797 }
799 return false;
800 }
802
804 succ = curr;
805 } else {
806 pred = curr;
807 }
808
809
810 if (grandparent) {
811 top = grandparent;
812 }
813 grandparent = parent;
814 parent = curr;
816 }
817
818
820
822
823 return true;
824 }
static int side(double x)
static int compute_side(const SkPoint &p0, const SkVector &v, const SkPoint &p)
SkDEBUGCODE(SK_SPI) SkThreadID SkGetThreadID()
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir Path to the cache directory This is different from the persistent_cache_path in embedder which is used for Skia shader cache icu native lib Path to the library file that exports the ICU data vm service The hostname IP address on which the Dart VM Service should be served If not defaults to or::depending on whether ipv6 is specified vm service A custom Dart VM Service port The default is to pick a randomly available open port disable vm Disable the Dart VM Service The Dart VM Service is never available in release mode disable vm service Disable mDNS Dart VM Service publication Bind to the IPv6 localhost address for the Dart VM Service Ignored if vm service host is set endless trace Enable an endless trace buffer The default is a ring buffer This is useful when very old events need to viewed For during application launch Memory usage will continue to grow indefinitely however Start app with an specific route defined on the framework flutter assets dir
bool intersect(const SkPoint &q0, const SkVector &w, uint16_t index0, uint16_t index1) const