/net-tools-3.4.0/libcoap/tests/ |
D | test_uri.c | 30 CU_ASSERT(uri.path.length == 16); in t_parse_uri1() 31 CU_ASSERT_NSTRING_EQUAL(uri.path.s, ".well-known/core", 16); in t_parse_uri1() 53 CU_ASSERT(uri.path.length == 16); in t_parse_uri2() 54 CU_ASSERT_NSTRING_EQUAL(uri.path.s, ".well-known/core", 16); in t_parse_uri2() 76 CU_ASSERT(uri.path.length == 0); in t_parse_uri3() 106 CU_ASSERT(uri.path.length == 0); in t_parse_uri5() 107 CU_ASSERT(uri.path.s == NULL); in t_parse_uri5() 131 CU_ASSERT(uri.path.length == 16); in t_parse_uri6() 132 CU_ASSERT_NSTRING_EQUAL(uri.path.s, ".well-known/core", 16); in t_parse_uri6() 166 CU_ASSERT(uri.path.length == 36); in t_parse_uri7() [all …]
|
/net-tools-3.4.0/mbedtls-2.4.0/scripts/ |
D | generate_visualc_files.pl | 82 my ($path) = @_; 84 my $guid = md5_hex( "mbedTLS:$path" ); 91 my ($path, $template, $dir, $ext) = @_; 93 my $guid = gen_app_guid( $path ); 94 $path =~ s!/!\\!g; 95 (my $appname = $path) =~ s/.*\\//; 98 $content =~ s/<PATHNAME>/$path/g; 151 for my $path (@app_names) { 152 my $guid = gen_app_guid( $path ); 153 (my $appname = $path) =~ s!.*/!!;
|
/net-tools-3.4.0/libcoap/src/ |
D | uri.c | 59 goto path; in coap_split_uri() 146 path: /* at this point, p must point to an absolute path */ in coap_split_uri() 161 COAP_SET_STR(&uri->path, q - p, p); in coap_split_uri() 438 uri->path.length + sizeof(coap_uri_t) + 1); in coap_clone_uri() 454 if ( uri->path.length ) { in coap_clone_uri() 455 result->path.s = URI_DATA(result) + uri->host.length; in coap_clone_uri() 456 result->path.length = uri->path.length; in coap_clone_uri() 458 memcpy(result->path.s, uri->path.s, uri->path.length); in coap_clone_uri() 462 result->query.s = URI_DATA(result) + uri->host.length + uri->path.length; in coap_clone_uri() 481 coap_hash_path(const unsigned char *path, size_t len, coap_key_t key) { in coap_hash_path() argument [all …]
|
/net-tools-3.4.0/python-websocket-server/tests/ |
D | _bootstrap_.py | 4 sys.path.insert(0, '..') 6 sys.path.insert(0, '.')
|
/net-tools-3.4.0/libcoap/include/coap/ |
D | uri.h | 23 str path; /**< Beginning of the first path segment. member 56 int coap_hash_path(const unsigned char *path, size_t len, coap_key_t key);
|
/net-tools-3.4.0/ |
D | zephyr-websocket-server.py | 4 from os.path import dirname 5 sys.path.append(dirname(__file__) + "/python-websocket-server")
|
D | net-capture.py | 20 import os.path 79 if pcap != None and os.path.exists(pcap):
|
D | monitor_15_4.c | 47 static char *path = NULL; variable 441 path = g_strdup(argv[1]); in main() 448 if (!monitor_pcap_create(path)) { in main() 449 g_free(path); in main() 496 g_free(path); in main()
|
/net-tools-3.4.0/mbedtls-2.4.0/programs/util/ |
D | pem2der.c | 119 static int load_file( const char *path, unsigned char **buf, size_t *n ) in load_file() argument 124 if( ( f = fopen( path, "rb" ) ) == NULL ) in load_file() 162 static int write_file( const char *path, unsigned char *buf, size_t n ) in write_file() argument 166 if( ( f = fopen( path, "wb" ) ) == NULL ) in write_file()
|
/net-tools-3.4.0/mbedtls-2.4.0/include/mbedtls/ |
D | hmac_drbg.h | 269 int mbedtls_hmac_drbg_write_seed_file( mbedtls_hmac_drbg_context *ctx, const char *path ); 282 int mbedtls_hmac_drbg_update_seed_file( mbedtls_hmac_drbg_context *ctx, const char *path );
|
D | ctr_drbg.h | 257 int mbedtls_ctr_drbg_write_seed_file( mbedtls_ctr_drbg_context *ctx, const char *path ); 271 int mbedtls_ctr_drbg_update_seed_file( mbedtls_ctr_drbg_context *ctx, const char *path );
|
D | entropy.h | 237 int mbedtls_entropy_write_seed_file( mbedtls_entropy_context *ctx, const char *path ); 251 int mbedtls_entropy_update_seed_file( mbedtls_entropy_context *ctx, const char *path );
|
D | pk.h | 492 const char *path, const char *password ); 510 int mbedtls_pk_parse_public_keyfile( mbedtls_pk_context *ctx, const char *path ); 609 int mbedtls_pk_load_file( const char *path, unsigned char **buf, size_t *n );
|
D | x509_crt.h | 207 int mbedtls_x509_crt_parse_file( mbedtls_x509_crt *chain, const char *path ); 222 int mbedtls_x509_crt_parse_path( mbedtls_x509_crt *chain, const char *path );
|
D | x509_crl.h | 135 int mbedtls_x509_crl_parse_file( mbedtls_x509_crl *chain, const char *path );
|
D | dhm.h | 290 int mbedtls_dhm_parse_dhmfile( mbedtls_dhm_context *dhm, const char *path );
|
D | x509_csr.h | 122 int mbedtls_x509_csr_parse_file( mbedtls_x509_csr *csr, const char *path );
|
/net-tools-3.4.0/libcoap/examples/contiki/ |
D | coap-observer.c | 146 if (uri.path.length) { in PROCESS_THREAD() 155 res = coap_split_path(uri.path.s, uri.path.length, buf, &buflen); in PROCESS_THREAD()
|
/net-tools-3.4.0/mbedtls-2.4.0/library/ |
D | hmac_drbg.c | 345 int mbedtls_hmac_drbg_write_seed_file( mbedtls_hmac_drbg_context *ctx, const char *path ) in mbedtls_hmac_drbg_write_seed_file() argument 351 if( ( f = fopen( path, "wb" ) ) == NULL ) in mbedtls_hmac_drbg_write_seed_file() 370 int mbedtls_hmac_drbg_update_seed_file( mbedtls_hmac_drbg_context *ctx, const char *path ) in mbedtls_hmac_drbg_update_seed_file() argument 376 if( ( f = fopen( path, "rb" ) ) == NULL ) in mbedtls_hmac_drbg_update_seed_file() 399 return( mbedtls_hmac_drbg_write_seed_file( ctx, path ) ); in mbedtls_hmac_drbg_update_seed_file()
|
D | ctr_drbg.c | 419 int mbedtls_ctr_drbg_write_seed_file( mbedtls_ctr_drbg_context *ctx, const char *path ) in mbedtls_ctr_drbg_write_seed_file() argument 425 if( ( f = fopen( path, "wb" ) ) == NULL ) in mbedtls_ctr_drbg_write_seed_file() 444 int mbedtls_ctr_drbg_update_seed_file( mbedtls_ctr_drbg_context *ctx, const char *path ) in mbedtls_ctr_drbg_update_seed_file() argument 450 if( ( f = fopen( path, "rb" ) ) == NULL ) in mbedtls_ctr_drbg_update_seed_file() 473 return( mbedtls_ctr_drbg_write_seed_file( ctx, path ) ); in mbedtls_ctr_drbg_update_seed_file()
|
D | entropy.c | 403 int mbedtls_entropy_write_seed_file( mbedtls_entropy_context *ctx, const char *path ) in mbedtls_entropy_write_seed_file() argument 409 if( ( f = fopen( path, "wb" ) ) == NULL ) in mbedtls_entropy_write_seed_file() 428 int mbedtls_entropy_update_seed_file( mbedtls_entropy_context *ctx, const char *path ) in mbedtls_entropy_update_seed_file() argument 434 if( ( f = fopen( path, "rb" ) ) == NULL ) in mbedtls_entropy_update_seed_file() 454 return( mbedtls_entropy_write_seed_file( ctx, path ) ); in mbedtls_entropy_update_seed_file()
|
D | dhm.c | 517 static int load_file( const char *path, unsigned char **buf, size_t *n ) in load_file() argument 522 if( ( f = fopen( path, "rb" ) ) == NULL ) in load_file() 562 int mbedtls_dhm_parse_dhmfile( mbedtls_dhm_context *dhm, const char *path ) in mbedtls_dhm_parse_dhmfile() argument 568 if( ( ret = load_file( path, &buf, &n ) ) != 0 ) in mbedtls_dhm_parse_dhmfile()
|
D | pkparse.c | 76 int mbedtls_pk_load_file( const char *path, unsigned char **buf, size_t *n ) in mbedtls_pk_load_file() argument 81 if( ( f = fopen( path, "rb" ) ) == NULL ) in mbedtls_pk_load_file() 122 const char *path, const char *pwd ) in mbedtls_pk_parse_keyfile() argument 128 if( ( ret = mbedtls_pk_load_file( path, &buf, &n ) ) != 0 ) in mbedtls_pk_parse_keyfile() 146 int mbedtls_pk_parse_public_keyfile( mbedtls_pk_context *ctx, const char *path ) in mbedtls_pk_parse_public_keyfile() argument 152 if( ( ret = mbedtls_pk_load_file( path, &buf, &n ) ) != 0 ) in mbedtls_pk_parse_public_keyfile()
|
/net-tools-3.4.0/mbedtls-2.4.0/tests/suites/ |
D | test_suite_entropy.function | 127 void entropy_seed_file( char *path, int ret ) 133 TEST_ASSERT( mbedtls_entropy_write_seed_file( &ctx, path ) == ret ); 134 TEST_ASSERT( mbedtls_entropy_update_seed_file( &ctx, path ) == ret ); 196 void entropy_source_fail( char *path ) 214 TEST_ASSERT( mbedtls_entropy_write_seed_file( &ctx, path ) 216 TEST_ASSERT( mbedtls_entropy_update_seed_file( &ctx, path ) 219 ((void) path);
|
D | test_suite_ctr_drbg.function | 201 void ctr_drbg_seed_file( char *path, int ret ) 208 TEST_ASSERT( mbedtls_ctr_drbg_write_seed_file( &ctx, path ) == ret ); 209 TEST_ASSERT( mbedtls_ctr_drbg_update_seed_file( &ctx, path ) == ret );
|