Lines Matching refs:sobj

194 simple_object_find_sections (simple_object_read *sobj,  in simple_object_find_sections()  argument
199 return sobj->functions->find_sections (sobj, pfn, data, err); in simple_object_find_sections()
237 simple_object_find_section (simple_object_read *sobj, const char *name, in simple_object_find_section() argument
248 *errmsg = simple_object_find_sections (sobj, find_one_section, in simple_object_find_section()
330 simple_object_copy_lto_debug_sections (simple_object_read *sobj, in simple_object_copy_lto_debug_sections() argument
338 if (! sobj->functions->copy_lto_debug_sections) in simple_object_copy_lto_debug_sections()
344 attrs = simple_object_fetch_attributes (sobj, &errmsg, err); in simple_object_copy_lto_debug_sections()
352 errmsg = sobj->functions->copy_lto_debug_sections in simple_object_copy_lto_debug_sections()
353 (sobj, dest_sobj, in simple_object_copy_lto_debug_sections()
385 simple_object_fetch_attributes (simple_object_read *sobj, const char **errmsg, in simple_object_fetch_attributes() argument
391 data = sobj->functions->fetch_attributes (sobj, errmsg, err); in simple_object_fetch_attributes()
395 ret->functions = sobj->functions; in simple_object_fetch_attributes()
403 simple_object_release_read (simple_object_read *sobj) in simple_object_release_read() argument
405 sobj->functions->release_read (sobj->data); in simple_object_release_read()
406 XDELETE (sobj); in simple_object_release_read()
458 simple_object_write_create_section (simple_object_write *sobj, const char *name, in simple_object_write_create_section() argument
472 if (sobj->last_section == NULL) in simple_object_write_create_section()
474 sobj->sections = ret; in simple_object_write_create_section()
475 sobj->last_section = ret; in simple_object_write_create_section()
479 sobj->last_section->next = ret; in simple_object_write_create_section()
480 sobj->last_section = ret; in simple_object_write_create_section()
489 simple_object_write_add_data (simple_object_write *sobj ATTRIBUTE_UNUSED, in simple_object_write_add_data()
530 simple_object_write_to_file (simple_object_write *sobj, int descriptor, in simple_object_write_to_file() argument
533 return sobj->functions->write_to_file (sobj, descriptor, err); in simple_object_write_to_file()
539 simple_object_release_write (simple_object_write *sobj) in simple_object_release_write() argument
543 free (sobj->segment_name); in simple_object_release_write()
545 section = sobj->sections; in simple_object_release_write()
569 sobj->functions->release_write (sobj->data); in simple_object_release_write()
570 XDELETE (sobj); in simple_object_release_write()