Lines Matching refs:arg_num

478 static void php_openssl_check_path_error(uint32_t arg_num, int type, const char *format, ...)  in php_openssl_check_path_error()  argument
486 zend_argument_error_variadic(zend_ce_value_error, arg_num, format, va); in php_openssl_check_path_error()
488 arg_name = get_active_function_arg_name(arg_num); in php_openssl_check_path_error()
496 const char *file_path, size_t file_path_len, char *real_path, uint32_t arg_num, in php_openssl_check_path_ex() argument
529 if (arg_num == 0) { in php_openssl_check_path_ex()
536 arg_num, error_type, "option %s array item %s", option_name, error_msg); in php_openssl_check_path_ex()
538 php_openssl_check_path_error(arg_num, error_type, "array item %s", error_msg); in php_openssl_check_path_ex()
541 arg_num, error_type, "option %s %s", option_name, error_msg); in php_openssl_check_path_ex()
543 php_openssl_check_path_error(arg_num, error_type, "%s", error_msg); in php_openssl_check_path_ex()
554 const char *file_path, size_t file_path_len, char *real_path, uint32_t arg_num) in php_openssl_check_path() argument
557 file_path, file_path_len, real_path, arg_num, false, false, NULL); in php_openssl_check_path()
562 zend_string *file_path, char *real_path, uint32_t arg_num, in php_openssl_check_path_str_ex() argument
566 ZSTR_VAL(file_path), ZSTR_LEN(file_path), real_path, arg_num, contains_file_protocol, in php_openssl_check_path_str_ex()
572 zend_string *file_path, char *real_path, uint32_t arg_num) in php_openssl_check_path_str() argument
574 return php_openssl_check_path_str_ex(file_path, real_path, arg_num, true, false, NULL); in php_openssl_check_path_str()
619 zend_object *cert_obj, zend_string *cert_str, uint32_t arg_num);
621 zval *val, bool *free_cert, uint32_t arg_num, bool is_from_array, const char *option_name);
623 zend_object *csr_obj, zend_string *csr_str, uint32_t arg_num);
625 zval *val, int public_key, char *passphrase, size_t passphrase_len, uint32_t arg_num);
627 static X509_STORE * php_openssl_setup_verify(zval * calist, uint32_t arg_num);
629 char *cert_file, size_t cert_file_len, uint32_t arg_num);
1505 zend_string *cert_str, uint32_t arg_num, bool is_from_array, const char *option_name) { in php_openssl_x509_from_str() argument
1511 …if (!php_openssl_check_path_str_ex(cert_str, cert_path, arg_num, true, is_from_array, option_name)… in php_openssl_x509_from_str()
1554 zend_object *cert_obj, zend_string *cert_str, uint32_t arg_num) { in php_openssl_x509_from_param() argument
1561 return php_openssl_x509_from_str(cert_str, arg_num, false, NULL); in php_openssl_x509_from_param()
1566 zval *val, bool *free_cert, uint32_t arg_num, bool is_from_array, const char *option_name) in php_openssl_x509_from_zval() argument
1580 return php_openssl_x509_from_str(Z_STR_P(val), arg_num, is_from_array, option_name); in php_openssl_x509_from_zval()
2320 char *cert_file, size_t cert_file_len, uint32_t arg_num) in STACK_OF()
2334 if (!php_openssl_check_path(cert_file, cert_file_len, cert_path, arg_num)) { in STACK_OF()
2471 static X509_STORE *php_openssl_setup_verify(zval *calist, uint32_t arg_num) in php_openssl_setup_verify() argument
2494 if (!php_openssl_check_path_str_ex(str, file_path, arg_num, false, true, NULL)) { in php_openssl_setup_verify()
2591 static STACK_OF(X509) *php_array_to_X509_sk(zval * zcerts, uint32_t arg_num, const char *option_nam… in STACK_OF()
2603 cert = php_openssl_x509_from_zval(zcertval, &free_cert, arg_num, true, option_name); in STACK_OF()
2622 cert = php_openssl_x509_from_zval(zcerts, &free_cert, arg_num, false, option_name); in STACK_OF()
3111 static X509_REQ *php_openssl_csr_from_str(zend_string *csr_str, uint32_t arg_num) in php_openssl_csr_from_str() argument
3118 if (!php_openssl_check_path_str(csr_str, file_path, arg_num)) { in php_openssl_csr_from_str()
3142 zend_object *csr_obj, zend_string *csr_str, uint32_t arg_num) in php_openssl_csr_from_param() argument
3150 return php_openssl_csr_from_str(csr_str, arg_num); in php_openssl_csr_from_param()
3603 zval *val, int public_key, char *passphrase, size_t passphrase_len, uint32_t arg_num) in php_openssl_pkey_from_zval() argument
3686 if (!php_openssl_check_path_str(Z_STR_P(val), file_path, arg_num)) { in php_openssl_pkey_from_zval()
3693 cert = php_openssl_x509_from_str(Z_STR_P(val), arg_num, false, NULL); in php_openssl_pkey_from_zval()
5280 const char *filename, size_t filename_len, uint32_t arg_num, const char *mode) { in php_openssl_bio_new_file() argument
5284 if (!php_openssl_check_path(filename, filename_len, file_path, arg_num)) { in php_openssl_bio_new_file()