Home
last modified time | relevance | path

Searched refs:line (Results 1 – 25 of 49) sorted by relevance

12

/net-tools-3.7.0/mbedtls-2.4.0/scripts/
Dconfig.pl181 for my $line (@config_lines) {
183 if ($line =~ /name SECTION: Module configuration options/) {
187 if (!$done && $line =~ m!^//\s?#define! &&
188 ( $line !~ /$exclude_re/ || $line =~ /$no_exclude_re/ ) ) {
189 $line =~ s!^//\s?!!;
191 if (!$done && $line =~ m!^\s?#define! &&
192 ! ( $line !~ /$exclude_re/ || $line =~ /$no_exclude_re/ ) ) {
193 $line =~ s!^!//!;
196 if (!$done && $line =~ /^\s*#define\s*$name\b/) {
197 $line = '//' . $line;
[all …]
Drename.pl46 while( my $line = <$nfh> ) {
47 chomp $line;
48 my ( $old, $new ) = ( $line =~ /^($ident)\s+($ident)$/ );
50 die "$0: $datafile:$.: bad input '$line'\n";
90 for my $line (@lines) {
91 if( $line =~ /#include/ ) {
92 $line =~ s/polarssl/mbedtls/;
93 $line =~ s/POLARSSL/MBEDTLS/;
94 push( @out, $line );
98 my @words = ($line =~ /$token/g);
[all …]
Dmalloc-init.pl41 my $line;
53 push @bad, "$file:$line:$name" if $name;
55 $line = $.;
61 } elsif( $name && $. - $line > $limit ) {
62 push @bad, "$file:$line:$name";
64 undef $line;
Dgenerate_features.pl45 while (my $line = <CONFIG_H>)
47 next if ($in_section && $line !~ /#define/ && $line !~ /SECTION/);
48 next if (!$in_section && $line !~ /SECTION/);
51 if ($line =~ /SECTION/) {
56 my ($define) = $line =~ /#define (\w+)/;
63 my ($section_name) = $line =~ /SECTION: ([\w ]+)/;
Dgenerate_errors.pl61 while (my $line = <GREP>)
63 next if ($line =~ /compat-1.2.h/);
64 my ($error_name, $error_code) = $line =~ /(MBEDTLS_ERR_\w+)\s+\-(0x\w+)/;
65 my ($description) = $line =~ /\/\*\*< (.*?)\.? \*\//;
/net-tools-3.7.0/mbedtls-2.4.0/tests/scripts/
Dgen_gcm_decrypt.pl17 while(my $line = <TEST_DATA>)
19 next if ($line !~ /^\[/);
20 ($val) = ($line =~ /\[$name\s\=\s(\w+)\]/);
31 my $line;
33 while($line = <TEST_DATA>)
35 next if($line !~ /=/);
39 ($val) = ($line =~ /^$name = (\w+)/);
48 my $line;
50 while($line = <TEST_DATA>)
52 next if($line !~ /=/ && $line !~ /FAIL/);
[all …]
Dgen_gcm_encrypt.pl17 while(my $line = <TEST_DATA>)
19 next if ($line !~ /^\[/);
20 ($val) = ($line =~ /\[$name\s\=\s(\w+)\]/);
31 my $line;
33 while($line = <TEST_DATA>)
35 next if($line !~ /=/);
39 ($val) = ($line =~ /^$name = (\w+)/);
45 while (my $line = <TEST_DATA>)
Dgen_pkcs1_v21_sign_verify.pl16 while(my $line = <TEST_DATA>)
18 next if($line !~ /^# $str/);
22 while(my $line = <TEST_DATA>)
24 last if($line eq "\r\n");
25 $val .= $line;
40 while (my $line = <TEST_DATA>)
42 next if ($line !~ /^# Example/);
44 ( $mod ) = ($line =~ /A (\d+)/);
Dgen_ctr_drbg.pl18 my $line = <TEST_DATA>;
19 ($val) = ($line =~ /\[$name\s\=\s(\w+)\]/);
28 my $line;
30 while($line = <TEST_DATA>)
32 next if($line !~ /=/);
36 ($val) = ($line =~ /^$name = (\w+)/);
42 while (my $line = <TEST_DATA>)
44 next if ($line !~ /^\[AES-256 use df/);
Dgenerate_code.pl81 for my $line (@test_main_lines) {
82 $line =~ s/!LINE_NO!/$index/;
83 $test_main = $test_main.$line;
92 for my $line (@test_cases_lines) {
93 if ($line =~ /^\/\* BEGIN_SUITE_HELPERS .*\*\//)
95 $line = $line."#line $index \"$test_case_file\"\n";
98 if ($line =~ /^\/\* BEGIN_CASE .*\*\//)
100 $line = $line."#line $index \"$test_case_file\"\n";
103 $line =~ s/!LINE_NO!/$index/;
105 $test_cases = $test_cases.$line;
Dcheck-doxy-blocks.pl29 while (my $line = <$fh>) {
30 $block_start = $. if $line =~ m/\/\*(?![*!])/;
31 $block_start = 0 if $line =~ m/\*\//;
32 if ($block_start and $line =~ m/$doxy_re/) {
/net-tools-3.7.0/mbedtls-2.4.0/programs/hash/
Dgeneric_sum.c86 char line[1024]; in generic_check() local
103 memset( line, 0, sizeof( line ) ); in generic_check()
105 n = sizeof( line ); in generic_check()
107 while( fgets( line, (int) n - 1, f ) != NULL ) in generic_check()
109 n = strlen( line ); in generic_check()
117 …if( line[2 * mbedtls_md_get_size( md_info )] != ' ' || line[2 * mbedtls_md_get_size( md_info ) + 1… in generic_check()
123 if( line[n - 1] == '\n' ) { n--; line[n] = '\0'; } in generic_check()
124 if( line[n - 1] == '\r' ) { n--; line[n] = '\0'; } in generic_check()
128 if( generic_wrapper( md_info, line + 2 + 2 * mbedtls_md_get_size( md_info ), sum ) != 0 ) in generic_check()
142 diff |= line[i] ^ buf[i]; in generic_check()
[all …]
/net-tools-3.7.0/mbedtls-2.4.0/library/
Ddebug.c64 const char *file, int line, in debug_send_line() argument
75 ssl->conf->f_dbg( ssl->conf->p_dbg, level, file, line, idstr ); in debug_send_line()
77 ssl->conf->f_dbg( ssl->conf->p_dbg, level, file, line, str ); in debug_send_line()
82 const char *file, int line, in mbedtls_debug_print_msg() argument
115 debug_send_line( ssl, level, file, line, str ); in mbedtls_debug_print_msg()
119 const char *file, int line, in mbedtls_debug_print_ret() argument
138 debug_send_line( ssl, level, file, line, str ); in mbedtls_debug_print_ret()
142 const char *file, int line, const char *text, in mbedtls_debug_print_buf() argument
155 debug_send_line( ssl, level, file, line, str ); in mbedtls_debug_print_buf()
169 debug_send_line( ssl, level, file, line, str ); in mbedtls_debug_print_buf()
[all …]
/net-tools-3.7.0/mbedtls-2.4.0/tests/suites/
Dtest_suite_debug.function10 void string_debug(void *data, int level, const char *file, int line, const char *str)
20 *p++ = '0' + ( line / 1000 ) % 10;
21 *p++ = '0' + ( line / 100 ) % 10;
22 *p++ = '0' + ( line / 10 ) % 10;
23 *p++ = '0' + ( line / 1 ) % 10;
50 void debug_print_msg_threshold( int threshold, int level, char *file, int line,
67 mbedtls_debug_print_msg( &ssl, level, file, line,
79 void mbedtls_debug_print_ret( char *file, int line, char *text, int value,
95 mbedtls_debug_print_ret( &ssl, 0, file, line, text, value);
106 void mbedtls_debug_print_buf( char *file, int line, char *text,
[all …]
Dmain_test.function1 #line 1 "main_test.function"
76 #line !LINE_NO! "main_test.function"
88 #line !LINE_NO! "main_test.function"
107 #line !LINE_NO! "main_test.function"
124 #line !LINE_NO! "main_test.function"
128 " Command line arguments:\n" \
Dtest_suite_pem.data10 PEM write (more than line size)
/net-tools-3.7.0/mbedtls-2.4.0/include/mbedtls/
Ddebug.h115 const char *file, int line,
134 const char *file, int line,
155 const char *file, int line, const char *text,
176 const char *file, int line,
198 const char *file, int line,
219 const char *file, int line,
/net-tools-3.7.0/
Dwebsocket-console.py24 line = input("> ") variable
25 if line == "quit":
27 ws.send(line + "\n")
DREADME.docker18 given on the docker command line match the subnets in 'docker.conf'.
26 exit with Ctrl-p ctrl-q to execute tests from the command line
/net-tools-3.7.0/tinydtls-0.8.2/sha2/
Dsha2test.pl164 $line = 0;
166 $line++;
191 "file format at line $line of file '$file'\n");
199 "format at line $line of file '$file'\n");
/net-tools-3.7.0/virtual-hub/
DREADME.md55 The `QEMU_PIPE_ID` defined for each zephyr-application represents a line in
56 the connection matrix from `input.csv`. This way the first line and column
58 same way the second line and column from the file refers to the node with
/net-tools-3.7.0/mbedtls-2.4.0/programs/ssl/
Dssl_client1.c72 const char *file, int line, in my_debug() argument
77 mbedtls_fprintf( (FILE *) ctx, "%s:%04d: %s", file, line, str ); in my_debug()
Ddtls_client.c74 const char *file, int line, in my_debug() argument
79 mbedtls_fprintf( (FILE *) ctx, "%s:%04d: %s", file, line, str ); in my_debug()
Dssl_fork_server.c87 const char *file, int line, in my_debug() argument
92 mbedtls_fprintf( (FILE *) ctx, "%s:%04d: %s", file, line, str ); in my_debug()
Dssl_server.c84 const char *file, int line, in my_debug() argument
89 mbedtls_fprintf( (FILE *) ctx, "%s:%04d: %s", file, line, str ); in my_debug()

12