Searched refs:buffer_length (Results 1 – 2 of 2) sorted by relevance
/coreutils/src/blake2/ |
D | b2sum.c | 38 static const size_t buffer_length = 32768; 39 uint8_t *buffer = ( uint8_t * )malloc( buffer_length ); 51 n = fread( buffer + sum, 1, buffer_length - sum, stream ); 54 if( buffer_length == sum ) 69 blake2s_update( S, buffer, buffer_length ); 89 static const size_t buffer_length = 32768; in blake2b_stream() local 90 uint8_t *buffer = ( uint8_t * )malloc( buffer_length ); in blake2b_stream() 102 n = fread( buffer + sum, 1, buffer_length - sum, stream ); in blake2b_stream() 105 if( buffer_length == sum ) in blake2b_stream() 120 blake2b_update( S, buffer, buffer_length ); in blake2b_stream() [all …]
|
/coreutils/src/ |
D | sum.c | 46 static const size_t buffer_length = 32768; in bsd_sum_stream() local 47 uint8_t *buffer = malloc (buffer_length); in bsd_sum_stream() 60 n = fread (buffer + sum, 1, buffer_length - sum, stream); in bsd_sum_stream() 63 if (buffer_length == sum) in bsd_sum_stream() 123 static const size_t buffer_length = 32768; in sysv_sum_stream() local 124 uint8_t *buffer = malloc (buffer_length); in sysv_sum_stream() 140 n = fread (buffer + sum, 1, buffer_length - sum, stream); in sysv_sum_stream() 143 if (buffer_length == sum) in sysv_sum_stream()
|