/openssl/crypto/perlasm/ |
H A D | arm-xlate.pl | 99 my $line = join(",",@_); 100 if ($line =~ /^"(.*)"$/) 119 my $line = shift; 122 pos($line)=0; 145 return $line; 148 while(my $line=<>) { 150 if ($line =~ m/^\s*(#|@|\/\/)/) { print $line; next; } 169 if ($line !~ m/^[#@]/) { 183 $line = &$opcode($arg); 185 $line = $c.$mnemonic; [all …]
|
H A D | x86_64-xlate.pl | 167 $$line = substr($$line,@+[0]); $$line =~ s/^\s+//; 245 $$line = substr($$line,@+[0]); $$line =~ s/^\s+//; 292 $$line = substr($$line,@+[0]); $$line =~ s/^\s+//; 395 $$line = substr($$line,@+[0]); $$line =~ s/^\s+//; 433 $$line = substr($$line,@+[0]); $$line =~ s/^\s+//; 500 $$line = substr($$line,@+[0]); $$line =~ s/^\s+//; 784 $$line = substr($$line,@+[0]); $$line =~ s/^\s+//; 788 && do { $globals{$$line} = $prefix . $$line; 789 $$line = $globals{$$line} if ($prefix); 856 $$line = ""; [all …]
|
H A D | ppc-xlate.pl | 116 my $line = join(",",@_); 117 if ($line =~ /^"(.*)"$/) 397 while($line=<>) { 400 $line =~ s|/\*.*\*/||; # ... and C-style comments... 402 $line =~ s|\s+$||; # ... and at the end 406 $line =~ s|\bL(\w+)|\.L$1|g if ($dotinlocallabels); 410 $line =~ s|(^[\.\w]+)\:\s*||; 424 $line =~ s|^\s*(\.?)(\w+)([\.\+\-]?)\s*||; 430 if (ref($opcode) eq 'CODE') { $line = &$opcode($f,split(/,\s*/,$line)); } 431 elsif ($mnemonic) { $line = $c.$mnemonic.$f."\t".$line; } [all …]
|
/openssl/util/ |
H A D | add-depends.pl | 78 my $line = shift; 83 $line =~ s/^\s+//; 84 $line =~ s/\s+$//; 119 my $line = shift; 133 $line =~ s/^\s+//; 134 $line =~ s/\s+$//; 154 my $line = shift; 176 $line =~ s/^\s+//; 181 $line = canonpath($line); 224 my $line = shift; [all …]
|
H A D | find-doc-nits | 339 my $line = $1; 357 $line =~ s/LHASH_OF\([^)]+\)/int/g; 360 $line =~ s/__declspec\([^)]+\)//; 375 if ( $line =~ /env (\S*)=/ ) { 447 next unless $line =~ /^=head/; 448 if ( $line =~ /head1/ ) { 450 if defined $head1{$line}; 451 $head1{$line} = 1; 456 $subheads{$line} = 1; 459 if $line =~ /\.[^\w]/ or $line =~ /\.$/; [all …]
|
H A D | withlibctx.pl | 50 foreach my $line (<$fh>) { 51 chomp($line); 53 if ($line =~ /^(.+)_with_libctx\((.*[^\\])$/) { 70 $line =~ s/_with_libctx/_ex/g; 71 print $line."\n"; 75 $line =~ s/^\s+//; 77 $line =~ s/\s+$//; 78 my @rets = extracttoclose($paramstr.$line); 88 $paramstr .= $line;
|
H A D | check-format.pl | 136 my $line; # current line number 193 $line = 0; 225 my $line = shift; 231 print "$ARGV:$line:$msg:$contents" unless $self_test; 243 report_flexibly($line, $msg, $contents); 467 $line++; 790 my $body_len = $line - $line_body_start - 1; 850 my $blank_line_before = $line > 1 1026 $line_function_start = $line; 1135 my $linediff = $line - $line_before - 1; [all …]
|
/openssl/Configurations/ |
H A D | INTERNALS.Configure | 39 the skip stack should look like after each line is processed: 44 | ... whatever ... | | this line is processed | 46 | ... whatever ... | | this line is processed | 48 | ... whatever ... | | this line is skipped over | 50 | ... whatever ... | | this line is skipped over | 52 | ... whatever ... | | this line is processed | 54 | ... whatever ... | | this line is skipped over | 56 | ... whatever ... | | this line is skipped over | 58 | ... whatever ... | | this line is skipped over | 60 | ... whatever ... | | this line is skipped over | [all …]
|
/openssl/test/testutil/ |
H A D | tests.c | 27 int line, const char *type, in test_fail_message_prefix() argument 41 test_printf_stderr(" @ %s:%d", file, line); in test_fail_message_prefix() 76 int line, const char *type, in test_fail_message_va() argument 80 test_fail_message_prefix(prefix, file, line, type, left, right, op); in test_fail_message_va() 89 int line, const char *type, in test_fail_message() argument 109 void test_info(const char *file, int line, const char *desc, ...) in test_info() argument 128 void test_error(const char *file, int line, const char *desc, ...) in test_error() argument 161 int test_skip(const char *file, int line, const char *desc, ...) in test_skip() argument 262 int test_true(const char *file, int line, const char *s, int b) in test_true() argument 270 int test_false(const char *file, int line, const char *s, int b) in test_false() argument [all …]
|
H A D | tu_local.h | 22 int line, const char *type, 27 int line, const char *type, 33 int line, const char *type, 38 int line, const char *type, 43 int line, const char *type,
|
H A D | format_output.c | 40 int line, const char *type, in test_fail_string_common() argument 52 test_fail_message_prefix(prefix, file, line, type, left, right, op); in test_fail_string_common() 129 int line, const char *type, in test_fail_string_message() argument 134 test_fail_string_common(prefix, file, line, type, left, right, op, in test_fail_string_message() 267 int line, const char *type, in test_fail_bignum_common() argument 281 test_fail_message_prefix(prefix, file, line, type, left, right, op); in test_fail_bignum_common() 368 int line, const char *type, in test_fail_bignum_message() argument 378 int line, const char *type, in test_fail_bignum_mono_message() argument 425 int line, const char *type, in test_fail_memory_common() argument 520 int line, const char *type, in test_fail_memory_message() argument [all …]
|
/openssl/crypto/ |
H A D | mem.c | 177 ptr = malloc_impl(num, file, line); in CRYPTO_malloc() 204 if (file != NULL || line != 0) { in CRYPTO_malloc() 206 ERR_set_debug(file, line, NULL); in CRYPTO_malloc() 216 ret = CRYPTO_malloc(num, file, line); in CRYPTO_zalloc() 232 return CRYPTO_malloc(num, file, line); in CRYPTO_realloc() 235 CRYPTO_free(str, file, line); in CRYPTO_realloc() 248 return CRYPTO_malloc(num, file, line); in CRYPTO_clear_realloc() 261 ret = CRYPTO_malloc(num, file, line); in CRYPTO_clear_realloc() 273 free_impl(str, file, line); in CRYPTO_free() 286 CRYPTO_free(str, file, line); in CRYPTO_clear_free() [all …]
|
/openssl/test/recipes/ |
H A D | 80-test_cmp_http.t | 217 while (my $line = <$data>) { 218 chomp $line; 220 $line =~ s{_CA_DN}{$ca_dn}g; 221 $line =~ s{_SERVER_DN}{$server_dn}g; 224 $line =~ s{_SERVER_TLS}{$server_tls}g; 227 $line =~ s{_KUR_PORT}{$kur_port}g; 228 $line =~ s{_PBM_PORT}{$pbm_port}g; 229 $line =~ s{_PBM_REF}{$pbm_ref}g; 230 $line =~ s{_PBM_SECRET}{$pbm_secret}g; 231 $line =~ s{_RESULT_DIR}{$result_dir}g; [all …]
|
H A D | 40-test_rehash.t | 71 while (my $line = <PEM>) { 72 if ($line =~ m{^-----BEGIN (?:CERTIFICATE|X509 CRL)-----}) { 83 print OUT $line if $writing; 84 if ($line =~ m|^-----END |) {
|
H A D | 02-test_ordinals.t | 29 while (my $line = <$fh>) { 30 my @tokens = split(/(?:\s+|\s*:\s*)/, $line); 33 print STDERR "Invalid line:\n$line\n";
|
/openssl/test/ |
H A D | params_conversion_test.c | 184 static int param_conversion_test(const PARAM_CONVERSION *pc, int line) in param_conversion_test() argument 201 TEST_note("unexpected conversion to int32 on line %d", line); in param_conversion_test() 208 line); in param_conversion_test() 222 TEST_note("unexpected conversion to int64 on line %d", line); in param_conversion_test() 229 line); in param_conversion_test() 243 TEST_note("unexpected conversion to uint32 on line %d", line); in param_conversion_test() 250 line); in param_conversion_test() 271 line); in param_conversion_test() 284 TEST_note("unable to convert to double on line %d", line); in param_conversion_test() 301 TEST_note("unexpected NaN on line %d", line); in param_conversion_test() [all …]
|
H A D | endecode_test.c | 34 #define TEST_FL_ptr(a) test_ptr(file, line, #a, a) 133 typedef int (encoder)(const char *file, const int line, 138 typedef int (decoder)(const char *file, const int line, 142 typedef int (tester)(const char *file, const int line, 145 typedef int (checker)(const char *file, const int line, 152 static int test_encode_decode(const char *file, const int line, in test_encode_decode() argument 463 static int test_text(const char *file, const int line, in test_text() argument 470 static int test_mem(const char *file, const int line, in test_mem() argument 574 static int check_params_DER(const char *file, const int line, in check_params_DER() argument 659 static int check_MSBLOB(const char *file, const int line, in check_MSBLOB() argument [all …]
|
H A D | testutil.h | 306 int test_ptr(const char *file, int line, const char *s, const void *p); 307 int test_ptr_null(const char *file, int line, const char *s, const void *p); 321 int test_strn_eq(const char *file, int line, const char *, const char *, 323 int test_strn_ne(const char *file, int line, const char *, const char *, 343 int test_true(const char *file, int line, const char *s, int b); 344 int test_false(const char *file, int line, const char *s, int b); 360 int test_BN_odd(const char *file, int line, const char *s, const BIGNUM *a); 364 int test_BN_abs_eq_word(const char *file, int line, const char *bns, 371 void test_error(const char *file, int line, const char *desc, ...) 374 void test_info(const char *file, int line, const char *desc, ...) [all …]
|
H A D | errtest.c | 37 const int line = OPENSSL_LINE; in test_print_error_format() local 40 const int line = 0; in test_print_error_format() local 68 ERR_PUT_error(ERR_LIB_SYS, 0, syserr, file, line); in test_print_error_format() 91 errorcode, lib, func, reason, file, line); in test_print_error_format() 154 int line; in raised_error() local 157 line = __LINE__ + 2; /* The error is generated on the ERR_raise_data line */ in raised_error() 164 || !TEST_int_eq(l, line) in raised_error()
|
H A D | danetest.c | 293 char *line; in test_tlsafile() local 298 while (ret > 0 && (line = read_to_eol(f)) != NULL) { in test_tlsafile() 311 if (*line == '\0' || *line == '#') in test_tlsafile() 315 if (sscanf(line, "%d %d %d %d %d%n", in test_tlsafile() 317 || !allws(line + off)) { in test_tlsafile() 333 if ((line = read_to_eol(f)) == NULL || !tlsa_import_rr(ssl, line)) { in test_tlsafile()
|
/openssl/crypto/err/ |
H A D | err.c | 167 const char **file, int *line, 355 unsigned long ERR_get_error_all(const char **file, int *line, in ERR_get_error_all() argument 359 return get_error_values(EV_POP, file, line, func, data, flags); in ERR_get_error_all() 363 unsigned long ERR_get_error_line(const char **file, int *line) in ERR_get_error_line() argument 365 return get_error_values(EV_POP, file, line, NULL, NULL, NULL); in ERR_get_error_line() 368 unsigned long ERR_get_error_line_data(const char **file, int *line, in ERR_get_error_line_data() argument 371 return get_error_values(EV_POP, file, line, NULL, data, flags); in ERR_get_error_line_data() 380 unsigned long ERR_peek_error_line(const char **file, int *line) in ERR_peek_error_line() argument 395 unsigned long ERR_peek_error_all(const char **file, int *line, in ERR_peek_error_all() argument 498 if (line != NULL) in get_error_values() [all …]
|
H A D | err_prn.c | 26 int line, flags; in ERR_print_errors_cb() local 28 while ((l = ERR_get_error_all(&file, &line, &func, &data, &flags)) != 0) { in ERR_print_errors_cb() 42 file, line, data); in ERR_print_errors_cb() 51 const char *file, int line) in put_error() argument 54 ERR_set_debug(file, line, func); in put_error() 63 int line; in ERR_add_error_txt() local 81 ERR_peek_last_error_all(&file, &line, &func, &data, &flags); in ERR_add_error_txt() 129 put_error(ERR_GET_LIB(err), func, err, file, line); in ERR_add_error_txt()
|
/openssl/doc/man3/ |
H A D | ERR_get_error.pod | 21 unsigned long ERR_peek_error_line(const char **file, int *line); 22 unsigned long ERR_peek_last_error_line(const char **file, int *line); 30 unsigned long ERR_get_error_all(const char **file, int *line, 33 unsigned long ERR_peek_error_all(const char **file, int *line, 36 unsigned long ERR_peek_last_error_all(const char **file, int *line, 44 unsigned long ERR_get_error_line(const char **file, int *line); 45 unsigned long ERR_get_error_line_data(const char **file, int *line, 47 unsigned long ERR_peek_error_line_data(const char **file, int *line, 74 An unset line number is indicated as 0. 83 *I<line>, as far as they are not NULL. [all …]
|
/openssl/crypto/cmp/ |
H A D | cmp_util.c | 76 char **func, char **file, int *line) in ossl_cmp_log_parse_metadata() argument 86 *line = 0; in ossl_cmp_log_parse_metadata() 102 *line = (int)line_number; in ossl_cmp_log_parse_metadata() 128 int line, OSSL_CMP_severity level, const char *msg) in OSSL_CMP_print_to_bio() argument 142 file, line) < 0) in OSSL_CMP_print_to_bio() 156 int line, flags; in OSSL_CMP_print_errors_cb() local 158 while ((err = ERR_get_error_all(&file, &line, &func, &data, &flags)) != 0) { in OSSL_CMP_print_errors_cb() 187 OSSL_CMP_print_to_bio(bio, component, file, line, in OSSL_CMP_print_errors_cb() 195 if (log_fn(component, file, line, OSSL_CMP_LOG_ERR, msg) <= 0) in OSSL_CMP_print_errors_cb()
|
/openssl/providers/fips/ |
H A D | fipsprov.c | 765 c_set_error_debug(NULL, file, line, func); in ERR_set_debug() 817 return c_CRYPTO_malloc(num, file, line); in CRYPTO_malloc() 822 return c_CRYPTO_zalloc(num, file, line); in CRYPTO_zalloc() 827 c_CRYPTO_free(ptr, file, line); in CRYPTO_free() 832 c_CRYPTO_clear_free(ptr, num, file, line); in CRYPTO_clear_free() 837 return c_CRYPTO_realloc(addr, num, file, line); in CRYPTO_realloc() 841 const char *file, int line) in CRYPTO_clear_realloc() argument 848 return c_CRYPTO_secure_malloc(num, file, line); in CRYPTO_secure_malloc() 853 return c_CRYPTO_secure_zalloc(num, file, line); in CRYPTO_secure_zalloc() 858 c_CRYPTO_secure_free(ptr, file, line); in CRYPTO_secure_free() [all …]
|