Lines Matching refs:IO
20 void MappingTraits<YamlObjectFile>::mapping(IO &IO, in mapping() argument
22 if (IO.outputting()) { in mapping()
24 MappingTraits<ELFYAML::Object>::mapping(IO, *ObjectFile.Elf); in mapping()
26 MappingTraits<COFFYAML::Object>::mapping(IO, *ObjectFile.Coff); in mapping()
28 MappingTraits<MachOYAML::Object>::mapping(IO, *ObjectFile.MachO); in mapping()
30 MappingTraits<MachOYAML::UniversalBinary>::mapping(IO, in mapping()
33 if (IO.mapTag("!ELF")) { in mapping()
35 MappingTraits<ELFYAML::Object>::mapping(IO, *ObjectFile.Elf); in mapping()
36 } else if (IO.mapTag("!COFF")) { in mapping()
38 MappingTraits<COFFYAML::Object>::mapping(IO, *ObjectFile.Coff); in mapping()
39 } else if (IO.mapTag("!mach-o")) { in mapping()
41 MappingTraits<MachOYAML::Object>::mapping(IO, *ObjectFile.MachO); in mapping()
42 } else if (IO.mapTag("!fat-mach-o")) { in mapping()
44 MappingTraits<MachOYAML::UniversalBinary>::mapping(IO, in mapping()
47 Input &In = (Input &)IO; in mapping()
50 IO.setError("YAML Object File missing document type tag!"); in mapping()
52 IO.setError( in mapping()