byte_offset 111 source3/lib/ldb/common/ldb_ldif.c int bit_offset=0, byte_offset, idx, i, n; byte_offset 119 source3/lib/ldb/common/ldb_ldif.c byte_offset = (i*6)/8; byte_offset 121 source3/lib/ldb/common/ldb_ldif.c d[byte_offset] &= ~((1<<(8-bit_offset))-1); byte_offset 123 source3/lib/ldb/common/ldb_ldif.c d[byte_offset] |= (idx << (2-bit_offset)); byte_offset 124 source3/lib/ldb/common/ldb_ldif.c n = byte_offset+1; byte_offset 126 source3/lib/ldb/common/ldb_ldif.c d[byte_offset] |= (idx >> (bit_offset-2)); byte_offset 127 source3/lib/ldb/common/ldb_ldif.c d[byte_offset+1] = 0; byte_offset 128 source3/lib/ldb/common/ldb_ldif.c d[byte_offset+1] |= (idx << (8-(bit_offset-2))) & 0xFF; byte_offset 129 source3/lib/ldb/common/ldb_ldif.c n = byte_offset+2; byte_offset 157 source3/lib/ldb/common/ldb_ldif.c int bit_offset, byte_offset, idx, i; byte_offset 166 source3/lib/ldb/common/ldb_ldif.c byte_offset = (i*6)/8; byte_offset 169 source3/lib/ldb/common/ldb_ldif.c idx = (d[byte_offset] >> (2-bit_offset)) & 0x3F; byte_offset 171 source3/lib/ldb/common/ldb_ldif.c idx = (d[byte_offset] << (bit_offset-2)) & 0x3F; byte_offset 172 source3/lib/ldb/common/ldb_ldif.c if (byte_offset+1 < len) { byte_offset 173 source3/lib/ldb/common/ldb_ldif.c idx |= (d[byte_offset+1] >> (8-(bit_offset-2))); byte_offset 1857 source3/lib/util_str.c int bit_offset, byte_offset, idx, i, n; byte_offset 1866 source3/lib/util_str.c byte_offset = (i*6)/8; byte_offset 1868 source3/lib/util_str.c d[byte_offset] &= ~((1<<(8-bit_offset))-1); byte_offset 1870 source3/lib/util_str.c d[byte_offset] |= (idx << (2-bit_offset)); byte_offset 1871 source3/lib/util_str.c n = byte_offset+1; byte_offset 1873 source3/lib/util_str.c d[byte_offset] |= (idx >> (bit_offset-2)); byte_offset 1874 source3/lib/util_str.c d[byte_offset+1] = 0; byte_offset 1875 source3/lib/util_str.c d[byte_offset+1] |= (idx << (8-(bit_offset-2))) & 0xFF; byte_offset 1876 source3/lib/util_str.c n = byte_offset+2; byte_offset 110 source4/lib/ldb/common/ldb_ldif.c int bit_offset=0, byte_offset, idx, i, n; byte_offset 118 source4/lib/ldb/common/ldb_ldif.c byte_offset = (i*6)/8; byte_offset 120 source4/lib/ldb/common/ldb_ldif.c d[byte_offset] &= ~((1<<(8-bit_offset))-1); byte_offset 122 source4/lib/ldb/common/ldb_ldif.c d[byte_offset] |= (idx << (2-bit_offset)); byte_offset 123 source4/lib/ldb/common/ldb_ldif.c n = byte_offset+1; byte_offset 125 source4/lib/ldb/common/ldb_ldif.c d[byte_offset] |= (idx >> (bit_offset-2)); byte_offset 126 source4/lib/ldb/common/ldb_ldif.c d[byte_offset+1] = 0; byte_offset 127 source4/lib/ldb/common/ldb_ldif.c d[byte_offset+1] |= (idx << (8-(bit_offset-2))) & 0xFF; byte_offset 128 source4/lib/ldb/common/ldb_ldif.c n = byte_offset+2; byte_offset 156 source4/lib/ldb/common/ldb_ldif.c int bit_offset, byte_offset, idx, i; byte_offset 165 source4/lib/ldb/common/ldb_ldif.c byte_offset = (i*6)/8; byte_offset 168 source4/lib/ldb/common/ldb_ldif.c idx = (d[byte_offset] >> (2-bit_offset)) & 0x3F; byte_offset 170 source4/lib/ldb/common/ldb_ldif.c idx = (d[byte_offset] << (bit_offset-2)) & 0x3F; byte_offset 171 source4/lib/ldb/common/ldb_ldif.c if (byte_offset+1 < len) { byte_offset 172 source4/lib/ldb/common/ldb_ldif.c idx |= (d[byte_offset+1] >> (8-(bit_offset-2)));