| /TwlSDK-5.1.0/build/libraries/rtc/ARM9/src/ |
| D | convert.c | 53 s32 RTC_ConvertDateToDay(const RTCDate *date) in RTC_ConvertDateToDay() argument 57 if (date->year >= 100 in RTC_ConvertDateToDay() 58 || (date->month < 1) || (date->month > 12) in RTC_ConvertDateToDay() 59 || (date->day < 1) || (date->day > 31) in RTC_ConvertDateToDay() 60 || (date->week >= RTC_WEEK_MAX) || (date->month < 1) || (date->month > 12)) in RTC_ConvertDateToDay() 66 dayNum = (s32)(date->day - 1); in RTC_ConvertDateToDay() 67 dayNum += sDayOfYear[date->month - 1]; in RTC_ConvertDateToDay() 68 if ((date->month >= 3) && RTCi_IsLeapYear(date->year)) in RTC_ConvertDateToDay() 75 dayNum += date->year * 365; in RTC_ConvertDateToDay() 78 dayNum += (date->year + 3) / 4; in RTC_ConvertDateToDay() [all …]
|
| D | swclock.c | 34 static void RtcGetDateTimeExFromSWClock(RTCDate * date, RTCTimeEx *time); 122 RTCResult RTC_GetDateTimeExFromSWClock(RTCDate *date, RTCTimeEx *time) in RTC_GetDateTimeExFromSWClock() argument 124 SDK_NULL_ASSERT(date); in RTC_GetDateTimeExFromSWClock() 127 RtcGetDateTimeExFromSWClock(date, time); in RTC_GetDateTimeExFromSWClock() 167 static void RtcGetDateTimeExFromSWClock(RTCDate * date, RTCTimeEx *time) in RtcGetDateTimeExFromSWClock() argument 176 RTC_ConvertSecondToDateTime(date, (RTCTime*)time, currentSWClockSeconds); in RtcGetDateTimeExFromSWClock()
|
| D | external.c | 94 static BOOL RtcCheckDate(const RTCDate *date, RTCRawDate *raw); 152 RTCResult RTC_GetDateAsync(RTCDate *date, RTCCallback callback, void *arg) in RTC_GetDateAsync() argument 156 SDK_ASSERT(date != NULL); in RTC_GetDateAsync() 172 rtcWork.buffer[0] = (void *)date; in RTC_GetDateAsync() 195 RTCResult RTC_GetDate(RTCDate *date) in RTC_GetDate() argument 197 rtcWork.commonResult = RTC_GetDateAsync(date, RtcGetResultCallback, NULL); in RTC_GetDate() 281 RTCResult RTC_GetDateTimeAsync(RTCDate *date, RTCTime *time, RTCCallback callback, void *arg) in RTC_GetDateTimeAsync() argument 285 SDK_NULL_ASSERT(date); in RTC_GetDateTimeAsync() 302 rtcWork.buffer[0] = (void *)date; in RTC_GetDateTimeAsync() 327 RTCResult RTC_GetDateTime(RTCDate *date, RTCTime *time) in RTC_GetDateTime() argument [all …]
|
| /TwlSDK-5.1.0/include/nitro/rtc/ARM9/ |
| D | convert.h | 52 s32 RTC_ConvertDateToDay(const RTCDate *date); 75 s64 RTC_ConvertDateTimeToSecond(const RTCDate *date, const RTCTime *time); 87 void RTC_ConvertDayToDate(RTCDate *date, s32 day); 112 void RTC_ConvertSecondToDateTime(RTCDate *date, RTCTime *time, s64 sec); 124 RTCWeek RTC_GetDayOfWeek(RTCDate *date);
|
| D | api.h | 165 RTCResult RTC_GetDate(RTCDate *date); 188 RTCResult RTC_GetDateTime(RTCDate *date, RTCTime *time); 199 RTCResult RTC_SetDate(const RTCDate *date); 222 RTCResult RTC_SetDateTime(const RTCDate *date, const RTCTime *time); 283 RTCResult RTC_GetDateAsync(RTCDate *date, RTCCallback callback, void *arg); 310 RTCResult RTC_GetDateTimeAsync(RTCDate *date, RTCTime *time, RTCCallback callback, void *arg); 323 RTCResult RTC_SetDateAsync(const RTCDate *date, RTCCallback callback, void *arg); 350 RTCResult RTC_SetDateTimeAsync(const RTCDate *date, const RTCTime *time, RTCCallback callback,
|
| D | swclock.h | 77 RTCResult RTC_GetDateTimeExFromSWClock(RTCDate *date, RTCTimeEx *time);
|
| /TwlSDK-5.1.0/build/demos/rtc/convert-1/src/ |
| D | main.c | 33 static void FormatDateTime(char *str, const RTCDate *date, const RTCTime *time); 198 RTCDate date; in ConvTest() local 203 RTC_ConvertSecondToDateTime(&date, &time, a[i]); in ConvTest() 204 FormatDateTime(datestr, &date, &time); in ConvTest() 207 result = RTC_ConvertDateTimeToSecond(&date, &time); in ConvTest() 217 static void FormatDateTime(char *str, const RTCDate *date, const RTCTime *time) in FormatDateTime() argument 220 date->year + 2000, date->month, date->day, sWeekName[date->week], in FormatDateTime()
|
| /TwlSDK-5.1.0/ |
| D | Makefile | 50 -mtime -`/bin/date +%j` \ 56 -mtime -`/bin/date +%j` \ 91 -mtime -`/bin/date +%j` \
|
| /TwlSDK-5.1.0/build/demos.TWL/nandApp/backup/src/ |
| D | main.c | 353 RTCDate date; in GetTestData() local 357 rtcResult = RTC_GetDateTime(&date, &time); in GetTestData() 362 date.year + 2000, in GetTestData() 363 date.month, in GetTestData() 364 date.day, in GetTestData()
|
| /TwlSDK-5.1.0/build/demos.TWL/nandApp/other_backup/src/ |
| D | main.c | 372 RTCDate date; in GetTestData() local 376 rtcResult = RTC_GetDateTime(&date, &time); in GetTestData() 381 date.year + 2000, in GetTestData() 382 date.month, in GetTestData() 383 date.day, in GetTestData()
|
| /TwlSDK-5.1.0/include/twl/ssp/ARM9/ |
| D | exifenc.h | 78 BOOL SSP_GetDateTime( RTCDate* date , RTCTime* time );
|
| /TwlSDK-5.1.0/build/tools/showversion/ |
| D | Makefile | 52 date -r $$i +'const unsigned long SDK_DATE_OF_LATEST_FILE=%Y%m%dUL;'; \
|
| /TwlSDK-5.1.0/build/tools/defval/ |
| D | Makefile | 53 date -r $$i +'const unsigned long SDK_DATE_OF_LATEST_FILE=%Y%m%dUL;'; \
|
| /TwlSDK-5.1.0/build/tools/bin2obj/ |
| D | Makefile | 59 date -r $$i +'const unsigned long SDK_DATE_OF_LATEST_FILE=%Y%m%dUL;'; \
|
| /TwlSDK-5.1.0/build/tools/loadrun.TWL/ |
| D | Makefile | 67 date -r $$i +'const unsigned long SDK_DATE_OF_LATEST_FILE=%Y%m%dUL;'; \
|
| /TwlSDK-5.1.0/build/tools/loadrun/ |
| D | Makefile | 67 date -r $$i +'const unsigned long SDK_DATE_OF_LATEST_FILE=%Y%m%dUL;'; \
|
| /TwlSDK-5.1.0/build/tools/stripdebug/ |
| D | Makefile | 58 date -r $$i +'const unsigned long SDK_DATE_OF_LATEST_FILE=%Y%m%dUL;'; \
|
| /TwlSDK-5.1.0/build/buildtools/ |
| D | modulerules | 250 date "+::: %Y/%m/%d %H:%M:%S $a" $(AND) \ 269 date "+::: %Y/%m/%d %H:%M:%S $a" $(AND) \ 289 date "+::: %Y/%m/%d %H:%M:%S $a-$b" $(AND) \
|
| /TwlSDK-5.1.0/include/nitro/rtc/common/ |
| D | type.h | 161 RTCRawDate date; // Date member
|
| /TwlSDK-5.1.0/build/demos/wm/wep-1/src/ |
| D | main.c | 1064 RTCDate date; in TwlMain() local 1066 if (RTC_GetDateTime(&date, &time) == RTC_RESULT_SUCCESS) in TwlMain() 1069 (((((((u64)date.year * 16ULL + date.month) * 32ULL) + date.day) * 32ULL + in TwlMain()
|
| /TwlSDK-5.1.0/build/tools/makelcf/ |
| D | Makefile | 99 date -r $$i +'const unsigned long SDK_DATE_OF_LATEST_FILE=%Y%m%dUL;'; \
|
| /TwlSDK-5.1.0/build/tools/makelcf.TWL/ |
| D | Makefile | 95 date -r $$i +'const unsigned long SDK_DATE_OF_LATEST_FILE=%Y%m%dUL;'; \
|
| /TwlSDK-5.1.0/include/nitro/specfiles/ |
| D | ROM-TEG.rsf | 18 # fix copyright date.
|
| D | ROM-TS.rsf | 15 # fix copyright date.
|