/external/clang/test/Sema/ |
PR2963-enum-constant.c | 16 SOME_VALUE= FLOAT_TO_SHORT_FIXED(0.1) // expected-warning{{expression is not an integer constant expression}}
|
switch-1.c | 8 case 2147483647 + 2: // expected-warning {{overflow in expression; result is -2147483647 with type 'int'}} 10 case 9223372036854775807L * 4: // expected-warning {{overflow in expression; result is -4 with type 'long'}} 12 case (123456 *789012) + 1: // expected-warning {{overflow in expression; result is -1375982336 with type 'int'}} 14 case (2147483647*4)/4: // expected-warning {{overflow in expression; result is -4 with type 'int'}} 15 case (2147483647*4)%4: // expected-warning {{overflow in expression; result is -4 with type 'int'}} 20 return (i, 65537) * 65537; // expected-warning {{overflow in expression; result is 131073 with type 'int'}} \ 21 // expected-warning {{expression result unused}} 25 unsigned long long l = 65536 * 65536; // expected-warning {{overflow in expression; result is 0 with type 'int'}}
|
outof-range-constant-compare.c | 9 if (a == 0x1234567812345678L) // expected-warning {{comparison of constant 1311768465173141112 with expression of type 'int' is always false}} 11 if (a != 0x1234567812345678L) // expected-warning {{comparison of constant 1311768465173141112 with expression of type 'int' is always true}} 13 if (a < 0x1234567812345678L) // expected-warning {{comparison of constant 1311768465173141112 with expression of type 'int' is always true}} 15 if (a <= 0x1234567812345678L) // expected-warning {{comparison of constant 1311768465173141112 with expression of type 'int' is always true}} 17 if (a > 0x1234567812345678L) // expected-warning {{comparison of constant 1311768465173141112 with expression of type 'int' is always false}} 19 if (a >= 0x1234567812345678L) // expected-warning {{comparison of constant 1311768465173141112 with expression of type 'int' is always false}} 22 if (0x1234567812345678L == a) // expected-warning {{comparison of constant 1311768465173141112 with expression of type 'int' is always false}} 24 if (0x1234567812345678L != a) // expected-warning {{comparison of constant 1311768465173141112 with expression of type 'int' is always true}} 26 if (0x1234567812345678L < a) // expected-warning {{comparison of constant 1311768465173141112 with expression of type 'int' is always false}} 28 if (0x1234567812345678L <= a) // expected-warning {{comparison of constant 1311768465173141112 with expression of type 'int' is always false} [all...] |
bool-compare.c | 8 if ((a > 2) > 1) {} // expected-warning {{comparison of constant 1 with boolean expression is always false}} 33 if (!a > 1) {} // expected-warning {{comparison of constant 1 with boolean expression is always false}} 34 if (!a > 2) {} // expected-warning {{comparison of constant 2 with boolean expression is always false}} 37 if (!a > -1) {} // expected-warning {{comparison of constant -1 with boolean expression is always true}} 39 if (!a < 0) {} // expected-warning {{comparison of constant 0 with boolean expression is always false}} 41 if (!a < 2) {} // expected-warning {{comparison of constant 2 with boolean expression is always true}} 44 if (!a < -1) {} // expected-warning {{comparison of constant -1 with boolean expression is always false}} 46 if (!a >= 0) {} // expected-warning {{comparison of constant 0 with boolean expression is always true}} 48 if (!a >= 2) {} // expected-warning {{comparison of constant 2 with boolean expression is always false}} 51 if (!a >= -1) {} // expected-warning {{comparison of constant -1 with boolean expression is always true} [all...] |
/external/clang/test/SemaCXX/ |
type-traits-incomplete.cpp | 6 __is_pod(S); // expected-error{{incomplete type 'S' used in type trait expression}} 7 __is_pod(S[]); // expected-error{{incomplete type 'S' used in type trait expression}}
|
/external/llvm/test/MC/ELF/ |
bracket.s | 4 // CHECK: error: expected ']' in brackets expression 7 // CHECK: error: expected ')' in parentheses expression
|
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/ |
JavaExpression.java | 25 * Represents a node of a Java expression. 39 protected JavaExpression cast(JavaExpression expression) { 40 if (expression.getType() == VAR_NAME) { 41 expression = expression.cast(DATA); 43 return call(Type.STRING, "asString", expression); 48 protected JavaExpression cast(JavaExpression expression) { 49 if (expression.getType() == VAR_NAME) { 50 expression = expression.cast(DATA) [all...] |
/external/clang/test/CXX/expr/expr.unary/expr.new/ |
p2-cxx0x.cpp | 13 new auto; // expected-error{{new expression for type 'auto' requires a constructor argument}} 14 new (const auto)(); // expected-error{{new expression for type 'const auto' requires a constructor argument}} 15 new (auto) (1,2,3); // expected-error{{new expression for type 'auto' contains multiple constructor arguments}} 16 new auto {1,2,3}; // expected-error{{new expression for type 'auto' cannot use list-initialization}} 17 new auto ({1,2,3}); // expected-error{{new expression for type 'auto' cannot use list-initialization}}
|
/external/mesa3d/src/glsl/tests/lower_jumps/ |
lower_breaks_6.opt_test | 16 ((if (expression bool > (var_ref a) (constant float (0.000000))) 17 ((if (expression bool > (var_ref ba) (constant float (0.000000))) 18 ((if (expression bool > (var_ref bb) (constant float (0.000000))) 22 (if (expression bool > (var_ref ca) (constant float (0.000000))) 23 ((if (expression bool > (var_ref cb) (constant float (0.000000)))
|
lower_breaks_6.opt_test.expected | 11 (if (expression bool > (var_ref a) (constant float (0.000000))) 12 ((if (expression bool > (var_ref ba) (constant float (0.000000))) 13 ((if (expression bool > (var_ref bb) (constant float (0.000000))) 18 ((if (expression bool > (var_ref ca) (constant float (0.000000))) 19 ((if (expression bool > (var_ref cb) (constant float (0.000000)))
|
lower_guarded_conditional_break.opt_test.expected | 9 (if (expression bool > (var_ref aa) (constant float (0.000000))) 10 ((if (expression bool > (var_ref ab) (constant float (0.000000))) 15 ((if (expression bool > (var_ref b) (constant float (0.000000)))
|
/ndk/sources/android/support/tests/minitest/ |
minitest.h | 53 // EXPECT_EQ(expected, expression) << "When checking 'foo'"; 57 // EXPECT_EQ(expected, expression); 267 #define EXPECT_TRUE(expression) \ 269 if (!(expression)) { \ 271 "EXPECT_TRUE:%s:%d: expression '%s' returned 'false', expected " \ 275 #expression); \ 280 #define EXPECT_FALSE(expression) \ 282 if (!!(expression)) { \ 284 "EXPECT_FALSE:%s:%d: expression '%s' returned 'true', expected " \ 288 #expression); \ [all...] |
/frameworks/compile/mclinker/lib/Script/ |
ScriptScanner.ll | 53 %s EXPRESSION 67 case ScriptFile::Expression: 101 <LDSCRIPT,EXPRESSION>"HIDDEN" { return token::HIDDEN; } 102 <LDSCRIPT,EXPRESSION>"PROVIDE" { return token::PROVIDE; } 103 <LDSCRIPT,EXPRESSION>"PROVIDE_HIDDEN" { return token::PROVIDE_HIDDEN; } 111 <EXPRESSION>"ABSOLUTE" { return token::ABSOLUTE; } 112 <EXPRESSION>"ADDR" { return token::ADDR; } 113 <LDSCRIPT,EXPRESSION>"ALIGN" { return token::ALIGN; } 114 <EXPRESSION>"ALIGNOF" { return token::ALIGNOF; } 115 <EXPRESSION>"BLOCK" { return token::BLOCK; [all...] |
/frameworks/data-binding/compilerCommon/ |
BindingExpression.g4 | 29 : expression defaults? 41 expression 42 : '(' expression ')' # Grouping 50 | expression '.' Identifier # DotOp 51 // | expression '.' 'this' # ThisReference 52 // | expression '.' explicitGenericInvocation # ExplicitGenericInvocationOp 53 | expression '[' expression ']' # BracketOp 54 | target=expression '.' methodName=Identifier '(' args=expressionList? ')' # MethodInvocation 55 | '(' type ')' expression # CastO [all...] |
/external/lldb/test/lang/objc/foundation/ |
main.m | 42 // expression (char *)sel_getName(_cmd) 59 // expression (char *)sel_getName(sel) 60 // The expression above should return "sel" as it should be just 76 // expression (char *)sel_getName(sel) 77 // expression [str length] 78 // expression [str_id length] 79 // expression [str description] 80 // expression [str_id description] 81 // expression str.length 82 // expression str.descriptio [all...] |
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/ |
t042ast.g | 34 : 'assert'^ x=expression (':'! y=expression)? ';'! 38 : 'if'^ expression s1=statement ('else'! s2=statement)? 42 : 'while'^ expression statement 46 : 'return'^ expression? ';'! 70 : expression -> ^(EXPR expression) 83 : expression? statement* type+ 84 -> ^(EXPR expression? statement* type+) 96 : 'for' '(' start=statement ';' expression ';' next=statement ')' statemen [all...] |
/external/antlr/antlr-3.4/runtime/Python/tests/ |
t042ast.g | 28 : 'assert'^ x=expression (':'! y=expression)? ';'! 32 : 'if'^ expression s1=statement ('else'! s2=statement)? 36 : 'while'^ expression statement 40 : 'return'^ expression? ';'! 64 : expression -> ^(EXPR expression) 77 : expression? statement* type+ 78 -> ^(EXPR expression? statement* type+) 90 : 'for' '(' start=statement ';' expression ';' next=statement ')' statemen [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/ |
ExpressionOwner.java | 24 * Classes that implement this interface own an expression, which 30 * Get the raw Expression object that this class wraps. 32 * @return the raw Expression object, which should not normally be null. 34 public Expression getExpression(); 37 * Set the raw expression object for this object. 39 * @param exp the raw Expression object, which should not normally be null. 41 public void setExpression(Expression exp);
|
/external/lldb/test/expression_command/test/ |
TestExprs2.py | 2 Test some more expression commands. 24 """Test some more expression commands.""" 34 self.expect("expression (int*)argv", 39 self.expect("expression ((char**)environ)[0]", 43 # Do return values containing the contents of expression locals work? 44 self.expect("expression int i = 5; i", 47 self.expect("expression $2 + 1", 52 self.expect("expression 20 + 3", 55 self.expect("expression $4 + 1",
|
/external/clang/test/SemaObjC/ |
NSString-type.m | 5 void (^block)(void) = @"help"; // expected-error {{initializing 'void (^)(void)' with an expression of incompatible type 'NSString *'}} 7 void (^block2)(void) = @"help"; // expected-error {{initializing 'void (^)(void)' with an expression of incompatible type 'NSString *'}} 8 void (^block3)(void) = @"help"; // expected-error {{initializing 'void (^)(void)' with an expression of incompatible type 'NSString *'}}
|
property-not-lvalue.m | 18 f.size.width = 2.2; // expected-error {{expression is not assignable}} 19 f.size.inner.dim = 200; // expected-error {{expression is not assignable}} 31 self.size.width = 2.2; // expected-error {{expression is not assignable}}
|
/external/llvm/test/MC/AArch64/ |
inst-directive-diagnostic.s | 10 // CHECK-ERROR: expected expression following directive 13 // CHECK-ERROR: expected expression 16 // CHECK-ERROR: expected constant expression
|
/external/llvm/test/MC/AsmParser/ |
if-diagnostics.s | 6 // CHECK: error: unknown token in expression 20 // CHECK: error: expected absolute expression 27 // CHECK: error: expected absolute expression
|
/external/mesa3d/src/glsl/builtins/ir/ |
matrixCompMult.ir | 7 (assign (xy) (array_ref (var_ref z) (constant int (0))) (expression vec2 * (array_ref (var_ref x) (constant int (0))) (array_ref (var_ref y) (constant int (0))))) 8 (assign (xy) (array_ref (var_ref z) (constant int (1))) (expression vec2 * (array_ref (var_ref x) (constant int (1))) (array_ref (var_ref y) (constant int (1))))) 16 (assign (xyz) (array_ref (var_ref z) (constant int (0))) (expression vec3 * (array_ref (var_ref x) (constant int (0))) (array_ref (var_ref y) (constant int (0))))) 17 (assign (xyz) (array_ref (var_ref z) (constant int (1))) (expression vec3 * (array_ref (var_ref x) (constant int (1))) (array_ref (var_ref y) (constant int (1))))) 18 (assign (xyz) (array_ref (var_ref z) (constant int (2))) (expression vec3 * (array_ref (var_ref x) (constant int (2))) (array_ref (var_ref y) (constant int (2))))) 26 (assign (xyzw) (array_ref (var_ref z) (constant int (0))) (expression vec4 * (array_ref (var_ref x) (constant int (0))) (array_ref (var_ref y) (constant int (0))))) 27 (assign (xyzw) (array_ref (var_ref z) (constant int (1))) (expression vec4 * (array_ref (var_ref x) (constant int (1))) (array_ref (var_ref y) (constant int (1))))) 28 (assign (xyzw) (array_ref (var_ref z) (constant int (2))) (expression vec4 * (array_ref (var_ref x) (constant int (2))) (array_ref (var_ref y) (constant int (2))))) 29 (assign (xyzw) (array_ref (var_ref z) (constant int (3))) (expression vec4 * (array_ref (var_ref x) (constant int (3))) (array_ref (var_ref y) (constant int (3))))) 37 (assign (xyz) (array_ref (var_ref z) (constant int (0))) (expression vec3 * (array_ref (var_ref x) (constant int (0))) (array_ref (var_ref y) (constant int (0)))) [all...] |
/external/libxml2/result/XPath/expr/ |
strings | 3 Expression: string(5) 7 Expression: string(0.5) 11 Expression: string(-0.5) 15 Expression: string(true()) 19 Expression: string(false()) 23 Expression: concat("titi","toto") 27 Expression: concat("titi","toto","tata") 31 Expression: concat("titi",'toto') 35 Expression: concat("titi",'toto',"tata","last") 39 Expression: starts-with("tititoto","titi" [all...] |