Home
last modified time | relevance | path

Searched refs:fileLength (Results 1 – 3 of 3) sorted by relevance

/openbmc/ipmitool/lib/
H A Dipmi_gendev.c372 uint32_t fileLength = 0; in ipmi_gendev_write_file() local
381 fileLength = ftell(fp); in ipmi_gendev_write_file()
383 lprintf(LOG_ERR, "File Size: %i", fileLength); in ipmi_gendev_write_file()
385 if(fileLength != eeprom_size) in ipmi_gendev_write_file()
H A Dipmi_fru.c4303 uint32_t fileLength = 0; in ipmi_fru_write_internal_use() local
4314 fileLength = ftell(fp); in ipmi_fru_write_internal_use()
4316 lprintf(LOG_ERR, "File Size: %i", fileLength); in ipmi_fru_write_internal_use()
4318 if(fileLength != size) in ipmi_fru_write_internal_use()
/openbmc/smbios-mdr/src/
H A Dmdrv2.cpp228 size_t fileLength = smbiosFile.tellg(); in readDataFromFlash() local
230 if (fileLength < sizeof(MDRSMBIOSHeader)) in readDataFromFlash()
244 fileLength -= sizeof(MDRSMBIOSHeader); in readDataFromFlash()
245 if (fileLength < mdrHdr->dataSize) in readDataFromFlash()
247 smbiosFile.read(reinterpret_cast<char*>(data), fileLength); in readDataFromFlash()