Searched refs:fileLength (Results 1 – 3 of 3) sorted by relevance
372 uint32_t fileLength = 0; in ipmi_gendev_write_file() local381 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()
4303 uint32_t fileLength = 0; in ipmi_fru_write_internal_use() local4314 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()
228 size_t fileLength = smbiosFile.tellg(); in readDataFromFlash() local230 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()