Lines Matching refs:line
43 line = fd.readline()
44 if not line:
47 if line[0] == '#' or line[0] == '\n':
50 m = reg.match(line)
125 line = sys.stdin.read(struct.calcsize(HDRREC))
126 if not line:
128 event = struct.unpack(HDRREC, line)[0]
143 line = sys.stdin.read(struct.calcsize(TSCREC))
144 if not line:
146 tsc = struct.unpack(TSCREC, line)[0]
149 line = sys.stdin.read(struct.calcsize(D1REC))
150 if not line:
152 d1 = struct.unpack(D1REC, line)[0]
154 line = sys.stdin.read(struct.calcsize(D2REC))
155 if not line:
157 (d1, d2) = struct.unpack(D2REC, line)
159 line = sys.stdin.read(struct.calcsize(D3REC))
160 if not line:
162 (d1, d2, d3) = struct.unpack(D3REC, line)
164 line = sys.stdin.read(struct.calcsize(D4REC))
165 if not line:
167 (d1, d2, d3, d4) = struct.unpack(D4REC, line)
169 line = sys.stdin.read(struct.calcsize(D5REC))
170 if not line:
172 (d1, d2, d3, d4, d5) = struct.unpack(D5REC, line)
174 line = sys.stdin.read(struct.calcsize(D6REC))
175 if not line:
177 (d1, d2, d3, d4, d5, d6) = struct.unpack(D6REC, line)
179 line = sys.stdin.read(struct.calcsize(D7REC))
180 if not line:
182 (d1, d2, d3, d4, d5, d6, d7) = struct.unpack(D7REC, line)