Lines Matching refs:type

96 	struct symbol *type;  in get_db_type_rl()  local
115 type = get_type(expr); in get_db_type_rl()
116 str_to_rl(type, db_vals, &tmp); in get_db_type_rl()
188 struct symbol *type; in is_ignored_fake_assignment() local
193 if (!expr || expr->type != EXPR_ASSIGNMENT) in is_ignored_fake_assignment()
201 type = get_type(expr->left); in is_ignored_fake_assignment()
202 if (!type || type->type != SYM_PTR) in is_ignored_fake_assignment()
204 type = get_real_base_type(type); in is_ignored_fake_assignment()
205 if (!type || type->type != SYM_STRUCT) in is_ignored_fake_assignment()
210 TYPE_LINK, member_name, type_to_str(type)); in is_ignored_fake_assignment()
221 if (!expr || expr->type != EXPR_ASSIGNMENT) in is_container_of()
239 if (!expr || expr->type != EXPR_ASSIGNMENT) in is_driver_data()
269 if (!expr || expr->type != EXPR_ASSIGNMENT || expr->op != '=') in is_ignored_macro()
308 if (!expr || expr->type != EXPR_ASSIGNMENT) in is_ignored_function()
311 if (!expr || expr->type != EXPR_CALL || expr->fn->type != EXPR_SYMBOL) in is_ignored_function()
354 if (expr->type == EXPR_PREOP || expr->type == EXPR_POSTOP) { in is_uncasted_pointer_assign()
358 if (expr->type != EXPR_ASSIGNMENT) in is_uncasted_pointer_assign()
366 if (left_type->type == SYM_STRUCT && left_type == right_type) in is_uncasted_pointer_assign()
369 if (left_type->type != SYM_PTR && in is_uncasted_pointer_assign()
370 left_type->type != SYM_ARRAY) in is_uncasted_pointer_assign()
372 if (right_type->type != SYM_PTR && in is_uncasted_pointer_assign()
373 right_type->type != SYM_ARRAY) in is_uncasted_pointer_assign()
435 if (!expr || expr->type != EXPR_ASSIGNMENT) in is_uncasted_fn_param_from_db()
438 if (!left_type || left_type->type != SYM_PTR) in is_uncasted_fn_param_from_db()
441 if (!left_type || left_type->type != SYM_STRUCT) in is_uncasted_fn_param_from_db()
465 struct symbol *type; in match_assign_value() local
470 type = get_type(expr->left); in match_assign_value()
471 if (type && type->type == SYM_STRUCT) in match_assign_value()
501 rl = cast_rl(type, rl); in match_assign_value()
524 struct symbol *type; in match_assign_pointer() local
527 if (right->type != EXPR_PREOP || right->op != '&') in match_assign_pointer()
534 type = get_type(right); in match_assign_pointer()
535 rl = alloc_whole_rl(type); in match_assign_pointer()
544 struct symbol *type; in match_global_assign() local
546 type = get_type(expr->left); in match_global_assign()
547 if (type && (type->type == SYM_ARRAY || type->type == SYM_STRUCT)) in match_global_assign()
553 rl = cast_rl(type, rl); in match_global_assign()
594 struct symbol *type; in db_param_add() local
601 while (expr->type == EXPR_ASSIGNMENT) in db_param_add()
603 if (expr->type != EXPR_CALL) in db_param_add()
610 type = get_member_type_from_key(arg, key); in db_param_add()
621 if (type && type->type == SYM_STRUCT) in db_param_add()
624 if (arg->type != EXPR_PREOP || arg->op != '&') in db_param_add()
631 call_results_to_rl(expr, type, value, &rl); in db_param_add()