Lines Matching defs:bits
259 char *bits, *hold_bits, *buf, *val_buf, *zero_buf;
266 if ((bits = calloc((nchunks + 7) / 8, 1)) == 0) {
269 "Test broken due to inability of malloc(bits).");
302 * zap bits array
324 memset(bits, 0, (nchunks + 7) / 8);
353 bits[chunk / 8] |= (1 << (chunk % 8));
355 } else if ((bits[chunk / 8] & (1 << (chunk % 8))) == 0) {
377 ft_dumpbits(bits, (nchunks + 7) / 8);
378 ft_orbits(hold_bits, bits,
385 bits[chunk / 8] |= (1 << (chunk % 8));
410 ft_dumpbits(bits, (nchunks + 7) / 8);
411 ft_orbits(hold_bits, bits,
447 ft_orbits(hold_bits, bits, (nchunks + 7) / 8);
448 domisc(me, fd, bits);
472 static void domisc(int me, int fd, char *bits)
506 bits[chunk / 8] &= ~(1 << (chunk % 8));
508 bits[chunk / 8] = 0;