Lines Matching refs:ret
1413 struct demangle_component *ret; in d_nested_name() local
1420 pret = d_cv_qualifiers (di, &ret, 1); in d_nested_name()
1434 d_left (rqual) = ret; in d_nested_name()
1435 ret = rqual; in d_nested_name()
1441 return ret; in d_nested_name()
1459 struct demangle_component *ret = NULL; in d_prefix() local
1496 if (ret == NULL) in d_prefix()
1504 return ret; in d_prefix()
1510 if (ret == NULL) in d_prefix()
1518 if (ret == NULL) in d_prefix()
1519 ret = dc; in d_prefix()
1521 ret = d_make_comp (di, comb_type, ret, dc); in d_prefix()
1525 if (! d_add_substitution (di, ret)) in d_prefix()
1542 struct demangle_component *ret; in d_unqualified_name() local
1547 ret = d_source_name (di); in d_unqualified_name()
1550 ret = d_operator_name (di); in d_unqualified_name()
1551 if (ret != NULL && ret->type == DEMANGLE_COMPONENT_OPERATOR) in d_unqualified_name()
1553 di->expansion += sizeof "operator" + ret->u.s_operator.op->len - 2; in d_unqualified_name()
1554 if (!strcmp (ret->u.s_operator.op->code, "li")) in d_unqualified_name()
1555 ret = d_make_comp (di, DEMANGLE_COMPONENT_UNARY, ret, in d_unqualified_name()
1560 ret = d_ctor_dtor_name (di); in d_unqualified_name()
1565 ret = d_source_name (di); in d_unqualified_name()
1566 if (ret == NULL) in d_unqualified_name()
1576 ret = d_lambda (di); in d_unqualified_name()
1579 ret = d_unnamed_type (di); in d_unqualified_name()
1589 ret = d_abi_tags (di, ret); in d_unqualified_name()
1590 return ret; in d_unqualified_name()
1599 struct demangle_component *ret; in d_source_name() local
1604 ret = d_identifier (di, len); in d_source_name()
1605 di->last_name = ret; in d_source_name()
1606 return ret; in d_source_name()
1616 long ret; in d_number() local
1627 ret = 0; in d_number()
1633 ret = - ret; in d_number()
1634 return ret; in d_number()
1636 ret = ret * 10 + peek - '0'; in d_number()
1647 struct demangle_component *ret = d_make_empty (di); in d_number_component() local
1648 if (ret) in d_number_component()
1650 ret->type = DEMANGLE_COMPONENT_NUMBER; in d_number_component()
1651 ret->u.s_number.number = d_number (di); in d_number_component()
1653 return ret; in d_number_component()
2253 struct demangle_component *ret; in cplus_demangle_type() local
2276 pret = d_cv_qualifiers (di, &ret, 0); in cplus_demangle_type()
2296 d_left (*pret) = ret; in cplus_demangle_type()
2297 ret = *pret; in cplus_demangle_type()
2300 if (! d_add_substitution (di, ret)) in cplus_demangle_type()
2302 return ret; in cplus_demangle_type()
2313 ret = d_make_builtin_type (di, in cplus_demangle_type()
2315 di->expansion += ret->u.s_builtin.type->len; in cplus_demangle_type()
2322 ret = d_make_comp (di, DEMANGLE_COMPONENT_VENDOR_TYPE, in cplus_demangle_type()
2327 ret = d_function_type (di); in cplus_demangle_type()
2334 ret = d_class_enum_type (di); in cplus_demangle_type()
2338 ret = d_array_type (di); in cplus_demangle_type()
2342 ret = d_pointer_to_member_type (di); in cplus_demangle_type()
2346 ret = d_template_param (di); in cplus_demangle_type()
2382 if (! d_add_substitution (di, ret)) in cplus_demangle_type()
2384 ret = d_make_comp (di, DEMANGLE_COMPONENT_TEMPLATE, ret, in cplus_demangle_type()
2396 if (! d_add_substitution (di, ret)) in cplus_demangle_type()
2398 ret = d_make_comp (di, DEMANGLE_COMPONENT_TEMPLATE, ret, in cplus_demangle_type()
2418 ret = d_substitution (di, 0); in cplus_demangle_type()
2422 ret = d_make_comp (di, DEMANGLE_COMPONENT_TEMPLATE, ret, in cplus_demangle_type()
2429 ret = d_class_enum_type (di); in cplus_demangle_type()
2434 if (ret != NULL && ret->type == DEMANGLE_COMPONENT_SUB_STD) in cplus_demangle_type()
2442 ret = d_make_comp (di, DEMANGLE_COMPONENT_RVALUE_REFERENCE, in cplus_demangle_type()
2448 ret = d_make_comp (di, DEMANGLE_COMPONENT_POINTER, in cplus_demangle_type()
2454 ret = d_make_comp (di, DEMANGLE_COMPONENT_REFERENCE, in cplus_demangle_type()
2460 ret = d_make_comp (di, DEMANGLE_COMPONENT_COMPLEX, in cplus_demangle_type()
2466 ret = d_make_comp (di, DEMANGLE_COMPONENT_IMAGINARY, in cplus_demangle_type()
2472 ret = d_source_name (di); in cplus_demangle_type()
2473 ret = d_make_comp (di, DEMANGLE_COMPONENT_VENDOR_TYPE_QUAL, in cplus_demangle_type()
2474 cplus_demangle_type (di), ret); in cplus_demangle_type()
2486 ret = d_make_comp (di, DEMANGLE_COMPONENT_DECLTYPE, in cplus_demangle_type()
2488 if (ret && d_next_char (di) != 'E') in cplus_demangle_type()
2489 ret = NULL; in cplus_demangle_type()
2495 ret = d_make_comp (di, DEMANGLE_COMPONENT_PACK_EXPANSION, in cplus_demangle_type()
2502 ret = d_make_name (di, "auto", 4); in cplus_demangle_type()
2507 ret = d_make_builtin_type (di, &cplus_demangle_builtin_types[26]); in cplus_demangle_type()
2508 di->expansion += ret->u.s_builtin.type->len; in cplus_demangle_type()
2512 ret = d_make_builtin_type (di, &cplus_demangle_builtin_types[27]); in cplus_demangle_type()
2513 di->expansion += ret->u.s_builtin.type->len; in cplus_demangle_type()
2517 ret = d_make_builtin_type (di, &cplus_demangle_builtin_types[28]); in cplus_demangle_type()
2518 di->expansion += ret->u.s_builtin.type->len; in cplus_demangle_type()
2522 ret = d_make_builtin_type (di, &cplus_demangle_builtin_types[29]); in cplus_demangle_type()
2523 di->expansion += ret->u.s_builtin.type->len; in cplus_demangle_type()
2527 ret = d_make_builtin_type (di, &cplus_demangle_builtin_types[30]); in cplus_demangle_type()
2528 di->expansion += ret->u.s_builtin.type->len; in cplus_demangle_type()
2532 ret = d_make_builtin_type (di, &cplus_demangle_builtin_types[31]); in cplus_demangle_type()
2533 di->expansion += ret->u.s_builtin.type->len; in cplus_demangle_type()
2538 ret = d_make_empty (di); in cplus_demangle_type()
2539 ret->type = DEMANGLE_COMPONENT_FIXED_TYPE; in cplus_demangle_type()
2540 if ((ret->u.s_fixed.accum = IS_DIGIT (d_peek_char (di)))) in cplus_demangle_type()
2543 ret->u.s_fixed.length = cplus_demangle_type (di); in cplus_demangle_type()
2544 if (ret->u.s_fixed.length == NULL) in cplus_demangle_type()
2548 ret->u.s_fixed.sat = (peek == 's'); in cplus_demangle_type()
2552 ret = d_vector_type (di); in cplus_demangle_type()
2558 ret = d_make_builtin_type (di, &cplus_demangle_builtin_types[32]); in cplus_demangle_type()
2559 di->expansion += ret->u.s_builtin.type->len; in cplus_demangle_type()
2573 if (! d_add_substitution (di, ret)) in cplus_demangle_type()
2577 return ret; in cplus_demangle_type()
2657 struct demangle_component *ret = sub; in d_ref_qualifier() local
2676 ret = d_make_comp (di, t, ret, NULL); in d_ref_qualifier()
2679 return ret; in d_ref_qualifier()
2687 struct demangle_component *ret; in d_function_type() local
2697 ret = d_bare_function_type (di, 1); in d_function_type()
2698 ret = d_ref_qualifier (di, ret); in d_function_type()
2702 return ret; in d_function_type()
3006 struct demangle_component *ret; in d_template_arg() local
3012 ret = d_expression (di); in d_template_arg()
3015 return ret; in d_template_arg()
3319 struct demangle_component *ret; in d_expression() local
3323 ret = d_expression_1 (di); in d_expression()
3325 return ret; in d_expression()
3336 struct demangle_component *ret; in d_expr_primary() local
3343 ret = cplus_demangle_mangled_name (di, 0); in d_expr_primary()
3384 ret = d_make_comp (di, t, type, d_make_name (di, s, d_str (di) - s)); in d_expr_primary()
3388 return ret; in d_expr_primary()
3475 struct demangle_component *ret; in d_lambda() local
3494 ret = d_make_empty (di); in d_lambda()
3495 if (ret) in d_lambda()
3497 ret->type = DEMANGLE_COMPONENT_LAMBDA; in d_lambda()
3498 ret->u.s_unary_num.sub = tl; in d_lambda()
3499 ret->u.s_unary_num.num = num; in d_lambda()
3502 if (! d_add_substitution (di, ret)) in d_lambda()
3505 return ret; in d_lambda()
3513 struct demangle_component *ret; in d_unnamed_type() local
3525 ret = d_make_empty (di); in d_unnamed_type()
3526 if (ret) in d_unnamed_type()
3528 ret->type = DEMANGLE_COMPONENT_UNNAMED_TYPE; in d_unnamed_type()
3529 ret->u.s_number.number = num; in d_unnamed_type()
3532 if (! d_add_substitution (di, ret)) in d_unnamed_type()
3535 return ret; in d_unnamed_type()
6139 int ret; in is_ctor_or_dtor() local
6163 ret = 0; in is_ctor_or_dtor()
6187 ret = 1; in is_ctor_or_dtor()
6192 ret = 1; in is_ctor_or_dtor()
6199 return ret; in is_ctor_or_dtor()