Lines Matching refs:ifs
637 std::ifstream ifs(biosConfigNVPath, std::ios::in | std::ios::binary); in InitNVOOBdata() local
639 if (ifs.good()) in InitNVOOBdata()
641 ifs.seekg(std::ios_base::beg); in InitNVOOBdata()
642 ifs.read(reinterpret_cast<char*>(&gNVOOBdata), in InitNVOOBdata()
644 ifs.close(); in InitNVOOBdata()
958 std::ifstream ifs(payloadFilePath, in ipmiOEMGetPayload() local
961 if (!ifs.good()) in ipmiOEMGetPayload()
969 ifs.close(); in ipmiOEMGetPayload()
1007 std::ifstream ifs(payloadFilePath, in ipmiOEMGetPayload() local
1011 if (!ifs.good()) in ipmiOEMGetPayload()
1018 std::ifstream::pos_type fileSize = ifs.tellg(); in ipmiOEMGetPayload()
1034 ifs.seekg(offset, std::ios::beg); in ipmiOEMGetPayload()
1036 ifs.read(reinterpret_cast<char*>(Buffer.data()), length); in ipmiOEMGetPayload()
1037 uint32_t readCount = ifs.gcount(); in ipmiOEMGetPayload()
1038 ifs.close(); in ipmiOEMGetPayload()