Lines Matching refs:fobj
27 def load_data(fobj):
28 header = _TZifHeader.from_file(fobj)
49 fobj.seek(skip_bytes, 1)
53 header = _TZifHeader.from_file(fobj)
62 f">{timecnt}{time_type}", fobj.read(timecnt * time_size)
64 trans_idx = struct.unpack(f">{timecnt}B", fobj.read(timecnt))
72 *(struct.unpack(">lbb", fobj.read(6)) for i in range(typecnt))
84 abbr_chars = fobj.read(charcnt)
111 fobj.seek(skip_bytes, 1)
113 c = fobj.read(1) # Should be \n
117 while (c := fobj.read(1)) != b"\n":