Lines Matching refs:diff
937 diff = new.get(name, 0) - old.get(name, 0)
938 if diff > 0:
939 grow, up = grow + 1, up + diff
940 elif diff < 0:
941 shrink, down = shrink + 1, down - diff
942 delta.append([diff, name])
956 for diff, name in delta:
957 if diff:
958 color = self.col.RED if diff > 0 else self.col.GREEN
960 old.get(name, '-'), new.get(name,'-'), diff)
979 diff = result[name]
982 if diff != 0:
983 color = self.col.RED if diff > 0 else self.col.GREEN
984 msg = ' %s %+d' % (name, diff)
1047 diff = sizes[image][part] - base_image[part]
1049 if diff:
1054 err[name] = diff
1074 for name, diff in result.items():
1077 total += diff
1079 totals[name] += diff
1081 totals[name] = diff
1088 diff = totals[name]
1089 if diff:
1092 avg_diff = float(diff) / count