Lines Matching refs:algorithm

830 		struct mhash_bc_entry algorithm = mhash_to_hash[algo_number];  in mhash_init()  local
831 if (algorithm.mhash_name == NULL) { in mhash_init()
835 len = slprintf(buf, 127, "MHASH_%s", algorithm.mhash_name, strlen(algorithm.mhash_name)); in mhash_init()
836 …zend_register_long_constant(buf, len + 1, algorithm.value, CONST_CS | CONST_PERSISTENT, module_num… in mhash_init()
846 long algorithm; in PHP_FUNCTION() local
854 algorithm = Z_LVAL_PP(z_algorithm); in PHP_FUNCTION()
857 if (algorithm >= 0 && algorithm < MHASH_NUM_ALGOS) { in PHP_FUNCTION()
858 struct mhash_bc_entry algorithm_lookup = mhash_to_hash[algorithm]; in PHP_FUNCTION()
878 long algorithm; in PHP_FUNCTION() local
880 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &algorithm) == FAILURE) { in PHP_FUNCTION()
884 if (algorithm >= 0 && algorithm < MHASH_NUM_ALGOS) { in PHP_FUNCTION()
885 struct mhash_bc_entry algorithm_lookup = mhash_to_hash[algorithm]; in PHP_FUNCTION()
909 long algorithm; in PHP_FUNCTION() local
911 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &algorithm) == FAILURE) { in PHP_FUNCTION()
916 if (algorithm >= 0 && algorithm < MHASH_NUM_ALGOS) { in PHP_FUNCTION()
917 struct mhash_bc_entry algorithm_lookup = mhash_to_hash[algorithm]; in PHP_FUNCTION()
934 long algorithm, l_bytes; in PHP_FUNCTION() local
940 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lssl", &algorithm, &password, &password_len,… in PHP_FUNCTION()
959 if (algorithm >= 0 && algorithm < MHASH_NUM_ALGOS) { in PHP_FUNCTION()
960 struct mhash_bc_entry algorithm_lookup = mhash_to_hash[algorithm]; in PHP_FUNCTION()