Home
last modified time | relevance | path

Searched refs:history (Results 1 – 25 of 32) sorted by relevance

12

/Zephyr-latest/subsys/shell/
Dshell_history.c48 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
59 if (sys_dlist_is_empty(&history->list)) { in z_shell_history_get()
65 if (history->current == NULL) { in z_shell_history_get()
72 l_item = sys_dlist_peek_prev_no_check(&history->list, in z_shell_history_get()
73 history->current); in z_shell_history_get()
75 l_item = (history->current == NULL) ? in z_shell_history_get()
76 sys_dlist_peek_head_not_empty(&history->list) : in z_shell_history_get()
77 sys_dlist_peek_next_no_check(&history->list, history->current); in z_shell_history_get()
[all …]
Dshell.c162 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()
206 z_shell_history_mode_exit(sh->history); in history_handle()
210 if (!z_shell_history_active(sh->history)) { in history_handle()
227 history_mode = z_shell_history_get(sh->history, up, in history_handle()
Dshell_cmds.c362 z_shell_history_get(sh->history, true, in cmd_history()
545 SHELL_COND_CMD_ARG_REGISTER(CONFIG_SHELL_HISTORY, history, NULL,
DKconfig226 Enable commands history. History can be accessed using up and down
245 Enable built-in commands like 'clear', 'history', etc.
/Zephyr-latest/tests/subsys/shell/shell_history/src/
Dshell_history_test.c18 Z_SHELL_HISTORY_DEFINE(history, HIST_BUF_SIZE);
39 res = z_shell_history_get(&history, up, out_buf, &out_len); in test_get()
67 z_shell_history_init(&history); in ZTEST()
71 z_shell_history_put(&history, exp_buf, 20); in ZTEST()
75 z_shell_history_purge(&history); in ZTEST()
85 z_shell_history_init(&history); in ZTEST()
87 z_shell_history_put(&history, exp_buf, 20); in ZTEST()
88 z_shell_history_put(&history, exp_buf, 20); in ZTEST()
90 z_shell_history_purge(&history); in ZTEST()
120 z_shell_history_init(&history); in ZTEST()
[all …]
/Zephyr-latest/include/zephyr/shell/
Dshell_history.h51 void z_shell_history_init(struct shell_history *history);
61 void z_shell_history_purge(struct shell_history *history);
68 void z_shell_history_mode_exit(struct shell_history *history);
82 bool z_shell_history_get(struct shell_history *history, bool up,
95 void z_shell_history_put(struct shell_history *history, uint8_t *line,
105 static inline bool z_shell_history_active(struct shell_history *history) in z_shell_history_active() argument
107 return (history->current) ? true : false; in z_shell_history_active()
Dshell.h918 struct shell_history *history; member
964 .history = IS_ENABLED(CONFIG_SHELL_HISTORY) ? &_name##_history : NULL, \
/Zephyr-latest/tests/bluetooth/controller/ctrl_isoal/src/sub_sets/
Disoal_test_tx.c1062 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 …]
Disoal_test_rx.c2516 ZASSERT_ISOAL_SDU_ALLOC_TEST(history[0], in ZTEST()
2521 ZASSERT_ISOAL_SDU_WRITE_TEST(history[0], in ZTEST()
2527 ZASSERT_ISOAL_SDU_EMIT_TEST(history[0], in ZTEST()
2544 ZASSERT_ISOAL_SDU_ALLOC_TEST(history[1], in ZTEST()
2549 ZASSERT_ISOAL_SDU_WRITE_TEST(history[1], in ZTEST()
2555 ZASSERT_ISOAL_SDU_EMIT_TEST(history[1], in ZTEST()
6846 ZASSERT_ISOAL_SDU_WRITE_TEST(history[1], in ZTEST()
7134 ZASSERT_ISOAL_SDU_WRITE_TEST(history[1], in ZTEST()
7142 ZASSERT_ISOAL_SDU_EMIT_TEST(history[0], in ZTEST()
7160 ZASSERT_ISOAL_SDU_ALLOC_TEST(history[1], in ZTEST()
[all …]
/Zephyr-latest/samples/subsys/shell/shell_module/src/
Dlogin_cmd.c42 z_shell_history_purge(sh->history); in cmd_login()
/Zephyr-latest/samples/subsys/nvs/
DREADME.rst54 Reboot counter history: ...0
66 Reboot counter history: ...1...0
/Zephyr-latest/samples/subsys/testsuite/pytest/shell/
DREADME.rst61 DEBUG: #: history :Command history.
/Zephyr-latest/doc/project/
Dindex.rst50 repository, which are a copy of a repository sharing the same history.
/Zephyr-latest/samples/bluetooth/channel_sounding/
DREADME.rst130 …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/doc/services/shell/
Dindex.rst23 :command:`echo`, :command:`history` and :command:`resize`.
80 `tab completion <tab-feature_>`_, and `history <history-feature_>`_
540 * :command:`history` - Shows the recently entered commands.
588 This feature enables commands history in the shell. It is activated by:
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/_extensions/zephyr/domain/static/js/
Dboard-catalog.js50 window.history.replaceState({}, "", `#${hashParams.toString()}`);
/Zephyr-latest/samples/subsys/shell/shell_module/
DREADME.rst85 dynamic help history
/Zephyr-latest/drivers/sensor/adi/adxl372/
DKconfig27 about the event, and the full acceleration history is not required.
/Zephyr-latest/doc/develop/west/
Dwhy.rst1 .. _west-history:
Dmanifest.rst22 history, looks like the following figure (though some parts of this example are
27 :alt: West multi-repo history
30 West multi-repo history
32 The history of the manifest repository is the line of Git commits which is
34 using solid arrows. The plane below contains the Git commit history of the
60 One use for moving backward in project history is to "revert" a regression by
64 multiple commits in its history from ``B → C``.
70 manifest repository history.
279 - Optional. If given, a positive integer which creates a shallow history
1244 additional files defined in that project's Git history.
/Zephyr-latest/doc/introduction/
Dindex.rst172 etc.) and history. Support for static commands and dynamic sub-commands.
/Zephyr-latest/modules/openthread/
DCMakeLists.txt83 kconfig_to_ot_option(CONFIG_OPENTHREAD_HISTORY_TRACKER OT_HISTORY_TRACKER "Enable history tracker s…
/Zephyr-latest/doc/_extensions/zephyr/kconfig/static/
Dkconfig.mjs280 history.replaceState({
/Zephyr-latest/doc/services/settings/
Dindex.rst136 Technically FCB and file backends may store some history of the entities.
/Zephyr-latest/doc/services/storage/zms/
Dzms.rst144 ZMS ID/data read (with history)
150 If history count is provided that is different than 0, older data with same ID is retrieved.

12