Searched refs:adjtime (Results 1 – 18 of 18) sorted by relevance
/hal_espressif-3.6.0/components/newlib/test/ |
D | test_time.c | 94 TEST_ASSERT_EQUAL(adjtime(NULL, NULL), 0); 102 TEST_ASSERT_EQUAL(adjtime(NULL, &tv_outdelta), 0); 107 TEST_ASSERT_EQUAL(adjtime(&tv_delta, &tv_outdelta), -1); 110 TEST_ASSERT_EQUAL(adjtime(&tv_delta, &tv_outdelta), -1); 114 TEST_ASSERT_EQUAL(adjtime(&tv_delta, &tv_outdelta), 0); 117 TEST_ASSERT_EQUAL(adjtime(NULL, &tv_outdelta), 0); 122 TEST_ASSERT_EQUAL(adjtime(&tv_delta, NULL), 0); 123 TEST_ASSERT_EQUAL(adjtime(NULL, &tv_outdelta), 0); 130 TEST_ASSERT_EQUAL(adjtime(&tv_delta, &tv_outdelta), 0); 133 TEST_ASSERT_EQUAL(adjtime(NULL, &tv_outdelta), 0); [all …]
|
/hal_espressif-3.6.0/examples/protocols/sntp/ |
D | README.md | 64 - `update time with smooth method (adjtime)` - time synchronization will use the adjtime function t… 79 …adjtime function. If the difference between SNTP response time and system time is large (more than… 82 `int adjtime(const struct timeval *delta, struct timeval *outdelta)` 84 `adjtime()` is a libc function that is called automatically in "smooth" time update mode, but can a… 85 If the time error is less than 35 minutes then `adjtime` function will start smooth adjusting other… 87 …t the clock. If adjusting the system clock by `adjtime()` is already done during the second call `… 91 If the olddelta argument is not a null pointer, the adjtime function returns information about any …
|
/hal_espressif-3.6.0/components/lwip/apps/sntp/ |
D | sntp.c | 47 if (adjtime(&tv_delta, NULL) == -1) { in sntp_sync_time() 86 adjtime(NULL, &outdelta); in sntp_get_sync_status()
|
/hal_espressif-3.6.0/examples/protocols/sntp/main/ |
D | Kconfig.projbuild | 12 bool "update time with smooth method (adjtime)"
|
D | sntp_example_main.c | 105 adjtime(NULL, &outdelta); in app_main()
|
/hal_espressif-3.6.0/docs/en/api-reference/system/ |
D | system_time.rst | 63 adjtime* 97 To set the current time, you can use the POSIX functions ``settimeofday()`` and ``adjtime()``. They… 102 …dates time smoothly by gradually reducing time error using the funcion ``adjtime()``. If the diffe…
|
/hal_espressif-3.6.0/components/esp_system/ |
D | README.md | 22 …ng function in standard library. Can be set (`settimeofday`) or moved forward/backward (`adjtime`);
|
/hal_espressif-3.6.0/components/newlib/ |
D | time.c | 121 int adjtime(const struct timeval *delta, struct timeval *outdelta) in adjtime() function
|
/hal_espressif-3.6.0/tools/test_idf_size/ |
D | app_esp32s2.map | 1479 .literal.adjtime 1508 .text.adjtime 0x0000000000000000 0xea esp-idf/newlib/libnewlib.a(time.c.obj) 14153 adjtime esp-idf/newlib/libnewlib.a(time.c.obj)
|
D | app2.map | 1518 .literal.adjtime 1547 .text.adjtime 0x0000000000000000 0xea esp-idf/newlib/libnewlib.a(time.c.obj) 15974 adjtime esp-idf/newlib/libnewlib.a(time.c.obj)
|
D | app_esp32s3.map | 2223 .literal.adjtime 2238 .text.adjtime 0x0000000000000000 0xe6 esp-idf/newlib/libnewlib.a(time.c.obj) 18374 adjtime esp-idf/newlib/libnewlib.a(time.c.obj)
|
D | app_esp32c3.map | 1583 .text.adjtime 0x0000000000000000 0x152 esp-idf/newlib/libnewlib.a(time.c.obj) 14676 adjtime esp-idf/newlib/libnewlib.a(time.c.obj)
|
D | app_esp32h2.map | 1524 .text.adjtime 0x0000000000000000 0x152 esp-idf/newlib/libnewlib.a(time.c.obj) 13022 adjtime esp-idf/newlib/libnewlib.a(time.c.obj)
|
D | app.map | 1663 .literal.adjtime 1692 ….text.adjtime 0x0000000000000000 0xe8 /home/user/esp/esp-idf/tools/unit-test-app/build/newl…
|
D | overflow.map | 2766 .literal.adjtime 2779 .text.adjtime 0x0000000000000000 0xe6 esp-idf/newlib/libnewlib.a(time.c.obj) 65740 adjtime esp-idf/newlib/libnewlib.a(time.c.obj)
|
D | overflow_esp32s2.map | 2868 .literal.adjtime 2881 .text.adjtime 0x0000000000000000 0xe6 esp-idf/newlib/libnewlib.a(time.c.obj) 66871 adjtime esp-idf/newlib/libnewlib.a(time.c.obj)
|
D | overflow_esp32s3.map | 3179 .literal.adjtime 3194 .text.adjtime 0x0000000000000000 0xe6 esp-idf/newlib/libnewlib.a(time.c.obj) 79764 adjtime esp-idf/newlib/libnewlib.a(time.c.obj)
|
D | overflow_esp32c3.map | 2557 .text.adjtime 0x0000000000000000 0x152 esp-idf/newlib/libnewlib.a(time.c.obj) 58030 adjtime esp-idf/newlib/libnewlib.a(time.c.obj)
|