Lines Matching refs:count
38 int count;
599 hd->count = 0;
725 if( hd->count == 64 ) /* flush the buffer */
729 hd->count = 0;
734 if( hd->count )
736 for( ; inlen && hd->count < 64; inlen-- )
737 hd->buf[hd->count++] = *inbuf++;
746 hd->count = 0;
752 for( ; inlen && hd->count < 64; inlen-- )
753 hd->buf[hd->count++] = *inbuf++;
770 /* multiply by 64 to make a byte count */
773 /* add the count */
775 if( (lsb += hd->count) < t )
777 /* multiply by 8 to make a bit count */
783 if( hd->count < 56 ) /* enough room */
785 hd->buf[hd->count++] = 0x01; /* pad */
786 while( hd->count < 56 )
787 hd->buf[hd->count++] = 0; /* pad */
791 hd->buf[hd->count++] = 0x01; /* pad character */
792 while( hd->count < 64 )
793 hd->buf[hd->count++] = 0;
797 /* append the 64 bit count */