Searched refs:expr (Results 1 - 25 of 527) sorted by relevance

1234567891011>>

/external/libsepol/src/
H A Dconstraint.c28 int constraint_expr_init(constraint_expr_t * expr) argument
30 memset(expr, 0, sizeof(*expr));
31 ebitmap_init(&expr->names);
32 if ((expr->type_names = malloc(sizeof(*expr->type_names))) == NULL) {
35 type_set_init(expr->type_names);
39 void constraint_expr_destroy(constraint_expr_t * expr) argument
41 if (expr != NULL) {
42 ebitmap_destroy(&expr
[all...]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/BuildOptions/
H A DDebugGrammar.g353 stat: expr NEWLINE -> expr
54 | ID '=' expr NEWLINE -> ^('=' ID expr)
59 func: ID '(' formalPar ')' '=' expr -> ^(FUNC ID formalPar expr)
72 // START:expr
73 expr: multExpr (('+'^|'-'^) multExpr)*
82 | '(' expr ')' -> expr
[all...]
H A DProfileGrammar.g353 stat: expr NEWLINE -> expr
54 | ID '=' expr NEWLINE -> ^('=' ID expr)
59 func: ID '(' formalPar ')' '=' expr -> ^(FUNC ID formalPar expr)
72 // START:expr
73 expr: multExpr (('+'^|'-'^) multExpr)*
82 | '(' expr ')' -> expr
[all...]
H A DDebugTreeGrammar.g356 stat: expr { string result = $expr.value.ToString();
57 Console.Out.WriteLine($expr.value + " (about " + result[0] + "*10^" + (result.Length-1) + ")");
59 | ^('=' ID expr) { globalMemory[$ID.text] = $expr.value; }
63 expr returns [BigInteger value]
64 : ^('+' a=expr b=expr) { $value = $a.value.add($b.value); }
65 | ^('-' a=expr b=expr) {
[all...]
H A DProfileTreeGrammar.g356 stat: expr { string result = $expr.value.ToString();
57 Console.Out.WriteLine($expr.value + " (about " + result[0] + "*10^" + (result.Length-1) + ")");
59 | ^('=' ID expr) { globalMemory[$ID.text] = $expr.value; }
63 expr returns [BigInteger value]
64 : ^('+' a=expr b=expr) { $value = $a.value.add($b.value); }
65 | ^('-' a=expr b=expr) {
[all...]
/external/chromium/sdch/open-vcdiff/src/
H A Dcompile_assert.h45 #define COMPILE_ASSERT(expr, msg) \
46 typedef CompileAssert<static_cast<bool>(expr)> \
47 msg[static_cast<bool>(expr) ? 1 : -1]
56 // #define COMPILE_ASSERT(expr, msg) typedef char msg[(expr) ? 1 : -1]
67 // - By using the type CompileAssert<(static_cast<bool>(expr))>, we ensure that
68 // expr is a compile-time constant. (Template arguments must be
71 // - The array size is (static_cast<bool>(expr) ? 1 : -1), instead of simply
73 // ((expr) ? 1 : -1).
/external/clang/test/Analysis/
H A Dbitwise-ops.c4 #define CHECK(expr) if (!(expr)) return; clang_analyzer_eval(expr)
/external/open-vcdiff/src/
H A Dcompile_assert.h49 #define VCD_COMPILE_ASSERT(expr, msg) \
50 typedef open_vcdiff::CompileAssert<static_cast<bool>(expr)> \
51 msg[static_cast<bool>(expr) ? 1 : -1]
60 // #define VCD_COMPILE_ASSERT(expr, msg) typedef char msg[(expr) ? 1 : -1]
71 // - By using the type CompileAssert<(static_cast<bool>(expr))>, we ensure that
72 // expr is a compile-time constant. (Template arguments must be
75 // - The array size is (static_cast<bool>(expr) ? 1 : -1), instead of simply
77 // ((expr) ? 1 : -1).
/external/clang/test/Sema/
H A Dconst-eval-64.c4 #define EVAL_EXPR(testno, expr) int test##testno = sizeof(struct{char qq[expr];});
H A Di-c-e.c9 int expr; variable
10 char w[__builtin_constant_p(expr) ? expr : 1];
24 expr // expected-error {{expression is not an integer constant expression}}
52 int expr; variable
53 char y[__builtin_constant_p(expr) ? -1 : 1];
63 char pbcp[__builtin_constant_p(4) ? (intptr_t)&expr : 0]; // expected-error {{variable length array declaration not allowed at file scope}}
73 int chooseexpr[__builtin_choose_expr(1, 1, expr)];
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/
H A Dast.ml5 (* expr - Base type for all expression nodes. *)
6 type expr = type
14 | Unary of char * expr
17 | Binary of char * expr * expr
20 | Call of string * expr array
23 | If of expr * expr * expr
26 | For of string * expr * exp
[all...]
/external/javassist/src/main/javassist/compiler/ast/
H A DInstanceOfExpr.java24 public InstanceOfExpr(ASTList className, int dim, ASTree expr) { argument
25 super(className, dim, expr);
28 public InstanceOfExpr(int type, int dim, ASTree expr) { argument
29 super(type, dim, expr);
/external/clang/test/Parser/
H A Dbuiltin_types_compatible.c9 #define func(expr) \
11 typeof(expr) tmp; \
12 if (__builtin_types_compatible_p(typeof(expr), int)) funcInt(tmp); \
13 else if (__builtin_types_compatible_p(typeof(expr), float)) funcFloat(tmp); \
14 else if (__builtin_types_compatible_p(typeof(expr), double)) funcDouble(tmp); \
16 #define func_choose(expr) \
17 __builtin_choose_expr(__builtin_types_compatible_p(typeof(expr), int), funcInt(expr), \
18 __builtin_choose_expr(__builtin_types_compatible_p(typeof(expr), float), funcFloat(expr), \
[all...]
/external/javassist/src/main/javassist/compiler/
H A DNoFieldException.java22 private ASTree expr; field in class:NoFieldException
29 expr = e;
38 public ASTree getExpr() { return expr; }
H A DTypeChecker.java141 public void atNewExpr(NewExpr expr) throws CompileError { argument
142 if (expr.isArray())
143 atNewArrayExpr(expr);
145 CtClass clazz = resolver.lookupClassByName(expr.getClassName());
147 ASTList args = expr.getArguments();
155 public void atNewArrayExpr(NewExpr expr) throws CompileError { argument
156 int type = expr.getArrayType();
157 ASTList size = expr.getArraySize();
158 ASTList classname = expr.getClassName();
159 ASTree init = expr
211 atAssignExpr(AssignExpr expr) argument
237 atVariableAssign(Expr expr, int op, Variable var, Declarator d, ASTree right) argument
254 atArrayAssign(Expr expr, int op, Expr array, ASTree right) argument
267 atFieldAssign(Expr expr, int op, ASTree left, ASTree right) argument
281 atCondExpr(CondExpr expr) argument
304 atBinExpr(BinExpr expr) argument
344 atPlusExpr(BinExpr expr) argument
392 isConstant(BinExpr expr, int op, ASTree left, ASTree right) argument
419 stripPlusExpr(ASTree expr) argument
479 isPlusExpr(ASTree expr) argument
494 computeBinExprType(BinExpr expr, int token, int type1) argument
508 booleanExpr(ASTree expr) argument
535 insertCast(BinExpr expr, int type1, int type2) argument
544 atCastExpr(CastExpr expr) argument
552 atInstanceOfExpr(InstanceOfExpr expr) argument
558 atExpr(Expr expr) argument
597 isConstant(Expr expr, int op, ASTree oprand) argument
625 atCallExpr(CallExpr expr) argument
769 atFieldRead(ASTree expr) argument
799 fieldAccess(ASTree expr) argument
887 atClassObject(Expr expr) argument
893 atArrayLength(Expr expr) argument
912 atPlusPlus(int token, ASTree oprand, Expr expr) argument
[all...]
/external/v8/test/mjsunit/compiler/
H A Dregress-closures-with-eval.js31 function withEval(expr, filter) {
40 var o = eval(expr);
50 var expr = '([' + makeTagInfoJSON(128).join(', ') + '])'
53 withEval(expr, function(a) { return a; });
56 withEval(expr, function(a) { return a; })
/external/webkit/LayoutTests/fast/xpath/
H A Dxpath-test-pre.js17 function test(doc, context, expr, expected, nsResolver)
23 var result = doc.evaluate(expr, context, nsResolver, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null);
24 checkSnapshot(expr, result, expected);
26 var result = doc.evaluate(expr, context, nsResolver, XPathResult.ANY_TYPE, null);
29 testPassed(expr);
31 testFailed(expr + ": expected " + expected + ", actual " + result.numberValue);
34 testPassed(expr);
36 testFailed(expr + ": expected '" + expected + "', actual '" + result.stringValue + "'");
39 testPassed(expr);
41 testFailed(expr
[all...]
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/
H A Dast.ml5 (* expr - Base type for all expression nodes. *)
6 type expr = type
14 | Unary of char * expr
17 | Binary of char * expr * expr
20 | Call of string * expr array
23 | If of expr * expr * expr
26 | For of string * expr * exp
[all...]
/external/valgrind/main/include/
H A Dpub_tool_libcassert.h34 #define tl_assert(expr) \
35 ((void) (LIKELY(expr) ? 0 : \
36 (VG_(assert_fail) (/*isCore?*/False, (const Char*)#expr, \
42 #define tl_assert2(expr, format, args...) \
43 ((void) (LIKELY(expr) ? 0 : \
44 (VG_(assert_fail) (/*isCore?*/False, (const Char*)#expr, \
58 extern void VG_(assert_fail) ( Bool isCore, const Char* expr, const Char* file,
/external/llvm/examples/OCaml-Kaleidoscope/Chapter5/
H A Dast.ml5 (* expr - Base type for all expression nodes. *)
6 type expr = type
14 | Binary of char * expr * expr
17 | Call of string * expr array
20 | If of expr * expr * expr
23 | For of string * expr * expr * exp
[all...]
/external/valgrind/main/coregrind/
H A Dpub_core_libcassert.h49 #define vg_assert(expr) \
50 ((void) (LIKELY(expr) ? 0 : \
51 (VG_(assert_fail) (/*isCore*/True, #expr, \
56 #define vg_assert2(expr, format, args...) \
57 ((void) (LIKELY(expr) ? 0 : \
58 (VG_(assert_fail) (/*isCore*/True, #expr, \
/external/linux-tools-perf/scripts/perl/bin/
H A Dfailed-syscalls-report5 if ! expr match "$1" "-" > /dev/null ; then
/external/linux-tools-perf/scripts/python/bin/
H A Dsyscall-counts-report5 if ! expr match "$1" "-" > /dev/null ; then
/external/valgrind/main/gdbserver_tests/
H A Dinvoker16 i=`expr $i + 1`
/external/llvm/examples/OCaml-Kaleidoscope/Chapter2/
H A Dast.ml5 (* expr - Base type for all expression nodes. *)
6 type expr = type
14 | Binary of char * expr * expr
17 | Call of string * expr array
25 type func = Function of proto * expr

Completed in 424 milliseconds

1234567891011>>