Lines Matching defs:From

18   Compare the Hour, Minute and Second of the From time and the To time.
22 @param From the first time
25 @return >0 The H/M/S of the From time is later than those of To time
26 @return ==0 The H/M/S of the From time is same as those of To time
27 @return <0 The H/M/S of the From time is earlier than those of To time
31 IN EFI_TIME *From,
38 @param From the first date
41 @retval TRUE From is previous to To within 24 hours.
42 @retval FALSE From is later, or it is previous to To more than 24 hours.
46 IN EFI_TIME *From,
994 Compare the Hour, Minute and Second of the From time and the To time.
998 @param From the first time
1001 @return >0 The H/M/S of the From time is later than those of To time
1002 @return ==0 The H/M/S of the From time is same as those of To time
1003 @return <0 The H/M/S of the From time is earlier than those of To time
1007 IN EFI_TIME *From,
1011 if ((From->Hour > To->Hour) ||
1012 ((From->Hour == To->Hour) && (From->Minute > To->Minute)) ||
1013 ((From->Hour == To->Hour) && (From->Minute == To->Minute) && (From->Second > To->Second))) {
1015 } else if ((From->Hour == To->Hour) && (From->Minute == To->Minute) && (From->Second == To->Second)) {
1025 @param From the first date
1028 @retval TRUE From is previous to To within 24 hours.
1029 @retval FALSE From is later, or it is previous to To more than 24 hours.
1033 IN EFI_TIME *From,
1056 // The validity of From->Month field should be checked before
1058 ASSERT (From->Month >=1);
1059 ASSERT (From->Month <=12);
1061 if (From->Year == To->Year) {
1062 if (From->Month == To->Month) {
1063 if ((From->Day + 1) == To->Day) {
1064 if ((CompareHMS(From, To) >= 0)) {
1067 } else if (From->Day == To->Day) {
1068 if ((CompareHMS(From, To) <= 0)) {
1072 } else if (((From->Month + 1) == To->Month) && (To->Day == 1)) {
1073 if ((From->Month == 2) && !IsLeapYear(From)) {
1074 if (From->Day == 28) {
1075 if ((CompareHMS(From, To) >= 0)) {
1079 } else if (From->Day == DayOfMonth[From->Month - 1]) {
1080 if ((CompareHMS(From, To) >= 0)) {
1085 } else if (((From->Year + 1) == To->Year) &&
1086 (From->Month == 12) &&
1087 (From->Day == 31) &&
1090 if ((CompareHMS(From, To) >= 0)) {