Lines Matching refs:count
13 count = 0
15 count = open(persistoutput, 'r').read()
18 count = int(count) + 1
22 if count > max_count:
23 count = max_count
31 # Save the count in a file that is undeclared, and thus hidden, to gyp. We need
33 # any declared outputs, so we would lose our count if we just wrote to the
35 open(persistoutput, 'w').write('%d' % (count))
37 # Only write the given output file if the count has changed.
38 if int(oldcount) != count:
39 open(output, 'w').write('%d' % (count))