Lines Matching defs:format

26 	A format is a BFD concept of high level file contents type. The
42 File format functions
57 bfd_boolean bfd_check_format (bfd *abfd, bfd_format format);
61 with the format @var{format} (i.e., one of <<bfd_object>>,
65 call, only the named target and format combination is
76 if <<format>> is not one of <<bfd_object>>, <<bfd_archive>> or
84 none of the backends recognised the file format.
87 more than one backend recognised the file format.
91 bfd_check_format (bfd *abfd, bfd_format format)
93 return bfd_check_format_matches (abfd, format, NULL);
102 (bfd *abfd, bfd_format format, char ***matching);
110 Then the user may choose a format and try again.
117 bfd_check_format_matches (bfd *abfd, bfd_format format, char ***matching)
127 || (unsigned int) abfd->format >= (unsigned int) bfd_type_end)
133 if (abfd->format != bfd_unknown)
134 return abfd->format == format;
157 abfd->format = format;
181 We can not set this flag until after checking the format,
201 if (format == bfd_archive && save_targ == &binary_vec)
204 abfd->format = bfd_unknown;
244 /* This format checks out as ok! */
276 abfd->format = bfd_unknown;
337 We can not set this flag until after checking the format,
346 abfd->format = bfd_unknown; /* Restore original format. */
381 bfd_boolean bfd_set_format (bfd *abfd, bfd_format format);
384 This function sets the file format of the BFD @var{abfd} to the
385 format @var{format}. If the target set in the BFD does not
386 support the format requested, the format is invalid, or the BFD
391 bfd_set_format (bfd *abfd, bfd_format format)
394 || (unsigned int) abfd->format >= (unsigned int) bfd_type_end)
400 if (abfd->format != bfd_unknown)
401 return abfd->format == format;
404 abfd->format = format;
408 abfd->format = bfd_unknown;
420 const char *bfd_format_string (bfd_format format);
425 depending upon the value of @var{format}.
429 bfd_format_string (bfd_format format)
431 if (((int) format < (int) bfd_unknown)
432 || ((int) format >= (int) bfd_type_end))
435 switch (format)