Lines Matching refs:rec
105 rec = script_data[idx]
106 rec[2] = low
107 rec[3] = high
110 rec = script_data[idx]
111 if rec[2] > low:
112 rec[2] = low
113 if rec[3] < high:
114 rec[3] = high
116 if rec[4] == None:
120 rec[4] = idx
125 for idx, rec in enumerate(script_data):
135 write_both(" %s\n" % to_string_char(rec[0]))
136 output_file.write(" 0: %s\n" % to_string_char(rec[0]))
140 write_both(" %s\n" % to_string_char(rec[1]))
141 output_file.write(" 0: %s\n" % to_string_char(rec[1]))
144 if rec[2] != None:
151 write_both(" %s\n" % to_string_char(rec[2]))
152 output_file.write(" 0: %s\n" % to_string_char(rec[2]))
156 write_both(" %s\n" % to_string_char(rec[3]))
157 output_file.write(" 0: %s\n" % to_string_char(rec[3]))
162 if rec[4] != None:
165 write_both(" %s\n" % to_string_char(rec[4]))
166 output_file.write(" 0: %s\n" % to_string_char(rec[4]))
170 write_both(" %s\n" % to_string_char(rec[4]))
176 high = rec[1]
177 if rec[3] != None and rec[3] > rec[1]:
178 high = rec[3]