Lines Matching refs:algorithm

653 		struct mhash_bc_entry algorithm = mhash_to_hash[algo_number];  in mhash_init()  local
654 if (algorithm.mhash_name == NULL) { in mhash_init()
658 len = slprintf(buf, 127, "MHASH_%s", algorithm.mhash_name, strlen(algorithm.mhash_name)); in mhash_init()
659 …zend_register_long_constant(buf, len + 1, algorithm.value, CONST_CS | CONST_PERSISTENT, module_num… in mhash_init()
669 long algorithm; in PHP_FUNCTION() local
677 algorithm = Z_LVAL_PP(z_algorithm); in PHP_FUNCTION()
680 if (algorithm >= 0 && algorithm < MHASH_NUM_ALGOS) { in PHP_FUNCTION()
681 struct mhash_bc_entry algorithm_lookup = mhash_to_hash[algorithm]; in PHP_FUNCTION()
701 long algorithm; in PHP_FUNCTION() local
703 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &algorithm) == FAILURE) { in PHP_FUNCTION()
707 if (algorithm >= 0 && algorithm < MHASH_NUM_ALGOS) { in PHP_FUNCTION()
708 struct mhash_bc_entry algorithm_lookup = mhash_to_hash[algorithm]; in PHP_FUNCTION()
732 long algorithm; in PHP_FUNCTION() local
734 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &algorithm) == FAILURE) { in PHP_FUNCTION()
739 if (algorithm >= 0 && algorithm < MHASH_NUM_ALGOS) { in PHP_FUNCTION()
740 struct mhash_bc_entry algorithm_lookup = mhash_to_hash[algorithm]; in PHP_FUNCTION()
757 long algorithm, l_bytes; in PHP_FUNCTION() local
763 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lssl", &algorithm, &password, &password_len,… in PHP_FUNCTION()
782 if (algorithm >= 0 && algorithm < MHASH_NUM_ALGOS) { in PHP_FUNCTION()
783 struct mhash_bc_entry algorithm_lookup = mhash_to_hash[algorithm]; in PHP_FUNCTION()