Lines Matching refs:ctf_dictionary
325 ctf_dict_t *ctf_dictionary,
342 ctf_dict_t *ctf_dictionary, in process_ctf_typedef() argument
347 ctf_id_t ctf_utype = ctf_type_reference(ctf_dictionary, ctf_type); in process_ctf_typedef()
351 const char *typedef_name = ctf_type_name_raw(ctf_dictionary, ctf_type); in process_ctf_typedef()
357 ctf_dictionary, ctf_utype); in process_ctf_typedef()
362 result = dynamic_pointer_cast<typedef_decl>(ctxt->lookup_type(ctf_dictionary, in process_ctf_typedef()
384 ctxt->add_type(ctf_dictionary, ctf_type, result); in process_ctf_typedef()
404 ctf_dict_t *ctf_dictionary, in process_ctf_base_type() argument
409 ssize_t type_alignment = ctf_type_align(ctf_dictionary, ctf_type); in process_ctf_base_type()
410 const char *type_name = ctf_type_name_raw(ctf_dictionary, ctf_type); in process_ctf_base_type()
416 if (ctf_type_encoding(ctf_dictionary, in process_ctf_base_type()
457 ctxt->add_type(ctf_dictionary, ctf_type, result); in process_ctf_base_type()
497 ctf_dict_t *ctf_dictionary, in process_ctf_function_type() argument
504 ctf_func_type_info(ctf_dictionary, ctf_type, &funcinfo); in process_ctf_function_type()
510 ctf_dictionary, ctf_ret_type); in process_ctf_function_type()
517 if (static_cast<ctf_id_t>(ctf_func_type_args(ctf_dictionary, ctf_type, in process_ctf_function_type()
526 ctf_dictionary, ctf_arg_type); in process_ctf_function_type()
551 result = dynamic_pointer_cast<function_type>(ctxt->lookup_type(ctf_dictionary, in process_ctf_function_type()
560 ctf_type_align(ctf_dictionary, ctf_type))); in process_ctf_function_type()
568 ctxt->add_type(ctf_dictionary, ctf_type, result); in process_ctf_function_type()
587 ctf_dict_t *ctf_dictionary, in process_ctf_sou_members() argument
596 while ((member_size = ctf_member_next(ctf_dictionary, ctf_type, in process_ctf_sou_members()
603 if (static_cast<ctf_id_t>(ctf_member_info(ctf_dictionary, in process_ctf_sou_members()
611 ctf_dictionary, in process_ctf_sou_members()
629 if (ctf_errno(ctf_dictionary) != ECTF_NEXT_END) in process_ctf_sou_members()
645 ctf_dict_t *ctf_dictionary, in process_ctf_forward_type() argument
649 std::string type_name = ctf_type_name_raw(ctf_dictionary, in process_ctf_forward_type()
652 uint32_t kind = ctf_type_kind_forwarded (ctf_dictionary, ctf_type); in process_ctf_forward_type()
688 ctxt->add_type(ctf_dictionary, ctf_type, is_type(result)); in process_ctf_forward_type()
707 ctf_dict_t *ctf_dictionary, in process_ctf_struct_type() argument
711 std::string struct_type_name = ctf_type_name_raw(ctf_dictionary, in process_ctf_struct_type()
723 ctf_type_size(ctf_dictionary, ctf_type) * 8, in process_ctf_struct_type()
724 ctf_type_align(ctf_dictionary, ctf_type) * 8, in process_ctf_struct_type()
738 ctxt->add_type(ctf_dictionary, ctf_type, result); in process_ctf_struct_type()
743 process_ctf_sou_members(ctxt, corp, tunit, ctf_dictionary, ctf_type, in process_ctf_struct_type()
763 ctf_dict_t *ctf_dictionary, in process_ctf_union_type() argument
767 std::string union_type_name = ctf_type_name_raw(ctf_dictionary, in process_ctf_union_type()
779 ctf_type_size(ctf_dictionary, ctf_type) * 8, in process_ctf_union_type()
792 ctxt->add_type(ctf_dictionary, ctf_type, result); in process_ctf_union_type()
797 process_ctf_sou_members(ctxt, corp, tunit, ctf_dictionary, ctf_type, in process_ctf_union_type()
817 ctf_dict_t *ctf_dictionary, in process_ctf_array_type() argument
825 if (static_cast<ctf_id_t>(ctf_array_info(ctf_dictionary, in process_ctf_array_type()
836 ctf_dictionary, in process_ctf_array_type()
843 ctf_dictionary, in process_ctf_array_type()
848 result = dynamic_pointer_cast<array_type_def>(ctxt->lookup_type(ctf_dictionary, in process_ctf_array_type()
888 ctxt->add_type(ctf_dictionary, ctf_type, result); in process_ctf_array_type()
906 ctf_dict_t *ctf_dictionary, in process_ctf_qualified_type() argument
910 int type_kind = ctf_type_kind(ctf_dictionary, ctf_type); in process_ctf_qualified_type()
911 ctf_id_t ctf_utype = ctf_type_reference(ctf_dictionary, ctf_type); in process_ctf_qualified_type()
913 ctf_dictionary, ctf_utype); in process_ctf_qualified_type()
917 result = dynamic_pointer_cast<type_base>(ctxt->lookup_type(ctf_dictionary, in process_ctf_qualified_type()
941 ctxt->add_type(ctf_dictionary, ctf_type, result); in process_ctf_qualified_type()
961 ctf_dict_t *ctf_dictionary, in process_ctf_pointer_type() argument
965 ctf_id_t ctf_target_type = ctf_type_reference(ctf_dictionary, ctf_type); in process_ctf_pointer_type()
970 ctf_dictionary, in process_ctf_pointer_type()
975 result = dynamic_pointer_cast<pointer_type_def>(ctxt->lookup_type(ctf_dictionary, in process_ctf_pointer_type()
981 ctf_type_size(ctf_dictionary, ctf_type) * 8, in process_ctf_pointer_type()
982 ctf_type_align(ctf_dictionary, ctf_type) * 8, in process_ctf_pointer_type()
987 ctxt->add_type(ctf_dictionary, ctf_type, result); in process_ctf_pointer_type()
1006 ctf_dict_t *ctf_dictionary, in process_ctf_enum_type() argument
1010 std::string enum_name = ctf_type_name_raw(ctf_dictionary, ctf_type); in process_ctf_enum_type()
1020 size_t utype_size_in_bits = ctf_type_size(ctf_dictionary, ctf_type) * 8; in process_ctf_enum_type()
1041 while ((ename = ctf_enum_next(ctf_dictionary, ctf_type, &enum_next, &evalue))) in process_ctf_enum_type()
1043 if (ctf_errno(ctf_dictionary) != ECTF_NEXT_END) in process_ctf_enum_type()
1054 ctxt->add_type(ctf_dictionary, ctf_type, result); in process_ctf_enum_type()
1077 ctf_dict_t *ctf_dictionary, in process_ctf_type() argument
1080 int type_kind = ctf_type_kind(ctf_dictionary, ctf_type); in process_ctf_type()
1086 if ((result = ctxt->lookup_type(ctf_dictionary, ctf_type))) in process_ctf_type()
1095 = process_ctf_base_type(ctxt, corp, tunit, ctf_dictionary, ctf_type); in process_ctf_type()
1102 = process_ctf_typedef(ctxt, corp, tunit, ctf_dictionary, ctf_type); in process_ctf_type()
1109 = process_ctf_pointer_type(ctxt, corp, tunit, ctf_dictionary, ctf_type); in process_ctf_type()
1118 = process_ctf_qualified_type(ctxt, corp, tunit, ctf_dictionary, ctf_type); in process_ctf_type()
1125 = process_ctf_array_type(ctxt, corp, tunit, ctf_dictionary, ctf_type); in process_ctf_type()
1132 = process_ctf_enum_type(ctxt, tunit, ctf_dictionary, ctf_type); in process_ctf_type()
1139 = process_ctf_function_type(ctxt, corp, tunit, ctf_dictionary, ctf_type); in process_ctf_type()
1146 = process_ctf_struct_type(ctxt, corp, tunit, ctf_dictionary, ctf_type); in process_ctf_type()
1153 ctf_dictionary, in process_ctf_type()
1160 = process_ctf_union_type(ctxt, corp, tunit, ctf_dictionary, ctf_type); in process_ctf_type()
1195 translation_unit_sptr tunit, ctf_dict_t *ctf_dictionary, in lookup_type() argument
1198 type_base_sptr result = ctxt->lookup_type(ctf_dictionary, ctf_type); in lookup_type()
1201 result = process_ctf_type(ctxt, corp, tunit, ctf_dictionary, ctf_type); in lookup_type()