Lines Matching refs:getStructOrErr
80 static Expected<T> getStructOrErr(const MachOObjectFile &O, const char *P) { in getStructOrErr() function
188 if (auto CmdOrErr = getStructOrErr<MachO::load_command>(Obj, Ptr)) { in getLoadCommandInfo()
230 if (auto HeaderOrErr = getStructOrErr<T>(Obj, getPtr(Obj, 0))) in parseHeader()
285 if (auto SegOrErr = getStructOrErr<Segment>(Obj, Load.Ptr)) { in parseSegmentLoadCommand()
297 auto SectionOrErr = getStructOrErr<Section>(Obj, Sec); in parseSegmentLoadCommand()
410 auto SymtabOrErr = getStructOrErr<MachO::symtab_command>(Obj, Load.Ptr); in checkSymtabCommand()
469 getStructOrErr<MachO::dysymtab_command>(Obj, Load.Ptr); in checkDysymtabCommand()
603 getStructOrErr<MachO::linkedit_data_command>(Obj, Load.Ptr); in checkLinkeditDataCommand()
641 getStructOrErr<MachO::dyld_info_command>(Obj, Load.Ptr); in checkDyldInfoCommand()
734 auto CommandOrErr = getStructOrErr<MachO::dylib_command>(Obj, Load.Ptr); in checkDylibCommand()
783 auto CommandOrErr = getStructOrErr<MachO::dylinker_command>(Obj, Load.Ptr); in checkDyldCommand()
831 auto NoteCmdOrErr = getStructOrErr<MachO::note_command>(Obj, Load.Ptr); in checkNoteCommand()
858 getStructOrErr<MachO::build_version_command>(Obj, Load.Ptr); in parseBuildVersionCommand()
882 auto ROrErr = getStructOrErr<MachO::rpath_command>(Obj, Load.Ptr); in checkRpathCommand()
939 getStructOrErr<MachO::linker_option_command>(Obj, Load.Ptr); in checkLinkerOptCommand()
1007 getStructOrErr<MachO::thread_command>(Obj, Load.Ptr); in checkThreadCommand()
1201 auto HintsOrErr = getStructOrErr<MachO::twolevel_hints_command>(Obj, Load.Ptr); in checkTwoLevelHintsCommand()
2463 getStructOrErr<MachO::dylib_command>(*this, Libraries[i]); in getLibraryShortNameByIndex()
4557 getStructOrErr<MachO::dyld_info_command>(*this, DyldInfoLoadCmd); in getDyldInfoRebaseOpcodes()
4571 getStructOrErr<MachO::dyld_info_command>(*this, DyldInfoLoadCmd); in getDyldInfoBindOpcodes()
4585 getStructOrErr<MachO::dyld_info_command>(*this, DyldInfoLoadCmd); in getDyldInfoWeakBindOpcodes()
4599 getStructOrErr<MachO::dyld_info_command>(*this, DyldInfoLoadCmd); in getDyldInfoLazyBindOpcodes()
4613 getStructOrErr<MachO::dyld_info_command>(*this, DyldInfoLoadCmd); in getDyldInfoExportsTrie()