Searched refs:bitindex (Results 1 – 3 of 3) sorted by relevance
52 bitindex = 2; in open()71 bitword |= bitbuf[bitindex++] << bitbit; in read_code()73 if (bitindex >= bufsize) { in read_code()80 bitindex = 0; //newly filled buffer in read_code()110 bitindex = 0; in open()130 bitbuf[bitindex++] = (uinT8) bitword; in write_code()131 if ((bitindex > 0) && in write_code()132 (write (bitfd, (char *) bitbuf, bitindex * sizeof (uinT8)) != in write_code()133 (inT32) (bitindex * sizeof (uinT8)))) { in write_code()143 bitbuf[bitindex++] = (uinT8) bitword; in write_code()[all …]
31 inT32 bitindex; //current byte variable57 inT32 bitindex; //current byte variable
35 inT32 bitindex; //current bit count in hash() local42 bitindex = 0; in hash()46 while (keysize > 0 && bitindex <= 24) { in hash()47 keybits |= *((uinT8 *) key) << bitindex; in hash()49 bitindex += 8; in hash()