/external/libxkbcommon/xkbcommon/src/xkbcomp/ |
D | expr.c | 36 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 …]
|
D | ast-build.c | 75 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/ |
D | typecheck-gcc.h | 309 #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/ |
D | typecheck-gcc.h | 435 #define _curl_is_any_ptr(expr) \ argument 436 (sizeof(expr) == sizeof(void *)) 440 #define _curl_is_NULL(expr) \ argument 441 (__builtin_types_compatible_p(__typeof__(expr), __typeof__(NULL))) 444 #define _curl_is_ptr(expr, type) \ argument 445 (_curl_is_NULL(expr) || \ 446 __builtin_types_compatible_p(__typeof__(expr), type *) || \ 447 __builtin_types_compatible_p(__typeof__(expr), const type *)) 450 #define _curl_is_arr(expr, type) \ argument 451 (_curl_is_ptr((expr), type) || \ [all …]
|
/external/adhd/cras/src/tests/ |
D | expr_unittest.cc | 12 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/python/cpython3/Parser/ |
D | Python.asdl | 11 | 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/v8/src/ast/ |
D | ast-traversal-visitor.h | 285 FunctionLiteral* expr) { in VisitFunctionLiteral() argument 286 PROCESS_EXPRESSION(expr); in VisitFunctionLiteral() 287 DeclarationScope* scope = expr->scope(); in VisitFunctionLiteral() 290 if (expr->scope()->was_lazily_parsed()) return; in VisitFunctionLiteral() 291 RECURSE_EXPRESSION(VisitStatements(expr->body())); in VisitFunctionLiteral() 296 NativeFunctionLiteral* expr) { in VisitNativeFunctionLiteral() argument 297 PROCESS_EXPRESSION(expr); in VisitNativeFunctionLiteral() 301 void AstTraversalVisitor<Subclass>::VisitDoExpression(DoExpression* expr) { in VisitDoExpression() argument 302 PROCESS_EXPRESSION(expr); in VisitDoExpression() 303 RECURSE(VisitBlock(expr->block())); in VisitDoExpression() [all …]
|
/external/python/cpython2/Parser/ |
D | Python.asdl | 7 | 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/ |
D | expr.h | 39 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 …]
|
D | expr.c | 15 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/u-boot/scripts/kconfig/ |
D | expr.c | 14 static int expr_eq(struct expr *e1, struct expr *e2); 15 static struct expr *expr_eliminate_yn(struct expr *e); 17 struct expr *expr_alloc_symbol(struct symbol *sym) in expr_alloc_symbol() 19 struct expr *e = xcalloc(1, sizeof(*e)); in expr_alloc_symbol() 25 struct expr *expr_alloc_one(enum expr_type type, struct expr *ce) in expr_alloc_one() 27 struct expr *e = xcalloc(1, 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 = xcalloc(1, sizeof(*e)); in expr_alloc_two() 37 e->left.expr = e1; in expr_alloc_two() [all …]
|
D | expr.h | 38 struct expr *expr; member 42 struct expr { struct 52 for (e = (l); e && (s = e->right.sym); e = e->left.expr) 55 struct expr *expr; member 195 struct expr *expr; /* the optional conditional part of the property */ member 245 struct expr *visibility; 251 struct expr *dep; 292 struct expr *expr_alloc_symbol(struct symbol *sym); 293 struct expr *expr_alloc_one(enum expr_type type, struct expr *ce); 294 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2); [all …]
|
/external/mesa3d/src/compiler/glsl/ |
D | ir_builder.cpp | 181 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 …]
|
D | s_expression.cpp | 61 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 …]
|
D | ir_reader.cpp | 91 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 …]
|
D | opt_rebalance_tree.cpp | 228 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/u-boot/cmd/ |
D | test.c | 56 int i, op, left, adv, expr, last_expr, last_unop, last_binop; in do_test() local 73 expr = 0; in do_test() 88 expr = 1; in do_test() 92 expr = 1; in do_test() 98 expr = strlen(ap[1]) == 0 ? 1 : 0; in do_test() 101 expr = strlen(ap[1]) == 0 ? 0 : 1; in do_test() 104 expr = strcmp(ap[0], ap[2]) == 0; in do_test() 107 expr = strcmp(ap[0], ap[2]) != 0; in do_test() 110 expr = strcmp(ap[0], ap[2]) < 0; in do_test() 113 expr = strcmp(ap[0], ap[2]) > 0; in do_test() [all …]
|
/external/libxml2/ |
D | testAutomata.c | 32 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/ |
D | cras_expr.c | 344 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/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/PowerPC/ |
D | pr17168.ll | 60 !0 = !DIGlobalVariableExpression(var: !1, expr: !DIExpression()) 71 !11 = !DIGlobalVariableExpression(var: !12, expr: !DIExpression()) 74 !14 = !DIGlobalVariableExpression(var: !15, expr: !DIExpression()) 80 !20 = !DIGlobalVariableExpression(var: !21, expr: !DIExpression()) 82 !22 = !DIGlobalVariableExpression(var: !23, expr: !DIExpression()) 84 !24 = !DIGlobalVariableExpression(var: !25, expr: !DIExpression()) 86 !26 = !DIGlobalVariableExpression(var: !27, expr: !DIExpression()) 88 !28 = !DIGlobalVariableExpression(var: !29, expr: !DIExpression()) 90 !30 = !DIGlobalVariableExpression(var: !31, expr: !DIExpression()) 92 !32 = !DIGlobalVariableExpression(var: !33, expr: !DIExpression()) [all …]
|
/external/selinux/libsepol/src/ |
D | constraint.c | 28 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/ |
D | crypto.sh | 13 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/v8/src/torque/ |
D | declaration-visitor.h | 34 void Visit(Expression* expr); 52 void Visit(IdentifierExpression* expr); 53 void Visit(NumberLiteralExpression* expr) {} in Visit() argument 54 void Visit(StringLiteralExpression* expr) {} in Visit() argument 55 void Visit(CallExpression* expr); 56 void Visit(ElementAccessExpression* expr) { in Visit() argument 57 Visit(expr->array); in Visit() 58 Visit(expr->index); in Visit() 60 void Visit(FieldAccessExpression* expr) { Visit(expr->object); } in Visit() argument 61 void Visit(BlockStatement* expr) { in Visit() argument [all …]
|
/external/deqp/framework/common/ |
D | tcuDefs.cpp | 50 static std::string formatError (const char* message, const char* expr, const char* file, int line) in formatError() argument 55 if (expr) in formatError() 56 msg << ": '" << expr << '\''; in formatError() 64 Exception::Exception (const char* message, const char* expr, const char* file, int line) in Exception() argument 65 : std::runtime_error(formatError(message, expr, file, line)) in Exception() 76 TestException::TestException (const char* message, const char* expr, const char* file, int line, qp… in TestException() argument 77 : Exception (formatError(message, expr, file, line)) in TestException() 88 TestError::TestError (const char* message, const char* expr, const char* file, int line) in TestError() argument 89 : TestException(message, expr, file, line, QP_TEST_RESULT_FAIL) in TestError() 92 TestError::TestError (const std::string& message, const char* expr, const char* file, int line) in TestError() argument [all …]
|
/external/pdfium/xfa/fxfa/fm2js/ |
D | cxfa_fmparser.cpp | 71 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 …]
|