Lines Matching refs:new
26 var DeltaBlue = new BenchmarkSuite('DeltaBlue', 66118, [
27 new Benchmark('DeltaBlue', deltaBlue)
52 this.prototype = new Inheriter();
57 this.elms = new Array();
97 * New strengths may be inserted in the strength hierarchy without
134 Strength.REQUIRED = new Strength(0, "required");
135 Strength.STRONG_PREFERRED = new Strength(1, "strongPreferred");
136 Strength.PREFERRED = new Strength(2, "preferred");
137 Strength.STRONG_DEFAULT = new Strength(3, "strongDefault");
138 Strength.NORMAL = new Strength(4, "normal");
139 Strength.WEAK_DEFAULT = new Strength(5, "weakDefault");
140 Strength.WEAKEST = new Strength(6, "weakest");
332 var Direction = new Object();
539 this.constraints = new OrderedCollection();
650 var plan = new Plan();
668 var sources = new OrderedCollection();
692 var todo = new OrderedCollection();
716 var unsatisfied = new OrderedCollection();
717 var todo = new OrderedCollection();
758 this.v = new OrderedCollection();
798 planner = new Planner();
804 var v = new Variable(name);
806 new EqualityConstraint(prev, v, Strength.REQUIRED);
812 new StayConstraint(last, Strength.STRONG_DEFAULT);
813 var edit = new EditConstraint(first, Strength.PREFERRED);
814 var edits = new OrderedCollection();
832 planner = new Planner();
833 var scale = new Variable("scale", 10);
834 var offset = new Variable("offset", 1000);
837 var dests = new OrderedCollection();
839 src = new Variable("src" + i, i);
840 dst = new Variable("dst" + i, i);
842 new StayConstraint(src, Strength.NORMAL);
843 new ScaleConstraint(src, scale, offset, dst, Strength.REQUIRED);
863 var edit = new EditConstraint(v, Strength.PREFERRED);
864 var edits = new OrderedCollection();