Home
last modified time | relevance | path

Searched refs:sDate (Results 1 – 9 of 9) sorted by relevance

/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Drivers/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_rtc.c610 HAL_StatusTypeDef HAL_RTC_SetDate(RTC_HandleTypeDef *hrtc, RTC_DateTypeDef *sDate, uint32_t Format) in HAL_RTC_SetDate() argument
622 if((Format == RTC_FORMAT_BIN) && ((sDate->Month & 0x10U) == 0x10U)) in HAL_RTC_SetDate()
624 sDate->Month = (uint8_t)((sDate->Month & (uint8_t)~(0x10U)) + (uint8_t)0x0AU); in HAL_RTC_SetDate()
627 assert_param(IS_RTC_WEEKDAY(sDate->WeekDay)); in HAL_RTC_SetDate()
631 assert_param(IS_RTC_YEAR(sDate->Year)); in HAL_RTC_SetDate()
632 assert_param(IS_RTC_MONTH(sDate->Month)); in HAL_RTC_SetDate()
633 assert_param(IS_RTC_DATE(sDate->Date)); in HAL_RTC_SetDate()
635 datetmpreg = (((uint32_t)RTC_ByteToBcd2(sDate->Year) << 16) | \ in HAL_RTC_SetDate()
636 ((uint32_t)RTC_ByteToBcd2(sDate->Month) << 8) | \ in HAL_RTC_SetDate()
637 ((uint32_t)RTC_ByteToBcd2(sDate->Date)) | \ in HAL_RTC_SetDate()
[all …]
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Drivers/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_rtc.c610 HAL_StatusTypeDef HAL_RTC_SetDate(RTC_HandleTypeDef *hrtc, RTC_DateTypeDef *sDate, uint32_t Format) in HAL_RTC_SetDate() argument
622 if((Format == RTC_FORMAT_BIN) && ((sDate->Month & 0x10U) == 0x10U)) in HAL_RTC_SetDate()
624 sDate->Month = (uint8_t)((sDate->Month & (uint8_t)~(0x10U)) + (uint8_t)0x0AU); in HAL_RTC_SetDate()
627 assert_param(IS_RTC_WEEKDAY(sDate->WeekDay)); in HAL_RTC_SetDate()
631 assert_param(IS_RTC_YEAR(sDate->Year)); in HAL_RTC_SetDate()
632 assert_param(IS_RTC_MONTH(sDate->Month)); in HAL_RTC_SetDate()
633 assert_param(IS_RTC_DATE(sDate->Date)); in HAL_RTC_SetDate()
635 datetmpreg = (((uint32_t)RTC_ByteToBcd2(sDate->Year) << 16) | \ in HAL_RTC_SetDate()
636 ((uint32_t)RTC_ByteToBcd2(sDate->Month) << 8) | \ in HAL_RTC_SetDate()
637 ((uint32_t)RTC_ByteToBcd2(sDate->Date)) | \ in HAL_RTC_SetDate()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DDateTimeRule.java235 String sDate = null; in toString() local
240 sDate = Integer.toString(dayOfMonth); in toString()
243 sDate = Integer.toString(weekInMonth) + DOWSTR[dayOfWeek]; in toString()
246 sDate = DOWSTR[dayOfWeek] + ">=" + Integer.toString(dayOfMonth); in toString()
249 sDate = DOWSTR[dayOfWeek] + "<=" + Integer.toString(dayOfMonth); in toString()
277 buf.append(sDate); in toString()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DDateTimeRule.java270 String sDate = null; in toString() local
275 sDate = Integer.toString(dayOfMonth); in toString()
278 sDate = Integer.toString(weekInMonth) + DOWSTR[dayOfWeek]; in toString()
281 sDate = DOWSTR[dayOfWeek] + ">=" + Integer.toString(dayOfMonth); in toString()
284 sDate = DOWSTR[dayOfWeek] + "<=" + Integer.toString(dayOfMonth); in toString()
312 buf.append(sDate); in toString()
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Src/
Dmain.c254 RTC_DateTypeDef sDate; in MX_RTC_Init() local
284 sDate.WeekDay = RTC_WEEKDAY_MONDAY; in MX_RTC_Init()
285 sDate.Month = RTC_MONTH_JANUARY; in MX_RTC_Init()
286 sDate.Date = 1; in MX_RTC_Init()
287 sDate.Year = 0; in MX_RTC_Init()
289 if (HAL_RTC_SetDate(&hrtc, &sDate, RTC_FORMAT_BIN) != HAL_OK) in MX_RTC_Init()
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Src/
Dmain.c261 RTC_DateTypeDef sDate; in MX_RTC_Init() local
291 sDate.WeekDay = RTC_WEEKDAY_MONDAY; in MX_RTC_Init()
292 sDate.Month = RTC_MONTH_JANUARY; in MX_RTC_Init()
293 sDate.Date = 1; in MX_RTC_Init()
294 sDate.Year = 0; in MX_RTC_Init()
296 if (HAL_RTC_SetDate(&hrtc, &sDate, RTC_FORMAT_BIN) != HAL_OK) in MX_RTC_Init()
/external/pdfium/fxjs/
Dcjs_util.cpp377 WideString sDate = pRuntime->ToWideString(params[1]); in scand() local
379 if (sDate.GetLength() > 0) in scand()
381 sDate, sFormat, nullptr); in scand()
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Drivers/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_hal_rtc.h668 HAL_StatusTypeDef HAL_RTC_SetDate(RTC_HandleTypeDef *hrtc, RTC_DateTypeDef *sDate, uint32_t Format);
669 HAL_StatusTypeDef HAL_RTC_GetDate(RTC_HandleTypeDef *hrtc, RTC_DateTypeDef *sDate, uint32_t Format);
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Drivers/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_hal_rtc.h668 HAL_StatusTypeDef HAL_RTC_SetDate(RTC_HandleTypeDef *hrtc, RTC_DateTypeDef *sDate, uint32_t Format);
669 HAL_StatusTypeDef HAL_RTC_GetDate(RTC_HandleTypeDef *hrtc, RTC_DateTypeDef *sDate, uint32_t Format);