Lines Matching refs:arg_num

520 static void php_openssl_check_path_error(uint32_t arg_num, int type, const char *format, ...)  in php_openssl_check_path_error()  argument
528 zend_argument_error_variadic(zend_ce_value_error, arg_num, format, va); in php_openssl_check_path_error()
530 arg_name = get_active_function_arg_name(arg_num); in php_openssl_check_path_error()
538 const char *file_path, size_t file_path_len, char *real_path, uint32_t arg_num, in php_openssl_check_path_ex() argument
571 if (arg_num == 0) { in php_openssl_check_path_ex()
578 arg_num, error_type, "option %s array item %s", option_name, error_msg); in php_openssl_check_path_ex()
580 php_openssl_check_path_error(arg_num, error_type, "array item %s", error_msg); in php_openssl_check_path_ex()
583 arg_num, error_type, "option %s %s", option_name, error_msg); in php_openssl_check_path_ex()
585 php_openssl_check_path_error(arg_num, error_type, "%s", error_msg); in php_openssl_check_path_ex()
636 zend_object *cert_obj, zend_string *cert_str, uint32_t arg_num);
638 zval *val, bool *free_cert, uint32_t arg_num, bool is_from_array, const char *option_name);
640 zend_object *csr_obj, zend_string *csr_str, uint32_t arg_num);
642 zval *val, int public_key, char *passphrase, size_t passphrase_len, uint32_t arg_num);
644 static X509_STORE * php_openssl_setup_verify(zval * calist, uint32_t arg_num);
646 char *cert_file, size_t cert_file_len, uint32_t arg_num);
1433 zend_string *cert_str, uint32_t arg_num, bool is_from_array, const char *option_name) { in php_openssl_x509_from_str() argument
1439 …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()
1482 zend_object *cert_obj, zend_string *cert_str, uint32_t arg_num) { in php_openssl_x509_from_param() argument
1489 return php_openssl_x509_from_str(cert_str, arg_num, false, NULL); in php_openssl_x509_from_param()
1494 zval *val, bool *free_cert, uint32_t arg_num, bool is_from_array, const char *option_name) in php_openssl_x509_from_zval() argument
1508 return php_openssl_x509_from_str(Z_STR_P(val), arg_num, is_from_array, option_name); in php_openssl_x509_from_zval()
2245 char *cert_file, size_t cert_file_len, uint32_t arg_num) in STACK_OF()
2259 if (!php_openssl_check_path(cert_file, cert_file_len, cert_path, arg_num)) { in STACK_OF()
2396 static X509_STORE *php_openssl_setup_verify(zval *calist, uint32_t arg_num) in php_openssl_setup_verify() argument
2419 if (!php_openssl_check_path_str_ex(str, file_path, arg_num, false, true, NULL)) { in php_openssl_setup_verify()
2516 static STACK_OF(X509) *php_array_to_X509_sk(zval * zcerts, uint32_t arg_num, const char *option_nam… in STACK_OF()
2528 cert = php_openssl_x509_from_zval(zcertval, &free_cert, arg_num, true, option_name); in STACK_OF()
2547 cert = php_openssl_x509_from_zval(zcerts, &free_cert, arg_num, false, option_name); in STACK_OF()
3047 static X509_REQ *php_openssl_csr_from_str(zend_string *csr_str, uint32_t arg_num) in php_openssl_csr_from_str() argument
3054 if (!php_openssl_check_path_str(csr_str, file_path, arg_num)) { in php_openssl_csr_from_str()
3078 zend_object *csr_obj, zend_string *csr_str, uint32_t arg_num) in php_openssl_csr_from_param() argument
3086 return php_openssl_csr_from_str(csr_str, arg_num); in php_openssl_csr_from_param()
3566 zval *val, int public_key, char *passphrase, size_t passphrase_len, uint32_t arg_num) in php_openssl_pkey_from_zval() argument
3649 if (!php_openssl_check_path_str(Z_STR_P(val), file_path, arg_num)) { in php_openssl_pkey_from_zval()
3657 cert = php_openssl_x509_from_str(Z_STR_P(val), arg_num, false, NULL); in php_openssl_pkey_from_zval()
5405 const char *filename, size_t filename_len, uint32_t arg_num, const char *mode) { in php_openssl_bio_new_file() argument
5409 if (!php_openssl_check_path(filename, filename_len, file_path, arg_num)) { in php_openssl_bio_new_file()