Searched refs:timeptr (Results 1 - 3 of 3) sorted by relevance
/kernel/liteos_m/testsuites/unittest/xts/time/ |
H A 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 meaning */ 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 for test, no special meaning */
|
/kernel/linux/linux-5.10/net/ipv4/ |
H A 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()
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | ip_options.c | 353 unsigned char *timeptr = NULL; in __ip_options_compile() local 361 timeptr = &optptr[optptr[2]-1]; in __ip_options_compile() 373 timeptr = &optptr[optptr[2]+3]; in __ip_options_compile() 390 timeptr = &optptr[optptr[2]+3]; in __ip_options_compile() 402 if (timeptr) { in __ip_options_compile() 406 memcpy(timeptr, &midtime, 4); in __ip_options_compile()
|
Completed in 2 milliseconds