• Home
  • Raw
  • Download

Lines Matching refs:fp

45 static const std::string GetNextLine(FILE *fp, int *status)  in GetNextLine()  argument
53 if (fgets(buf, bufSize, fp) == nullptr) { in GetNextLine()
1017 std::unique_ptr<EhdrFromReadelf> EhdrFromReadelf::MakeUnique(FILE *fp) in MakeUnique() argument
1019 if (fp == nullptr) { in MakeUnique()
1028 if (!ehdr->Init(fp)) { in MakeUnique()
1036 bool EhdrFromReadelf::Init(FILE *fp) in Init() argument
1038 if (fp == nullptr) { in Init()
1044 GetNextLine(fp, &status); in Init()
1045 if (!GetMagic(fp)) { in Init()
1052 GetNextLine(fp, &status); in Init()
1054 if (!GetEntryAddr(fp)) { in Init()
1058 if (!GetPrgOffset(fp)) { in Init()
1062 if (!GetSecOffset(fp)) { in Init()
1066 if (!GetFlag(fp)) { in Init()
1070 if (!GetEhdrSize(fp)) { in Init()
1074 if (!GetPhdrSize(fp)) { in Init()
1078 if (!GetNumPhdrs(fp)) { in Init()
1082 if (!GetShdrSize(fp)) { in Init()
1086 if (!GetNumShdrs(fp)) { in Init()
1090 if (!GetShdrStrTabIdx(fp)) { in Init()
1097 bool EhdrFromReadelf::GetMagic(FILE * const fp) in GetMagic() argument
1099 if (fp == nullptr) { in GetMagic()
1104 std::string magicLine = GetNextLine(fp, &status); in GetMagic()
1124 bool EhdrFromReadelf::GetEntryAddr(FILE * const fp) in GetEntryAddr() argument
1127 std::string entryLine = GetNextLine(fp, &status); in GetEntryAddr()
1145 bool EhdrFromReadelf::GetPrgOffset(FILE * const fp) in GetPrgOffset() argument
1148 std::string line = GetNextLine(fp, &status); in GetPrgOffset()
1166 bool EhdrFromReadelf::GetSecOffset(FILE * const fp) in GetSecOffset() argument
1169 std::string line = GetNextLine(fp, &status); in GetSecOffset()
1187 bool EhdrFromReadelf::GetFlag(FILE * const fp) in GetFlag() argument
1190 std::string line = GetNextLine(fp, &status); in GetFlag()
1208 bool EhdrFromReadelf::GetEhdrSize(FILE * const fp) in GetEhdrSize() argument
1211 std::string line = GetNextLine(fp, &status); in GetEhdrSize()
1229 bool EhdrFromReadelf::GetPhdrSize(FILE * const fp) in GetPhdrSize() argument
1232 std::string line = GetNextLine(fp, &status); in GetPhdrSize()
1250 bool EhdrFromReadelf::GetNumPhdrs(FILE * const fp) in GetNumPhdrs() argument
1253 std::string line = GetNextLine(fp, &status); in GetNumPhdrs()
1271 bool EhdrFromReadelf::GetShdrSize(FILE * const fp) in GetShdrSize() argument
1274 std::string line = GetNextLine(fp, &status); in GetShdrSize()
1292 bool EhdrFromReadelf::GetNumShdrs(FILE * const fp) in GetNumShdrs() argument
1295 std::string line = GetNextLine(fp, &status); in GetNumShdrs()
1313 bool EhdrFromReadelf::GetShdrStrTabIdx(FILE * const fp) in GetShdrStrTabIdx() argument
1316 std::string line = GetNextLine(fp, &status); in GetShdrStrTabIdx()