Home
last modified time | relevance | path

Searched refs:expr (Results 1 – 25 of 1244) sorted by relevance

12345678910>>...50

/external/google-breakpad/src/third_party/curl/
Dtypecheck-gcc.h309 #define _curl_is_any_ptr(expr) \ argument
310 (sizeof(expr) == sizeof(void*))
314 #define _curl_is_NULL(expr) \ argument
315 (__builtin_types_compatible_p(__typeof__(expr), __typeof__(NULL)))
318 #define _curl_is_ptr(expr, type) \ argument
319 (_curl_is_NULL(expr) || \
320 __builtin_types_compatible_p(__typeof__(expr), type *) || \
321 __builtin_types_compatible_p(__typeof__(expr), const type *))
324 #define _curl_is_arr(expr, type) \ argument
325 (_curl_is_ptr((expr), type) || \
[all …]
/external/curl/include/curl/
Dtypecheck-gcc.h366 #define _curl_is_any_ptr(expr) \ argument
367 (sizeof(expr) == sizeof(void *))
371 #define _curl_is_NULL(expr) \ argument
372 (__builtin_types_compatible_p(__typeof__(expr), __typeof__(NULL)))
375 #define _curl_is_ptr(expr, type) \ argument
376 (_curl_is_NULL(expr) || \
377 __builtin_types_compatible_p(__typeof__(expr), type *) || \
378 __builtin_types_compatible_p(__typeof__(expr), const type *))
381 #define _curl_is_arr(expr, type) \ argument
382 (_curl_is_ptr((expr), type) || \
[all …]
/external/python/cpython2/Parser/
DPython.asdl7 | Expression(expr body)
13 stmt* body, expr* decorator_list)
14 | ClassDef(identifier name, expr* bases, stmt* body, expr* decorator_list)
15 | Return(expr? value)
17 | Delete(expr* targets)
18 | Assign(expr* targets, expr value)
19 | AugAssign(expr target, operator op, expr value)
22 | Print(expr? dest, expr* values, bool nl)
25 | For(expr target, expr iter, stmt* body, stmt* orelse)
26 | While(expr test, stmt* body, stmt* orelse)
[all …]
/external/toybox/kconfig/
Dexpr.h39 struct expr *expr; member
43 struct expr { struct
53 struct expr *expr; member
81 struct expr *dep, *dep2;
119 struct expr *expr; member
140 struct expr *dep;
161 struct expr *expr_alloc_symbol(struct symbol *sym);
162 struct expr *expr_alloc_one(enum expr_type type, struct expr *ce);
163 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2);
164 struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2);
[all …]
Dexpr.c15 struct expr *expr_alloc_symbol(struct symbol *sym) in expr_alloc_symbol()
17 struct expr *e = malloc(sizeof(*e)); in expr_alloc_symbol()
24 struct expr *expr_alloc_one(enum expr_type type, struct expr *ce) in expr_alloc_one()
26 struct expr *e = malloc(sizeof(*e)); in expr_alloc_one()
29 e->left.expr = ce; in expr_alloc_one()
33 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2) in expr_alloc_two()
35 struct expr *e = malloc(sizeof(*e)); in expr_alloc_two()
38 e->left.expr = e1; in expr_alloc_two()
39 e->right.expr = e2; in expr_alloc_two()
43 struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2) in expr_alloc_comp()
[all …]
/external/v8/src/crankshaft/
Dtyping.cc338 void AstTyper::VisitFunctionLiteral(FunctionLiteral* expr) {} in VisitFunctionLiteral() argument
341 void AstTyper::VisitClassLiteral(ClassLiteral* expr) {} in VisitClassLiteral() argument
344 void AstTyper::VisitNativeFunctionLiteral(NativeFunctionLiteral* expr) { in VisitNativeFunctionLiteral() argument
348 void AstTyper::VisitDoExpression(DoExpression* expr) { in VisitDoExpression() argument
349 RECURSE(VisitBlock(expr->block())); in VisitDoExpression()
350 RECURSE(VisitVariableProxy(expr->result())); in VisitDoExpression()
351 NarrowType(expr, bounds_->get(expr->result())); in VisitDoExpression()
355 void AstTyper::VisitConditional(Conditional* expr) { in VisitConditional() argument
357 expr->condition()->RecordToBooleanTypeFeedback(oracle()); in VisitConditional()
359 RECURSE(Visit(expr->condition())); in VisitConditional()
[all …]
/external/v8/src/ast/
Dast-traversal-visitor.h287 FunctionLiteral* expr) { in VisitFunctionLiteral() argument
288 PROCESS_EXPRESSION(expr); in VisitFunctionLiteral()
289 DeclarationScope* scope = expr->scope(); in VisitFunctionLiteral()
292 if (expr->scope()->was_lazily_parsed()) return; in VisitFunctionLiteral()
293 RECURSE_EXPRESSION(VisitStatements(expr->body())); in VisitFunctionLiteral()
298 NativeFunctionLiteral* expr) { in VisitNativeFunctionLiteral() argument
299 PROCESS_EXPRESSION(expr); in VisitNativeFunctionLiteral()
303 void AstTraversalVisitor<Subclass>::VisitDoExpression(DoExpression* expr) { in VisitDoExpression() argument
304 PROCESS_EXPRESSION(expr); in VisitDoExpression()
305 RECURSE(VisitBlock(expr->block())); in VisitDoExpression()
[all …]
/external/mesa3d/src/compiler/glsl/
Dir_builder.cpp181 expr(ir_expression_operation op, operand a) in expr() function
189 expr(ir_expression_operation op, operand a, operand b) in expr() function
197 expr(ir_expression_operation op, operand a, operand b, operand c) in expr() function
206 return expr(ir_binop_add, a, b); in add()
211 return expr(ir_binop_sub, a, b); in sub()
216 return expr(ir_binop_min, a, b); in min2()
221 return expr(ir_binop_max, a, b); in max2()
226 return expr(ir_binop_mul, a, b); in mul()
231 return expr(ir_binop_imul_high, a, b); in imul_high()
236 return expr(ir_binop_div, a, b); in div()
[all …]
Ds_expression.cpp61 s_expression *expr = NULL; in read_atom() local
73 expr = new(ctx) s_float(INFINITY); in read_atom()
83 expr = new(ctx) s_float(f); in read_atom()
85 expr = new(ctx) s_int(i); in read_atom()
89 expr = new(ctx) s_symbol(symbol_buffer, n); in read_atom()
96 return expr; in read_atom()
112 s_expression *expr; in __read_expression() local
114 while ((expr = __read_expression(ctx, src, symbol_buffer)) != NULL) { in __read_expression()
115 list->subexpressions.push_tail(expr); in __read_expression()
166 foreach_in_list(s_expression, expr, &this->subexpressions) { in print()
[all …]
Dir_reader.cpp91 s_expression *expr = s_expression::read_expression(sx_mem_ctx, src); in read() local
92 if (expr == NULL) { in read()
98 scan_for_prototypes(instructions, expr); in read()
103 read_instructions(instructions, expr, NULL); in read()
111 ir_reader::ir_read_error(s_expression *expr, const char *fmt, ...) in ir_read_error() argument
127 if (expr != NULL) { in ir_read_error()
129 expr->print(); in ir_read_error()
135 ir_reader::read_type(s_expression *expr) in read_type() argument
141 if (MATCH(expr, pat)) { in read_type()
151 s_symbol *type_sym = SX_AS_SYMBOL(expr); in read_type()
[all …]
Dopt_rebalance_tree.cpp228 ir_expression *expr = ir->as_expression(); in is_reduction() local
229 if (!expr) in is_reduction()
236 if (expr->type->is_matrix() || in is_reduction()
237 expr->operands[0]->type->is_matrix() || in is_reduction()
238 (expr->operands[1] && expr->operands[1]->type->is_matrix())) { in is_reduction()
243 if (ird->type != NULL && ird->type != expr->type) { in is_reduction()
247 ird->type = expr->type; in is_reduction()
250 if (is_reduction_operation(expr->operation)) { in is_reduction()
251 if (ird->operation != 0 && ird->operation != expr->operation) in is_reduction()
253 ird->operation = expr->operation; in is_reduction()
[all …]
Dlower_vector_insert.cpp61 ir_expression *const expr = (ir_expression *) *rv; in handle_rvalue() local
63 if (likely(expr->operation != ir_triop_vector_insert)) in handle_rvalue()
66 factory.mem_ctx = ralloc_parent(expr); in handle_rvalue()
68 ir_constant *const idx = expr->operands[2]->constant_expression_value(); in handle_rvalue()
79 factory.make_temp(expr->operands[0]->type, "vec_tmp"); in handle_rvalue()
83 factory.emit(assign(temp, expr->operands[0])); in handle_rvalue()
84 factory.emit(assign(temp, expr->operands[1], mask)); in handle_rvalue()
103 factory.make_temp(expr->operands[0]->type, "vec_tmp"); in handle_rvalue()
106 factory.make_temp(expr->operands[1]->type, "src_temp"); in handle_rvalue()
108 factory.emit(assign(temp, expr->operands[0])); in handle_rvalue()
[all …]
/external/javassist/src/main/javassist/compiler/
DTypeChecker.java141 public void atNewExpr(NewExpr expr) throws CompileError { in atNewExpr() argument
142 if (expr.isArray()) in atNewExpr()
143 atNewArrayExpr(expr); in atNewExpr()
145 CtClass clazz = resolver.lookupClassByName(expr.getClassName()); in atNewExpr()
147 ASTList args = expr.getArguments(); in atNewExpr()
155 public void atNewArrayExpr(NewExpr expr) throws CompileError { in atNewArrayExpr() argument
156 int type = expr.getArrayType(); in atNewArrayExpr()
157 ASTList size = expr.getArraySize(); in atNewArrayExpr()
158 ASTList classname = expr.getClassName(); in atNewArrayExpr()
159 ASTree init = expr.getInitializer(); in atNewArrayExpr()
[all …]
DCodeGen.java227 public void compileExpr(ASTree expr) throws CompileError { in compileExpr() argument
228 doTypeCheck(expr); in compileExpr()
229 expr.accept(this); in compileExpr()
232 public boolean compileBooleanExpr(boolean branchIf, ASTree expr) in compileBooleanExpr() argument
235 doTypeCheck(expr); in compileBooleanExpr()
236 return booleanExpr(branchIf, expr); in compileBooleanExpr()
239 public void doTypeCheck(ASTree expr) throws CompileError { in doTypeCheck() argument
241 expr.accept(typeChecker); in doTypeCheck()
306 ASTree expr = body.head(); in needsSuperCall() local
307 if (expr != null && expr instanceof Expr in needsSuperCall()
[all …]
/external/libxml2/
DtestAutomata.c32 char expr[5000]; in testRegexpFile() local
68 while (fgets(expr, 4500, input) != NULL) { in testRegexpFile()
69 if (expr[0] == '#') in testRegexpFile()
71 len = strlen(expr); in testRegexpFile()
74 ((expr[len] == '\n') || (expr[len] == '\t') || in testRegexpFile()
75 (expr[len] == '\r') || (expr[len] == ' '))) len--; in testRegexpFile()
76 expr[len + 1] = 0; in testRegexpFile()
78 if ((am != NULL) && (expr[0] == 't') && (expr[1] == ' ')) { in testRegexpFile()
79 char *ptr = &expr[2]; in testRegexpFile()
85 "Bad line %s\n", expr); in testRegexpFile()
[all …]
/external/selinux/libsepol/src/
Dconstraint.c28 int constraint_expr_init(constraint_expr_t * expr) in constraint_expr_init() argument
30 memset(expr, 0, sizeof(*expr)); in constraint_expr_init()
31 ebitmap_init(&expr->names); in constraint_expr_init()
32 if ((expr->type_names = malloc(sizeof(*expr->type_names))) == NULL) { in constraint_expr_init()
35 type_set_init(expr->type_names); in constraint_expr_init()
39 void constraint_expr_destroy(constraint_expr_t * expr) in constraint_expr_destroy() argument
41 if (expr != NULL) { in constraint_expr_destroy()
42 ebitmap_destroy(&expr->names); in constraint_expr_destroy()
43 type_set_destroy(expr->type_names); in constraint_expr_destroy()
44 free(expr->type_names); in constraint_expr_destroy()
[all …]
/external/v8/src/full-codegen/
Dfull-codegen.cc181 ObjectLiteral* expr) const { in MustCreateObjectLiteralWithRuntime()
182 return masm()->serializer_enabled() || !expr->IsFastCloningSupported(); in MustCreateObjectLiteralWithRuntime()
187 ArrayLiteral* expr) const { in MustCreateArrayLiteralWithRuntime()
188 return !expr->IsFastCloningSupported(); in MustCreateArrayLiteralWithRuntime()
484 void FullCodeGenerator::VisitVariableProxy(VariableProxy* expr) { in VisitVariableProxy() argument
486 EmitVariableLoad(expr); in VisitVariableProxy()
558 void FullCodeGenerator::EmitSubString(CallRuntime* expr) { in EmitSubString() argument
561 ZoneList<Expression*>* args = expr->arguments(); in EmitSubString()
573 void FullCodeGenerator::EmitIntrinsicAsStubCall(CallRuntime* expr, in EmitIntrinsicAsStubCall() argument
575 ZoneList<Expression*>* args = expr->arguments(); in EmitIntrinsicAsStubCall()
[all …]
/external/pdfium/xfa/fxfa/fm2js/
Dxfa_fmparse.cpp52 std::unique_ptr<CXFA_FMExpression> expr; in ParseTopExpression() local
62 expr = ParseFunction(); in ParseTopExpression()
63 if (expr) { in ParseTopExpression()
64 expressions.push_back(std::move(expr)); in ParseTopExpression()
69 expr = ParseExpression(); in ParseTopExpression()
70 if (expr) { in ParseTopExpression()
71 expressions.push_back(std::move(expr)); in ParseTopExpression()
136 std::unique_ptr<CXFA_FMExpression> expr; in ParseExpression() local
140 expr = ParseVarExpression(); in ParseExpression()
150 expr = ParseExpExpression(); in ParseExpression()
[all …]
/external/v8/src/asmjs/
Dasm-wasm-builder.cc232 ExpressionStatement* expr = in VisitBlock() local
234 if (expr != nullptr) { in VisitBlock()
235 if (expr->expression()->IsAssignment()) { in VisitBlock()
236 RECURSE(VisitExpressionStatement(expr)); in VisitBlock()
272 void VisitForEffect(Expression* expr) { in VisitForEffect() argument
273 if (expr->IsAssignment()) { in VisitForEffect()
275 VisitAssignment(expr->AsAssignment(), kDrop); in VisitForEffect()
278 if (expr->IsCall()) { in VisitForEffect()
280 if (VisitCallExpression(expr->AsCall()) && scope_ == kFuncScope) { in VisitForEffect()
285 if (expr->IsBinaryOperation()) { in VisitForEffect()
[all …]
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter7/
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 * expr * expr option * expr
29 | Var of (string * expr option) array * expr
39 type func = Function of proto * expr
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/
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 * expr * expr option * expr
29 | Var of (string * expr option) array * expr
39 type func = Function of proto * expr
/external/antlr/antlr-3.4/runtime/Python/tests/
Dt047treeparserWalker.g49 | expr
54 : ^('for' expr expr expr block)
57 expr: ^(EQEQ expr expr)
58 | ^(LT expr expr)
59 | ^(PLUS expr expr)
60 | ^(EQ ID expr)
/external/selinux/libsemanage/src/
Dfcontext_record.c16 char *expr; member
28 char *expr; member
36 const char *expr, in semanage_fcontext_key_create() argument
48 tmp_key->expr = strdup(expr); in semanage_fcontext_key_create()
49 if (!tmp_key->expr) { in semanage_fcontext_key_create()
67 if (semanage_fcontext_key_create(handle, fcontext->expr, in hidden_def()
70 "file context %s (%s)", fcontext->expr, in hidden_def()
82 free(key->expr); in hidden_def()
92 int rv = strcmp(fcontext->expr, key->expr); in hidden_def()
113 int rv = strcmp(fcontext->expr, fcontext2->expr); in hidden_def()
[all …]
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/
Dt047treeparserWalker.g50 | expr
55 : ^('for' expr expr expr block)
58 expr: ^(EQEQ expr expr)
59 | ^(LT expr expr)
60 | ^(PLUS expr expr)
61 | ^(EQ ID expr)
/external/ply/ply/example/BASIC/
Dbasinterp.py70 def eval(self, expr): argument
71 etype = expr[0]
73 return expr[1]
75 return self.eval(expr[1])
77 if expr[1] == '-':
78 return -self.eval(expr[2])
80 if expr[1] == '+':
81 return self.eval(expr[2]) + self.eval(expr[3])
82 elif expr[1] == '-':
83 return self.eval(expr[2]) - self.eval(expr[3])
[all …]

12345678910>>...50