Lines Matching refs:length

207 …char(unsigned char *out, const unsigned char *in, const unsigned char xor_with, const int length) {  in php_hash_string_xor_char()  argument
209 for (i=0; i < length; i++) { in php_hash_string_xor_char()
214 …xor(unsigned char *out, const unsigned char *in, const unsigned char *xor_with, const int length) { in php_hash_string_xor() argument
216 for (i=0; i < length; i++) { in php_hash_string_xor()
429 long length = -1, didread = 0; in PHP_FUNCTION() local
431 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rr|l", &zhash, &zstream, &length) == FAILURE… in PHP_FUNCTION()
438 while (length) { in PHP_FUNCTION()
442 if (length > 0 && toread > length) { in PHP_FUNCTION()
443 toread = length; in PHP_FUNCTION()
451 length -= n; in PHP_FUNCTION()
619 long loops, i, j, iterations, length = 0, digest_length; in PHP_FUNCTION() local
625 …lb", &algo, &algo_len, &pass, &pass_len, &salt, &salt_len, &iterations, &length, &raw_output) == F… in PHP_FUNCTION()
640 if (length < 0) { in PHP_FUNCTION()
641 …_error_docref(NULL TSRMLS_CC, E_WARNING, "Length must be greater than or equal to 0: %ld", length); in PHP_FUNCTION()
664 if (length == 0) { in PHP_FUNCTION()
665 length = ops->digest_size; in PHP_FUNCTION()
667 length = length * 2; in PHP_FUNCTION()
670 digest_length = length; in PHP_FUNCTION()
672 digest_length = (long) ceil((float) length / 2.0); in PHP_FUNCTION()
724 returnval = safe_emalloc(length, 1, 1); in PHP_FUNCTION()
726 memcpy(returnval, result, length); in PHP_FUNCTION()
730 returnval[length] = 0; in PHP_FUNCTION()
732 RETURN_STRINGL(returnval, length, 0); in PHP_FUNCTION()
1127 ZEND_ARG_INFO(0, length)
1153 ZEND_ARG_INFO(0, length)