Home
last modified time | relevance | path

Searched refs:evaluate (Results 1 – 25 of 288) sorted by relevance

12345678910>>...12

/external/v8/test/mjsunit/
Ddebug-evaluate-closure.js37 assertEquals("goo", exec_state.frame(0).evaluate("goo").value());
38 exec_state.frame(0).evaluate("goo = 'goo foo'");
39 assertEquals("bar return", exec_state.frame(0).evaluate("bar()").value());
40 assertEquals("inner bar", exec_state.frame(0).evaluate("inner").value());
41 assertEquals("outer bar", exec_state.frame(0).evaluate("outer").value());
42 assertEquals("baz inner", exec_state.frame(0).evaluate("baz").value());
43 assertEquals("baz outer", exec_state.frame(1).evaluate("baz").value());
44 exec_state.frame(0).evaluate("w = 'w foo'");
45 exec_state.frame(0).evaluate("inner = 'inner foo'");
46 exec_state.frame(0).evaluate("outer = 'outer foo'");
[all …]
Ddebug-evaluate-locals.js118 assertEquals(1, exec_state.frame(0).evaluate('a').value());
119 assertEquals(2, exec_state.frame(0).evaluate('b').value());
120 assertEquals(5, exec_state.frame(0).evaluate('eval').value());
121 assertEquals(3, exec_state.frame(1).evaluate('a').value());
122 assertEquals(4, exec_state.frame(1).evaluate('b').value());
124 typeof exec_state.frame(1).evaluate('eval').value());
125 assertEquals(5, exec_state.frame(2).evaluate('a').value());
126 assertEquals(6, exec_state.frame(2).evaluate('b').value());
128 typeof exec_state.frame(2).evaluate('eval').value());
130 exec_state.frame(0).evaluate('a = "foo"').value());
[all …]
Ddebug-evaluate-const.js78 var evaluate = function(something) { function
79 return frame.evaluate(something).value()
96 evaluate('const0 = 10');
97 evaluate('const2 = 12');
98 evaluate('const3 = 13');
99 evaluate('var0 = 30');
100 evaluate('var1 = 31');
Dregress-3225.js16 assertEquals(1, exec_state.frame(0).evaluate('a').value());
17 assertEquals(3, exec_state.frame(0).evaluate('b').value());
18 exec_state.frame(0).evaluate("a = 4").value();
21 assertEquals(4, exec_state.frame(0).evaluate('a').value());
22 assertEquals(3, exec_state.frame(0).evaluate('b').value());
23 exec_state.frame(0).evaluate("b = 5").value();
Ddebug-evaluate-with.js45 assertEquals(2, exec_state.frame(0).evaluate('a').value());
46 assertEquals(2, exec_state.frame(0).evaluate('b').value());
49 assertEquals(3, exec_state.frame(0).evaluate('a').value());
50 assertEquals(1, exec_state.frame(0).evaluate('b').value());
53 assertEquals('local', exec_state.frame(0).evaluate('foo').value());
Ddebug-evaluate-recursive.js77 assertEquals(1, exec_state.frame(0).evaluate('f()', true).value());
78 assertEquals(2, exec_state.frame(0).evaluate('g()', true).value());
117 assertEquals(1, exec_state.frame(0).evaluate('f()', false).value());
123 assertEquals(1, exec_state.frame(0).evaluate('f()', true).value());
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/
DStatUtils.java91 return SUM.evaluate(values); in sum()
110 return SUM.evaluate(values, begin, length); in sum()
125 return SUM_OF_SQUARES.evaluate(values); in sumSq()
144 return SUM_OF_SQUARES.evaluate(values, begin, length); in sumSq()
158 return PRODUCT.evaluate(values); in product()
177 return PRODUCT.evaluate(values, begin, length); in product()
195 return SUM_OF_LOGS.evaluate(values); in sumLog()
218 return SUM_OF_LOGS.evaluate(values, begin, length); in sumLog()
235 return MEAN.evaluate(values); in mean()
257 return MEAN.evaluate(values, begin, length); in mean()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/moment/
DSemiVariance.java178 public double evaluate(final double[] values) { in evaluate() method in SemiVariance
182 return evaluate(values, 0, values.length); in evaluate()
201 public double evaluate(final double[] values, final int start, final int length) { in evaluate() method in SemiVariance
202 double m = (new Mean()).evaluate(values, start, length); in evaluate()
203 return evaluate(values, m, varianceDirection, biasCorrected, 0, values.length); in evaluate()
217 public double evaluate(final double[] values, Direction direction) { in evaluate() method in SemiVariance
218 double m = (new Mean()).evaluate(values); in evaluate()
219 return evaluate (values, m, direction, biasCorrected, 0, values.length); in evaluate()
234 public double evaluate(final double[] values, final double cutoff) { in evaluate() method in SemiVariance
235 return evaluate(values, cutoff, varianceDirection, biasCorrected, 0, values.length); in evaluate()
[all …]
DVariance.java215 public double evaluate(final double[] values) { in evaluate() method in Variance
219 return evaluate(values, 0, values.length); in evaluate()
243 public double evaluate(final double[] values, final int begin, final int length) { in evaluate() method in Variance
253 double m = mean.evaluate(values, begin, length); in evaluate()
254 var = evaluate(values, m, begin, length); in evaluate()
302 public double evaluate(final double[] values, final double[] weights, in evaluate() method in Variance
313 double m = mean.evaluate(values, weights, begin, length); in evaluate()
314 var = evaluate(values, weights, m, begin, length); in evaluate()
358 public double evaluate(final double[] values, final double[] weights) { in evaluate() method in Variance
359 return evaluate(values, weights, 0, values.length); in evaluate()
[all …]
DStandardDeviation.java152 public double evaluate(final double[] values) { in evaluate() method in StandardDeviation
153 return FastMath.sqrt(variance.evaluate(values)); in evaluate()
175 public double evaluate(final double[] values, final int begin, final int length) { in evaluate() method in StandardDeviation
176 return FastMath.sqrt(variance.evaluate(values, begin, length)); in evaluate()
203 public double evaluate(final double[] values, final double mean, in evaluate() method in StandardDeviation
205 return FastMath.sqrt(variance.evaluate(values, mean, begin, length)); in evaluate()
229 public double evaluate(final double[] values, final double mean) { in evaluate() method in StandardDeviation
230 return FastMath.sqrt(variance.evaluate(values, mean)); in evaluate()
DMean.java154 public double evaluate(final double[] values,final int begin, final int length) { in evaluate() method in Mean
160 double xbar = sum.evaluate(values, begin, length) / sampleSize; in evaluate()
201 public double evaluate(final double[] values, final double[] weights, in evaluate() method in Mean
207 double sumw = sum.evaluate(weights,begin,length); in evaluate()
208 double xbarw = sum.evaluate(values, weights, begin, length) / sumw; in evaluate()
244 public double evaluate(final double[] values, final double[] weights) { in evaluate() method in Mean
245 return evaluate(values, weights, 0, values.length); in evaluate()
/external/deqp/framework/randomshaders/
DrsgExpression.hpp60 virtual void evaluate (ExecutionContext& ctx) = DE_NULL;
76 void evaluate (ExecutionContext& ctx);
117 void evaluate (ExecutionContext& ctx) { DE_UNREF(ctx); } in evaluate() function in rsg::FloatLiteral
135 void evaluate (ExecutionContext& ctx) { DE_UNREF(ctx); } in evaluate() function in rsg::IntLiteral
153 void evaluate (ExecutionContext& ctx) { DE_UNREF(ctx); } in evaluate() function in rsg::BoolLiteral
171 void evaluate (ExecutionContext& ctx);
196 void evaluate (ExecutionContext& ctx);
218 void evaluate (ExecutionContext& execCtx) { m_child->evaluate(execCtx); } in evaluate() function in rsg::ParenOp
237 void evaluate (ExecutionContext& execCtx);
259 void evaluate (ExecutionContext& execCtx);
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
DContinuedFraction.java74 public double evaluate(double x) throws MathException { in evaluate() method in ContinuedFraction
75 return evaluate(x, DEFAULT_EPSILON, Integer.MAX_VALUE); in evaluate()
85 public double evaluate(double x, double epsilon) throws MathException { in evaluate() method in ContinuedFraction
86 return evaluate(x, epsilon, Integer.MAX_VALUE); in evaluate()
96 public double evaluate(double x, int maxIterations) throws MathException { in evaluate() method in ContinuedFraction
97 return evaluate(x, DEFAULT_EPSILON, maxIterations); in evaluate()
126 public double evaluate(double x, double epsilon, int maxIterations) in evaluate() method in ContinuedFraction
/external/skia/src/core/
DSkBitmapFilter.h49 virtual float evaluate(float x) const = 0;
69 float filter_value = evaluate(fx); in precomputeTable()
82 float evaluate(float x) const override { in evaluate() function
105 float evaluate(float x) const override { in evaluate() function
118 float evaluate(float x) const override { in evaluate() function
130 float evaluate(float x) const override { in evaluate() function
141 float evaluate(float x) const override { in evaluate() function
161 float evaluate(float x) const override { in evaluate() function
/external/v8/test/mjsunit/regress/
Dregress-crbug-171715.js37 assertEquals(expected, exec_state.frame(frame_id).evaluate('v').value());
49 exec_state.frame(0).evaluate('arguments').value());
55 exec_state.frame(0).evaluate('arguments').value());
63 exec_state.frame(0).evaluate('arguments').value());
65 exec_state.frame(1).evaluate('arguments').value());
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/parser/
Dcalc.rb67 def evaluate( expression ) method in TestCalcParser
70 value = parser.evaluate
87 parser_value, errors = evaluate( expression )
93 val, errors = evaluate "6 - (2*1"
/external/jsilver/src/com/google/clearsilver/jsilver/interpreter/
DTemplateInterpreter.java110 Value value = expressionEvaluator.evaluate(node.getExpression()); in caseAVarCommand()
122 Value value = expressionEvaluator.evaluate(node.getExpression()); in caseAUvarCommand()
146 Value value = expressionEvaluator.evaluate(expression); in evaluateVariable()
210 Value value = expressionEvaluator.evaluate(node.getExpression()); in caseASetCommand()
244 Value value = expressionEvaluator.evaluate(node.getExpression()); in caseAIfCommand()
259 Value value = expressionEvaluator.evaluate(node.getExpression()); in caseAEscapeCommand()
276 Value value = expressionEvaluator.evaluate(node.getExpression()); in caseAAutoescapeCommand()
295 Value value = expressionEvaluator.evaluate(node.getExpression()); in caseAWithCommand()
317 int end = expressionEvaluator.evaluate(node.getExpression()).asNumber(); in caseALoopToCommand()
333 int start = expressionEvaluator.evaluate(node.getStart()).asNumber(); in caseALoopCommand()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/
DAbstractUnivariateStatistic.java91 public double evaluate() { in evaluate() method in AbstractUnivariateStatistic
92 return evaluate(storedData); in evaluate()
98 public double evaluate(final double[] values) { in evaluate() method in AbstractUnivariateStatistic
100 return evaluate(values, 0, values.length); in evaluate()
106 public abstract double evaluate(final double[] values, final int begin, final int length); in evaluate() method in AbstractUnivariateStatistic
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/rank/
DPercentile.java161 public double evaluate(final double p) { in evaluate() method in Percentile
162 return evaluate(getDataRef(), p); in evaluate()
191 public double evaluate(final double[] values, final double p) { in evaluate() method in Percentile
193 return evaluate(values, 0, values.length, p); in evaluate()
221 public double evaluate( final double[] values, final int start, final int length) { in evaluate() method in Percentile
222 return evaluate(values, start, length, quantile); in evaluate()
255 public double evaluate(final double[] values, final int begin, in evaluate() method in Percentile
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/summary/
DSum.java120 public double evaluate(final double[] values, final int begin, final int length) { in evaluate() method in Sum
158 public double evaluate(final double[] values, final double[] weights, in evaluate() method in Sum
192 public double evaluate(final double[] values, final double[] weights) { in evaluate() method in Sum
193 return evaluate(values, weights, 0, values.length); in evaluate()
DProduct.java121 public double evaluate(final double[] values, final int begin, final int length) { in evaluate() method in Product
160 public double evaluate(final double[] values, final double[] weights, in evaluate() method in Product
195 public double evaluate(final double[] values, final double[] weights) { in evaluate() method in Product
196 return evaluate(values, weights, 0, values.length); in evaluate()
/external/llvm/lib/TableGen/
DSetTheory.cpp32 ST.evaluate(Expr->arg_begin(), Expr->arg_end(), Elts, Loc); in apply()
44 ST.evaluate(*Expr->arg_begin(), Add, Loc); in apply()
45 ST.evaluate(Expr->arg_begin() + 1, Expr->arg_end(), Sub, Loc); in apply()
60 ST.evaluate(Expr->arg_begin()[0], S1, Loc); in apply()
61 ST.evaluate(Expr->arg_begin()[1], S2, Loc); in apply()
79 ST.evaluate(Expr->arg_begin()[0], Set, Loc); in apply()
155 ST.evaluate(Expr->getArg(i), Args[i], Loc); in apply()
237 ST.evaluate(Def->getValueInit(FieldName), Elts, Def->getLoc()); in expand()
272 void SetTheory::evaluate(Init *Expr, RecSet &Elts, ArrayRef<SMLoc> Loc) { in evaluate() function in SetTheory
283 return evaluate(LI->begin(), LI->end(), Elts, Loc); in evaluate()
/external/junit/src/org/junit/experimental/theories/
DTheories.java88 public void evaluate() throws Throwable { in evaluate() method in Theories.TheoryAnchor
131 public void evaluate() throws Throwable { in runWithCompleteAssignment()
133 statement.evaluate(); in runWithCompleteAssignment()
156 }.methodBlock(fTestMethod).evaluate(); in runWithCompleteAssignment()
163 public void evaluate() throws Throwable {
/external/llvm/include/llvm/TableGen/
DSetTheory.h124 void evaluate(Init *Expr, RecSet &Elts, ArrayRef<SMLoc> Loc);
128 void evaluate(Iter begin, Iter end, RecSet &Elts, ArrayRef<SMLoc> Loc) { in evaluate() function
130 evaluate(*begin++, Elts, Loc); in evaluate()
/external/apache-xml/src/main/java/org/apache/xpath/jaxp/
DXPathExpressionImpl.java165 public Object evaluate(Object item, QName returnType) in evaluate() method in XPathExpressionImpl
227 public String evaluate(Object item) in evaluate() method in XPathExpressionImpl
229 return (String)this.evaluate( item, XPathConstants.STRING ); in evaluate()
272 public Object evaluate(InputSource source, QName returnType) in evaluate() method in XPathExpressionImpl
323 public String evaluate(InputSource source) in evaluate() method in XPathExpressionImpl
325 return (String)this.evaluate( source, XPathConstants.STRING ); in evaluate()

12345678910>>...12