Home
last modified time | relevance | path

Searched refs:sTime (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.c431 HAL_StatusTypeDef HAL_RTC_SetTime(RTC_HandleTypeDef *hrtc, RTC_TimeTypeDef *sTime, uint32_t Format) in HAL_RTC_SetTime() argument
437 assert_param(IS_RTC_DAYLIGHT_SAVING(sTime->DayLightSaving)); in HAL_RTC_SetTime()
438 assert_param(IS_RTC_STORE_OPERATION(sTime->StoreOperation)); in HAL_RTC_SetTime()
449 assert_param(IS_RTC_HOUR12(sTime->Hours)); in HAL_RTC_SetTime()
450 assert_param(IS_RTC_HOURFORMAT12(sTime->TimeFormat)); in HAL_RTC_SetTime()
454 sTime->TimeFormat = 0x00; in HAL_RTC_SetTime()
455 assert_param(IS_RTC_HOUR24(sTime->Hours)); in HAL_RTC_SetTime()
457 assert_param(IS_RTC_MINUTES(sTime->Minutes)); in HAL_RTC_SetTime()
458 assert_param(IS_RTC_SECONDS(sTime->Seconds)); in HAL_RTC_SetTime()
460 tmpreg = (uint32_t)(((uint32_t)RTC_ByteToBcd2(sTime->Hours) << 16) | \ in HAL_RTC_SetTime()
[all …]
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Drivers/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_rtc.c431 HAL_StatusTypeDef HAL_RTC_SetTime(RTC_HandleTypeDef *hrtc, RTC_TimeTypeDef *sTime, uint32_t Format) in HAL_RTC_SetTime() argument
437 assert_param(IS_RTC_DAYLIGHT_SAVING(sTime->DayLightSaving)); in HAL_RTC_SetTime()
438 assert_param(IS_RTC_STORE_OPERATION(sTime->StoreOperation)); in HAL_RTC_SetTime()
449 assert_param(IS_RTC_HOUR12(sTime->Hours)); in HAL_RTC_SetTime()
450 assert_param(IS_RTC_HOURFORMAT12(sTime->TimeFormat)); in HAL_RTC_SetTime()
454 sTime->TimeFormat = 0x00; in HAL_RTC_SetTime()
455 assert_param(IS_RTC_HOUR24(sTime->Hours)); in HAL_RTC_SetTime()
457 assert_param(IS_RTC_MINUTES(sTime->Minutes)); in HAL_RTC_SetTime()
458 assert_param(IS_RTC_SECONDS(sTime->Seconds)); in HAL_RTC_SetTime()
460 tmpreg = (uint32_t)(((uint32_t)RTC_ByteToBcd2(sTime->Hours) << 16) | \ in HAL_RTC_SetTime()
[all …]
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Src/
Dmain.c253 RTC_TimeTypeDef sTime; in MX_RTC_Init() local
274 sTime.Hours = 0; in MX_RTC_Init()
275 sTime.Minutes = 0; in MX_RTC_Init()
276 sTime.Seconds = 0; in MX_RTC_Init()
277 sTime.DayLightSaving = RTC_DAYLIGHTSAVING_NONE; in MX_RTC_Init()
278 sTime.StoreOperation = RTC_STOREOPERATION_RESET; in MX_RTC_Init()
279 if (HAL_RTC_SetTime(&hrtc, &sTime, RTC_FORMAT_BIN) != HAL_OK) in MX_RTC_Init()
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Src/
Dmain.c260 RTC_TimeTypeDef sTime; in MX_RTC_Init() local
281 sTime.Hours = 0; in MX_RTC_Init()
282 sTime.Minutes = 0; in MX_RTC_Init()
283 sTime.Seconds = 0; in MX_RTC_Init()
284 sTime.DayLightSaving = RTC_DAYLIGHTSAVING_NONE; in MX_RTC_Init()
285 sTime.StoreOperation = RTC_STOREOPERATION_RESET; in MX_RTC_Init()
286 if (HAL_RTC_SetTime(&hrtc, &sTime, RTC_FORMAT_BIN) != HAL_OK) in MX_RTC_Init()
/external/autotest/tko/
Djob_serializer_unittest.py359 def check_time(self, dTime, sTime): argument
370 if isinstance(sTime, (int, long)):
371 self.assertEqual(long(t*1000), sTime)
373 t1 = mktime(sTime.timetuple()) + 1e-6 * sTime.microsecond
/external/conscrypt/common/src/test/java/org/conscrypt/javax/net/ssl/
DSSLSessionTest.java94 long sTime = s.server.getCreationTime() / 1000; in test_SSLSession_getCreationTime() local
95 assertTrue(sTime + " >= " + t0, sTime >= t0); in test_SSLSession_getCreationTime()
96 assertTrue(sTime + " <= " + t1, sTime <= t1); in test_SSLSession_getCreationTime()
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/net/ssl/
DSSLSessionTest.java98 long sTime = s.server.getCreationTime() / 1000; in test_SSLSession_getCreationTime() local
99 assertTrue(sTime + " >= " + t0, sTime >= t0); in test_SSLSession_getCreationTime()
100 assertTrue(sTime + " <= " + t1, sTime <= t1); in test_SSLSession_getCreationTime()
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Drivers/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_hal_rtc.h666 HAL_StatusTypeDef HAL_RTC_SetTime(RTC_HandleTypeDef *hrtc, RTC_TimeTypeDef *sTime, uint32_t Format);
667 HAL_StatusTypeDef HAL_RTC_GetTime(RTC_HandleTypeDef *hrtc, RTC_TimeTypeDef *sTime, uint32_t Format);
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Drivers/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_hal_rtc.h666 HAL_StatusTypeDef HAL_RTC_SetTime(RTC_HandleTypeDef *hrtc, RTC_TimeTypeDef *sTime, uint32_t Format);
667 HAL_StatusTypeDef HAL_RTC_GetTime(RTC_HandleTypeDef *hrtc, RTC_TimeTypeDef *sTime, uint32_t Format);