Lines Matching refs:field
80 for field in FIELDS:
82 r = field.parse(result)
83 if field.name in prev:
84 results[(file, name)][field.name] = field.acc(
85 [prev[field.name], r])
87 results[(file, name)][field.name] = r
97 fields_dict = {field.name: field for field in FIELDS}
101 for field in FIELDS:
102 if any(field.name in result for result in results.values()):
103 fields.append(field)
108 for field in fields:
109 if field.name in result and field.name in total:
110 total[field.name] = field.acc(
111 [total[field.name], result[field.name]])
112 elif field.name in result:
113 total[field.name] = result[field.name]
125 for field in FIELDS:
127 r = field.parse(result)
128 if field.name in prev:
129 prev_results[(file, name)][field.name] = field.acc(
130 [prev[field.name], r])
132 prev_results[(file, name)][field.name] = r
140 for field in fields:
141 if field.name in result and field.name in prev_total:
142 prev_total[field.name] = field.acc(
143 [prev_total[field.name], result[field.name]])
144 elif field.name in result:
145 prev_total[field.name] = result[field.name]
153 for field in fields:
154 if field.name in result and field.name in prev:
155 entries[entry][field.name] = field.acc(
156 [prev[field.name], result[field.name]])
157 elif field.name in result:
158 entries[entry][field.name] = result[field.name]
163 field = {field.name: field for field in FIELDS}[args['sort']]
165 -(field.key(x[1][field.name])) if field.name in x[1] else -1, x))
167 field = {field.name: field for field in FIELDS}[args['reverse_sort']]
169 +(field.key(x[1][field.name])) if field.name in x[1] else -1, x))
176 for field in fields:
177 print((' '+field.fmt) % field.name, end='')
181 for field in fields:
182 print((' '+field.fmt) % field.name, end='')
188 for field in fields:
189 r = result.get(field.name)
191 print((' '+field.fmt) % field.repr(r), end='')
193 print((' '+field.fmt) % '-', end='')
198 for field in fields:
199 n = new.get(field.name)
201 print((' '+field.fmt) % field.repr(n), end='')
203 print((' '+field.fmt) % '-', end='')
204 o = old.get(field.name)
212 else field.ratio(o, n))