Searched +full:a +full:- +full:za +full:- +full:z0 +full:- +full:9 +full:_ (Results 1 – 25 of 32) sorted by relevance
12
/Zephyr-latest/scripts/checkpatch/ |
D | typedefsfile | 8 \b[a-zA-Z_][a-zA-Z0-9_]*TypeDef
|
/Zephyr-latest/scripts/pylib/twister/twisterlib/ |
D | testsuite.py | 3 # Copyright (c) 2018-2024 Intel Corporation 4 # SPDX-License-Identifier: Apache-2.0 27 matches A list of test cases 28 warnings A string containing one or more 36 has_test_main Whether or not the path contains a 71 # do not match until end-of-line, otherwise we won't allow 73 # line--as we only search starting the end of this match 74 br"^\s*ztest_test_suite\(\s*(?P<suite_name>[a-zA-Z0-9_]+)\s*,", 78 br"\(\s*(?P<suite_name>[a-zA-Z0-9_]+)\s*,", 81 br"^\s*ZTEST_SUITE\(\s*(?P<suite_name>[a-zA-Z0-9_]+)\s*,", [all …]
|
D | harness.py | 1 # SPDX-License-Identifier: Apache-2.0 71 def trace(self) -> bool: 75 def status(self) -> TwisterStatus: 79 def status(self, value : TwisterStatus) -> None: 113 def translate_record(self, record: dict) -> dict: 127 def parse_record(self, line) -> re.Match: 185 handle is trying to give a PASS or FAIL to avoid timeout, nothing 216 out, _ = renode_test_proc.communicate() 218 self.instance.execution_time = time.time() - start_time 222 # all tests in one Robot file are treated as a single test case, [all …]
|
/Zephyr-latest/scripts/utils/ |
D | migrate_sys_init.py | 11 -p path/to/zephyr-based-project 14 SPDX-License-Identifier: Apache-2.0 32 m = re.match(r"^SYS_INIT\(([A-Za-z0-9_]+),.*", line) 37 m = re.match(r"^SYS_INIT_NAMED\([A-Za-z0-9_]+,\s?([A-Za-z0-9_]+).*", line) 85 "-p", "--project", type=Path, required=True, help="Zephyr-based project path" 87 parser.add_argument("--dry-run", action="store_true", help="Dry run")
|
/Zephyr-latest/samples/sensor/die_temp_polling/ |
D | sample.yaml | 7 - sensors 8 filter: dt_alias_exists("die-temp0") 10 - stm32f3_disco 11 - nucleo_h7a3zi_q 16 - "CPU Die temperature\\[[A-Za-z0-9_@]+\\]: [1-9][0-9].[0-9] °C"
|
/Zephyr-latest/samples/sensor/soc_voltage/ |
D | sample.yaml | 9 filter: dt_alias_exists("volt-sensor0") 15 - "Sensor voltage\\[[A-Za-z0-9_]+\\]: -?([0-5])\\.([0-9]+) V"
|
/Zephyr-latest/scripts/schemas/twister/ |
D | testsuite-schema.yaml | 2 # Schema to validate a YAML file describing a Zephyr test platform 5 # (http://pykwalify.readthedocs.io/en/unstable/validation-rules.html), 6 # a YAML structure validator, to validate the YAML files that describe 11 schema;scenario-schema: 13 # has to be not-required, otherwise the parser gets 27 - type: str 32 - type: str 37 - type: str 54 - type: str 59 - type: str [all …]
|
D | platform-schema.yaml | 2 # Schema to validate a YAML file describing a Zephyr test platform 5 # (http://pykwalify.readthedocs.io/en/unstable/validation-rules.html), 6 # a YAML structure validator, to validate the YAML files that describe 12 schema;platform-schema: 17 matching-rule: "any" 19 regex;(([a-zA-Z0-9_]+)): 20 include: platform-schema 26 - type: str 35 - type: map 44 "xt-sim", [all …]
|
/Zephyr-latest/scripts/ |
D | tags.sh | 13 find "$1" -name "$2" 46 (echo \-k; echo \-q; all_target_sources) > cscope.files 47 cscope -b -f cscope.out 52 all_target_sources | gtags -i -f - 57 all_target_sources | xargs $1 -a \ 58 -I __initdata,__exitdata,__initconst, \ 59 -I __initdata_memblock \ 60 -I __refdata,__attribute,__maybe_unused,__always_unused \ 61 -I __acquires,__releases,__deprecated \ 62 -I __read_mostly,__aligned,____cacheline_aligned \ [all …]
|
D | snippets.py | 5 # SPDX-License-Identifier: Apache-2.0 13 - SNIPPET_NAMES: CMake list of discovered snippet names 14 - SNIPPET_FOUND_{snippet}: one per discovered snippet 52 '''Process the data in a snippet.yml file, after it is loaded into a 71 "it must end with '/' to use a regular expression") 80 As a dict, this maps a snippet's name onto the Snippet object. 96 '''Helper class for printing a Snippets's semantics to a .cmake 111 # Change to linux-style paths for windows to avoid cmake escape character code issues 124 # WARNING. THIS FILE IS AUTO-GENERATED. DO NOT MODIFY! 163 board_re = board[1:-1] [all …]
|
D | checkpatch.pl | 2 # SPDX-License-Identifier: GPL-2.0 7 # (c) 2008-2010 Andy Whitcroft <apw@canonical.com> 8 # (c) 2010-2018 Joe Perches <joe@perches.com> 67 my $git_command ='export LANGUAGE=en_US.UTF-8; git'; 71 my ($exitcode) = @_; 78 -q, --quiet quiet 79 --no-tree run without a kernel tree 80 --no-signoff do not check for 'Signed-off-by' line 81 --patch treat FILE as patchfile (default) 82 --emacs emacs compile window format [all …]
|
D | zephyr_module.py | 5 # SPDX-License-Identifier: Apache-2.0 7 '''Tool for parsing a list of projects to determine if they are Zephyr 11 Include file is generated for Kconfig using --kconfig-out. 12 A <name>:<path> text file is generated for use with CMake using --cmake-out. 14 Using --twister-out <filename> an argument file for twister script will 16 that can be included during a twister run. This allows testing code 37 ## A pykwalify schema for basic validation of the structure of a 40 # The zephyr/module.yml file is a simple list of key value pairs to be used by 57 cmake-ext: 61 kconfig-ext: [all …]
|
/Zephyr-latest/tests/ztest/fail/ |
D | CMakeLists.txt | 2 # SPDX-License-Identifier: Apache-2.0 26 # Once we find the config, we'll need to prepend a '-D' and append '=y' so we can pass it to the 27 # 'core' project as a cmake argument. 29 string(REGEX MATCHALL "(^|;)CONFIG_ZTEST_FAIL_TEST_[A-Za-z0-9_]+" fail_test_config "${_vars}") 31 list(TRANSFORM fail_test_config PREPEND "-D") 39 -DBOARD:STRING=${BOARD}${BOARD_QUALIFIERS} 40 -DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_BINARY_DIR}/core
|
/Zephyr-latest/scripts/west_commands/zspdx/ |
D | writer.py | 3 # SPDX-License-Identifier: Apache-2.0 14 r'^cpe:2\.3:[aho\*\-](:(((\?*|\*?)([a-zA-Z0-9\-\._]|(\\[\\\*\?!"#$$%&\'\(\)\+,\/:;<=>@\[\]\^' 15 … r"`\{\|}~]))+(\?*|\*?))|[\*\-])){5}(:(([a-zA-Z]{2,3}(-([a-zA-Z]{2}|[0-9]{3}))?)|[\*\-]))(:(((\?*" 16 …r'|\*?)([a-zA-Z0-9\-\._]|(\\[\\\*\?!"#$$%&\'\(\)\+,\/:;<=>@\[\]\^`\{\|}~]))+(\?*|\*?))|[\*\-])){4}… 21 # Replace "_" by "-" since it's not allowed in spdx ID 22 return name.replace("_", "-") 24 # Output tag-value SPDX 2.3 content for the given Relationship object. 31 # Output tag-value SPDX 2.3 content for the given File object. 68 # Output tag-value SPDX 2.3 content for the given Package object. 132 # Output tag-value SPDX 2.3 content for a custom license. [all …]
|
/Zephyr-latest/cmake/ide/ |
D | eclipse_cdt4_generator_amendment.cmake | 1 # SPDX-License-Identifier: Apache-2.0 8 # a special handling is necessary. 11 # The amendment function generates a macro header file 17 #2. Eclipse CDT4 indexer has problems with CMake 'Eclipse CDT4 - x' 19 # The Eclipse CDT4 indexer is showing a lot of unresolved symbol 21 # the code is a mix of C and C++. 22 # The root cause of the problem is the g++ built-in __cplusplus macro, 56 # 1 - work mode: "C and CXX includes, defines in .cproject without __cplusplus" 57 # 2 - work mode: "C and CXX includes, defines in .cproject with __cplusplus" 58 # 5 - work mode: "C and CXX includes, defines in Eclipse with project defines" [all …]
|
/Zephyr-latest/scripts/ci/ |
D | guideline_check.py | 2 # SPDX-License-Identifier: Apache-2.0 28 reg = re.compile("([a-zA-Z0-9_/]*\\.[ch]:[0-9]*)(:[0-9\\-]*: )(.*)") 42 parser.add_argument('-r', "--repository", required=False, 44 parser.add_argument('-c', '--commits', default=None, 45 help="Commit range in the form: a..b") 46 parser.add_argument("-o", "--output", required=False, 47 help="Print violation into a file") 67 # pylint: disable=too-many-function-args,unexpected-keyword-arg 94 "--mode=report", 95 "--cocci=" + [all …]
|
D | check_compliance.py | 5 # SPDX-License-Identifier: Apache-2.0 42 # Helper for running a Git command. Returns the rstrip()ed stdout output. 57 f"{cp.stdout.decode('utf-8')}\n" 59 f"{cp.stderr.decode('utf-8')}\n") 61 return cp.stdout.decode("utf-8").rstrip() 70 return git('rev-list', 71 f'--max-count={-1 if "." in refspec else 1}', refspec).split() 74 filter_arg = (f'--diff-filter={filter}',) if filter else () 75 paths_arg = ('--', *paths) if paths else () 76 out = git('diff', '--name-only', *filter_arg, COMMIT_RANGE, *paths_arg) [all …]
|
/Zephyr-latest/scripts/build/ |
D | gen_symtab.py | 5 # SPDX-License-Identifier: Apache-2.0 26 Note - this function requires config global variable to be initialized. 47 parser.add_argument("-k", "--kernel", required=True, 49 parser.add_argument("-o", "--output", required=True, 51 parser.add_argument("-d", "--debug", action="store_true", 73 pattern = r'(^[a-zA-Z_][a-zA-Z0-9_]*)' 94 for nsym, symbol in enumerate(symtab.iter_symbols()): # pylint: disable=unused-variable 116 entry.offset = entry.addr - first_addr 126 print("/* AUTO-GENERATED by gen_symtab.py, do not edit! */", file=wf) 139 # Append a dummy entry at the end to facilitate the binary search [all …]
|
D | gen_app_partitions.py | 5 # SPDX-License-Identifier: Apache-2.0 8 Script to generate a linker script organizing application memory partitions 10 Applications may declare build-time memory domain partitions with 13 route all their data into appropriately-sized memory areas which meet the 18 tool generates is a necessary pre-condition for kernel linking. We extract 20 have been assigned to input sections that follow a defined naming convention. 22 to a particular memory partition via command line directives. 26 - The base directory to look for compiled objects 27 - key/value pairs mapping static library files to what partitions their globals 30 The output is a linker script fragment containing the definition of the [all …]
|
D | gen_syscalls.py | 5 # SPDX-License-Identifier: Apache-2.0 13 - A file containing weak aliases of any potentially unimplemented system calls, 17 - A header file defining the system call type IDs, as well as function 20 - A directory containing header files. Each header corresponds to a header 42 # userspace_handlers.c are present in the kernel .a library after 46 # order runs afoul of a comment in CMakeLists.txt that the order is 48 # just disable the fallback mechanism as a simple workaround. 53 table_template = """/* auto-generated by gen_syscalls.py, don't edit */ 57 /* Weak handler functions that get replaced by the real ones unless a system 67 list_template = """/* auto-generated by gen_syscalls.py, don't edit */ [all …]
|
/Zephyr-latest/doc/_extensions/zephyr/kconfig/ |
D | __init__.py | 6 SPDX-License-Identifier: Apache-2.0 11 This extension adds a new domain (``kconfig``) for the Kconfig language. Unlike 13 on the client side using a database built by the extension. A special directive 14 ``.. kconfig:search::`` can be inserted on any page to render a search box that 22 - kconfig_generate_db: Set to True if you want to generate the Kconfig database. 26 - kconfig_ext_paths: A list of base paths where to search for external modules 27 Kconfig files when they use ``kconfig-ext: True``. The extension will look for 69 def kconfig_load(app: Sphinx) -> tuple[kconfiglib.Kconfig, dict[str, str]]: 121 board_str = 'BOARD_' + re.sub(r"[^a-zA-Z0-9_]", "_", board.name).upper() 125 board_str = 'BOARD_' + re.sub(r"[^a-zA-Z0-9_]", "_", qualifier).upper() [all …]
|
/Zephyr-latest/scripts/west_commands/ |
D | zcmake.py | 3 # SPDX-License-Identifier: Apache-2.0 30 '''Run cmake to (re)generate a build system, a script, etc. 64 out, _ = p.communicate() 71 # A real error occurred, raise an exception 78 :param build_directory: runs "cmake --build build_directory" 80 these come after "--build <build_directory>" 83 Any additional keyword arguments are passed as-is to run_cmake(). 86 return run_cmake(['--build', build_directory] + extra_args, **kwargs) 90 '''Make a C identifier from a string in the same way CMake does. 99 alpha_under = re.compile('[A-Za-z_]') [all …]
|
/Zephyr-latest/cmake/ |
D | llext-edk.cmake | 2 # SPDX-License-Identifier: Apache-2.0 4 # This script generates a tarball containing all headers and flags necessary to 6 # INTERFACE_INCLUDE_DIRECTORIES and generating a Makefile.cflags file (and a 10 # all necessary headers and flags. File paths are made relative to a few key 15 # - llext_edk_name: Name of the extension, used to name the tarball and the 17 # - INTERFACE_INCLUDE_DIRECTORIES: List of include directories to copy headers 20 # - llext_edk_file: Output file name for the tarball. 21 # - llext_edk_cflags: Flags to be used for source compile commands. 22 # - ZEPHYR_BASE: Path to the zephyr base directory. 23 # - WEST_TOPDIR: Path to the west top directory. [all …]
|
/Zephyr-latest/scripts/dts/python-devicetree/src/devicetree/ |
D | dtlib.py | 2 # SPDX-License-Identifier: BSD-3-Clause 7 A library for extracting information from .dts (devicetree) files. See the 10 The top-level entry point of the library is the DT class. DT.__init__() takes a 11 .dts file to parse and a list of directories to search for any /include/d 30 "Exception raised for devicetree-related errors" 34 Represents a node in the devicetree ('node-name { ... };'). 39 The name of the node (a string). 45 Note that this is a string. Run int(node.unit_addr, 16) to get an 49 A dict that maps the properties defined on the node to 50 their values. 'props' is indexed by property name (a string), and values [all …]
|
/Zephyr-latest/scripts/west_commands/runners/ |
D | core.py | 6 # SPDX-License-Identifier: Apache-2.0 50 # a good location for it, so i put it here for now 54 def find_rtt_block(elf_file: str) -> int | None: 123 cmd = ['netstat', '-a', '-n', '-p', 'tcp'] 127 cmd = ['ss', '-a', '-n', '-t'] 131 cmd = ['netstat', '-a', '-n', '-p', 'tcp'] 156 '''This helper class provides access to build-time configuration. 158 Configuration options can be read as if the object were a dict, 181 '''If a boolean option is explicitly set to y or n, 189 opt_value = re.compile(f'^(?P<option>{self.config_prefix}_[A-Za-z0-9_]+)=(?P<value>.*)$') [all …]
|
12