Lines Matching refs:bitoffset
88 pattern_fill(pattern_t ptn, unsigned char *start, int bitoffset, int count) in pattern_fill() argument
102 bitset((bitoffset+i), ptn >> (3-i) & 1); in pattern_fill()
104 bitset((bitoffset+i), ptn >> 0 & 1); in pattern_fill()
114 bitset((bitoffset+i), ptn >> 3 & 1); in pattern_fill()
116 bitset((bitoffset+i), ptn >> (count-1-i) & 1); in pattern_fill()
118 bitset((bitoffset+i), ptn >> 2 & 1); in pattern_fill()
124 bitset(bitoffset, ptn & 1); in pattern_fill()
126 bitoffset++; in pattern_fill()
128 for (; count > 0; count--, bitoffset++) in pattern_fill()
129 bitset(bitoffset, rand() & 1); in pattern_fill()
135 for (; count > 1; count--, bitoffset++) in pattern_fill()
136 bitset(bitoffset, op ^= (rand() & 1)); in pattern_fill()
137 bitset(bitoffset, op); in pattern_fill()
144 for (; count > 1; count--, bitoffset++) in pattern_fill()
148 bitset(bitoffset, r); in pattern_fill()
150 bitset(bitoffset, rand() & (op ^ 1)); in pattern_fill()