/openthread-2.7.6/third_party/mbedtls/repo/tests/src/ |
D | random.c | 76 mbedtls_test_rnd_buf_info *info = (mbedtls_test_rnd_buf_info *) rng_state; in mbedtls_test_rnd_buffer_rand() local 83 if( len > info->length ) in mbedtls_test_rnd_buffer_rand() 84 use_len = info->length; in mbedtls_test_rnd_buffer_rand() 88 memcpy( output, info->buf, use_len ); in mbedtls_test_rnd_buffer_rand() 89 info->buf += use_len; in mbedtls_test_rnd_buffer_rand() 90 info->length -= use_len; in mbedtls_test_rnd_buffer_rand() 104 mbedtls_test_rnd_pseudo_info *info = in mbedtls_test_rnd_pseudo_rand() local 112 k = info->key; in mbedtls_test_rnd_pseudo_rand() 121 info->v0 += ( ( ( info->v1 << 4 ) ^ ( info->v1 >> 5 ) ) in mbedtls_test_rnd_pseudo_rand() 122 + info->v1 ) ^ ( sum + k[sum & 3] ); in mbedtls_test_rnd_pseudo_rand() [all …]
|
/openthread-2.7.6/tools/otci/tests/ |
D | test_otci.py | 108 logging.info('leader version: %r', leader.version) 109 logging.info('leader thread version: %r', leader.thread_version) 110 logging.info('API version: %r', leader.api_version) 111 logging.info('log level: %r', leader.get_log_level()) 118 logging.info("RCP version: %r", leader.get_rcp_version()) 132 logging.info('leader eui64 = %r', leader.get_eui64()) 133 logging.info('leader extpanid = %r', leader.get_extpanid()) 134 logging.info('leader networkkey = %r', leader.get_network_key()) 163 logging.info('leader weight: %d', leader.get_leader_weight()) 166 logging.info('domain name: %r', leader.get_domain_name()) [all …]
|
/openthread-2.7.6/third_party/mbedtls/repo/include/mbedtls/ |
D | ssl_ciphersuites.h | 411 mbedtls_pk_type_t mbedtls_ssl_get_ciphersuite_sig_pk_alg( const mbedtls_ssl_ciphersuite_t *info ); 412 mbedtls_pk_type_t mbedtls_ssl_get_ciphersuite_sig_alg( const mbedtls_ssl_ciphersuite_t *info ); 415 int mbedtls_ssl_ciphersuite_uses_ec( const mbedtls_ssl_ciphersuite_t *info ); 416 int mbedtls_ssl_ciphersuite_uses_psk( const mbedtls_ssl_ciphersuite_t *info ); 419 static inline int mbedtls_ssl_ciphersuite_has_pfs( const mbedtls_ssl_ciphersuite_t *info ) in mbedtls_ssl_ciphersuite_has_pfs() argument 421 switch( info->key_exchange ) in mbedtls_ssl_ciphersuite_has_pfs() 438 static inline int mbedtls_ssl_ciphersuite_no_pfs( const mbedtls_ssl_ciphersuite_t *info ) in mbedtls_ssl_ciphersuite_no_pfs() argument 440 switch( info->key_exchange ) in mbedtls_ssl_ciphersuite_no_pfs() 456 static inline int mbedtls_ssl_ciphersuite_uses_ecdh( const mbedtls_ssl_ciphersuite_t *info ) in mbedtls_ssl_ciphersuite_uses_ecdh() argument 458 switch( info->key_exchange ) in mbedtls_ssl_ciphersuite_uses_ecdh() [all …]
|
D | hkdf.h | 73 const unsigned char *info, size_t info_len, 132 size_t prk_len, const unsigned char *info,
|
/openthread-2.7.6/src/cli/ |
D | cli_history.cpp | 96 const otHistoryTrackerNeighborInfo *info; in ProcessNeighbor() local 127 info = otHistoryTrackerIterateNeighborHistory(mInterpreter.mInstance, &iterator, &entryAge); in ProcessNeighbor() 128 VerifyOrExit(info != nullptr); in ProcessNeighbor() 132 mode.mRxOnWhenIdle = info->mRxOnWhenIdle; in ProcessNeighbor() 133 mode.mDeviceType = info->mFullThreadDevice; in ProcessNeighbor() 134 mode.mNetworkData = info->mFullNetworkData; in ProcessNeighbor() 138 info->mIsChild ? "Child" : "Router", kEventString[info->mEvent]); in ProcessNeighbor() 139 mInterpreter.OutputExtAddress(info->mExtAddress); in ProcessNeighbor() 140 …er.OutputLine(isList ? " rloc16:0x%04x mode:%s rss:%d" : " | 0x%04x | %-4s | %7d |", info->mRloc16, in ProcessNeighbor() 141 linkModeString, info->mAverageRssi); in ProcessNeighbor() [all …]
|
/openthread-2.7.6/third_party/nlbuild-autotools/repo/automake/pre/macros/ |
D | coverage.am | 31 # Suffix for the lcov "info" file inside the code coverage report bundle. 33 NL_COVERAGE_INFO_SUFFIX = .info 63 # with an final output "info" file as specified by the target variable. 67 # - create baseline coverage data file (base.info) with '-i|--initial' option 68 # - create test coverage data file (test.info) 69 # - combine baseline and test coverage data to create the final "info" file 74 …ld_autotools_dir)/etc/lcov.config" --initial --capture --directory "$(1)" --output-file "base.info" 75 …_top_nlbuild_autotools_dir)/etc/lcov.config" --capture --directory "$(1)" --output-file "test.info" 76 …build_autotools_dir)/etc/lcov.config" --add-tracefile "base.info" --add-tracefile "test.info" --ou… 84 # with an final output "info" file as specified by the target variable. [all …]
|
/openthread-2.7.6/src/core/net/ |
D | dns_client.cpp | 321 QueryInfo info; in GetAddress() local 323 info.ReadFrom(*mQuery); in GetAddress() 325 if ((info.mQueryType == kIp4AddressQuery) || mIp6QueryResponseRequiresNat64) in GetAddress() 333 section = (info.mQueryType == kIp4AddressQuery) ? kAnswerSection : kAdditionalDataSection; in GetAddress() 641 QueryInfo info; in ResolveAddress() local 643 info.Clear(); in ResolveAddress() 644 info.mQueryType = kIp6AddressQuery; in ResolveAddress() 645 info.mCallback.mAddressCallback = aCallback; in ResolveAddress() 647 return StartQuery(info, aConfig, nullptr, aHostName, aContext); in ResolveAddress() 654 QueryInfo info; in Browse() local [all …]
|
/openthread-2.7.6/tools/harness-automation/autothreadharness/ |
D | harness_case.py | 78 logger.info('Waiting times left %d', times) 207 logger.info('Resetting %s', port) 312 logger.info('Init chrome error: {0}'.format(type(e).__name__)) 340 logger.info('Setting up') 343 logger.info('Deleting all .pcapng') 345 logger.info('Empty files in Logs') 350 logger.info('Empty files in Reports') 353 logger.info('Empty files in temps') 371 logger.info('Tearing down') 394 logger.info('Still detecting..') [all …]
|
D | harness_controller.py | 45 logger.info('Try kill process') 54 logger.info('Process has been killed') 57 logger.info('Trial %d failed', times) 85 logger.info('Starting harness service') 124 logger.info('Stopping harness service')
|
D | pdu_controller.py | 73 logger.info('No PDU controller connected.') 106 logger.info('opening telnet') 114 logger.info('closing telnet') 189 logger.info('Resetting board with the serial number: %s', serial_number) 331 logger.info('Executing turn OFF for: {}'.format(sockets)) 354 logger.info('Executing turn ON for: {}'.format(sockets)) 384 logger.info('Executing power cycle for: {}'.format(params['sockets'])) 401 logger.info('Executing power cycle')
|
D | runner.py | 75 logger.info('Initial state is %s', json.dumps(self.result, indent=2)) 78 logger.info( 133 logger.info('case[%s] pass', test.__class__.__name__) 257 logger.info('case[%s] skipped by name greps', case_name) 262 logger.info('case[%s] skipped', case_name) 293 logger.info('case[%s] added', case_name) 323 logger.info(case.__class__.__name__) 417 logger.info('Rerunning failed test cases') 418 logger.info('Rerun #{}:'.format(i + 1))
|
/openthread-2.7.6/tests/scripts/thread-cert/border_router/ |
D | test_single_border_router.py | 101 logging.info("BR addrs: %r", br.get_addrs()) 102 logging.info("ROUTER addrs: %r", router.get_addrs()) 103 logging.info("HOST addrs: %r", host.get_addrs()) 139 logging.info("BR addrs: %r", br.get_addrs()) 140 logging.info("ROUTER addrs: %r", router.get_addrs()) 141 logging.info("HOST addrs: %r", host.get_addrs()) 167 logging.info("BR addrs: %r", br.get_addrs()) 168 logging.info("ROUTER addrs: %r", router.get_addrs()) 169 logging.info("HOST addrs: %r", host.get_addrs()) 204 logging.info("BR addrs: %r", br.get_addrs()) [all …]
|
D | test_multi_border_routers.py | 129 logging.info("BR1 addrs: %r", br1.get_addrs()) 130 logging.info("ROUTER1 addrs: %r", router1.get_addrs()) 131 logging.info("BR2 addrs: %r", br2.get_addrs()) 132 logging.info("ROUTER2 addrs: %r", router2.get_addrs()) 133 logging.info("HOST addrs: %r", host.get_addrs()) 178 logging.info("BR1 addrs: %r", br1.get_addrs()) 179 logging.info("ROUTER1 addrs: %r", router1.get_addrs()) 180 logging.info("BR2 addrs: %r", br2.get_addrs()) 181 logging.info("ROUTER2 addrs: %r", router2.get_addrs()) 182 logging.info("HOST addrs: %r", host.get_addrs())
|
D | test_vicarious_router_solicit.py | 121 logging.info("BR1 addrs: %r", br1.get_addrs()) 122 logging.info("ROUTER1 addrs: %r", router1.get_addrs()) 123 logging.info("HOST addrs: %r", host.get_addrs()) 148 logging.info("BR1 addrs: %r", br1.get_addrs()) 149 logging.info("ROUTER1 addrs: %r", router1.get_addrs()) 150 logging.info("BR2 addrs: %r", br2.get_addrs()) 151 logging.info("ROUTER2 addrs: %r", router2.get_addrs()) 152 logging.info("HOST addrs: %r", host.get_addrs())
|
D | test_multi_thread_networks.py | 113 logging.info("BR1 addrs: %r", br1.get_addrs()) 114 logging.info("ROUTER1 addrs: %r", router1.get_addrs()) 115 logging.info("BR2 addrs: %r", br2.get_addrs()) 116 logging.info("ROUTER2 addrs: %r", router2.get_addrs())
|
/openthread-2.7.6/third_party/mbedtls/repo/ |
D | Makefile | 94 find . \( -name \*.gcno -o -name \*.gcda -o -name \*.info \) -exec rm {} + 113 lcov --capture --initial --directory library -o files.info 114 lcov --rc lcov_branch_coverage=1 --capture --directory library -o tests.info 115 lcov --rc lcov_branch_coverage=1 --add-tracefile files.info --add-tracefile tests.info -o all.info 116 lcov --rc lcov_branch_coverage=1 --remove all.info -o final.info '*.h' 118 …description-file descriptions --keep-descriptions --legend --branch-coverage -o Coverage final.info 119 rm -f files.info tests.info all.info final.info descriptions
|
/openthread-2.7.6/tools/harness-automation/ |
D | parse_topofile.py | 111 logging.info('case %s:' % matched_case.group(1)) 121 logging.info('\trole-vendor pair: %s' % role_vendor_list) 123 logging.info('Unrecognized format: %s\n%s' % (line, format(e))) 130 logging.info('\tvendor devices : %s' % dict(case_vendor_dict)) 133 logging.info('Case %s not found' % str(case_list)[1:-1]) 144 logging.info('\nTestbed needed vendor devices:%s' % dict(testbed_vendor_dict))
|
/openthread-2.7.6/third_party/mbedtls/repo/library/ |
D | hkdf.c | 30 const unsigned char *info, size_t info_len, in mbedtls_hkdf() argument 41 info, info_len, okm, okm_len ); in mbedtls_hkdf() 80 size_t prk_len, const unsigned char *info, in mbedtls_hkdf_expand() argument 104 if( info == NULL ) in mbedtls_hkdf_expand() 106 info = (const unsigned char *) ""; in mbedtls_hkdf_expand() 156 ret = mbedtls_md_hmac_update( &ctx, info, info_len ); in mbedtls_hkdf_expand()
|
D | pk.c | 135 int mbedtls_pk_setup( mbedtls_pk_context *ctx, const mbedtls_pk_info_t *info ) in mbedtls_pk_setup() argument 138 if( info == NULL || ctx->pk_info != NULL ) in mbedtls_pk_setup() 141 if( ( ctx->pk_ctx = info->ctx_alloc_func() ) == NULL ) in mbedtls_pk_setup() 144 ctx->pk_info = info; in mbedtls_pk_setup() 156 const mbedtls_pk_info_t * const info = &mbedtls_pk_opaque_info; in mbedtls_pk_setup_opaque() local 173 if( ( ctx->pk_ctx = info->ctx_alloc_func() ) == NULL ) in mbedtls_pk_setup_opaque() 176 ctx->pk_info = info; in mbedtls_pk_setup_opaque() 195 const mbedtls_pk_info_t *info = &mbedtls_rsa_alt_info; in mbedtls_pk_setup_rsa_alt() local 201 if( ( ctx->pk_ctx = info->ctx_alloc_func() ) == NULL ) in mbedtls_pk_setup_rsa_alt() 204 ctx->pk_info = info; in mbedtls_pk_setup_rsa_alt() [all …]
|
/openthread-2.7.6/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_hkdf.function | 12 void test_hkdf( int md_alg, data_t *ikm, data_t *salt, data_t *info, 24 info->x, info->len, okm, expected_okm->len ); 72 unsigned char *info = NULL; 84 info = mbedtls_test_unhexify_alloc( hex_info_string, &info_len ); 89 ret = mbedtls_hkdf_expand( md, prk, prk_len, info, info_len, 95 mbedtls_free(info); 133 unsigned char *info = NULL; 152 info, info_len, okm, okm_len );
|
D | test_suite_psa_its.function | 85 struct psa_storage_info_t info; 93 PSA_ASSERT( psa_its_get_info( uid, &info ) ); 94 TEST_ASSERT( info.size == data->len ); 95 TEST_ASSERT( info.flags == flags ); 115 struct psa_storage_info_t info; 122 PSA_ASSERT( psa_its_get_info( uid, &info ) ); 123 TEST_ASSERT( info.size == data1->len ); 124 TEST_ASSERT( info.flags == flags1 ); 129 PSA_ASSERT( psa_its_get_info( uid, &info ) ); 130 TEST_ASSERT( info.size == data2->len ); [all …]
|
D | test_suite_pkcs5.function | 15 const mbedtls_md_info_t *info; 21 info = mbedtls_md_info_from_type( hash ); 22 TEST_ASSERT( info != NULL ); 23 TEST_ASSERT( mbedtls_md_setup( &ctx, info, 1 ) == 0 );
|
/openthread-2.7.6/tests/unit/ |
D | test_multicast_listeners_table.cpp | 169 otBackboneRouterMulticastListenerInfo info; in testMulticastListenersTableAPIs() local 172 while (otBackboneRouterMulticastListenerGetNext(aInstance, &iter, &info) == kErrorNone) in testMulticastListenersTableAPIs() 180 while (otBackboneRouterMulticastListenerGetNext(aInstance, &iter, &info) == kErrorNone) in testMulticastListenersTableAPIs() 184 VerifyOrQuit(memcmp(&info.mAddress, &MA401, sizeof(otIp6Address)) == 0, "bad address"); in testMulticastListenersTableAPIs() 185 VerifyOrQuit(info.mTimeout == 30, "bad timeout"); in testMulticastListenersTableAPIs() 192 while (otBackboneRouterMulticastListenerGetNext(aInstance, &iter, &info) == kErrorNone) in testMulticastListenersTableAPIs()
|
/openthread-2.7.6/tests/scripts/thread-cert/ |
D | run_cert_suite.py | 88 logging.info("Cleaning up Backbone testing environment ...") 114 logging.info("Max jobs: %d", MAX_JOBS) 115 logging.info("Multiply: %d", args.multiply) 116 logging.info("Test scripts: %d", len(args.scripts)) 186 logging.info('Has Backbone tests: %s', has_backbone_tests)
|
/openthread-2.7.6/src/core/thread/ |
D | neighbor_table.cpp | 264 EntryInfo info; in Signal() local 266 info.mInstance = &GetInstance(); in Signal() 274 … static_cast<Child::Info &>(info.mInfo.mChild).SetFrom(static_cast<const Child &>(aNeighbor)); in Signal() 280 static_cast<Neighbor::Info &>(info.mInfo.mRouter).SetFrom(aNeighbor); in Signal() 285 Get<Utils::HistoryTracker>().RecordNeighborEvent(aEvent, info); in Signal() 290 mCallback(static_cast<otNeighborTableEvent>(aEvent), &info); in Signal()
|