Searched refs:bit_mask (Results 1 – 4 of 4) sorted by relevance
176 unsigned char bit_mask=1; in allocate_block() local182 bit_mask*=2; /* Generate the or mask - 1 at the right place */ in allocate_block()183 type_data.u.buffer [byte_offset] |= bit_mask; /* And apply it */ in allocate_block()191 unsigned char bit_mask=1; in deallocate_block() local196 bit_mask*=2; in deallocate_block()197 bit_mask^=0xff; in deallocate_block()199 type_data.u.buffer [byte_offset] &= bit_mask; in deallocate_block()
136 unsigned char bit_mask=1; in allocate_inode() local141 bit_mask*=2; in allocate_inode()142 type_data.u.buffer [byte_offset] |= bit_mask; in allocate_inode()148 unsigned char bit_mask=1; in deallocate_inode() local153 bit_mask*=2; in deallocate_inode()154 bit_mask^=0xff; in deallocate_inode()156 type_data.u.buffer [byte_offset] &= bit_mask; in deallocate_inode()
239 uint8 bit_mask = 0xff; // start with full mask in match_bit_pattern_no_state() local244 bit_mask = bit_pattern_masks[7 - bits_in_fraction]; in match_bit_pattern_no_state()294 if (((*tmp_ptr) & bit_mask) == (pattern[num_bytes] & bit_mask)) in match_bit_pattern_no_state()317 uint8 bit_mask = 0xff; // start with full mask in match_bit_pattern_with_state() local322 bit_mask = bit_pattern_masks[7 - bits_in_fraction]; in match_bit_pattern_with_state()372 if (bits_in_fraction && ((*tmp_ptr & bit_mask) == (pattern[num_bytes] & bit_mask))) in match_bit_pattern_with_state()
1244 int bit_mask; in png_handle_tRNS() local1251 bit_mask = (1 << png_ptr->bit_depth) - 1; in png_handle_tRNS()1281 png_ptr->trans_values.gray = png_get_uint_16(buf) & bit_mask; in png_handle_tRNS()1295 png_ptr->trans_values.red = png_get_uint_16(buf) & bit_mask; in png_handle_tRNS()1296 png_ptr->trans_values.green = png_get_uint_16(buf + 2) & bit_mask; in png_handle_tRNS()1297 png_ptr->trans_values.blue = png_get_uint_16(buf + 4) & bit_mask; in png_handle_tRNS()