Home
last modified time | relevance | path

Searched refs:content (Results 1 – 16 of 16) sorted by relevance

/scripts/build/
A Dgen_image_info.py29 content = []
32 content.append(f'#ifndef {filename_we}_H')
33 content.append(f'#define {filename_we}_H')
34 content.append(f'')
35 content.append(f'#define SEGMENT_NUM {len(segments)}')
36 content.append(f'#define ADJUSTED_LMA {adjusted_lma}')
44 content.append(f'')
47 content.append(f'#define SEGMENT_SIZE_{idx} {hex_size}')
49 content.append(f'')
50 content.append(f'#endif /* {filename_we}_H */')
[all …]
A Dfile2hex.py72 with io.BytesIO() as content:
75 with gzip.GzipFile(fileobj=content, mode='w',
80 content.seek(0)
83 for chunk in iter(lambda: content.read(1024), b''):
87 for chunk in iter(lambda: content.read(1024), b''):
/scripts/utils/
A Dpinctrl_nrf_migrate.py202 for line in content[:last_line]:
236 for line in content[last_line:]:
252 for line in content:
277 content = ""
290 content += (
298 content += "\t\t};\n"
300 return content
344 for i, line in enumerate(content):
390 for line in content:
446 content[:] = new_content
[all …]
A Dmigrate_sys_init.py46 content = ""
58 content += f"{b}int {sys_init}(void){e}\n"
66 content += line
70 content += line
73 content += line
79 f.write(content)
A Dmigrate_includes.py40 content = ""
45 content += (
57 content += (
67 content += line
73 f.write(content)
/scripts/pylib/twister/twisterlib/
A Dtestinstance.py358 content = ""
376 content = "\n".join(new_config_list)
387 content +="\nCONFIG_ZTEST_REPEAT=y"
393 content +="\nCONFIG_ZTEST_SHUFFLE=y"
398 content = content + "\nCONFIG_COVERAGE=y"
399 content = content + "\nCONFIG_COVERAGE_DUMP=y"
403 content = content + "\nCONFIG_ASAN=y"
405 content = content + "\nCONFIG_UBSAN=y"
407 if content:
411 f.write(content)
[all …]
/scripts/tests/twister/
A Dtest_platform.py356 for filename, content in tmp_files.items():
358 (tmp_path / filename).write_text(content)
A Dtest_handlers.py1875 content, argument
1903 contents = content
/scripts/
A Dbindings_properties_allowlist.yaml5 # The file content can be as shown below:
/scripts/west_commands/fetchers/
A Dhttp.py31 f.write(resp.content)
/scripts/tests/twister_blackbox/
A Dtest_outfile.py108 assert all([content in expected_zephyr_contents for content in zephyr_listdir]), \
110 assert all([content in expected_contents for content in listdir]), \
/scripts/west_commands/zspdx/
A Dwalker.py384 content = yaml.load(file.read(), yaml.SafeLoader)
385 if not self.setupZephyrDocument(content["zephyr"], content["modules"]):
396 self.setupModulesDocument(content["modules"])
/scripts/west_commands/
A Drun_common.py593 content = yaml.safe_load(f.read())
597 if not content.get('runners'):
601 return content
A Dsdk.py304 sha256 = self.minimal_sdk_sha256(resp.content.decode("UTF-8"), target_release)
/scripts/pylib/display-twister-harness/camera_shield/
A DREADME.rst44 1. Setup camera to capture display content
/scripts/ci/
A Dcheck_compliance.py124 content = fp_setting_file.read()
126 lines = content.strip().split('\n')
535 content = fp_module_file.read()
543 fp_module_file.write(content)

Completed in 25 milliseconds