Searched refs:timeptr (Results 1 – 2 of 2) sorted by relevance
| /kernel/liteos_m/testsuites/unittest/xts/time/ |
| D | time_utils_test.c | 56 struct tm timeptr = {0}; variable 64 …INIT_TM(timeptr, 2000, 6, 9, 10, 10, 0, 7); /* 2000, 6, 9, 10, 7, common data for test, no special… 65 time_t timeRet = mktime(&timeptr); 66 ICUNIT_ASSERT_EQUAL(sysTimezone, timeptr.__tm_gmtoff, sysTimezone); 67 …ICUNIT_ASSERT_EQUAL(timeRet, 963137400 - timeptr.__tm_gmtoff, timeRet); /* 963137400, common data …
|
| /kernel/linux/linux-5.10/net/ipv4/ |
| D | ip_options.c | 366 unsigned char *timeptr = NULL; in __ip_options_compile() local 374 timeptr = &optptr[optptr[2]-1]; in __ip_options_compile() 386 timeptr = &optptr[optptr[2]+3]; in __ip_options_compile() 403 timeptr = &optptr[optptr[2]+3]; in __ip_options_compile() 415 if (timeptr) { in __ip_options_compile() 419 memcpy(timeptr, &midtime, 4); in __ip_options_compile()
|