/Zephyr-latest/tests/posix/common/src/ |
D | nanosleep.c | 37 struct timespec rem = {}; in common_errors() local 48 zassert_equal(select_nanosleep(selection, clock_id, flags, NULL, &rem), -1); in common_errors() 51 zassert_equal(rem.tv_sec, 0, "actual: %d expected: %d", rem.tv_sec, 0); in common_errors() 52 zassert_equal(rem.tv_nsec, 0, "actual: %d expected: %d", rem.tv_nsec, 0); in common_errors() 89 zassert_equal(select_nanosleep(selection, clock_id, flags, &req, &rem), 0); in common_errors() 91 zassert_equal(rem.tv_sec, 0, "actual: %d expected: %d", rem.tv_sec, 0); in common_errors() 92 zassert_equal(rem.tv_nsec, 0, "actual: %d expected: %d", rem.tv_nsec, 0); in common_errors() 114 struct timespec rem = {}; in ZTEST() local 121 zassert_equal(clock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME, &req, &rem), 0); in ZTEST() 122 zassert_equal(rem.tv_sec, 0, "actual: %d expected: %d", rem.tv_sec, 0); in ZTEST() [all …]
|
/Zephyr-latest/lib/posix/options/ |
D | sleep.c | 19 int rem; in sleep() local 21 rem = k_sleep(K_SECONDS(seconds)); in sleep() 22 __ASSERT_NO_MSG(rem >= 0); in sleep() 24 return rem / MSEC_PER_SEC; in sleep()
|
D | clock.c | 171 int32_t rem; in usleep() local 178 rem = k_usleep(useconds); in usleep() 179 __ASSERT_NO_MSG(rem >= 0); in usleep() 180 if (rem > 0) { in usleep()
|
/Zephyr-latest/subsys/settings/src/ |
D | settings_line.c | 27 size_t w_size, rem, add; in settings_line_write() local 38 rem = strlen(name); in settings_line_write() 49 if (rem < w_size) { in settings_line_write() 50 w_size = rem; in settings_line_write() 55 rem -= w_size; in settings_line_write() 68 w_size = rem - rem % wbs; in settings_line_write() 69 rem %= wbs; in settings_line_write() 74 w_size = rem; in settings_line_write() 76 if (rem) { in settings_line_write() 77 memcpy(w_buf, name, rem); in settings_line_write() [all …]
|
/Zephyr-latest/doc/_extensions/zephyr/kconfig/static/ |
D | kconfig.css | 12 margin-bottom: 0.5rem; 22 padding: 0.75rem; 52 margin: 0.25rem 0.1rem 1.5rem; 60 padding-right: 1rem; 70 padding: 0 1rem;
|
/Zephyr-latest/lib/libc/common/source/time/ |
D | gmtime_r.c | 86 unsigned int rem = z - days * 86400; in gmtime_r() local 92 result->tm_hour = rem / 60U / 60U; in gmtime_r() 93 rem -= result->tm_hour * 60 * 60; in gmtime_r() 94 result->tm_min = rem / 60; in gmtime_r() 95 result->tm_sec = rem - result->tm_min * 60; in gmtime_r()
|
/Zephyr-latest/samples/boards/nordic/clock_skew/src/ |
D | main.c | 39 static const char *us_to_text_r(uint64_t rem, char *buf, size_t len) in us_to_text_r() argument 49 us = rem % USEC_PER_SEC; in us_to_text_r() 50 rem /= USEC_PER_SEC; in us_to_text_r() 51 s = rem % 60; in us_to_text_r() 52 rem /= 60; in us_to_text_r() 53 min = rem % 60; in us_to_text_r() 54 rem /= 60; in us_to_text_r() 55 hr = rem % 24; in us_to_text_r() 56 rem /= 24; in us_to_text_r() 57 d = rem; in us_to_text_r() [all …]
|
/Zephyr-latest/tests/subsys/fs/common/ |
D | test_fs_util.c | 22 size_t rem = (endp - eos); in path_vextend() local 32 } else if ((1 + len + 1) < rem) { /* /, ep, EOS */ in path_vextend() 92 unsigned int rem = len; in testfs_write_constant() local 96 while (rem > 0) { in testfs_write_constant() 99 if (count > rem) { in testfs_write_constant() 100 count = rem; in testfs_write_constant() 109 rem -= count; in testfs_write_constant() 160 unsigned int rem = len; in testfs_write_incrementing() local 162 while (rem > 0) { in testfs_write_incrementing() 165 if (count > rem) { in testfs_write_incrementing() [all …]
|
/Zephyr-latest/subsys/random/ |
D | random_xoshiro128.c | 97 size_t rem = (outlen - (blocks * sizeof(uint32_t))); in z_impl_sys_rand_get() local 110 if (rem) { in z_impl_sys_rand_get() 112 memcpy(unaligned, &ret, rem); in z_impl_sys_rand_get()
|
/Zephyr-latest/soc/snps/emsdp/ |
D | CMakeLists.txt | 5 zephyr_compile_options(-mmpy-option=3 -mno-div-rem) 7 zephyr_compile_options(-mmpy-option=3 -mno-div-rem)
|
/Zephyr-latest/doc/_extensions/zephyr/domain/static/css/ |
D | codesample-livesearch.css | 9 margin-bottom: 2rem; 10 margin-top: 1rem;
|
/Zephyr-latest/drivers/serial/ |
D | uart_async_rx.c | 84 int rem; in uart_async_rx_data_claim() local 103 rem = buf->wr_idx - rx_data->rd_idx; in uart_async_rx_data_claim() 105 return MIN(length, rem); in uart_async_rx_data_claim()
|
D | uart_stellaris.c | 130 uint32_t brdi, brdf, div, rem; in baudrate_set() local 135 rem = sys_clk_freq_hz % div; in baudrate_set() 141 brdf = ((((rem * 64U) << 1) / div) + 1) >> 1; in baudrate_set()
|
/Zephyr-latest/soc/microchip/mec/common/spigen/ |
D | mec_spi_gen.py | 460 rem = fill_len % 256 463 if rem > 0: 464 fout.write(fill[0:rem]) 473 rem = fill_len % 256 476 if rem > 0: 477 fout.write(fill[0:rem])
|
/Zephyr-latest/drivers/eeprom/ |
D | eeprom_mb85rcxx.c | 63 size_t rem = cfg->pagesize - page_offset; in mb85rcxx_remaining_len_in_page() local 65 if (rem > len) { in mb85rcxx_remaining_len_in_page() 66 rem = len; in mb85rcxx_remaining_len_in_page() 69 return rem; in mb85rcxx_remaining_len_in_page()
|
/Zephyr-latest/soc/snps/hsdk/ |
D | CMakeLists.txt | 7 # -mcpu=hs38_linux includes -matomic -mcode-density -mdiv-rem
|
/Zephyr-latest/subsys/mgmt/mcumgr/transport/src/ |
D | smp_dummy.c | 557 int rem; in mcumgr_dummy_tx_frame() local 599 rem = len - src_off; in mcumgr_dummy_tx_frame() 600 if (rem == 0) { in mcumgr_dummy_tx_frame() 610 if (rem == 1) { in mcumgr_dummy_tx_frame() 623 if (rem == 2) { in mcumgr_dummy_tx_frame()
|
/Zephyr-latest/subsys/logging/frontends/ |
D | log_frontend_dict_uart.c | 203 size_t rem = len - curr_offset; in uart_isr_callback() local 205 if (rem > 0) { in uart_isr_callback() 208 curr_offset += uart_fifo_fill(dev, d, rem); in uart_isr_callback()
|
/Zephyr-latest/samples/subsys/testsuite/pytest/shell/ |
D | README.rst | 63 DEBUG: #: rem :Ignore lines beginning with 'rem '
|
/Zephyr-latest/subsys/fs/ext2/ |
D | ext2_diskops.c | 505 int64_t removed = 0, rem; in delete_blocks() local 558 rem = delete_blocks(fs, block_num2, lvl - 1, &offsets[1]); in delete_blocks() 559 if (rem < 0) { in delete_blocks() 560 removed = rem; in delete_blocks() 563 removed += rem; in delete_blocks() 573 rem = delete_blocks(fs, block_num2, lvl - 1, zero_offsets); in delete_blocks() 574 if (rem < 0) { in delete_blocks() 575 removed = rem; in delete_blocks() 578 removed += rem; in delete_blocks()
|
/Zephyr-latest/drivers/sensor/maxim/max17055/ |
D | max17055.c | 92 int lsb_units, rem; in capacity_to_ma() local 97 rem = val * lsb_units; in capacity_to_ma() 99 return rem; in capacity_to_ma()
|
/Zephyr-latest/doc/_static/css/ |
D | custom.css | 319 border-radius: 0.25rem; 356 border-radius: 0.25rem; 560 margin-bottom: 2.5rem; 882 width: .75rem; 914 padding-inline: 0.75rem; 935 margin: 1rem auto; 936 max-width: calc((160px + 2rem) * 4); 946 margin: 1rem; 967 border-radius: 1rem; 973 font-size: 1rem; [all …]
|
/Zephyr-latest/doc/_static/js/ |
D | dark-mode-toggle.min.mjs | 2 …rem;padding-inline:.25rem}legend{font:var(--${L}-legend-font,inherit);padding:0}input,label{cursor…
|
/Zephyr-latest/tests/drivers/uart/uart_async_rx/src/ |
D | main.c | 251 uint32_t rem = uart_async_rx_get_buf_len(async_rx) - test_data->curr_len; in producer_in_chunks() local 254 len = MIN(rem, len); in producer_in_chunks()
|
/Zephyr-latest/samples/bluetooth/peripheral_ots/src/ |
D | main.c | 172 off_t offset, size_t rem) in ots_obj_write() argument 181 id_str, (long)offset, len, rem); in ots_obj_write()
|