/openthread-3.7.0/tests/unit/ |
D | test_url.cpp | 72 const char *arg = nullptr; in TestEmptyValue() local 76 VerifyOrQuit((arg = args.GetValue("rtscts")) != nullptr); in TestEmptyValue() 77 VerifyOrQuit(args.GetValue("rtscts", arg) == nullptr); in TestEmptyValue() 78 VerifyOrQuit((arg = args.GetValue("verbose", arg)) != nullptr); in TestEmptyValue() 79 VerifyOrQuit((arg = args.GetValue("verbose", arg)) != nullptr); in TestEmptyValue() 80 VerifyOrQuit((arg = args.GetValue("verbose", arg)) != nullptr); in TestEmptyValue() 81 VerifyOrQuit((arg = args.GetValue("verbose", arg)) == nullptr); in TestEmptyValue() 102 const char *arg = nullptr; in TestMultipleProtocolsAndDuplicateParameters() local 107 arg = args.GetValue("arg"); in TestMultipleProtocolsAndDuplicateParameters() 108 VerifyOrQuit(!strcmp(arg, "1")); in TestMultipleProtocolsAndDuplicateParameters() [all …]
|
/openthread-3.7.0/src/cli/ |
D | cli_bbr.cpp | 393 for (Arg *arg = &aArgs[0]; !arg->IsEmpty(); arg++) in Process() local 395 if (*arg == "seqno") in Process() 397 arg++; in Process() 398 SuccessOrExit(error = arg->ParseAsUint8(config.mSequenceNumber)); in Process() 400 else if (*arg == "delay") in Process() 402 arg++; in Process() 403 SuccessOrExit(error = arg->ParseAsUint16(config.mReregistrationDelay)); in Process() 405 else if (*arg == "timeout") in Process() 407 arg++; in Process() 408 SuccessOrExit(error = arg->ParseAsUint32(config.mMlrTimeout)); in Process()
|
D | cli_dataset.cpp | 770 for (Arg *arg = &aArgs[1]; !arg->IsEmpty();) in Process() local 772 const ComponentMapper *mapper = LookupMapper(arg->GetCString()); in Process() 776 arg++; in Process() 777 SuccessOrExit(error = (this->*mapper->mParse)(arg, dataset)); in Process() 780 else if (*arg == "-x") in Process() 784 arg++; in Process() 786 SuccessOrExit(error = arg->ParseAsHexString(length, tlvs)); in Process() 788 arg++; in Process() 858 for (Arg *arg = &aArgs[1]; !arg->IsEmpty(); arg++) in Process() local 860 const ComponentMapper *mapper = LookupMapper(arg->GetCString()); in Process() [all …]
|
D | cli_link_metrics.cpp | 178 for (const char *arg = aArgs[3].GetCString(); *arg != '\0'; arg++) in Process() local 180 switch (*arg) in Process() 199 … VerifyOrExit(arg == aArgs[3].GetCString() && *(arg + 1) == '\0' && aArgs[4].IsEmpty(), in Process() 373 for (const char *arg = aFlags.GetCString(); *arg != '\0'; arg++) in ParseLinkMetricsFlags() local 375 switch (*arg) in ParseLinkMetricsFlags()
|
D | cli_utils.cpp | 633 for (char *arg = aArgs->GetCString(); *arg != '\0'; arg++) in ParsePrefix() local 635 switch (*arg) in ParsePrefix() 707 for (char *arg = aArgs->GetCString(); *arg != '\0'; arg++) in ParseRoute() local 709 switch (*arg) in ParseRoute()
|
/openthread-3.7.0/src/lib/spinel/ |
D | spinel.c | 453 spinel_ipv6addr_t *arg = va_arg(args->obj, spinel_ipv6addr_t *); in spinel_datatype_vunpack_() local 454 if (arg) in spinel_datatype_vunpack_() 456 memcpy(arg, data_in, sizeof(spinel_ipv6addr_t)); in spinel_datatype_vunpack_() 480 spinel_eui64_t *arg = va_arg(args->obj, spinel_eui64_t *); in spinel_datatype_vunpack_() local 481 if (arg) in spinel_datatype_vunpack_() 483 memcpy(arg, data_in, sizeof(spinel_eui64_t)); in spinel_datatype_vunpack_() 507 spinel_eui48_t *arg = va_arg(args->obj, spinel_eui48_t *); in spinel_datatype_vunpack_() local 508 if (arg) in spinel_datatype_vunpack_() 510 memcpy(arg, data_in, sizeof(spinel_eui48_t)); in spinel_datatype_vunpack_() 566 char *arg = va_arg(args->obj, char *); in spinel_datatype_vunpack_() local [all …]
|
/openthread-3.7.0/tools/ot-fct/ |
D | cli.cpp | 214 for (Utils::CmdLineParser::Arg *arg = &aArgs[1]; !arg->IsEmpty(); arg++) in ProcessCalibrationTable() local 216 if ((state == kStateSearchDomain) && (*arg == "-b")) in ProcessCalibrationTable() 218 arg++; in ProcessCalibrationTable() 219 VerifyOrExit(!arg->IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessCalibrationTable() 221 subString = strtok(arg->GetCString(), kCommaDelimiter); in ProcessCalibrationTable() 235 else if ((state == kStateSearchPower) && (*arg == "-c")) in ProcessCalibrationTable() 240 arg++; in ProcessCalibrationTable() 241 VerifyOrExit(!arg->IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ProcessCalibrationTable() 243 length = strlen(arg->GetCString()); in ProcessCalibrationTable() 244 …while (ParseNextCalibratedPower(arg->GetCString(), length, iterator, calibratedPower) == OT_ERROR_… in ProcessCalibrationTable()
|
/openthread-3.7.0/third_party/mbedtls/repo/tests/scripts/ |
D | docker_env.sh | 65 --build-arg MAKEFLAGS_PARALLEL="-j ${NUM_PROC}" \ 67 ${http_proxy+--build-arg http_proxy=${http_proxy}} \ 68 ${https_proxy+--build-arg https_proxy=${https_proxy}} \ 69 ${MBEDTLS_DOCKER_REGISTRY+--build-arg MY_REGISTRY="${MBEDTLS_DOCKER_REGISTRY}/"} \
|
D | generate_test_code.py | 468 def parse_function_argument(arg, arg_idx, args, local_vars, args_dispatch): argument 481 arg = arg.strip() 482 arg = re.sub(r'\s*\*\s*', r'*', arg) 483 arg = re.sub(r'\s+', r' ', arg) 485 m = ARGUMENT_DECLARATION_REGEX.search(arg) 533 for arg in arg_list.split(','): 534 indexes = parse_function_argument(arg, arg_idx,
|
D | generate_psa_wrappers.py | 102 types = ['' if arg.suffix else arg.type for arg in arguments]
|
D | set_psa_test_dependencies.py | 151 for arg in arguments: 152 for symbol in re.findall(r'PSA_(?:ALG|KEY_TYPE)_\w+', arg):
|
/openthread-3.7.0/third_party/mbedtls/repo/3rdparty/everest/include/everest/kremlin/internal/ |
D | target.h | 97 # define KRML_HOST_SNPRINTF(buf, sz, fmt, arg) _snprintf_s(buf, sz, _TRUNCATE, fmt, arg) argument 99 # define KRML_HOST_SNPRINTF(buf, sz, fmt, arg) snprintf(buf, sz, fmt, arg) argument
|
/openthread-3.7.0/third_party/mbedtls/repo/library/ |
D | platform.c | 115 int mbedtls_platform_win32_vsnprintf(char *s, size_t n, const char *fmt, va_list arg) in mbedtls_platform_win32_vsnprintf() argument 125 ret = vsnprintf_s(s, n, _TRUNCATE, fmt, arg); in mbedtls_platform_win32_vsnprintf() 127 ret = vsnprintf(s, n, fmt, arg); in mbedtls_platform_win32_vsnprintf() 144 const char *format, va_list arg) in platform_vsnprintf_uninit() argument 149 ((void) arg); in platform_vsnprintf_uninit() 158 va_list arg) = MBEDTLS_PLATFORM_STD_VSNPRINTF; 162 va_list arg)) in mbedtls_platform_set_vsnprintf() argument
|
D | common.h | 79 #define IS_ARRAY_NOT_POINTER(arg) \ argument 80 (!__builtin_types_compatible_p(__typeof__(arg), \ 81 __typeof__(&(arg)[0])))
|
/openthread-3.7.0/script/ |
D | clang-format | 61 for arg; do 62 case $arg in 68 FILES+=("$arg")
|
D | test | 380 for arg in "${args[@]}"; do 381 docker_build_args+=("--build-arg" "$arg") 411 --build-arg OTBR_OPTIONS="${otbr_options[*]}" 655 for arg in "$@"; do 656 if [[ $arg == expect ]]; then
|
/openthread-3.7.0/tests/toranj/cli/ |
D | test-401-srp-server-address-cache-snoop.py | 117 verify_within(check_server_has_host, WAIT_TIME, arg=1) 137 verify_within(check_server_has_host, WAIT_TIME, arg=2) 158 verify_within(check_server_has_host, WAIT_TIME, arg=3) 179 verify_within(check_server_has_host, WAIT_TIME, arg=4) 200 verify_within(check_server_has_host, WAIT_TIME, arg=4)
|
D | cli.py | 159 cmd = ' '.join([f'{arg}' for arg in args if arg is not None]).strip() 826 verify_within(_check_node_is_leader, self._WAIT_TIME, arg=self) 848 verify_within(_check_node_is_router, self._WAIT_TIME, arg=self) 850 verify_within(_check_node_is_child, self._WAIT_TIME, arg=self) 970 def verify_within(condition_checker_func, wait_time, arg=None, delay_time=0.1): argument 982 if arg is None: 985 condition_checker_func(arg)
|
/openthread-3.7.0/src/posix/platform/ |
D | spinel_manager.cpp | 187 …for (const char *arg = nullptr; (arg = mUrl.GetValue("forkpty-arg", arg)) != nullptr; nodeId = arg) in VirtualTimeInit() local
|
/openthread-3.7.0/third_party/mbedtls/repo/scripts/mbedtls_dev/ |
D | c_wrapper_generator.py | 130 arg: ArgumentInfo) -> str: 136 if arg.name: 137 name += '_' + arg.name 143 arg: ArgumentInfo) -> str: 148 return c_declare(arg.type, name, arg.suffix) 227 argument_names = [self._argument_name(function.name, num, arg) 228 for num, arg in enumerate(function.arguments)]
|
D | psa_storage.py | 138 *[arg.value() if isinstance(arg, Expr) else arg 139 for arg in args])
|
D | crypto_data_tests.py | 80 ['"{}"'.format(arg) for arg in arguments])
|
D | c_parsing_helper.py | 69 self.arguments = [ArgumentInfo(arg) for arg in arguments]
|
/openthread-3.7.0/third_party/mbedtls/repo/include/mbedtls/ |
D | platform.h | 271 int mbedtls_platform_win32_vsnprintf(char *s, size_t n, const char *fmt, va_list arg); 276 extern int (*mbedtls_vsnprintf)(char *s, size_t n, const char *format, va_list arg); 286 const char *format, va_list arg));
|
/openthread-3.7.0/third_party/mbedtls/repo/tests/ |
D | context-info.sh | 298 -arg "--keep-peer-cert=0" \ 307 -arg "--keep-peer-cert=0" \
|