Lines Matching refs:buf
160 char buf[1024]; in php_hash_do_hash() local
163 while ((n = php_stream_read(stream, buf, sizeof(buf))) > 0) { in php_hash_do_hash()
164 ops->hash_update(context, (unsigned char *) buf, n); in php_hash_do_hash()
281 char buf[1024]; in php_hash_do_hash_hmac() local
285 while ((n = php_stream_read(stream, buf, sizeof(buf))) > 0) { in php_hash_do_hash_hmac()
286 ops->hash_update(context, (unsigned char *) buf, n); in php_hash_do_hash_hmac()
439 char buf[1024]; in PHP_FUNCTION() local
446 if ((n = php_stream_read(stream, buf, toread)) <= 0) { in PHP_FUNCTION()
450 hash->ops->hash_update(hash->context, (unsigned char *) buf, n); in PHP_FUNCTION()
467 char *filename, buf[1024]; in PHP_FUNCTION() local
483 while ((n = php_stream_read(stream, buf, sizeof(buf))) > 0) { in PHP_FUNCTION()
484 hash->ops->hash_update(hash->context, (unsigned char *) buf, n); in PHP_FUNCTION()
785 char buf[128]; in mhash_init() local
795 len = slprintf(buf, 127, "MHASH_%s", algorithm.mhash_name, strlen(algorithm.mhash_name)); in mhash_init()
796 …zend_register_long_constant(buf, len + 1, algorithm.value, CONST_CS | CONST_PERSISTENT, module_num… in mhash_init()