/Zephyr-latest/include/zephyr/shell/ |
D | shell_history.h | 28 * @brief Create shell history instance. 30 * @param _name History instance name. 31 * @param _size Memory dedicated for shell history. 47 * @brief Initialize shell history module. 49 * @param history Shell history instance. 51 void z_shell_history_init(struct shell_history *history); 54 * @brief Purge shell history. 56 * Function clears whole shell command history. 58 * @param history Shell history instance. 61 void z_shell_history_purge(struct shell_history *history); [all …]
|
D | shell.h | 245 * @param[in] syntax Command syntax (for example: history). 276 * @param[in] syntax Command syntax (for example: history). 304 * @param[in] syntax Command syntax (for example: history). 320 * @param[in] syntax Command syntax (for example: history). 392 * @param[in] _syntax Command syntax (for example: history). 421 * @param[in] _syntax Command syntax (for example: history). 456 * @param[in] syntax Command syntax (for example: history). 478 * @param[in] syntax Command syntax (for example: history). 501 * @param[in] _syntax Command syntax (for example: history). 522 * @param[in] _syntax Command syntax (for example: history). [all …]
|
/Zephyr-latest/tests/subsys/shell/shell_history/src/ |
D | shell_history_test.c | 18 Z_SHELL_HISTORY_DEFINE(history, HIST_BUF_SIZE); 28 * Function tests getting line from history and compares it against expected 39 res = z_shell_history_get(&history, up, out_buf, &out_len); in test_get() 42 zassert_true(res, "history should contain one entry.\n"); in test_get() 50 zassert_false(res, "History should return nothing.\n"); in test_get() 54 /* Test put line to history and get it. 57 * - initialize history. 58 * - put line to the history. 67 z_shell_history_init(&history); in ZTEST() 71 z_shell_history_put(&history, exp_buf, 20); in ZTEST() [all …]
|
/Zephyr-latest/subsys/shell/ |
D | shell_history.c | 11 * History must store strings (commands) and allow traversing them and adding 27 * | header | "history item" | | padding | 33 * | | header | "history item" | | 48 void z_shell_history_mode_exit(struct shell_history *history) in z_shell_history_mode_exit() argument 50 history->current = NULL; in z_shell_history_mode_exit() 53 bool z_shell_history_get(struct shell_history *history, bool up, in z_shell_history_get() argument 56 struct shell_history_item *h_item; /* history item */ in z_shell_history_get() 59 if (sys_dlist_is_empty(&history->list)) { in z_shell_history_get() 65 if (history->current == NULL) { in z_shell_history_get() 66 /* Not in history mode. It is started by up button. */ in z_shell_history_get() [all …]
|
D | Kconfig | 222 bool "History in shell" 226 Enable commands history. History can be accessed using up and down 230 int "History buffer in bytes" 245 Enable built-in commands like 'clear', 'history', etc.
|
D | shell.c | 162 z_shell_history_init(sh->history); in history_init() 171 z_shell_history_purge(sh->history); in history_purge() 181 z_shell_history_mode_exit(sh->history); in history_mode_exit() 190 z_shell_history_put(sh->history, line, length); in history_put() 203 /* Checking if history process has been stopped */ in history_handle() 206 z_shell_history_mode_exit(sh->history); in history_handle() 209 /* Backup command if history is entered */ in history_handle() 210 if (!z_shell_history_active(sh->history)) { in history_handle() 221 /* Pressing 'down' not in history mode has no effect. */ in history_handle() 226 /* Start by checking if history is not empty. */ in history_handle() [all …]
|
D | shell_cmds.c | 49 #define SHELL_HELP_HISTORY "Command history." 362 z_shell_history_get(sh->history, true, in cmd_history() 545 SHELL_COND_CMD_ARG_REGISTER(CONFIG_SHELL_HISTORY, history, NULL,
|
/Zephyr-latest/tests/bluetooth/controller/ctrl_isoal/src/sub_sets/ |
D | isoal_test_tx.c | 1062 ZASSERT_PDU_WRITE_TEST(history[0], in ZTEST() 1068 ZASSERT_PDU_EMIT_TEST(history[0], in ZTEST() 1081 ZASSERT_PDU_WRITE_TEST(history[1], in ZTEST() 1087 ZASSERT_PDU_EMIT_TEST(history[1], in ZTEST() 1101 ZASSERT_PDU_WRITE_TEST(history[2], in ZTEST() 1107 ZASSERT_PDU_EMIT_TEST(history[2], in ZTEST() 1221 ZASSERT_PDU_WRITE_TEST(history[0], in ZTEST() 1265 ZASSERT_PDU_WRITE_TEST(history[1], in ZTEST() 1309 ZASSERT_PDU_WRITE_TEST(history[2], in ZTEST() 1315 ZASSERT_PDU_EMIT_TEST(history[0], in ZTEST() [all …]
|
/Zephyr-latest/tests/subsys/shell/shell_history/ |
D | testcase.yaml | 2 shell.history:
|
/Zephyr-latest/samples/subsys/shell/shell_module/src/ |
D | login_cmd.c | 41 /* clear history so password not visible there */ in cmd_login() 42 z_shell_history_purge(sh->history); in cmd_login()
|
/Zephyr-latest/samples/subsys/nvs/ |
D | README.rst | 54 Reboot counter history: ...0 66 Reboot counter history: ...1...0
|
/Zephyr-latest/samples/subsys/nvs/src/ |
D | main.c | 6 * reading back the history of data (previously added values). Next to reading 32 * result of this the history of the reboot_counter will be removed but the 200 /* print some history information about in main() 202 * Check the counter history in flash in main() 204 printk("Reboot counter history: "); in main()
|
/Zephyr-latest/samples/subsys/testsuite/pytest/shell/ |
D | README.rst | 61 DEBUG: #: history :Command history.
|
/Zephyr-latest/doc/services/shell/ |
D | index.rst | 23 :command:`echo`, :command:`history` and :command:`resize`. 80 `tab completion <tab-feature_>`_, and `history <history-feature_>`_ 540 * :command:`history` - Shows the recently entered commands. 585 History Feature 588 This feature enables commands history in the shell. It is activated by: 589 :kconfig:option:`CONFIG_SHELL_HISTORY` set to ``y``. History can be accessed 643 - Moves in history to next entry. 645 - Moves in history to previous entry. 840 clear demo shell history log resize version 850 * :command:`clear`, :command:`shell`, :command:`history`, and :command:`resize`
|
/Zephyr-latest/doc/project/ |
D | index.rst | 50 repository, which are a copy of a repository sharing the same history.
|
/Zephyr-latest/doc/develop/west/ |
D | why.rst | 1 .. _west-history: 3 History and Motivation
|
/Zephyr-latest/tests/subsys/shell/shell/src/ |
D | main.c | 140 test_shell_execute_cmd("history", 0); in ZTEST() 141 test_shell_execute_cmd("history -h", 1); in ZTEST() 142 test_shell_execute_cmd("history --help", 1); in ZTEST() 143 test_shell_execute_cmd("history dummy", -EINVAL); in ZTEST() 144 test_shell_execute_cmd("history dummy dummy", -EINVAL); in ZTEST()
|
/Zephyr-latest/samples/bluetooth/channel_sounding/ |
D | README.rst | 130 …ent/uploads/Files/Specification/HTML/Core-60/out/en/architecture,-change-history,-and-conventions/… 131 …ent/uploads/Files/Specification/HTML/Core-60/out/en/architecture,-change-history,-and-conventions/…
|
/Zephyr-latest/include/zephyr/fs/ |
D | nvs.h | 141 * @brief Read a history entry from the file system. 147 * @param cnt History counter: 0: latest entry, 1: one before latest ...
|
D | zms.h | 141 * @brief Read a history entry from the file system. 147 * @param cnt History counter: 0: latest entry, 1: one before latest ...
|
/Zephyr-latest/samples/modules/tflite-micro/magic_wand/src/ |
D | gesture_predictor.cpp | 33 /* Record the latest predictions in our rolling history buffer. */ in PredictGesture()
|
/Zephyr-latest/include/zephyr/drivers/sensor/ |
D | scd4x.h | 84 * erases the FRC and ASC algorithm history.
|
/Zephyr-latest/drivers/sensor/adi/adxl372/ |
D | Kconfig | 27 about the event, and the full acceleration history is not required.
|
/Zephyr-latest/samples/subsys/shell/shell_module/ |
D | README.rst | 85 dynamic help history
|
/Zephyr-latest/samples/subsys/profiling/perf/images/ |
D | graph_example.svg | 59 history.replaceState(null, null, parse_params(params)); 70 history.replaceState(null, null, parse_params(params)); 303 history.replaceState(null, null, parse_params(params)); 324 history.replaceState(null, null, parse_params(params)); 384 history.replaceState(null, null, parse_params(params));
|