Home
last modified time | relevance | path

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

123456789

/Zephyr-latest/lib/posix/options/
Dfnmatch.c39 * Compares a filename or pathname to a pattern.
63 static const char *rangematch(const char *pattern, int test, int flags) in rangematch() argument
68 if (pattern == NULL) { in rangematch()
79 negate = *pattern == '!' || *pattern == '^'; in rangematch()
81 ++pattern; in rangematch()
84 for (need = true, ok = false, c = FOLDCASE(*pattern++, flags); c != ']' || need; in rangematch()
85 c = FOLDCASE(*pattern++, flags)) { in rangematch()
92 c = FOLDCASE(*pattern++, flags); in rangematch()
99 if (*pattern == '-') { in rangematch()
100 c2 = FOLDCASE(*(pattern + 1), flags); in rangematch()
[all …]
/Zephyr-latest/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-latest/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.txt85 # Some linkers fill unspecified region with pattern other than 0x00. Include
86 # fill_with_zeros.ld file which forces the linker to use 0x00 pattern. Please
87 # note that the pattern will affect empty spaces created after FILL(0x00).
/Zephyr-latest/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-latest/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-latest/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-latest/scripts/schemas/
Dpatch-schema.yml25 pattern: "^[0-9a-f]{64}$"
42 pattern: ".+@.+"
59 pattern: "^https?://"
65 pattern: "^https?://"
75 pattern: "^[0-9a-f]{40}"
/Zephyr-latest/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-latest/scripts/pylib/twister/twisterlib/
Dcoverage.py213 def add_ignore_file(self, pattern): argument
214 self.ignores.append('*' + pattern + '*')
216 def add_ignore_directory(self, pattern): argument
217 self.ignores.append('*/' + pattern + '/*')
219 def add_ignore_branch_pattern(self, pattern): argument
220 self.ignore_branch_patterns.append(pattern)
328 def add_ignore_file(self, pattern): argument
329 self.ignores.append('.*' + pattern + '.*')
331 def add_ignore_directory(self, pattern): argument
332 self.ignores.append(".*/" + pattern + '/.*')
[all …]
/Zephyr-latest/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-latest/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-latest/tests/lib/devicetree/memory_region_flags/pytest/
Dtest_memory_region_flags.py45 pattern = (
50 logger.info(pattern)
56 m = re.search(pattern, line)
/Zephyr-latest/doc/build/kconfig/
Dextensions.rst61 file. A pattern is required to match at least one file.
69 If the pattern ``foo/bar/*/Kconfig`` matches the files
78 If no files match the pattern, an error is generated.
83 For cases where it's okay for a pattern to match no files (or for a plain
/Zephyr-latest/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-latest/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-latest/samples/drivers/led/pwm/
DREADME.rst12 (child nodes) the same test pattern (described below) is executed. The LED API
15 Test pattern
/Zephyr-latest/doc/_scripts/
Dgen_boards_catalog.py20 for pattern in patterns:
22 matching_file = next(directory.glob(pattern.format(name=name, ext=ext)), None)
97 pattern = f"{board.name}*.yaml"
98 for twister_file in board.dir.glob(pattern):
/Zephyr-latest/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-latest/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-latest/drivers/interrupt_controller/
DKconfig.nxp_pint5 bool "Pin interrupt and pattern match engine (PINT) for NXP MCUs"
/Zephyr-latest/arch/
DKconfig.v14 # Note: $ARCH might be a glob pattern
/Zephyr-latest/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-latest/samples/drivers/led/lp50xx/
DREADME.rst13 and printed in the log messages. Next, from an infinite loop, a test pattern
18 Test pattern

123456789