Lines Matching full:io
34 static void enumeration(IO &io, llvm::pdb::PDB_Machine &Value) { in enumeration()
35 io.enumCase(Value, "Invalid", PDB_Machine::Invalid); in enumeration()
36 io.enumCase(Value, "Am33", PDB_Machine::Am33); in enumeration()
37 io.enumCase(Value, "Amd64", PDB_Machine::Amd64); in enumeration()
38 io.enumCase(Value, "Arm", PDB_Machine::Arm); in enumeration()
39 io.enumCase(Value, "ArmNT", PDB_Machine::ArmNT); in enumeration()
40 io.enumCase(Value, "Ebc", PDB_Machine::Ebc); in enumeration()
41 io.enumCase(Value, "x86", PDB_Machine::x86); in enumeration()
42 io.enumCase(Value, "Ia64", PDB_Machine::Ia64); in enumeration()
43 io.enumCase(Value, "M32R", PDB_Machine::M32R); in enumeration()
44 io.enumCase(Value, "Mips16", PDB_Machine::Mips16); in enumeration()
45 io.enumCase(Value, "MipsFpu", PDB_Machine::MipsFpu); in enumeration()
46 io.enumCase(Value, "MipsFpu16", PDB_Machine::MipsFpu16); in enumeration()
47 io.enumCase(Value, "PowerPCFP", PDB_Machine::PowerPCFP); in enumeration()
48 io.enumCase(Value, "R4000", PDB_Machine::R4000); in enumeration()
49 io.enumCase(Value, "SH3", PDB_Machine::SH3); in enumeration()
50 io.enumCase(Value, "SH3DSP", PDB_Machine::SH3DSP); in enumeration()
51 io.enumCase(Value, "Thumb", PDB_Machine::Thumb); in enumeration()
52 io.enumCase(Value, "WceMipsV2", PDB_Machine::WceMipsV2); in enumeration()
53 io.enumCase(Value, "Arm64", PDB_Machine::Arm64); in enumeration()
58 static void enumeration(IO &io, llvm::pdb::PdbRaw_DbiVer &Value) { in enumeration()
59 io.enumCase(Value, "V41", llvm::pdb::PdbRaw_DbiVer::PdbDbiVC41); in enumeration()
60 io.enumCase(Value, "V50", llvm::pdb::PdbRaw_DbiVer::PdbDbiV50); in enumeration()
61 io.enumCase(Value, "V60", llvm::pdb::PdbRaw_DbiVer::PdbDbiV60); in enumeration()
62 io.enumCase(Value, "V70", llvm::pdb::PdbRaw_DbiVer::PdbDbiV70); in enumeration()
63 io.enumCase(Value, "V110", llvm::pdb::PdbRaw_DbiVer::PdbDbiV110); in enumeration()
68 static void enumeration(IO &io, llvm::pdb::PdbRaw_ImplVer &Value) { in enumeration()
69 io.enumCase(Value, "VC2", llvm::pdb::PdbRaw_ImplVer::PdbImplVC2); in enumeration()
70 io.enumCase(Value, "VC4", llvm::pdb::PdbRaw_ImplVer::PdbImplVC4); in enumeration()
71 io.enumCase(Value, "VC41", llvm::pdb::PdbRaw_ImplVer::PdbImplVC41); in enumeration()
72 io.enumCase(Value, "VC50", llvm::pdb::PdbRaw_ImplVer::PdbImplVC50); in enumeration()
73 io.enumCase(Value, "VC98", llvm::pdb::PdbRaw_ImplVer::PdbImplVC98); in enumeration()
74 io.enumCase(Value, "VC70Dep", llvm::pdb::PdbRaw_ImplVer::PdbImplVC70Dep); in enumeration()
75 io.enumCase(Value, "VC70", llvm::pdb::PdbRaw_ImplVer::PdbImplVC70); in enumeration()
76 io.enumCase(Value, "VC80", llvm::pdb::PdbRaw_ImplVer::PdbImplVC80); in enumeration()
77 io.enumCase(Value, "VC110", llvm::pdb::PdbRaw_ImplVer::PdbImplVC110); in enumeration()
78 io.enumCase(Value, "VC140", llvm::pdb::PdbRaw_ImplVer::PdbImplVC140); in enumeration()
83 static void enumeration(IO &io, llvm::pdb::PdbRaw_TpiVer &Value) { in enumeration()
84 io.enumCase(Value, "VC40", llvm::pdb::PdbRaw_TpiVer::PdbTpiV40); in enumeration()
85 io.enumCase(Value, "VC41", llvm::pdb::PdbRaw_TpiVer::PdbTpiV41); in enumeration()
86 io.enumCase(Value, "VC50", llvm::pdb::PdbRaw_TpiVer::PdbTpiV50); in enumeration()
87 io.enumCase(Value, "VC70", llvm::pdb::PdbRaw_TpiVer::PdbTpiV70); in enumeration()
88 io.enumCase(Value, "VC80", llvm::pdb::PdbRaw_TpiVer::PdbTpiV80); in enumeration()
93 static void enumeration(IO &io, PdbRaw_FeatureSig &Features) { in enumeration()
94 io.enumCase(Features, "MinimalDebugInfo", in enumeration()
96 io.enumCase(Features, "NoTypeMerge", PdbRaw_FeatureSig::NoTypeMerge); in enumeration()
97 io.enumCase(Features, "VC110", PdbRaw_FeatureSig::VC110); in enumeration()
98 io.enumCase(Features, "VC140", PdbRaw_FeatureSig::VC140); in enumeration()
104 void MappingTraits<PdbObject>::mapping(IO &IO, PdbObject &Obj) { in mapping() argument
105 IO.mapOptional("MSF", Obj.Headers); in mapping()
106 IO.mapOptional("StreamSizes", Obj.StreamSizes); in mapping()
107 IO.mapOptional("StreamMap", Obj.StreamMap); in mapping()
108 IO.mapOptional("StringTable", Obj.StringTable); in mapping()
109 IO.mapOptional("PdbStream", Obj.PdbStream); in mapping()
110 IO.mapOptional("DbiStream", Obj.DbiStream); in mapping()
111 IO.mapOptional("TpiStream", Obj.TpiStream); in mapping()
112 IO.mapOptional("IpiStream", Obj.IpiStream); in mapping()
113 IO.mapOptional("PublicsStream", Obj.PublicsStream); in mapping()
116 void MappingTraits<MSFHeaders>::mapping(IO &IO, MSFHeaders &Obj) { in mapping() argument
117 IO.mapOptional("SuperBlock", Obj.SuperBlock); in mapping()
118 IO.mapOptional("NumDirectoryBlocks", Obj.NumDirectoryBlocks); in mapping()
119 IO.mapOptional("DirectoryBlocks", Obj.DirectoryBlocks); in mapping()
120 IO.mapOptional("NumStreams", Obj.NumStreams); in mapping()
121 IO.mapOptional("FileSize", Obj.FileSize); in mapping()
124 void MappingTraits<msf::SuperBlock>::mapping(IO &IO, msf::SuperBlock &SB) { in mapping() argument
125 if (!IO.outputting()) { in mapping()
130 IO.mapOptional("BlockSize", SB.BlockSize, u32(4096U)); in mapping()
131 IO.mapOptional("FreeBlockMap", SB.FreeBlockMapBlock, u32(0U)); in mapping()
132 IO.mapOptional("NumBlocks", SB.NumBlocks, u32(0U)); in mapping()
133 IO.mapOptional("NumDirectoryBytes", SB.NumDirectoryBytes, u32(0U)); in mapping()
134 IO.mapOptional("Unknown1", SB.Unknown1, u32(0U)); in mapping()
135 IO.mapOptional("BlockMapAddr", SB.BlockMapAddr, u32(0U)); in mapping()
138 void MappingTraits<StreamBlockList>::mapping(IO &IO, StreamBlockList &SB) { in mapping() argument
139 IO.mapRequired("Stream", SB.Blocks); in mapping()
142 void MappingTraits<PdbInfoStream>::mapping(IO &IO, PdbInfoStream &Obj) { in mapping() argument
143 IO.mapOptional("Age", Obj.Age, 1U); in mapping()
144 IO.mapOptional("Guid", Obj.Guid); in mapping()
145 IO.mapOptional("Signature", Obj.Signature, 0U); in mapping()
146 IO.mapOptional("Features", Obj.Features); in mapping()
147 IO.mapOptional("Version", Obj.Version, PdbImplVC70); in mapping()
150 void MappingTraits<PdbDbiStream>::mapping(IO &IO, PdbDbiStream &Obj) { in mapping() argument
151 IO.mapOptional("VerHeader", Obj.VerHeader, PdbDbiV70); in mapping()
152 IO.mapOptional("Age", Obj.Age, 1U); in mapping()
153 IO.mapOptional("BuildNumber", Obj.BuildNumber, uint16_t(0U)); in mapping()
154 IO.mapOptional("PdbDllVersion", Obj.PdbDllVersion, 0U); in mapping()
155 IO.mapOptional("PdbDllRbld", Obj.PdbDllRbld, uint16_t(0U)); in mapping()
156 IO.mapOptional("Flags", Obj.Flags, uint16_t(1U)); in mapping()
157 IO.mapOptional("MachineType", Obj.MachineType, PDB_Machine::x86); in mapping()
158 IO.mapOptional("Modules", Obj.ModInfos); in mapping()
161 void MappingTraits<PdbTpiStream>::mapping(IO &IO, in mapping() argument
163 IO.mapOptional("Version", Obj.Version, PdbTpiV80); in mapping()
164 IO.mapRequired("Records", Obj.Records); in mapping()
168 IO &IO, pdb::yaml::PdbPublicsStream &Obj) { in mapping() argument
169 IO.mapRequired("Records", Obj.PubSyms); in mapping()
172 void MappingTraits<NamedStreamMapping>::mapping(IO &IO, in mapping() argument
174 IO.mapRequired("Name", Obj.StreamName); in mapping()
175 IO.mapRequired("StreamNum", Obj.StreamNumber); in mapping()
178 void MappingTraits<PdbModiStream>::mapping(IO &IO, PdbModiStream &Obj) { in mapping() argument
179 IO.mapOptional("Signature", Obj.Signature, 4U); in mapping()
180 IO.mapRequired("Records", Obj.Symbols); in mapping()
183 void MappingTraits<PdbDbiModuleInfo>::mapping(IO &IO, PdbDbiModuleInfo &Obj) { in mapping() argument
184 IO.mapRequired("Module", Obj.Mod); in mapping()
185 IO.mapOptional("ObjFile", Obj.Obj, Obj.Mod); in mapping()
186 IO.mapOptional("SourceFiles", Obj.SourceFiles); in mapping()
187 IO.mapOptional("Subsections", Obj.Subsections); in mapping()
188 IO.mapOptional("Modi", Obj.Modi); in mapping()