Searched refs:ETime (Results 1 – 1 of 1) sorted by relevance
152 from_efi_time(EFI_TIME *ETime) in from_efi_time() argument160 if (ETime->Year < 1998 || ETime->Year > 2099 || in from_efi_time()161 ETime->Month == 0 || ETime->Month > 12 || in from_efi_time()162 ETime->Day == 0 || ETime->Month > 31 || in from_efi_time()163 ETime->Hour > 23 || ETime->Minute > 59 || in from_efi_time()164 ETime->Second > 59 || ETime->TimeZone < -1440 || in from_efi_time()165 (ETime->TimeZone > 1440 && ETime->TimeZone != 2047)) { in from_efi_time()173 for (Year = 1970; Year != ETime->Year; ++Year) { in from_efi_time()182 UTime += (CumulativeDays[isleap(ETime->Year)][ETime->Month] * in from_efi_time()191 UTime += (((ETime->Day > 0) ? ETime->Day-1:0) * SECSPERDAY); in from_efi_time()[all …]