Home
last modified time | relevance | path

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

1234567

/Zephyr-4.3.0/tests/drivers/flash/interface_test/src/
Dmain.c26 static uint8_t pattern[PATTERN_SIZE]; variable
55 for (int i = 0; i < sizeof(pattern); i++) { in flash_setup()
56 pattern[i] = i; in flash_setup()
60 int res = verify_block(pos, pattern, sizeof(pattern)); in flash_setup()
78 zassert_ok(flash_write(flash_controller, pos, pattern, sizeof(pattern))); in flash_setup()
98 zassert_ok(verify_block(test_area_offset + (slot * PATTERN_SIZE), pattern, in ZTEST()
99 sizeof(pattern))); in ZTEST()
118 zassert_ok(verify_block(test_area_offset + (slot1 * PATTERN_SIZE), pattern, in ZTEST()
119 sizeof(pattern))); in ZTEST()
120 zassert_ok(verify_block(test_area_offset + (slot2 * PATTERN_SIZE), pattern, in ZTEST()
[all …]
/Zephyr-4.3.0/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-4.3.0/lib/posix/c_lib_ext/
Dfnmatch.c75 static int rangematch_cc(const char **pattern, int ch) in rangematch_cc() argument
94 const char *p = *pattern; in rangematch_cc()
152 *pattern = p; in rangematch_cc()
165 static int rangematch(const char **pattern, char test, int flags) in rangematch() argument
170 const char *pat = *pattern; in rangematch()
245 *pattern = pat; in rangematch()
252 static int fnmatchx(const char *pattern, const char *string, const char *stringstart, int flags, in fnmatchx() argument
263 pc = FOLDCASE(*pattern++, flags); in fnmatchx()
289 c = FOLDCASE(*pattern, flags); in fnmatchx()
292 c = FOLDCASE(*++pattern, flags); in fnmatchx()
[all …]
/Zephyr-4.3.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.txt93 # Some linkers fill unspecified region with pattern other than 0x00. Include
94 # fill_with_zeros.ld file which forces the linker to use 0x00 pattern. Please
95 # note that the pattern will affect empty spaces created after FILL(0x00).
/Zephyr-4.3.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-4.3.0/tests/drivers/flash/interface_test/
DKconfig8 int "Perform amount of sequential-read-pattern tests"
12 int "Perform amount of sequential-alternating-read-pattern tests"
DREADME.rst4 … robustness of the interface between the controller and the flash chip using pattern-based testing.
7 A sequential-alternating-read-pattern test is available to help uncover issues that may occur when …
/Zephyr-4.3.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()
168 memset(wr_buf, pattern, MIN(len, CONFIG_EEPROM_SHELL_BUFFER_SIZE)); in cmd_fill()
177 pattern); in cmd_fill()
/Zephyr-4.3.0/tests/drivers/video/test_pattern/
DKconfig4 mainmenu "Video test pattern testing"
30 be a lot of frames completely black or otherwise invalid before the test pattern
34 int "Value used for the test pattern menu control"
38 Control the menu CID value to select the correct "vertical color bar" pattern.
45 A valid frame is a frame featuring the test pattern with colors close enough according
/Zephyr-4.3.0/tests/lib/devicetree/memory_region_flags/pytest/
Dtest_memory_region_flags.py45 pattern = (
50 logger.info(pattern)
56 m = re.search(pattern, line)
/Zephyr-4.3.0/tests/posix/c_lib_ext/src/
Dfnmatch.c124 const char *pattern; in ZTEST() member
150 zexpect_equal(fnmatch(data->pattern, input, 0), FNM_NOMATCH, in ZTEST()
152 data->pattern, c, isprint(c) ? c : '.'); in ZTEST()
160 zexpect_ok(fnmatch(data->pattern, input, 0), in ZTEST()
161 "pattern \"%s\" did not match char 0x%02x (%c)", data->pattern, in ZTEST()
/Zephyr-4.3.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-4.3.0/scripts/pylib/twister/twisterlib/
Dcoverage.py224 def add_ignore_file(self, pattern): argument
225 self.ignores.append('*' + pattern + '*')
227 def add_ignore_directory(self, pattern): argument
228 self.ignores.append('*/' + pattern + '/*')
230 def add_ignore_branch_pattern(self, pattern): argument
231 self.ignore_branch_patterns.append(pattern)
386 def add_ignore_file(self, pattern): argument
387 self.ignores.append('.*' + pattern + '.*')
389 def add_ignore_directory(self, pattern): argument
390 self.ignores.append(".*/" + pattern + '/.*')
[all …]
/Zephyr-4.3.0/drivers/video/
DKconfig.sw_generator9 Enable video pattern generator (for testing purposes).
/Zephyr-4.3.0/drivers/interrupt_controller/
DKconfig.nxp_pint5 bool "Pin interrupt and pattern match engine (PINT) for NXP MCUs"
/Zephyr-4.3.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()
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-4.3.0/drivers/display/
DKconfig.led_strip_matrix11 a grid pattern) driver.
/Zephyr-4.3.0/samples/boards/espressif/flash_ipm/
DREADME.rst23 * Writes a simple incremental pattern (0x00–0x7F).
24 * Verifies the written pattern by reading back the same data.
68 * Write ascii pattern..OK
70 * Verifing pattern.. OK
/Zephyr-4.3.0/scripts/pylib/pytest-twister-harness/src/twister_harness/helpers/
Dconfig_reader.py34 pattern = re.compile(r"^(?P<key>.+)=(?P<value>.+)$")
37 if match := pattern.match(line):
/Zephyr-4.3.0/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-4.3.0/
D.gitattributes10 # Tell linguist that generated test pattern files should not be included in the
/Zephyr-4.3.0/snippets/video-sw-generator/
DREADME.rst13 This snippet instantiate a fake video source generating a test pattern continuously
/Zephyr-4.3.0/drivers/led_strip/
Dws2812_spi.c84 uint8_t pattern = (color & BIT(i)) ? one : zero; in ws2812_spi_ser() local
88 *(*buf)++ = pattern; in ws2812_spi_ser()
94 if (pattern & BIT(p)) { in ws2812_spi_ser()

1234567