/openthread-3.7.0/tests/unit/ |
D | test_url.cpp | 40 Url args; in TestSimple() local 42 VerifyOrQuit(!args.Init(url)); in TestSimple() 44 VerifyOrQuit(!strcmp(args.GetPath(), "/dev/ttyUSB0")); in TestSimple() 45 VerifyOrQuit(!strcmp(args.GetValue("baudrate"), "115200")); in TestSimple() 46 VerifyOrQuit(args.GetValue("not-exists") == nullptr); in TestSimple() 47 VerifyOrQuit(args.GetValue("last-value-wrong-position", url) == nullptr); in TestSimple() 48 VerifyOrQuit(args.GetValue("last-value-before-url", url - 1) == nullptr); in TestSimple() 49 VerifyOrQuit(args.GetValue("last-value-after-url", url + sizeof(url)) == nullptr); in TestSimple() 57 Url args; in TestSimpleNoQueryString() local 59 VerifyOrQuit(!args.Init(url)); in TestSimpleNoQueryString() [all …]
|
/openthread-3.7.0/src/posix/platform/ |
D | logger.hpp | 66 va_list args; in LogCrit() local 68 va_start(args, aFormat); in LogCrit() 69 otLogPlatArgs(OT_LOG_LEVEL_CRIT, Type::kLogModuleName, aFormat, args); in LogCrit() 70 va_end(args); in LogCrit() 82 va_list args; in LogWarn() local 84 va_start(args, aFormat); in LogWarn() 85 otLogPlatArgs(OT_LOG_LEVEL_WARN, Type::kLogModuleName, aFormat, args); in LogWarn() 86 va_end(args); in LogWarn() 98 va_list args; in LogNote() local 100 va_start(args, aFormat); in LogNote() [all …]
|
D | trel.cpp | 81 va_list args; in LogCrit() local 83 va_start(args, aFormat); in LogCrit() 84 otLogPlatArgs(OT_LOG_LEVEL_CRIT, kLogModuleName, aFormat, args); in LogCrit() 85 va_end(args); in LogCrit() 90 va_list args; in LogWarn() local 92 va_start(args, aFormat); in LogWarn() 93 otLogPlatArgs(OT_LOG_LEVEL_WARN, kLogModuleName, aFormat, args); in LogWarn() 94 va_end(args); in LogWarn() 99 va_list args; in LogNote() local 101 va_start(args, aFormat); in LogNote() [all …]
|
D | logging.cpp | 43 va_list args; in otPlatLog() local 71 va_start(args, aFormat); in otPlatLog() 72 vsyslog(aLogLevel, aFormat, args); in otPlatLog() 73 va_end(args); in otPlatLog()
|
/openthread-3.7.0/tools/tcat_ble_client/cli/ |
D | dataset_commands.py | 34 def handle_dataset_entry_command(type: MeshcopTlvType, args, context): argument 36 if len(args) == 0: 40 ds.set_entry(type, args) 50 async def execute_default(self, args, context): argument 68 async def execute_default(self, args, context): argument 79 async def execute_default(self, args, context): argument 89 async def execute_default(self, args, context): argument 90 return handle_dataset_entry_command(MeshcopTlvType.ACTIVETIMESTAMP, args, context) 98 async def execute_default(self, args, context): argument 99 return handle_dataset_entry_command(MeshcopTlvType.PENDINGTIMESTAMP, args, context) [all …]
|
D | command.py | 50 async def execute(self, args, context) -> CommandResult: argument 51 if len(args) > 0 and args[0] in self._subcommands.keys(): 52 return await self.execute_subcommand(args, context) 54 return await self.execute_default(args, context) 56 async def execute_subcommand(self, args, context) -> CommandResult: argument 57 return await self._subcommands[args[0]].execute(args[1:], context) 60 async def execute_default(self, args, context) -> CommandResult: argument
|
/openthread-3.7.0/src/core/api/ |
D | logging_api.cpp | 65 va_list args; in otLogCritPlat() local 67 va_start(args, aFormat); in otLogCritPlat() 68 Logger::LogVarArgs(kPlatformModuleName, kLogLevelCrit, aFormat, args); in otLogCritPlat() 69 va_end(args); in otLogCritPlat() 79 va_list args; in otLogWarnPlat() local 81 va_start(args, aFormat); in otLogWarnPlat() 82 Logger::LogVarArgs(kPlatformModuleName, kLogLevelWarn, aFormat, args); in otLogWarnPlat() 83 va_end(args); in otLogWarnPlat() 92 va_list args; in otLogNotePlat() local 94 va_start(args, aFormat); in otLogNotePlat() [all …]
|
/openthread-3.7.0/tools/tcat_ble_client/dataset/ |
D | dataset_entries.py | 53 def set(self, args: List[str]): 66 def set(self, args: List[str]): 67 if len(args) == 0: 69 self._seconds = int(args[0]) 92 def set(self, args: List[str]): 93 if len(args) == 0: 95 self._seconds = int(args[0]) 116 def set(self, args: List[str]): 117 if len(args) == 0: 119 if args[0].startswith('0x'): [all …]
|
/openthread-3.7.0/third_party/jlink/SEGGER_RTT_V640/Syscalls/ |
D | SEGGER_RTT_Syscalls_SES.c | 131 va_list args; in printf() local 133 va_start (args, fmt); in printf() 134 n = SEGGER_RTT_vprintf(0, fmt, &args); in printf() 135 va_end(args); in printf() 169 va_list args; in printf() local 172 va_start(args, fmt); in printf() 177 n = __vfprintf(&iod, fmt, args); in printf() 179 va_end(args); in printf() 201 va_list args; in printf() local 203 va_start (args, fmt); in printf() [all …]
|
/openthread-3.7.0/tools/tcat_ble_client/ |
D | bbtc.py | 60 args = parser.parse_args() 62 if args.debug: 67 elif args.info: 73 device = await get_device_by_args(args) 81 certfile=os.path.join(args.cert_path, 'commissioner_cert.pem'), 82 keyfile=os.path.join(args.cert_path, 'commissioner_key.pem'), 83 cafile=os.path.join(args.cert_path, 'ca_cert.pem'), 117 async def get_device_by_args(args): argument 119 if args.mac: 120 device = await ble_scanner.find_first_by_mac(args.mac) [all …]
|
/openthread-3.7.0/third_party/mbedtls/repo/tests/scripts/ |
D | analyze_outcomes.py | 52 def new_section(self, fmt, *args, **kwargs): argument 53 self._print_line('\n*** ' + fmt + ' ***\n', *args, **kwargs) 55 def info(self, fmt, *args, **kwargs): argument 56 self._print_line('Info: ' + fmt, *args, **kwargs) 58 def error(self, fmt, *args, **kwargs): argument 60 self._print_line('Error: ' + fmt, *args, **kwargs) 62 def warning(self, fmt, *args, **kwargs): argument 64 self._print_line('Warning: ' + fmt, *args, **kwargs) 67 def _print_line(fmt, *args, **kwargs): argument 68 sys.stderr.write((fmt + '\n').format(*args, **kwargs)) [all …]
|
D | generate_tls13_compat_tests.py | 596 args = parser.parse_args() 626 if args.generate_all_tls13_compat_tests: 627 if args.output: 628 with open(args.output, 'w', encoding="utf-8") as f: 630 filename=os.path.basename(args.output), cmd=' '.join(sys.argv))) 637 if args.list_ciphers or args.list_sig_algs or args.list_named_groups \ 638 or args.list_servers or args.list_clients: 639 if args.list_ciphers: 641 if args.list_sig_algs: 643 if args.list_named_groups: [all …]
|
D | generate_test_code.py | 338 args=', '.join(args_dispatch), 468 def parse_function_argument(arg, arg_idx, args, local_vars, args_dispatch): argument 491 args.append('int') 495 args.append('char*') 499 args.append('hex') 529 args = [] 535 args, local_vars, args_dispatch) 541 return args, ''.join(local_vars), args_dispatch 645 args, local_vars, args_dispatch = parse_function_arguments( 660 if len(args) == 0: [all …]
|
/openthread-3.7.0/third_party/mbedtls/repo/scripts/mbedtls_dev/ |
D | ecp.py | 91 args = super().arguments() 92 return ["MBEDTLS_ECP_DP_SECP192R1"] + args 170 args = super().arguments() 171 return ["MBEDTLS_ECP_DP_SECP224R1"] + args 255 args = super().arguments() 256 return ["MBEDTLS_ECP_DP_SECP256R1"] + args 378 args = super().arguments() 379 return ["MBEDTLS_ECP_DP_SECP384R1"] + args 484 args = super().arguments() 485 return ["MBEDTLS_ECP_DP_SECP521R1"] + args [all …]
|
/openthread-3.7.0/third_party/mbedtls/repo/scripts/ |
D | config.py | 570 args = parser.parse_args() 571 config = ConfigFile(args.file) 572 if args.command is None: 575 elif args.command == 'get': 576 if args.symbol in config: 577 value = config[args.symbol] 580 return 0 if args.symbol in config else 1 581 elif args.command == 'set': 582 if not args.force and args.symbol not in config.settings: 585 .format(args.symbol, config.filename)) [all …]
|
D | code_style.py | 21 def print_err(*args): argument 22 print("Error: ", *args, file=sys.stderr) 137 raise subprocess.CalledProcessError(cp.returncode, cp.args, 206 args = parser.parse_args() 208 covered = frozenset(get_src_files(args.since)) 210 if args.subset or args.operands: 211 src_files = [f for f in args.operands if f in covered] 212 skip_src_files = [f for f in args.operands if f not in covered] 218 if args.fix:
|
D | ecp_comb_table.py | 148 def join_src_path(*args): argument 149 return os.path.normpath(os.path.join(os.path.dirname(__file__), "..", *args)) 164 args = [CC, 172 p = subprocess.run(args=args, check=False) 175 p = subprocess.run(args=[binname], check=False, env={
|
/openthread-3.7.0/tests/scripts/thread-cert/ |
D | udp_send_host.py | 38 args = sys.argv[1:] 39 assert len(args) == 4 40 destination_ipv6 = args[0] 41 destination_port = args[1] 42 message = bytes(args[2], 'utf-8') 43 hop_limit = int(args[3])
|
D | run_cert_suite.py | 120 args = parser.parse_args() 122 logging.info("Run directory: %s", args.run_directory or '.') 123 logging.info("Multiply: %d", args.multiply) 124 logging.info("Test scripts: %d", len(args.scripts)) 125 return args 191 args = parse_args() 193 has_backbone_tests = check_has_backbone_tests(args.scripts) 201 fail_count = run_tests(args.scripts, args.multiply, args.run_directory)
|
D | call_dbus_method.py | 35 args = sys.argv[1:] 37 interface, method_name, arguments = args[0], args[1], json.loads(args[2])
|
/openthread-3.7.0/src/lib/spinel/ |
D | spinel.c | 343 va_list_obj *args) in spinel_datatype_vunpack_() argument 362 bool *arg_ptr = va_arg(args->obj, bool *); in spinel_datatype_vunpack_() 379 uint8_t *arg_ptr = va_arg(args->obj, uint8_t *); in spinel_datatype_vunpack_() 396 uint16_t *arg_ptr = va_arg(args->obj, uint16_t *); in spinel_datatype_vunpack_() 413 uint32_t *arg_ptr = va_arg(args->obj, uint32_t *); in spinel_datatype_vunpack_() 430 uint64_t *arg_ptr = va_arg(args->obj, uint64_t *); in spinel_datatype_vunpack_() 453 spinel_ipv6addr_t *arg = va_arg(args->obj, spinel_ipv6addr_t *); in spinel_datatype_vunpack_() 461 const spinel_ipv6addr_t **arg_ptr = va_arg(args->obj, const spinel_ipv6addr_t **); in spinel_datatype_vunpack_() 480 spinel_eui64_t *arg = va_arg(args->obj, spinel_eui64_t *); in spinel_datatype_vunpack_() 488 const spinel_eui64_t **arg_ptr = va_arg(args->obj, const spinel_eui64_t **); in spinel_datatype_vunpack_() [all …]
|
/openthread-3.7.0/src/cli/ |
D | cli_utils.cpp | 65 va_list args; in OutputFormat() local 67 va_start(args, aFormat); in OutputFormat() 68 OutputFormatV(aFormat, args); in OutputFormat() 69 va_end(args); in OutputFormat() 74 va_list args; in OutputFormat() local 78 va_start(args, aFormat); in OutputFormat() 79 OutputFormatV(aFormat, args); in OutputFormat() 80 va_end(args); in OutputFormat() 85 va_list args; in OutputLine() local 87 va_start(args, aFormat); in OutputLine() [all …]
|
/openthread-3.7.0/tools/ot-fct/ |
D | logging.cpp | 36 va_list args; in otLogCritPlat() local 38 va_start(args, aFormat); in otLogCritPlat() 39 vprintf(aFormat, args); in otLogCritPlat() 40 va_end(args); in otLogCritPlat()
|
/openthread-3.7.0/examples/platforms/simulation/ |
D | logging.c | 98 va_list args; in otPlatLog() local 100 va_start(args, aFormat); in otPlatLog() 109 vsnprintf(&logString[offset], sizeof(logString) - (uint16_t)offset, aFormat, args); in otPlatLog() 114 vfprintf(sLogFile, aFormat, args); in otPlatLog() 118 va_end(args); in otPlatLog()
|
/openthread-3.7.0/tools/harness-automation/autothreadharness/ |
D | runner.py | 392 args = vars(parser.parse_args()) 394 if args['list_file']: 396 …names = [line.strip('\n') for line in open(args['list_file'], 'r').readlines() if not line.startsw… 401 args['names'] = args['names'] + names 403 args.pop('list_file') 405 if args.pop('list_devices', False): 406 list_devices(**args) 409 rerun_fails = args.pop('rerun_fails') 410 result = discover(**args) 421 pattern=args['pattern'], [all …]
|