Home
last modified time | relevance | path

Searched full:lines (Results 1 – 25 of 420) sorted by relevance

12345678910>>...17

/Zephyr-latest/tests/ztest/ztest_param/pytest/
Dtest_parameters.py8 lines = shell.exec_command('ztest shuffle -c 1 -s 1')
9 # Join the list of lines into a single string
10 output = '\n'.join(lines)
11 assert "PASS - test_int_param" in output, f"Expected 'PASS - test_int_param' but got {lines}"
12 assert "PASS - test_dummy" in output, f"Expected 'PASS - test_dummy' but got {lines}"
13 …assert "PASS - test_string_param" in output, f"Expected 'PASS - test_string_param' but got {lines}"
16 lines = shell.exec_command('ztest run-testcase ztest_params::test_dummy')
17 # Join the list of lines into a single string
18 output = '\n'.join(lines)
19 assert "PASS - test_dummy" in output, f"Expected 'PASS - test_dummy' but got {lines}"
[all …]
/Zephyr-latest/include/zephyr/dt-bindings/flash_controller/
Dxspi.h15 /* XSPI mode operating on 1 line, 2 lines, 4 lines or 8 lines */
18 /* 2 Cmd Lines, 2 Address Lines and 2 Data Lines */
20 /* 4 Cmd Lines, 4 Address Lines and 4 Data Lines */
22 /* 8 Cmd Lines, 8 Address Lines and 8 Data Lines */
Dospi.h17 /* OSPI mode operating on 1 line, 2 lines, 4 lines or 8 lines */
20 /* 2 Cmd Lines, 2 Address Lines and 2 Data Lines */
22 /* 4 Cmd Lines, 4 Address Lines and 4 Data Lines */
24 /* 8 Cmd Lines, 8 Address Lines and 8 Data Lines */
/Zephyr-latest/samples/sensor/sensor_shell/pytest/
Dtest_sensor_shell.py14 lines = shell.exec_command('sensor info')
15 assert any(['device name: sensor@0' in line for line in lines]), 'expected response not found'
16 assert any(['device name: sensor@1' in line for line in lines]), 'expected response not found'
24 lines = shell.exec_command('sensor get sensor@0 voltage')
25 … assert any(['channel type=31(voltage)' in line for line in lines]), 'expected response not found'
27 lines = shell.exec_command('sensor get sensor@1 53')
28 …assert any(['channel type=53(gauge_state_of_health)' in line for line in lines]), 'expected respon…
32 lines = shell.exec_command('sensor get sensor@0 gauge_desired_charging_current')
33 …assert any(['channel type=59(gauge_desired_charging_current)' in line for line in lines]), 'expect…
41 lines = shell.exec_command('sensor attr_get sensor@0 co2 sampling_frequency')
[all …]
/Zephyr-latest/samples/subsys/profiling/perf/pytest/
Dtest_perf.py20 lines = shell.exec_command('perf record 200 99')
21 assert 'Enabled perf' in lines, 'expected response not found'
22 lines = dut.readlines_until(regex='.*Perf done!', print_output=True)
26 lines = shell.exec_command('perf printbuf')
27 lines = lines[1:-1]
28 match = re.match(r"Perf buf length (\d+)", lines[0])
31 lines = lines[1:]
33 assert length == len(lines), 'length dose not match with count of lines'
37 i += int(lines[i], 16) + 1
/Zephyr-latest/samples/boards/nxp/mimxrt1170_evk_cm7/magic_addr/pytest/
Dtest_magic_addr.py18 lines = dut.readlines_until(regex='Magic DTCM address accessed', print_output=True)
19 logger.info(lines)
21 lines = dut.readlines_until(regex='Magic DTCM address accessed', print_output=True)
22 logger.info(lines)
23 ret = any('Magic DTCM address accessed' in line for line in lines)
/Zephyr-latest/dts/bindings/interrupt-controller/
Dst,stm32-exti.yaml17 num-lines:
20 description: Number of lines supported by the interrupt controller.
26 Description of the input lines range for each interrupt line supported
33 Above property provides event-range for 7 lines.
34 5 first lines contain one element
Dgd,gd32-exti.yaml17 num-lines:
20 description: Number of lines supported by the interrupt controller.
Dnxp,pint.yaml14 num-lines:
17 description: Number of interrupt lines supported by the interrupt controller.
/Zephyr-latest/scripts/tests/twister_blackbox/test_data/samples/pytest/shell/pytest/
Dtest_shell.py14 lines = shell.exec_command('help')
15 assert 'Available commands:' in lines, 'expected response not found'
21 lines = shell.exec_command('kernel version')
22 assert any(['Zephyr version' in line for line in lines]), 'expected response not found'
/Zephyr-latest/samples/subsys/testsuite/pytest/shell/pytest/
Dtest_shell.py14 lines = shell.exec_command('help')
15 assert 'Available commands:' in lines, 'expected response not found'
21 lines = shell.exec_command('kernel version')
22 assert any(['Zephyr version' in line for line in lines]), 'expected response not found'
/Zephyr-latest/scripts/build/
Dgen_device_deps.py79 lines = [
84 lines.append(' * Direct Dependencies:')
86 lines.append(' * - {:s}'.format(dev_path_str(dep)))
88 lines.append(' * Injected Dependencies:')
90 lines.append(' * - {:s}'.format(dev_path_str(dep)))
92 lines.append(' * Supported:')
94 lines.append(' * - {:s}'.format(dev_path_str(sup)))
95 lines.append(' */')
96 return lines
160 lines = c_handle_comment(dev, sorted_handles)
[all …]
/Zephyr-latest/tests/net/lib/lwm2m/interop/pytest/
Dtest_bootstrap.py70 lines = dut.readlines_until(regex='.*Registration Done', timeout=5.0)
71 assert not any("Bootstrap" in line for line in lines)
77 lines = dut.readlines_until(regex='.*Registration Done', timeout=5.0)
78 assert any("Bootstrap" in line for line in lines)
87 lines = dut.readlines_until(regex='.*Registration Done', timeout=600.0)
88 assert any("Bootstrap" in line for line in lines)
98 lines = shell.get_filtered_output(shell.exec_command('lwm2m read 0/0/0 -s'))
99 host = lines[0]
101 lines = shell.get_filtered_output(shell.exec_command('lwm2m read 0/0/2 -u8'))
102 mode = int(lines[0])
Dtest_blockwise.py37 lines = dut.readlines_until(regex='app_fw_update: UPDATE', timeout=5.0)
38 assert len(lines) > 0
39 line = lines[-1]
67 lines = dut.readlines_until(regex='app_fw_update: UPDATE', timeout=5.0)
68 assert len(lines) > 0
69 line = lines[-1]
94 lines = shell.get_filtered_output(shell.exec_command('lwm2m read /19/0/0/0 -crc32'))
95 crc = int(lines[0])
/Zephyr-latest/scripts/pylib/pytest-twister-harness/src/twister_harness/helpers/
Dutils.py19 lines = f.readlines()
20 for line in lines:
29 """Check all lines exist in the output"""
35 """Check lines not found in the output"""
/Zephyr-latest/dts/bindings/display/
Dftdi,ft800.yaml52 description: Number of visible lines of pixels in one frame
57 description: Number of invisible lines at the beginning of a new frame
63 Number of all lines in a frame. It includes all visible and
64 invisible lines at the beginning and at the end of a frame.
70 Number of lines for the high state of signal VSYNC at
77 Number of lines for signal VSYNC toggle takes at the start
/Zephyr-latest/dts/bindings/usb/
Dusb-bc12.yaml18 charging. The USB data lines are active and the
21 charging. The USB data lines are active and the
24 charging. The USB data lines are disabled and the
/Zephyr-latest/dts/bindings/flash_controller/
Dst,stm32-xspi-nor.yaml12 data-mode = <XSPI_OCTO_MODE>; /* access on 8 data lines */
34 - XSPI_DUAL_MODE <2> = Dual mode on 2 data lines
35 - XSPI_QUAD_MODE <4> = Quad mode on 4 data lines
36 - XSPI_OCTO_MODE <8> = Octo mode on 8 data lines
/Zephyr-latest/samples/modules/tflite-micro/magic_wand/train/
Ddata_prepare_test.py42 lines = csv.reader(f)
43 for idx, line in enumerate(lines): # pylint: disable=unused-variable
67 lines = f.readlines()
68 self.assertEqual(len(lines), len(self.data))
69 self.assertEqual(json.loads(lines[0]), self.data[0])
70 self.assertEqual(json.loads(lines[-1]), self.data[-1])
/Zephyr-latest/scripts/west_commands/zspdx/
Dcmakecache.py16 lines = f.readlines()
18 # walk through and look for non-comment, non-empty lines
19 for line in lines:
/Zephyr-latest/soc/microchip/mec/common/
Dsoc_i2c.h42 * lines b[0]=SCL pin state at pad, b[1]=SDA pin state at pad
43 * Returns 0 success or -EINVAL if port is not support or lines is NULL.
48 int soc_i2c_port_lines_get(uint8_t port, uint32_t *lines);
/Zephyr-latest/scripts/profiling/
Dstackcollapse.py62 lines = inp.splitlines() variable
63 assert int(re.match(r"Perf buf length (\d+)", lines[0]).group(1)) == len(lines) - 1
64 buf = binascii.unhexlify("".join(lines[1:]))
/Zephyr-latest/boards/nordic/nrf9160dk/dts/bindings/
Dnordic,nrf9160dk-nrf52840-interface.yaml25 Before particular lines of this interface can be used, the corresponding
30 - `nrf_interface_pins_0_2_routing` to enable lines 0-2
31 - `nrf_interface_pins_3_5_routing` to enable lines 3-5
32 - `nrf_interface_pins_6_8_routing` to enable lines 6-8
/Zephyr-latest/include/zephyr/drivers/console/
Dconsole.h38 * @param lines k_fifo queue of entered lines which to be processed
42 typedef void (*console_input_fn)(struct k_fifo *avail, struct k_fifo *lines,
Duart_console.h26 * @param lines k_fifo queue of entered lines which to be processed
30 void uart_register_input(struct k_fifo *avail, struct k_fifo *lines,

12345678910>>...17