Home
last modified time | relevance | path

Searched refs:path (Results 1 – 25 of 42) sorted by relevance

12

/net-tools-3.7.0/libcoap/tests/
Dtest_uri.c30 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.7.0/mbedtls-2.4.0/scripts/
Dgenerate_visualc_files.pl82 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.7.0/libcoap/src/
Duri.c59 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.7.0/python-websocket-server/tests/
D_bootstrap_.py4 sys.path.insert(0, '..')
6 sys.path.insert(0, '.')
/net-tools-3.7.0/libcoap/include/coap/
Duri.h23 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.7.0/
Dzephyr-websocket-server.py4 from os.path import dirname
5 sys.path.append(dirname(__file__) + "/python-websocket-server")
Dmonitor_15_4.c47 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()
Dnet-capture.py20 import os.path
94 if pcap != None and os.path.exists(pcap):
/net-tools-3.7.0/mbedtls-2.4.0/programs/util/
Dpem2der.c119 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.7.0/mbedtls-2.4.0/include/mbedtls/
Dhmac_drbg.h269 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 );
Dentropy.h237 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 );
Dctr_drbg.h257 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 );
Dpk.h492 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 );
Dx509_crt.h207 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 );
Dx509_crl.h135 int mbedtls_x509_crl_parse_file( mbedtls_x509_crl *chain, const char *path );
Ddhm.h290 int mbedtls_dhm_parse_dhmfile( mbedtls_dhm_context *dhm, const char *path );
Dx509_csr.h122 int mbedtls_x509_csr_parse_file( mbedtls_x509_csr *csr, const char *path );
/net-tools-3.7.0/libcoap/examples/contiki/
Dcoap-observer.c146 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.7.0/mbedtls-2.4.0/library/
Dhmac_drbg.c345 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()
Dctr_drbg.c419 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()
Dentropy.c403 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()
Ddhm.c517 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()
Dpkparse.c76 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.7.0/mbedtls-2.4.0/tests/suites/
Dtest_suite_entropy.function127 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);
Dtest_suite_ctr_drbg.function201 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 );

12