Home
last modified time | relevance | path

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

12345678910>>...76

/external/libxkbcommon/xkbcommon/src/xkbcomp/
Dexpr.c36 ExprResolveLhs(struct xkb_context *ctx, const ExprDef *expr, in ExprResolveLhs() argument
40 switch (expr->expr.op) { in ExprResolveLhs()
43 *field_rtrn = xkb_atom_text(ctx, expr->ident.ident); in ExprResolveLhs()
47 *elem_rtrn = xkb_atom_text(ctx, expr->field_ref.element); in ExprResolveLhs()
48 *field_rtrn = xkb_atom_text(ctx, expr->field_ref.field); in ExprResolveLhs()
52 *elem_rtrn = xkb_atom_text(ctx, expr->array_ref.element); in ExprResolveLhs()
53 *field_rtrn = xkb_atom_text(ctx, expr->array_ref.field); in ExprResolveLhs()
54 *index_rtrn = expr->array_ref.entry; in ExprResolveLhs()
59 log_wsgo(ctx, "Unexpected operator %d in ResolveLhs\n", expr->expr.op); in ExprResolveLhs()
124 ExprResolveBoolean(struct xkb_context *ctx, const ExprDef *expr, in ExprResolveBoolean() argument
[all …]
Dast-build.c75 ExprDef *expr = malloc(size); in ExprCreate() local
76 if (!expr) in ExprCreate()
79 expr->common.type = STMT_EXPR; in ExprCreate()
80 expr->common.next = NULL; in ExprCreate()
81 expr->expr.op = op; in ExprCreate()
82 expr->expr.value_type = type; in ExprCreate()
84 return expr; in ExprCreate()
95 EXPR_CREATE(ExprString, expr, EXPR_VALUE, EXPR_TYPE_STRING); in ExprCreateString()
96 expr->string.str = str; in ExprCreateString()
97 return expr; in ExprCreateString()
[all …]
/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/adhd/cras/src/tests/
Dexpr_unittest.cc12 struct cras_expr_expression *expr; in TEST() local
15 expr = cras_expr_expression_parse("#"); in TEST()
16 EXPECT_EQ(NULL, expr); in TEST()
18 expr = cras_expr_expression_parse(NULL); in TEST()
19 EXPECT_EQ(NULL, expr); in TEST()
21 cras_expr_expression_free(expr); in TEST()
25 struct cras_expr_expression *expr; in TEST() local
31 expr = cras_expr_expression_parse(" -2"); in TEST()
32 EXPECT_EQ(EXPR_TYPE_LITERAL, expr->type); in TEST()
33 EXPECT_EQ(CRAS_EXPR_VALUE_TYPE_INT, expr->u.literal.type); in TEST()
[all …]
/external/curl/include/curl/
Dtypecheck-gcc.h424 #define _curl_is_any_ptr(expr) \ argument
425 (sizeof(expr) == sizeof(void *))
429 #define _curl_is_NULL(expr) \ argument
430 (__builtin_types_compatible_p(__typeof__(expr), __typeof__(NULL)))
433 #define _curl_is_ptr(expr, type) \ argument
434 (_curl_is_NULL(expr) || \
435 __builtin_types_compatible_p(__typeof__(expr), type *) || \
436 __builtin_types_compatible_p(__typeof__(expr), const type *))
439 #define _curl_is_arr(expr, type) \ argument
440 (_curl_is_ptr((expr), type) || \
[all …]
/external/python/cpython3/Parser/
DPython.asdl11 | Expression(expr body)
17 stmt* body, expr* decorator_list, expr? returns)
19 stmt* body, expr* decorator_list, expr? returns)
22 expr* bases,
25 expr* decorator_list)
26 | Return(expr? value)
28 | Delete(expr* targets)
29 | Assign(expr* targets, expr value)
30 | AugAssign(expr target, operator op, expr value)
32 | AnnAssign(expr target, expr annotation, expr? value, int simple)
[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 …]
/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/adhd/cras/src/server/
Dcras_expr.c344 struct cras_expr_expression *expr; in new_boolean_literal() local
345 expr = calloc(1, sizeof(struct cras_expr_expression)); in new_boolean_literal()
346 expr->type = EXPR_TYPE_LITERAL; in new_boolean_literal()
347 value_set_boolean(&expr->u.literal, boolean); in new_boolean_literal()
348 return expr; in new_boolean_literal()
353 struct cras_expr_expression *expr; in new_integer_literal() local
354 expr = calloc(1, sizeof(struct cras_expr_expression)); in new_integer_literal()
355 expr->type = EXPR_TYPE_LITERAL; in new_integer_literal()
356 value_set_integer(&expr->u.literal, integer); in new_integer_literal()
357 return expr; in new_integer_literal()
[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/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/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/tcpdump/tests/
Dcrypto.sh13 passed=`expr $passed + 1`
16 failed=`expr $failed + 1`
22 passed=`expr $passed + 1`
25 failed=`expr $failed + 1`
31 passed=`expr $passed + 1`
34 failed=`expr $failed + 1`
50 passed=`expr $passed + 1`
53 failed=`expr $failed + 1`
59 passed=`expr $passed + 1`
62 failed=`expr $failed + 1`
[all …]
/external/pdfium/xfa/fxfa/fm2js/
Dcxfa_fmparser.cpp71 std::unique_ptr<CXFA_FMExpression> expr; in ParseTopExpression() local
80 expr = m_token->m_type == TOKfunc ? ParseFunction() : ParseExpression(); in ParseTopExpression()
81 if (!expr) { in ParseTopExpression()
85 expressions.push_back(std::move(expr)); in ParseTopExpression()
158 std::unique_ptr<CXFA_FMExpression> expr; in ParseExpression() local
162 expr = ParseVarExpression(); in ParseExpression()
172 expr = ParseExpExpression(); in ParseExpression()
175 expr = ParseIfExpression(); in ParseExpression()
178 expr = ParseWhileExpression(); in ParseExpression()
181 expr = ParseForExpression(); in ParseExpression()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/stmt/
DReturnStmt.java25 import com.github.javaparser.ast.expr.Expression;
26 import com.github.javaparser.ast.expr.NameExpr;
35 private Expression expr; field in ReturnStmt
40 public ReturnStmt(final Expression expr) { in ReturnStmt() argument
41 setExpr(expr); in ReturnStmt()
44 public ReturnStmt(Range range, final Expression expr) { in ReturnStmt() argument
46 setExpr(expr); in ReturnStmt()
54 public ReturnStmt(String expr) { in ReturnStmt() argument
55 setExpr(new NameExpr(expr)); in ReturnStmt()
68 return expr; in getExpr()
[all …]

12345678910>>...76