/openthread-3.5.0/src/lib/url/ |
D | url.cpp | 161 const char *arg = nullptr; in TestEmptyValue() local 165 assert((arg = args.GetValue("rtscts")) != nullptr); in TestEmptyValue() 166 assert(args.GetValue("rtscts", arg) == nullptr); in TestEmptyValue() 167 assert((arg = args.GetValue("verbose", arg)) != nullptr); in TestEmptyValue() 168 assert((arg = args.GetValue("verbose", arg)) != nullptr); in TestEmptyValue() 169 assert((arg = args.GetValue("verbose", arg)) != nullptr); in TestEmptyValue() 170 assert((arg = args.GetValue("verbose", arg)) == nullptr); in TestEmptyValue() 191 const char *arg = nullptr; in TestMultipleProtocolsAndDuplicateParameters() local 196 arg = args.GetValue("arg"); in TestMultipleProtocolsAndDuplicateParameters() 197 assert(!strcmp(arg, "1")); in TestMultipleProtocolsAndDuplicateParameters() [all …]
|
/openthread-3.5.0/src/cli/ |
D | cli_bbr.cpp | 394 for (Arg *arg = &aArgs[0]; !arg->IsEmpty(); arg++) in Process() local 396 if (*arg == "seqno") in Process() 398 arg++; in Process() 399 SuccessOrExit(error = arg->ParseAsUint8(config.mSequenceNumber)); in Process() 401 else if (*arg == "delay") in Process() 403 arg++; in Process() 404 SuccessOrExit(error = arg->ParseAsUint16(config.mReregistrationDelay)); in Process() 406 else if (*arg == "timeout") in Process() 408 arg++; in Process() 409 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_srp_client.cpp | 199 for (Arg *arg = &aArgs[1]; !arg->IsEmpty(); arg++) in Process() local 202 SuccessOrExit(error = arg->ParseAsIp6Address(addresses[numAddresses])); in Process()
|
D | cli.cpp | 3940 for (const char *arg = aFlags.GetCString(); *arg != '\0'; arg++) in ParseLinkMetricsFlags() local 3942 switch (*arg) in ParseLinkMetricsFlags() 4015 for (const char *arg = aArgs[3].GetCString(); *arg != '\0'; arg++) in ProcessLinkMetricsMgmt() local 4017 switch (*arg) in ProcessLinkMetricsMgmt() 4036 … VerifyOrExit(arg == aArgs[3].GetCString() && *(arg + 1) == '\0' && aArgs[4].IsEmpty(), in ProcessLinkMetricsMgmt() 4536 for (const char *arg = aArgs[0].GetCString(); *arg != '\0'; arg++) in Process() local 4538 switch (*arg) in Process() 6228 for (char *arg = aArgs->GetCString(); *arg != '\0'; arg++) in ParsePrefix() local 6230 switch (*arg) in ParsePrefix() 6655 for (char *arg = aArgs->GetCString(); *arg != '\0'; arg++) in ParseRoute() local [all …]
|
/openthread-3.5.0/src/lib/spinel/ |
D | spinel.c | 454 spinel_ipv6addr_t *arg = va_arg(args->obj, spinel_ipv6addr_t *); in spinel_datatype_vunpack_() local 455 if (arg) in spinel_datatype_vunpack_() 457 memcpy(arg, data_in, sizeof(spinel_ipv6addr_t)); in spinel_datatype_vunpack_() 481 spinel_eui64_t *arg = va_arg(args->obj, spinel_eui64_t *); in spinel_datatype_vunpack_() local 482 if (arg) in spinel_datatype_vunpack_() 484 memcpy(arg, data_in, sizeof(spinel_eui64_t)); in spinel_datatype_vunpack_() 508 spinel_eui48_t *arg = va_arg(args->obj, spinel_eui48_t *); in spinel_datatype_vunpack_() local 509 if (arg) in spinel_datatype_vunpack_() 511 memcpy(arg, data_in, sizeof(spinel_eui48_t)); in spinel_datatype_vunpack_() 567 char *arg = va_arg(args->obj, char *); in spinel_datatype_vunpack_() local [all …]
|
/openthread-3.5.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.5.0/third_party/mbedtls/repo/tests/scripts/ |
D | docker_env.sh | 73 --build-arg MAKEFLAGS_PARALLEL="-j ${NUM_PROC}" \ 75 ${http_proxy+--build-arg http_proxy=${http_proxy}} \ 76 ${https_proxy+--build-arg https_proxy=${https_proxy}} \ 77 ${MBEDTLS_DOCKER_REGISTRY+--build-arg MY_REGISTRY="${MBEDTLS_DOCKER_REGISTRY}/"} \
|
D | generate_test_code.py | 473 for arg in line[:line.find(')')].split(','): 474 arg = arg.strip() 475 if arg == '': 477 if re.search(INT_CHECK_REGEX, arg.strip()): 480 elif re.search(CHAR_CHECK_REGEX, arg.strip()): 483 elif re.search(DATA_T_CHECK_REGEX, arg.strip()):
|
D | set_psa_test_dependencies.py | 169 for arg in arguments: 170 for symbol in re.findall(r'PSA_(?:ALG|KEY_TYPE)_\w+', arg):
|
/openthread-3.5.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.5.0/script/ |
D | clang-format | 61 for arg; do 62 case $arg in 68 FILES+=("$arg")
|
D | test | 361 for arg in "${args[@]}"; do 362 docker_build_args+=("--build-arg" "$arg") 390 --build-arg OTBR_OPTIONS="${otbr_options[*]}" 634 for arg in "$@"; do 635 if [[ $arg == expect ]]; then
|
/openthread-3.5.0/third_party/mbedtls/repo/library/ |
D | platform.c | 127 int mbedtls_platform_win32_vsnprintf( char *s, size_t n, const char *fmt, va_list arg ) in mbedtls_platform_win32_vsnprintf() argument 136 ret = vsnprintf_s( s, n, _TRUNCATE, fmt, arg ); in mbedtls_platform_win32_vsnprintf() 138 ret = vsnprintf( s, n, fmt, arg ); in mbedtls_platform_win32_vsnprintf() 156 const char * format, va_list arg ) in platform_vsnprintf_uninit() argument 161 ((void) arg); in platform_vsnprintf_uninit() 170 va_list arg ) = MBEDTLS_PLATFORM_STD_VSNPRINTF; 174 va_list arg ) ) in mbedtls_platform_set_vsnprintf() argument
|
/openthread-3.5.0/third_party/mbedtls/repo/tests/include/test/ |
D | macros.h | 313 #define IS_ARRAY_NOT_POINTER( arg ) \ 314 ( ! __builtin_types_compatible_p( __typeof__( arg ), \ 315 __typeof__( &( arg )[0] ) ) )
|
/openthread-3.5.0/third_party/mbedtls/repo/include/mbedtls/ |
D | platform.h | 261 int mbedtls_platform_win32_vsnprintf( char *s, size_t n, const char *fmt, va_list arg ); 266 extern int (*mbedtls_vsnprintf)( char * s, size_t n, const char * format, va_list arg ); 276 const char * format, va_list arg ) );
|
/openthread-3.5.0/third_party/mbedtls/repo/scripts/mbedtls_dev/ |
D | psa_storage.py | 140 *[arg.value() if isinstance(arg, Expr) else arg 141 for arg in args])
|
D | macro_collector.py | 175 argument_lists = [self.arguments_for[arg] for arg in argspec]
|
/openthread-3.5.0/third_party/mbedtls/repo/tests/ |
D | context-info.sh | 314 -arg "--keep-peer-cert=0" \ 323 -arg "--keep-peer-cert=0" \
|
/openthread-3.5.0/tests/toranj/cli/ |
D | cli.py | 159 cmd = ' '.join([f'{arg}' for arg in args if arg is not None]).strip() 764 verify_within(_check_node_is_leader, self._WAIT_TIME, arg=self) 786 verify_within(_check_node_is_router, self._WAIT_TIME, arg=self) 788 verify_within(_check_node_is_child, self._WAIT_TIME, arg=self) 908 def verify_within(condition_checker_func, wait_time, arg=None, delay_time=0.1): argument 920 if arg is None: 923 condition_checker_func(arg)
|
/openthread-3.5.0/src/posix/platform/ |
D | hdlc_interface.cpp | 665 for (const char *arg = nullptr; in ForkPty() local 666 … index < OT_ARRAY_LENGTH(argv) && (arg = aRadioUrl.GetValue("forkpty-arg", arg)) != nullptr; in ForkPty() 667 argv[index++] = const_cast<char *>(arg)) in ForkPty()
|
D | radio.cpp | 104 …for (const char *arg = nullptr; (arg = mRadioUrl.GetValue("forkpty-arg", arg)) != nullptr; nodeId … in Init() local
|
/openthread-3.5.0/tools/harness-simulation/posix/ |
D | install.sh | 124 --build-arg OTBR_OPTIONS="${otbr_options[*]}"
|
/openthread-3.5.0/src/posix/ |
D | README.md | 45 …ix/src/posix/ot-cli 'spinel+hdlc+forkpty://build/simulation/examples/apps/ncp/ot-rcp?forkpty-arg=1' 150 …src/posix/ot-daemon 'spinel+hdlc+forkpty://build/simulation/examples/apps/ncp/ot-rcp?forkpty-arg=1'
|
/openthread-3.5.0/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_entropy.function | 27 static int entropy_dummy_source( void *arg, unsigned char *output, 30 entropy_dummy_context *context = arg;
|