Home
last modified time | relevance | path

Searched refs:pattern (Results 1 – 25 of 116) sorted by relevance

12345

/Zephyr-latest/lib/posix/options/
Dfnmatch.c63 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()
102 pattern += 2; 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()
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()
89 " wildcard pattern: %s\n", pattern); in commands_expand()
100 &sh->ctx->cmd_tmp_buff_len, pattern); in commands_expand()
161 const char *pattern) in z_shell_wildcard_process() argument
169 if (!z_shell_has_wildcard(pattern)) { in z_shell_wildcard_process()
180 ret_val = commands_expand(sh, cmd, pattern); in z_shell_wildcard_process()
Dshell_wildcard.h49 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/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/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()
168 memset(wr_buf, pattern, MIN(len, CONFIG_EEPROM_SHELL_BUFFER_SIZE)); in cmd_fill()
177 pattern); in cmd_fill()
/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/lib/devicetree/memory_region_flags/pytest/
Dtest_memory_region_flags.py45 pattern = (
50 logger.info(pattern)
56 m = re.search(pattern, line)
/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/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/boards/intel_adsp/ssp/src/
Dmain.c189 int32_t pattern[4]; in check_transmission() local
202 pattern[i] = sine_buf[i]; 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()
/Zephyr-latest/arch/
DKconfig.v14 # Note: $ARCH might be a glob pattern
/Zephyr-latest/drivers/video/
DKconfig.sw_generator12 Enable video pattern generator (for testing purposes).
/Zephyr-latest/drivers/interrupt_controller/
DKconfig.nxp_pint5 bool "Pin interrupt and pattern match engine (PINT) for NXP MCUs"
/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/drivers/display/
DKconfig.led_strip_matrix11 a grid pattern) driver.
/Zephyr-latest/tests/boards/espressif/cache_coex/
DREADME.rst11 with a random generated pattern. At the same time, a whole SPI Flash page is updated with another p…
/Zephyr-latest/
D.gitattributes10 # Tell linguist that generated test pattern files should not be included in the
/Zephyr-latest/tests/boards/nrf/nrf70/bustest/src/
Dmain.c74 const uint32_t pattern = 0x12345678; in memtest() local
102 buff[i] = pattern + in memtest()
/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/scripts/gitlint/
Dzephyr_commit_rules.py97 pattern = re.compile(regex, re.UNICODE)
99 if not pattern.search(title):
/Zephyr-latest/scripts/build/
Dgen_symtab.py73 pattern = r'(^[a-zA-Z_][a-zA-Z0-9_]*)'
74 match = re.match(pattern, name)
/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
/Zephyr-latest/scripts/tests/twister_blackbox/
Dtest_coverage.py247 pattern = re.compile(expected_content)
248 assert pattern.match(json.dumps(json_content, sort_keys=True))
354 pattern = r'TOTAL\s+(\d+)'
358 match = re.search(pattern, data)

12345