/Zephyr-latest/arch/x86/zefi/ |
D | zefi.py | 3 # SPDX-License-Identifier: Apache-2.0 15 def verbose(msg): function 16 if args.verbose: 37 verbose("Entry point address (symbol: %s) 0x%x" % (ENTRY_SYM, entry_addr)) 57 verbose("%d bytes of data at 0x%x, data offset %d" 63 bytesz = h.p_memsz - h.p_filesz 65 verbose("%d bytes of zero-fill at 0x%x" % (bytesz, addr)) 68 verbose(f"{len(data_blob)} bytes of data to include in image") 73 cf = open("zefi-segments.h", "w") 77 cf.write("/* Sizes and offsets specified in 4-byte units.\n") [all …]
|
/Zephyr-latest/tests/benchmarks/wait_queues/ |
D | README.rst | 17 times. However, if the verbose option is enabled then the raw timings will also 18 be displayed. The following will build this project with verbose support: 20 .. code-block:: shell 22 EXTRA_CONF_FILE="prj.verbose.conf" west build -p -b <board> <path to project> 27 This output mode can be used together with the verbose output, however only
|
/Zephyr-latest/tests/benchmarks/sched_queues/ |
D | README.rst | 18 times. However, if the verbose option is enabled then the set of measured 19 times will be displayed. The following will build this project with verbose 22 .. code-block:: shell 24 EXTRA_CONF_FILE="prj.verbose.conf" west build -p -b <board> <path to project> 29 This output mode can be used together with the verbose output, however only
|
/Zephyr-latest/cmake/usage/ |
D | usage.cmake | 1 # SPDX-License-Identifier: Apache-2.0 8 set(verbose "-v") variable 10 set(verbose "VERBOSE=1") variable 14 message(" clean - Remove most generated files but keep configuration and backup files") 15 message(" pristine - Remove all files in the build directory") 18 message(" menuconfig - Update .config using a console-based interface") 19 message(" guiconfig - Update .config using a graphical interface") 22 message(" all - Build a zephyr application") 23 message(" run - Build a zephyr application and run it if the board supports emulation") 24 message(" flash - Run \"west flash\"") [all …]
|
/Zephyr-latest/tests/crypto/tinycrypt/src/ |
D | ecc_dh.c | 1 /* test_ecc_dh.c - TinyCrypt implementation of some EC-DH tests */ 33 * - Redistributions of source code must retain the above copyright notice, 36 * - Redistributions in binary form must reproduce the above copyright 40 * - Neither the name of Intel Corporation nor the names of its contributors 56 * test_ecc_ecdh.c -- Implementation of some EC-DH tests 72 int tests, int verbose) in ecdh_vectors() argument 106 result = check_ecc_result(i, "Z", exp_z, z, NUM_ECC_WORDS, verbose); in ecdh_vectors() 114 int cavp_ecdh(bool verbose) in cavp_ecdh() argument 118 * P-256 in cavp_ecdh() 233 TC_PRINT("NIST-p256\n"); in cavp_ecdh() [all …]
|
D | ecc_dsa.c | 1 /* test_ecc_ecdsa.c - TinyCrypt implementation of some EC-DSA tests */ 32 * - Redistributions of source code must retain the above copyright notice, 35 * - Redistributions in binary form must reproduce the above copyright 39 * - Neither the name of Intel Corporation nor the names of its contributors 55 * test_ecc_ecdsa.c -- Implementation of some EC-DSA tests 82 char **s_vec, int tests, bool verbose) in sign_vectors() argument 124 * if digest smaller than ECC scalar, zero-pad front */ in sign_vectors() 130 (void)memset(digest, 0, NUM_ECC_BYTES - 4 * hash_dwords); in sign_vectors() 131 uECC_vli_bytesToNative(digest + (NUM_ECC_WORDS - hash_dwords), in sign_vectors() 142 result = check_ecc_result(i, "sig.r", exp_r, sig, NUM_ECC_WORDS, verbose); in sign_vectors() [all …]
|
D | test_ecc_utils.c | 1 /* test_ecc_utils.c - TinyCrypt common functions for ECC tests */ 32 * - Redistributions of source code must retain the above copyright notice, 35 * - Redistributions in binary form must reproduce the above copyright 39 * - Neither the name of Intel Corporation nor the names of its contributors 55 * test_ecc_utils.c -- Implementation of some common functions for ECC tests. 69 * Convert hex string to zero-padded nanoECC scalar 80 padding = num_bytes * 2U - strlen(str); in string2scalar() 112 for (i = 0U; i < num_word32 - 1; ++i) { in print_ecc_scalar() 125 const unsigned int num_word32, const bool verbose) in check_ecc_result() argument 130 TC_PRINT("\n Vector #%02d check %s - FAILURE:\n\n", num, name); in check_ecc_result() [all …]
|
D | test_ecc_utils.h | 1 /* test_ecc_utils.h - TinyCrypt interface to common functions for ECC tests */ 32 * - Redistributions of source code must retain the above copyright notice, 35 * - Redistributions in binary form must reproduce the above copyright 39 * - Neither the name of Intel Corporation nor the names of its contributors 55 * test_ecc_utils.h -- Interface to common functions for ECC tests. 68 * Convert hex string to zero-padded nanoECC scalar 79 const unsigned int num_word32, const bool verbose); 82 int keygen_vectors(char **d_vec, char **qx_vec, char **qy_vec, int tests, bool verbose); 88 const int computed, const int verbose);
|
/Zephyr-latest/soc/nuvoton/npcm/common/esiost/ |
D | esiost_args.py | 5 # SPDX-License-Identifier: Apache-2.0 14 INVALID_INPUT = -1 17 # Verbose related values 39 verbose = DEFAULT_VERBOSE variable in EsiostArgs 91 elif (arg == "verbose") & argument_list.verbose: 92 self.verbose = REG_VERBOSE 95 """create argument parser according to pre-defined arguments 102 parser.add_argument("-i", nargs='?', dest="input") 103 parser.add_argument("-o", nargs='?', dest="output") 104 parser.add_argument("-chip", dest="chip") [all …]
|
/Zephyr-latest/scripts/ |
D | gen_gcov_files.py | 5 # SPDX-License-Identifier: Apache-2.0 36 hex_dump = line.split("<")[1][:-1] 45 if args.verbose: 48 if args.verbose: 53 filename = filename[:-4] + "gcno" 69 parser.add_argument("-i", "--input", required=True, 71 parser.add_argument("-v", "--verbose", action="count", default=0, 72 help="Verbose Output")
|
D | coccicheck | 2 # SPDX-License-Identifier: GPL-2.0 6 DIR="$(dirname $(readlink -f $0))/.." 9 if [ ! -x "$SPATCH" ]; then 14 VERBOSE=0 18 ------- 20 -m= , --mode= specify the mode use {report, patch, org, context, chain} 21 -v= , --verbose= enable verbose output {1} 22 -j= , --jobs= number of jobs to use {0 - `nproc`} 23 -c= , --cocci= specify cocci script to use 24 -d= , --debug= specify file to store debug log [all …]
|
/Zephyr-latest/scripts/build/ |
D | llext_inject_slids.py | 4 # SPDX-License-Identifier: Apache-2.0 16 field of the `ElfX_Sym` structure is found to be non-zero, which is 115 msg = f"{symbol.name} -> {slid_as_str}" 122 self.log.error(f"unexpected non-zero st_value for symbol {symbol.name}") 136 # pylint: disable=duplicate-code 144 parser.add_argument("-f", "--elf-file", required=True, 146 parser.add_argument("-o", "--output-file", 149 parser.add_argument("-sl", "--slid-listing", 151 parser.add_argument("-v", "--verbose", action="count", 152 help=("enable verbose output, can be used multiple times " [all …]
|
D | gen_kobject_placeholders.py | 5 # SPDX-License-Identifier: Apache-2.0 42 f"linker-kobject-prebuilt-{one_sect['name']}.h") 74 "name": "priv-stacks", 84 … if type(one_sect) is not elftools.elf.sections.Section: # pylint: disable=unidiomatic-typecheck 113 parser.add_argument("--object", required=True, 115 parser.add_argument("--outdir", required=True, 117 parser.add_argument("--datapct", required=True, 119 parser.add_argument("--rodata", required=True, 121 parser.add_argument("-v", "--verbose", action="store_true", 122 help="Verbose messages") [all …]
|
D | check_init_priorities.py | 4 # SPDX-License-Identifier: Apache-2.0 33 "dts", "python-devicetree", "src")) 34 from devicetree import edtlib # pylint: disable=unused-import 49 "zephyr,cdc-acm-uart", 177 offset = addr - start 302 parser.add_argument("-f", "--elf-file", default=pathlib.Path("build", "zephyr", "zephyr.elf"), 304 parser.add_argument("-v", "--verbose", action="count", 305 help=("enable verbose output, can be used multiple times " 307 parser.add_argument("--always-succeed", action="store_true", 309 parser.add_argument("-o", "--output", [all …]
|
D | llext_prepare_exptab.py | 4 # SPDX-License-Identifier: Apache-2.0 9 This script performs compile-time processing of the LLEXT exports 45 ptr_size -- Platform pointer size in bytes 46 endianness -- Platform endianness ('little'/'big') 63 #failures if SLID-based linking is enabled (in this case, the 67 #are "reserved for operating system-specific semantics". 136 # Lazy-open the SLID listing file to ensure it is only created when necessary 146 Also note that symbol names are always NUL-terminated. 159 return raw_name.decode("utf-8") 198 slidlist_write("// This file contains the 'SLID -> name' mapping for all") [all …]
|
D | process_gperf.py | 5 # SPDX-License-Identifier: Apache-2.0 8 gperf C file post-processor 15 We are exclusively working with 4-byte pointer values. This script adjusts 26 # --- debug stuff --- 29 if not args.verbose: 51 addr_str = addr_str[1:-1] 75 ctr -= 1 143 parser.add_argument("-i", "--input", required=True, 145 parser.add_argument("-o", "--output", required=True, 147 parser.add_argument("-p", "--pattern", required=True, [all …]
|
/Zephyr-latest/scripts/ci/ |
D | version_mgr.py | 2 # Copyright (c) 2020-2023 Intel Corp. 3 # SPDX-License-Identifier: Apache-2.0 30 parser.add_argument('-l', '--list', action="store_true", 32 parser.add_argument('-u', '--update', 34 parser.add_argument('-L', '--latest', action="store_true", 36 parser.add_argument('-w', '--weekly', action="store_true", 38 parser.add_argument('-W', '--list-weekly', action="store_true", 40 parser.add_argument('-v', '--verbose', action="store_true", 41 help="Verbose output") 75 if args.verbose: [all …]
|
/Zephyr-latest/tests/posix/c_lib_ext/src/ |
D | getopt.c | 4 * SPDX-License-Identifier: Apache-2.0 22 "cmd_name", "-b", "-a", "-h", "-c", "-l", "-h", "-a", "-i", "-w", in ZTEST() 43 } while (c != -1); in ZTEST() 46 zassert_equal(c, -1, "unexpected opt character"); in ZTEST() 62 [GETOPT_IDX_OPTION1] = "-a", in ZTEST() 63 [GETOPT_IDX_OPTION2] = "-c", in ZTEST() 86 zassert_equal(0, strcmp(argv[GETOPT_IDX_OPTARG], state->optarg), in ZTEST() 102 * https://www.gnu.org/software/libc/manual/html_node/Getopt-Long-Option-Example.html in ZTEST() 112 {"verbose", no_argument, &verbose_flag, 1}, in ZTEST() 127 [GETOPT_LONG_IDX_VERBOSE] = "--verbose", in ZTEST() [all …]
|
/Zephyr-latest/soc/nuvoton/npcx/common/ecst/ |
D | ecst_args.py | 5 # SPDX-License-Identifier: Apache-2.0 14 INVALID_INPUT = -1 29 # Verbose related values 75 verbose = DEFAULT_VERBOSE variable in EcstArgs 137 elif (arg == "verbose") & argument_list.verbose: 138 self.verbose = REG_VERBOSE 141 self.verbose = SUPER_VERBOSE 180 """create argument parser according to pre-defined arguments 187 parser.add_argument("-i", nargs='?', dest="input") 188 parser.add_argument("-o", nargs='?', dest="output") [all …]
|
D | ecst.py | 5 # SPDX-License-Identifier: Apache-2.0 10 # -i in_file.bin -o out_file.bin 11 # [-chip <name>] [-v|-vv] 12 # [-nohcrc] [-nofcrc] [-ph <offset>] 13 # [-flashsize <1|2|4|8|16>] 14 # [-spimaxclk <20|25|33|40|50>] 15 # [-spireadmode <normal|fast|dual|quad>] 112 INVALID_INPUT = -1 115 BYTES_TO_PAD = HDR_FW_HEADER_SIG_OFFSET - RESERVED_BYTES_OFFSET 117 # Verbose related values [all …]
|
/Zephyr-latest/scripts/footprint/ |
D | pack_as_twister.py | 5 # SPDX-License-Identifier: Apache-2.0 16 with the corresponding sub-directories. 18 For example, an input path `./**/*v3.6.0-rc3-*/footprints/**/frdm_k64f/` will be 19 expanded by bash to all sub-directories with the 'footprints' data `v3.6.0-rc3` 22 `shopt -s globstar`. 29 This scripts has `--test-name` parameter to customize how to compose test names 48 VERSION_COMMIT_RE = re.compile(r".*-g([a-f0-9]{12})$") 71 console.setFormatter(logging.Formatter('%(asctime)s - %(levelname)-8s - %(message)s')) 77 def set_verbose(verbose: int): 79 if verbose > len(levels): [all …]
|
/Zephyr-latest/arch/x86/ |
D | gen_gdt.py | 5 # SPDX-License-Identifier: Apache-2.0 13 which is a link of the Zephyr kernel without various build-time 22 - Memory addresses of the Main and Double Fault TSS structures 24 - Memory addresses of where the GDT lives in memory, so that this 26 - whether userspace or HW stack protection are enabled in Kconfig 30 we generate flat 32-bit code and data segments. If hardware- 32 we additionally create descriptors for the main and double- 34 double-fault handling. If userspace is enabled, we also create 55 """Display debug message if --verbose""" 56 if args.verbose: [all …]
|
/Zephyr-latest/tests/bluetooth/controller/ctrl_isoal/ |
D | Kconfig | 1 # Bluetooth Controller configuration options for ISO-AL Unit Tests 4 # SPDX-License-Identifier: Apache-2.0 15 parent-module = BT 17 module-str = "Bluetooth Controller ISO-AL" 21 bool "ISO-AL verbose debug logging" 25 Use this option to enable ISO-AL verbose debug logging. 34 int "Number of SDU fragments that the ISO-AL can buffer" 40 ISO-AL per channel. Buffering is required to compute the size of the
|
/Zephyr-latest/tests/kernel/mem_protect/stack_random/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 12 #define VERBOSE 0 macro 23 #pragma GCC diagnostic ignored "-Wpragmas" 24 #pragma GCC diagnostic ignored "-Wdangling-pointer" 39 #if VERBOSE in alternate_thread()
|
/Zephyr-latest/scripts/coredump/ |
D | coredump_gdbserver.py | 5 # SPDX-License-Identifier: Apache-2.0 25 def __init__(self) -> None: 46 parser.add_argument("--debug", action="store_true", 48 parser.add_argument("--port", type=int, default=1234, 50 parser.add_argument("--pipe", action="store_true", 52 parser.add_argument("-v", "--verbose", action="store_true", 68 elif args.verbose: 86 elif args.verbose: 110 # Parse ELF file for code and read-only data
|