Home
last modified time | relevance | path

Searched full:pattern (Results 1 – 25 of 169) sorted by relevance

1234567

/Zephyr-Core-3.5.0/lib/posix/
Dfnmatch.c39 * Compares a filename or pathname to a pattern.
62 static const char *rangematch(const char *pattern, int test, int flags) in rangematch() argument
67 if (pattern == NULL) { in rangematch()
78 negate = *pattern == '!' || *pattern == '^'; in rangematch()
80 ++pattern; in rangematch()
83 for (need = true, ok = false, c = FOLDCASE(*pattern++, flags); c != ']' || need; in rangematch()
84 c = FOLDCASE(*pattern++, flags)) { in rangematch()
91 c = FOLDCASE(*pattern++, flags); in rangematch()
98 if (*pattern == '-') { in rangematch()
99 c2 = FOLDCASE(*(pattern + 1), flags); in rangematch()
[all …]
DKconfig.fnmatch9 Match filenames using the the fnmatch function. For example, the pattern
/Zephyr-Core-3.5.0/subsys/shell/
Dshell_wildcard.c15 char const *pattern) in command_add() argument
26 completion_addr = strstr(buff, pattern); in command_add()
47 * shell buffer matching to wildcard pattern.
49 * Function will search commands tree for commands matching wildcard pattern
50 * stored in argv[cmd_lvl]. When match is found wildcard pattern will be
53 * continue to search for next wildcard pattern and it will try to add matching
61 * @param[in] pattern Pointer to wildcard pattern.
71 const char *pattern) in commands_expand() argument
81 if (fnmatch(pattern, entry->syntax, 0) == 0) { in commands_expand()
84 entry->syntax, pattern); in commands_expand()
[all …]
Dshell_wildcard.h38 * pattern.
45 * @param[in] pattern Pointer to wildcard pattern.
49 const char *pattern);
/Zephyr-Core-3.5.0/arch/common/
Dfill_with_zeros.ld9 * counter) in executable segments with TrapInstr pattern, e.g. for ARM the
10 * TrapInstr pattern is 0xd4d4d4d4. GNU LD fills empty spaces with 0x00
11 * pattern.
14 * e.g. because MCU can interpret the pattern as a configuration data.
DCMakeLists.txt61 # Some linkers fill unspecified region with pattern other than 0x00. Include
62 # fill_with_zeros.ld file which forces the linker to use 0x00 pattern. Please
63 # note that the pattern will affect empty spaces created after FILL(0x00).
/Zephyr-Core-3.5.0/drivers/eeprom/
Deeprom_shell.c22 uint8_t pattern; member
30 .pattern = 4,
152 unsigned long pattern; in cmd_fill() local
163 pattern = strtoul(argv[args_indx.pattern], NULL, 0); in cmd_fill()
164 if (pattern > UINT8_MAX) { in cmd_fill()
165 shell_error(sh, "Error parsing pattern byte"); in cmd_fill()
168 memset(wr_buf, pattern, MIN(len, CONFIG_EEPROM_SHELL_BUFFER_SIZE)); in cmd_fill()
177 pattern); in cmd_fill()
237 "<device> <offset> <length> <pattern>", cmd_fill, 5, 0),
/Zephyr-Core-3.5.0/doc/_extensions/zephyr/
Dwarnings_filter.py70 Encapsulate a log filter pattern and track if it ever matches a log line.
73 def __init__(self, pattern): argument
74 self.pattern = pattern
78 matches = bool(re.match(self.pattern, str))
119 logging.warning(f"Unused expression: {expression.pattern}")
/Zephyr-Core-3.5.0/samples/drivers/led_lp3943/
DREADME.rst11 a continuous pattern of turning them on one at a time (at a one
37 following output in addition to the LED pattern:
43 [general] [INF] main: Displaying the pattern
/Zephyr-Core-3.5.0/tests/bluetooth/df/common/src/
Dradio_df_stub.c30 void radio_df_ant_switch_pattern_set(uint8_t pattern) in radio_df_ant_switch_pattern_set() argument
112 void ut_radio_df_pdu_antenna_switch_pattern_set(uint8_t pattern) in ut_radio_df_pdu_antenna_switch_pattern_set() argument
114 g_pdu_switch_pattern = pattern; in ut_radio_df_pdu_antenna_switch_pattern_set()
/Zephyr-Core-3.5.0/tests/bluetooth/df/connection_cte_req/src/
Dtest_cte_set_rx_params.c30 /* Antenna switch pattern length is stored in 1 octet. If BT Core spec. extends the max value to
35 "Can't test expected failures for switch pattern length longer or "
40 "Can't test expected failures for switch pattern length smaller or equal to zero.");
109 "Unexpected error value for set iq sampling params with switch pattern set " in ZTEST()
124 "Unexpected error value for set iq sampling params with switch pattern set " in ZTEST()
189 "switch pattern length above max value"); in ZTEST()
204 "switch pattern length below min value"); in ZTEST()
/Zephyr-Core-3.5.0/doc/build/kconfig/
Dextensions.rst25 file. A pattern is required to match at least one file.
33 If the pattern ``foo/bar/*/Kconfig`` matches the files
42 If no files match the pattern, an error is generated.
47 For cases where it's okay for a pattern to match no files (or for a plain
/Zephyr-Core-3.5.0/include/zephyr/drivers/interrupt_controller/
Dnxp_pint.h8 * @brief Driver for Pin interrupt and pattern match engine in NXP MCUs
10 * The Pin interrupt and pattern match engine (PINT) supports
14 * using the PINT's boolean logic based pattern match engine.
/Zephyr-Core-3.5.0/dts/bindings/net/wireless/
Dnordic,nrf-radio.yaml69 An antenna switching pattern is a binary number where each bit is
70 applied to a particular antenna GPIO pin. For example, the pattern
75 affects the allowed pattern values. For example, when using four
76 GPIOs, the pattern count cannot be greater than 16, and the
148 Antenna switch pattern to be used for transmission of PDU before start
153 This pattern is stored in SWITCHPATTERN[0] before actual antenna
154 switching patterns. This pattern will also be used to drive GPIOs
/Zephyr-Core-3.5.0/tests/bluetooth/df/connection_cte_tx_params/src/
Dtest_set_conn_cte_tx_params.c42 /* Antenna switch pattern length is stored in 1 octet. If BT Core spec. extends the max value to
47 "Can't test expected failures for switch pattern length longer or "
52 "Can't test expected failures for switch pattern length smaller or equal to zero.");
127 "Unexpected error value for set conn CTE TX params with switch pattern set " in ZTEST()
141 "Unexpected error value for set conn CTE TX params with switch pattern set " in ZTEST()
/Zephyr-Core-3.5.0/samples/drivers/led_pwm/
DREADME.rst12 (child nodes) the same test pattern (described below) is executed. The LED API
15 Test pattern
/Zephyr-Core-3.5.0/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/
Dradio_df.h41 /* Clears antenna switch pattern. */
43 /* Set antenna switch pattern. Pay attention, patterns are added to
48 /* Provides switch pattern of antenna used to transmit PDU that is used to
/Zephyr-Core-3.5.0/tests/boards/intel_adsp/ssp/src/
Dmain.c189 int32_t pattern[4]; in check_transmission() local
202 pattern[i] = sine_buf[i]; in check_transmission()
223 /* search for pattern only on first half */ in check_transmission()
225 if (buffer[i] == pattern[0] && in check_transmission()
226 buffer[i + 1] == pattern[1] && in check_transmission()
227 buffer[i + 2] == pattern[2] && in check_transmission()
228 buffer[i + 3] == pattern[3]) { in check_transmission()
236 TC_PRINT("pattern not found in rx buffer\n"); in check_transmission()
240 TC_PRINT("pattern found in rx buffer an index %d value %x\n", start_index, in check_transmission()
/Zephyr-Core-3.5.0/scripts/pylib/twister/twisterlib/
Dcoverage.py123 def add_ignore_file(self, pattern): argument
124 self.ignores.append('*' + pattern + '*')
126 def add_ignore_directory(self, pattern): argument
127 self.ignores.append('*/' + pattern + '/*')
183 def add_ignore_file(self, pattern): argument
184 self.ignores.append('.*' + pattern + '.*')
186 def add_ignore_directory(self, pattern): argument
187 self.ignores.append(".*/" + pattern + '/.*')
/Zephyr-Core-3.5.0/samples/drivers/led_lp3943/src/
Dmain.c37 * Display a continuous pattern that turns on 16 LEDs at 1s one by in main()
41 LOG_INF("Displaying the pattern"); in main()
/Zephyr-Core-3.5.0/include/zephyr/bluetooth/
Ddirection.h75 /** Number of Antenna IDs in the switch pattern. */
77 /** List of antenna IDs in the pattern. */
100 /** Length of antenna switch pattern. */
102 /** Antenna switch pattern. */
150 /** Length of antenna switch pattern. */
152 /** Antenna switch pattern. */
201 /** Number of antenna switch pattern. */
203 /** Antenna switch pattern. */
/Zephyr-Core-3.5.0/drivers/video/
DKconfig.sw_generator9 Enable video pattern generator (for testing purposes).
/Zephyr-Core-3.5.0/tests/bluetooth/df/connectionless_cte_tx/src/
Dtest_set_cl_cte_tx_param.c42 * pattern. May be zero if CTE type is
45 * pattern. May be NULL if CTE type is AoA.
197 "Unexpected error value for invalid switch pattern len"); in ZTEST()
211 "Unexpected error value for invalid switch pattern len"); in ZTEST()
/Zephyr-Core-3.5.0/samples/drivers/led_lp50xx/
DREADME.rst13 and printed in the log messages. Next, from an infinite loop, a test pattern
18 Test pattern
/Zephyr-Core-3.5.0/drivers/interrupt_controller/
DKconfig.nxp_pint5 bool "Pin interrupt and pattern match engine (PINT) for NXP MCUs"

1234567