Lines Matching +full:- +full:i
123 mask = 0x7ff & ~((1 << prefix)-1)
128 type, prefix//4, self.type & ((1 << prefix)-1))
173 self.rev, = struct.unpack('<I', block[0:4])
182 while len(block) - off >= 4:
183 ntag, = struct.unpack('>I', block[off:off+4])
222 # id could have change, I know this is messy and slow
240 return not ((other.rev - self.rev) & 0x80000000)
258 tag.id <= gtag.id - gdiff):
259 if tag.is_('create') and tag.id == gtag.id - gdiff:
266 (int(gmask) & int(gtag.chid(gtag.id - gdiff)))):
276 f.write("%-8s %-8s %-13s %4s %4s" % (
283 f.write("%08x: %08x %-13s %4s %4s" % (
287 f.write(" %-23s %-8s\n" % (
293 for i in range(0, len(tag.data), 16):
294 f.write(" %08x: %-47s %-16s\n" % (
295 tag.off+i,
296 ' '.join('%02x' % c for c in tag.data[i:i+16]),
298 for c in map(chr, tag.data[i:i+16]))))
337 ' -> {%#x, %#x}' % struct.unpack('<II', mdir.tail.data)
361 parser.add_argument('-l', '--log', action='store_true',
363 parser.add_argument('-a', '--all', action='store_true',
365 parser.add_argument('-T', '--no-truncate', action='store_true',