Lines Matching refs:To

18   Compare the Hour, Minute and Second of the From time and the To time.
23 @param To the second 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
32 IN EFI_TIME *To
36 To check if second date is later than first date within 24 hours.
39 @param To the second 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.
47 IN EFI_TIME *To
994 Compare the Hour, Minute and Second of the From time and the To time.
999 @param To the second 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
1008 IN EFI_TIME *To
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)) {
1023 To check if second date is later than first date within 24 hours.
1026 @param To the second 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.
1034 IN EFI_TIME *To
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)) {
1075 if ((CompareHMS(From, To) >= 0)) {
1080 if ((CompareHMS(From, To) >= 0)) {
1085 } else if (((From->Year + 1) == To->Year) &&
1088 (To->Month == 1) &&
1089 (To->Day == 1)) {
1090 if ((CompareHMS(From, To) >= 0)) {