/external/clang/test/Sema/ |
warn-overlap.c | 11 if (x != 2 || x != 3) { } // expected-warning {{overlapping comparisons always evaluate to true}} 12 if (x > 2 || x < 3) { } // expected-warning {{overlapping comparisons always evaluate to true}} 16 if (x > 2 || x <= 2) { } // expected-warning {{overlapping comparisons always evaluate to true}} 17 if (x > 2 || x <= 3) { } // expected-warning {{overlapping comparisons always evaluate to true}} 20 if (x >= 2 || x < 2) { } // expected-warning {{overlapping comparisons always evaluate to true}} 21 if (x >= 2 || x < 3) { } // expected-warning {{overlapping comparisons always evaluate to true}} 23 if (x >= 2 || x <= 1) { } // expected-warning {{overlapping comparisons always evaluate to true}} 24 if (x >= 2 || x <= 2) { } // expected-warning {{overlapping comparisons always evaluate to true}} 25 if (x >= 2 || x <= 3) { } // expected-warning {{overlapping comparisons always evaluate to true}} 26 if (x >= 0 || x <= 0) { } // expected-warning {{overlapping comparisons always evaluate to true} [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/animation/ |
TimingFunctionTest.cpp | 219 EXPECT_EQ(0.2, linearTiming->evaluate(0.2, 0)); 220 EXPECT_EQ(0.6, linearTiming->evaluate(0.6, 0)); 221 EXPECT_EQ(-0.2, linearTiming->evaluate(-0.2, 0)); 222 EXPECT_EQ(1.6, linearTiming->evaluate(1.6, 0)); 229 EXPECT_NEAR(0.418, cubicEaseTiming->evaluate(0.25, tolerance), tolerance); 230 EXPECT_NEAR(0.805, cubicEaseTiming->evaluate(0.50, tolerance), tolerance); 231 EXPECT_NEAR(0.960, cubicEaseTiming->evaluate(0.75, tolerance), tolerance); 234 EXPECT_NEAR(0.093, cubicEaseInTiming->evaluate(0.25, tolerance), tolerance); 235 EXPECT_NEAR(0.305, cubicEaseInTiming->evaluate(0.50, tolerance), tolerance); 236 EXPECT_NEAR(0.620, cubicEaseInTiming->evaluate(0.75, tolerance), tolerance) [all...] |
/external/chromium_org/third_party/WebKit/ManualTests/inspector-wrappers/ |
inspector-evaluate.html | 5 document.evaluate = doAttack;
|
/external/chromium_org/v8/test/mjsunit/ |
regress-3225.js | 16 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();
|
debug-evaluate-closure.js | 36 assertEquals("goo", exec_state.frame(0).evaluate("goo").value()); 37 exec_state.frame(0).evaluate("goo = 'goo foo'"); 38 assertEquals("bar return", exec_state.frame(0).evaluate("bar()").value()); 39 assertEquals("inner bar", exec_state.frame(0).evaluate("inner").value()); 40 assertEquals("outer bar", exec_state.frame(0).evaluate("outer").value()); 41 assertEquals("baz inner", exec_state.frame(0).evaluate("baz").value()); 42 assertEquals("baz outer", exec_state.frame(1).evaluate("baz").value()); 43 exec_state.frame(0).evaluate("w = 'w foo'"); 44 exec_state.frame(0).evaluate("inner = 'inner foo'"); 45 exec_state.frame(0).evaluate("outer = 'outer foo'") [all...] |
debug-evaluate-const.js | 54 // TODO(yangguo): debug evaluate should not be able to alter 78 var evaluate = function(something) { 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');
|
/external/clang/test/SemaCXX/ |
warn-tautological-undefined-compare.cpp | 9 // expected-warning@-1{{reference cannot be bound to dereferenced null pointer in well-defined C++ code; comparison may be assumed to always evaluate to false}} 11 // expected-warning@-1{{reference cannot be bound to dereferenced null pointer in well-defined C++ code; comparison may be assumed to always evaluate to true}} 19 // expected-warning@-1{{'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false}} 21 // expected-warning@-1{{'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to true}} 27 // expected-warning@-1{{reference cannot be bound to dereferenced null pointer in well-defined C++ code; comparison may be assumed to always evaluate to false}} 29 // expected-warning@-1{{reference cannot be bound to dereferenced null pointer in well-defined C++ code; comparison may be assumed to always evaluate to true}} 49 // expected-warning@-1{{reference cannot be bound to dereferenced null pointer in well-defined C++ code; comparison may be assumed to always evaluate to false}} 51 // expected-warning@-1{{reference cannot be bound to dereferenced null pointer in well-defined C++ code; comparison may be assumed to always evaluate to false}} 54 // expected-warning@-1{{reference cannot be bound to dereferenced null pointer in well-defined C++ code; comparison may be assumed to always evaluate to true}} 56 // expected-warning@-1{{reference cannot be bound to dereferenced null pointer in well-defined C++ code; comparison may be assumed to always evaluate to true} [all...] |
warn-address.cpp | 10 if (foo) {} // expected-warning{{always evaluate to 'true'}} \ 12 if (arr) {} // expected-warning{{always evaluate to 'true'}} 13 if (&global) {} // expected-warning{{always evaluate to 'true'}}
|
warn-bool-conversion.cpp | 48 b = f1; // expected-warning {{address of function 'f1' will always evaluate to 'true'}} \ 50 if (f1) {} // expected-warning {{address of function 'f1' will always evaluate to 'true'}} \ 52 b = S::f2; // expected-warning {{address of function 'S::f2' will always evaluate to 'true'}} \ 54 if (S::f2) {} // expected-warning {{address of function 'S::f2' will always evaluate to 'true'}} \ 56 b = f5; // expected-warning {{address of function 'f5' will always evaluate to 'true'}} \ 59 b = f6; // expected-warning {{address of function 'f6' will always evaluate to 'true'}} \ 85 // expected-warning@-1{{address of array 'b' will always evaluate to 'true'}} 87 // expected-warning@-1{{address of array 'b' will always evaluate to 'true'}} 89 // expected-warning@-1{{address of array 'c.x' will always evaluate to 'true'}} 91 // expected-warning@-1{{address of array 'str' will always evaluate to 'true'} [all...] |
/external/chromium_org/third_party/WebKit/Source/core/xml/ |
XPathFunctions.cpp | 76 virtual Value evaluate() const OVERRIDE; 83 virtual Value evaluate() const OVERRIDE; 90 virtual Value evaluate() const OVERRIDE; 95 virtual Value evaluate() const OVERRIDE; 100 virtual Value evaluate() const OVERRIDE; 107 virtual Value evaluate() const OVERRIDE; 114 virtual Value evaluate() const OVERRIDE; 121 virtual Value evaluate() const OVERRIDE; 128 virtual Value evaluate() const OVERRIDE; 133 virtual Value evaluate() const OVERRIDE 307 Value FunLast::evaluate() const function in class:WebCore::XPath::FunLast 312 Value FunPosition::evaluate() const function in class:WebCore::XPath::FunPosition 317 Value FunId::evaluate() const function in class:WebCore::XPath::FunId 392 Value FunLocalName::evaluate() const function in class:WebCore::XPath::FunLocalName 406 Value FunNamespaceURI::evaluate() const function in class:WebCore::XPath::FunNamespaceURI 420 Value FunName::evaluate() const function in class:WebCore::XPath::FunName 434 Value FunCount::evaluate() const function in class:WebCore::XPath::FunCount 441 Value FunString::evaluate() const function in class:WebCore::XPath::FunString 448 Value FunConcat::evaluate() const function in class:WebCore::XPath::FunConcat 462 Value FunStartsWith::evaluate() const function in class:WebCore::XPath::FunStartsWith 473 Value FunContains::evaluate() const function in class:WebCore::XPath::FunContains 484 Value FunSubstringBefore::evaluate() const function in class:WebCore::XPath::FunSubstringBefore 500 Value FunSubstringAfter::evaluate() const function in class:WebCore::XPath::FunSubstringAfter 512 Value FunSubstring::evaluate() const function in class:WebCore::XPath::FunSubstring 543 Value FunStringLength::evaluate() const function in class:WebCore::XPath::FunStringLength 550 Value FunNormalizeSpace::evaluate() const function in class:WebCore::XPath::FunNormalizeSpace 561 Value FunTranslate::evaluate() const function in class:WebCore::XPath::FunTranslate 581 Value FunBoolean::evaluate() const function in class:WebCore::XPath::FunBoolean 586 Value FunNot::evaluate() const function in class:WebCore::XPath::FunNot 591 Value FunTrue::evaluate() const function in class:WebCore::XPath::FunTrue 596 Value FunLang::evaluate() const function in class:WebCore::XPath::FunLang 631 Value FunFalse::evaluate() const function in class:WebCore::XPath::FunFalse 636 Value FunNumber::evaluate() const function in class:WebCore::XPath::FunNumber 643 Value FunSum::evaluate() const function in class:WebCore::XPath::FunSum 660 Value FunFloor::evaluate() const function in class:WebCore::XPath::FunFloor 665 Value FunCeiling::evaluate() const function in class:WebCore::XPath::FunCeiling 681 Value FunRound::evaluate() const function in class:WebCore::XPath::FunRound [all...] |
XPathPredicate.cpp | 51 Value Number::evaluate() const function in class:WebCore::XPath::Number 67 Value StringExpression::evaluate() const function in class:WebCore::XPath::StringExpression 72 Value Negative::evaluate() const function in class:WebCore::XPath::Negative 74 Value p(subExpr(0)->evaluate()); 85 Value NumericOp::evaluate() const function in class:WebCore::XPath::NumericOp 87 Value lhs(subExpr(0)->evaluate()); 88 Value rhs(subExpr(1)->evaluate()); 219 Value EqTestOp::evaluate() const function in class:WebCore::XPath::EqTestOp 221 Value lhs(subExpr(0)->evaluate()); 222 Value rhs(subExpr(1)->evaluate()); 239 Value LogicalOp::evaluate() const function in class:WebCore::XPath::LogicalOp 252 Value Union::evaluate() const function in class:WebCore::XPath::Union 289 bool Predicate::evaluate() const function in class:WebCore::XPath::Predicate [all...] |
XPathPredicate.h | 43 virtual Value evaluate() const OVERRIDE; 55 virtual Value evaluate() const OVERRIDE; 63 virtual Value evaluate() const OVERRIDE; 75 virtual Value evaluate() const OVERRIDE; 85 virtual Value evaluate() const OVERRIDE; 102 virtual Value evaluate() const OVERRIDE; 109 virtual Value evaluate() const OVERRIDE; 120 bool evaluate() const;
|
/external/chromium_org/sandbox/win/src/ |
policy_opcodes_unittest.cc | 89 EXPECT_EQ(EVAL_FALSE, op1->Evaluate(&ppb1, 1, NULL)); 94 EXPECT_EQ(EVAL_TRUE, op2->Evaluate(&ppb1, 1, NULL)); 97 EXPECT_EQ(EVAL_ERROR, op2->Evaluate(NULL, 0, NULL)); 98 EXPECT_EQ(EVAL_ERROR, op2->Evaluate(NULL, 1, NULL)); 101 EXPECT_EQ(EVAL_TRUE, op2->Evaluate(&ppb1, 0, NULL)); 102 EXPECT_EQ(EVAL_TRUE, op2->Evaluate(&ppb1, 1, NULL)); 108 EXPECT_EQ(EVAL_TRUE, op3->Evaluate(&ppb1, 1, NULL)); 110 EXPECT_EQ(EVAL_FALSE, op4->Evaluate(&ppb1, 1, NULL)); 117 EXPECT_EQ(EVAL_TRUE, op5->Evaluate(&ppb1, 1, &context)); 136 EXPECT_EQ(EVAL_FALSE, op->Evaluate(&ppb1, 1, NULL)) [all...] |
policy_low_level_unittest.cc | 74 result = pol_ev.Evaluate(kShortEval, eval_params, _countof(eval_params)); 79 result = pol_ev.Evaluate(kShortEval, eval_params, _countof(eval_params)); 107 result = pol_ev.Evaluate(kShortEval, eval_params, _countof(eval_params)); 111 result = pol_ev.Evaluate(kShortEval, eval_params, _countof(eval_params)); 116 result = pol_ev.Evaluate(kShortEval, eval_params, _countof(eval_params)); 145 result = pol_ev.Evaluate(kShortEval, eval_params, _countof(eval_params)); 149 result = pol_ev.Evaluate(kShortEval, eval_params, _countof(eval_params)); 178 result = pol_ev.Evaluate(kShortEval, eval_params, _countof(eval_params)); 182 result = pol_ev.Evaluate(kShortEval, eval_params, _countof(eval_params)); 187 result = pol_ev.Evaluate(kShortEval, eval_params, _countof(eval_params)) [all...] |
/external/chromium_org/third_party/WebKit/ManualTests/ |
inspector-document-methods-override.html | 2 overrides <tt>Document.evaluate</tt> or <tt>Document.querySelectorAll</tt> 13 document.evaluate = fail;
|
/external/junit/src/org/junit/internal/runners/statements/ |
RunBefores.java | 25 public void evaluate() throws Throwable { method in class:RunBefores 28 fNext.evaluate();
|
Fail.java | 14 public void evaluate() throws Throwable { method in class:Fail
|
ExpectException.java | 19 public void evaluate() throws Exception { method in class:ExpectException 22 fNext.evaluate();
|
RunAfters.java | 27 public void evaluate() throws Throwable { method in class:RunAfters 30 fNext.evaluate();
|
/external/junit/src/org/junit/rules/ |
RunRules.java | 17 public void evaluate() throws Throwable { method in class:RunRules 18 statement.evaluate();
|
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/irc/servlet/ |
util.js | 17 return document.evaluate(expression, node,
|
/external/junit/src/org/junit/runners/model/ |
Statement.java | 15 public abstract void evaluate() throws Throwable; method in class:Statement
|
/external/llvm/test/MC/MachO/ |
variable-errors.s | 7 // CHECK: unable to evaluate offset to undefined symbol 't0_b'
|
/external/chromium_org/third_party/skia/src/core/ |
SkBitmapFilter.h | 49 virtual float evaluate(float x) const = 0; 69 float filter_value = evaluate(fx); 82 virtual float evaluate(float x) const SK_OVERRIDE { 105 virtual float evaluate(float x) const SK_OVERRIDE { 118 virtual float evaluate(float x) const SK_OVERRIDE { 130 virtual float evaluate(float x) const SK_OVERRIDE { 141 virtual float evaluate(float x) const SK_OVERRIDE { 161 virtual float evaluate(float x) const SK_OVERRIDE {
|
/external/clang/test/Analysis/ |
builtin-functions.cpp | 17 // Clang can't actually evaluate these builtin "calls", but importantly they don't actually evaluate the argument expression either.
|