Lines Matching refs:fns

2307 debug_write (void *handle, const struct debug_write_fns *fns, void *fhandle)  in debug_write()  argument
2335 if (! (*fns->start_compilation_unit) (fhandle, u->files->filename)) in debug_write()
2345 else if (! (*fns->start_source) (fhandle, f->filename)) in debug_write()
2350 if (! debug_write_name (info, fns, fhandle, n)) in debug_write()
2356 if (! debug_write_linenos (info, fns, fhandle, (bfd_vma) -1)) in debug_write()
2367 const struct debug_write_fns *fns, void *fhandle, in debug_write_name() argument
2373 if (! debug_write_type (info, fns, fhandle, n->u.type, n) in debug_write_name()
2374 || ! (*fns->typdef) (fhandle, n->name)) in debug_write_name()
2378 if (! debug_write_type (info, fns, fhandle, n->u.tag, n)) in debug_write_name()
2380 return (*fns->tag) (fhandle, n->name); in debug_write_name()
2382 if (! debug_write_type (info, fns, fhandle, n->u.variable->type, in debug_write_name()
2385 return (*fns->variable) (fhandle, n->name, n->u.variable->kind, in debug_write_name()
2388 return debug_write_function (info, fns, fhandle, n->name, in debug_write_name()
2391 return (*fns->int_constant) (fhandle, n->name, n->u.int_constant); in debug_write_name()
2393 return (*fns->float_constant) (fhandle, n->name, n->u.float_constant); in debug_write_name()
2395 if (! debug_write_type (info, fns, fhandle, n->u.typed_constant->type, in debug_write_name()
2398 return (*fns->typed_constant) (fhandle, n->name, in debug_write_name()
2415 const struct debug_write_fns *fns, void *fhandle, in debug_write_type() argument
2432 return (*fns->typedef_type) (fhandle, type->u.knamed->name->name); in debug_write_type()
2440 return (*fns->empty_type) (fhandle); in debug_write_type()
2458 return (*fns->tag_type) (fhandle, type->u.knamed->name->name, id, in debug_write_type()
2485 return (*fns->empty_type) (fhandle); in debug_write_type()
2486 return debug_write_type (info, fns, fhandle, *type->u.kindirect->slot, in debug_write_type()
2489 return (*fns->void_type) (fhandle); in debug_write_type()
2491 return (*fns->int_type) (fhandle, type->size, type->u.kint); in debug_write_type()
2493 return (*fns->float_type) (fhandle, type->size); in debug_write_type()
2495 return (*fns->complex_type) (fhandle, type->size); in debug_write_type()
2497 return (*fns->bool_type) (fhandle, type->size); in debug_write_type()
2514 return (*fns->tag_type) (fhandle, tag, type->u.kclass->id, in debug_write_type()
2520 if (! (*fns->start_struct_type) (fhandle, tag, in debug_write_type()
2535 if (! debug_write_type (info, fns, fhandle, f->type, in debug_write_type()
2537 || ! (*fns->struct_field) (fhandle, f->name, f->u.f.bitpos, in debug_write_type()
2542 return (*fns->end_struct_type) (fhandle); in debug_write_type()
2545 return debug_write_class_type (info, fns, fhandle, type, tag); in debug_write_type()
2548 return (*fns->enum_type) (fhandle, tag, (const char **) NULL, in debug_write_type()
2550 return (*fns->enum_type) (fhandle, tag, type->u.kenum->names, in debug_write_type()
2553 if (! debug_write_type (info, fns, fhandle, type->u.kpointer, in debug_write_type()
2556 return (*fns->pointer_type) (fhandle); in debug_write_type()
2558 if (! debug_write_type (info, fns, fhandle, in debug_write_type()
2567 if (! debug_write_type (info, fns, fhandle, in debug_write_type()
2572 return (*fns->function_type) (fhandle, is, in debug_write_type()
2575 if (! debug_write_type (info, fns, fhandle, type->u.kreference, in debug_write_type()
2578 return (*fns->reference_type) (fhandle); in debug_write_type()
2580 if (! debug_write_type (info, fns, fhandle, type->u.krange->type, in debug_write_type()
2583 return (*fns->range_type) (fhandle, type->u.krange->lower, in debug_write_type()
2586 if (! debug_write_type (info, fns, fhandle, type->u.karray->element_type, in debug_write_type()
2588 || ! debug_write_type (info, fns, fhandle, in debug_write_type()
2592 return (*fns->array_type) (fhandle, type->u.karray->lower, in debug_write_type()
2596 if (! debug_write_type (info, fns, fhandle, type->u.kset->type, in debug_write_type()
2599 return (*fns->set_type) (fhandle, type->u.kset->bitstringp); in debug_write_type()
2601 if (! debug_write_type (info, fns, fhandle, type->u.koffset->base_type, in debug_write_type()
2603 || ! debug_write_type (info, fns, fhandle, in debug_write_type()
2607 return (*fns->offset_type) (fhandle); in debug_write_type()
2609 if (! debug_write_type (info, fns, fhandle, in debug_write_type()
2618 if (! debug_write_type (info, fns, fhandle, in debug_write_type()
2625 if (! debug_write_type (info, fns, fhandle, in debug_write_type()
2630 return (*fns->method_type) (fhandle, in debug_write_type()
2635 if (! debug_write_type (info, fns, fhandle, type->u.kconst, in debug_write_type()
2638 return (*fns->const_type) (fhandle); in debug_write_type()
2640 if (! debug_write_type (info, fns, fhandle, type->u.kvolatile, in debug_write_type()
2643 return (*fns->volatile_type) (fhandle); in debug_write_type()
2645 return debug_write_type (info, fns, fhandle, type->u.knamed->type, in debug_write_type()
2648 return debug_write_type (info, fns, fhandle, type->u.knamed->type, in debug_write_type()
2660 const struct debug_write_fns *fns, void *fhandle, in debug_write_class_type() argument
2686 return (*fns->tag_type) (fhandle, tag, type->u.kclass->id, in debug_write_class_type()
2695 if (! debug_write_type (info, fns, fhandle, vptrbase, in debug_write_class_type()
2701 if (! (*fns->start_class_type) (fhandle, tag, id, in debug_write_class_type()
2717 if (! debug_write_type (info, fns, fhandle, f->type, in debug_write_class_type()
2722 if (! (*fns->class_static_member) (fhandle, f->name, in debug_write_class_type()
2729 if (! (*fns->struct_field) (fhandle, f->name, f->u.f.bitpos, in debug_write_class_type()
2743 if (! debug_write_type (info, fns, fhandle, b->type, in debug_write_class_type()
2746 if (! (*fns->class_baseclass) (fhandle, b->bitpos, b->is_virtual, in debug_write_class_type()
2760 if (! (*fns->class_start_method) (fhandle, m->name)) in debug_write_class_type()
2769 if (! debug_write_type (info, fns, fhandle, v->context, in debug_write_class_type()
2773 if (! debug_write_type (info, fns, fhandle, v->type, in debug_write_class_type()
2778 if (! (*fns->class_method_variant) (fhandle, v->physname, in debug_write_class_type()
2788 if (! (*fns->class_static_method_variant) (fhandle, in debug_write_class_type()
2796 if (! (*fns->class_end_method) (fhandle)) in debug_write_class_type()
2802 return (*fns->end_class_type) (fhandle); in debug_write_class_type()
2809 const struct debug_write_fns *fns, void *fhandle, in debug_write_function() argument
2816 if (! debug_write_linenos (info, fns, fhandle, function->blocks->start)) in debug_write_function()
2819 if (! debug_write_type (info, fns, fhandle, function->return_type, in debug_write_function()
2823 if (! (*fns->start_function) (fhandle, name, in debug_write_function()
2829 if (! debug_write_type (info, fns, fhandle, p->type, in debug_write_function()
2831 || ! (*fns->function_parameter) (fhandle, p->name, p->kind, p->val)) in debug_write_function()
2837 if (! debug_write_block (info, fns, fhandle, b)) in debug_write_function()
2841 return (*fns->end_function) (fhandle); in debug_write_function()
2848 const struct debug_write_fns *fns, void *fhandle, in debug_write_block() argument
2854 if (! debug_write_linenos (info, fns, fhandle, block->start)) in debug_write_block()
2861 if (! (*fns->start_block) (fhandle, block->start)) in debug_write_block()
2869 if (! debug_write_name (info, fns, fhandle, n)) in debug_write_block()
2876 if (! debug_write_block (info, fns, fhandle, b)) in debug_write_block()
2880 if (! debug_write_linenos (info, fns, fhandle, block->end)) in debug_write_block()
2885 if (! (*fns->end_block) (fhandle, block->end)) in debug_write_block()
2896 const struct debug_write_fns *fns, void *fhandle, in debug_write_linenos() argument
2914 if (! (*fns->lineno) (fhandle, l->file->filename, in debug_write_linenos()