Home
last modified time | relevance | path

Searched refs:counts (Results 1 – 25 of 29) sorted by relevance

12

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_setcomps.py143 counts = [None] * 5
144 for i in range(len(counts)):
147 counts[i] = sys.gettotalrefcount()
148 print(counts)
Dtest_dictcomps.py46 counts = [None] * 5
47 for i in range(len(counts)):
50 counts[i] = sys.gettotalrefcount()
51 print(counts)
Dtest_genexps.py274 counts = [None] * 5
275 for i in xrange(len(counts)):
278 counts[i] = sys.gettotalrefcount()
279 print counts
Dtest_decorators.py40 def countcalls(counts): argument
44 counts[func_name] = 0
46 counts[func_name] += 1
128 counts = {}
131 @countcalls(counts)
136 self.assertEqual(counts, dict(double=0))
141 self.assertEqual(counts['double'], 1)
143 self.assertEqual(counts['double'], 1)
145 self.assertEqual(counts['double'], 2)
150 self.assertEqual(counts['double'], 3)
[all …]
Dtest_list.py69 counts = [None] * 5
70 for i in xrange(len(counts)):
73 counts[i] = sys.gettotalrefcount()
74 print counts
Dtest_trace.py118 self.assertEqual(self.tracer.results().counts, expected)
130 self.assertEqual(self.tracer.results().counts, expected)
142 self.assertEqual(self.tracer.results().counts, expected)
157 self.assertEqual(self.tracer.results().counts, expected)
170 self.assertEqual(self.tracer.results().counts, expected)
187 self.assertEqual(tracer.results().counts, expected)
213 self.assertEqual(self.tracer.results().counts[k], expected[k])
Dtest_peepholer.py235 counts = [None] * 5
236 for i in xrange(len(counts)):
239 counts[i] = sys.gettotalrefcount()
240 print counts
Dtest_sort.py284 counts = [None] * 5
285 for i in xrange(len(counts)):
288 counts[i] = sys.gettotalrefcount()
289 print counts
Dtest_enumerate.py248 counts = [None] * 5
249 for i in xrange(len(counts)):
251 counts[i] = sys.gettotalrefcount()
252 print counts
Dtest_bisect.py309 counts = [None] * 5
310 for i in xrange(len(counts)):
313 counts[i] = sys.gettotalrefcount()
314 print counts
Dtest_heapq.py385 counts = [None] * 5
386 for i in xrange(len(counts)):
389 counts[i] = sys.gettotalrefcount()
390 print counts
Dtest_functools.py470 counts = [None] * 5
471 for i in xrange(len(counts)):
474 counts[i] = sys.gettotalrefcount()
475 print counts
Dtest_random.py565 counts = [None] * 5
566 for i in xrange(len(counts)):
568 counts[i] = sys.gettotalrefcount()
569 print counts
Dtest_operator.py524 counts = [None] * 5
525 for i in xrange(len(counts)):
528 counts[i] = sys.gettotalrefcount()
529 print counts
Dtest_deque.py775 counts = [None] * 5
776 for i in xrange(len(counts)):
779 counts[i] = sys.gettotalrefcount()
780 print counts
Dtest_array.py1087 counts = [None] * 5
1088 for i in xrange(len(counts)):
1091 counts[i] = sys.gettotalrefcount()
1092 print counts
Dtest_builtin.py1699 counts = [None] * 5
1700 for i in xrange(len(counts)):
1703 counts[i] = sys.gettotalrefcount()
1704 print counts
Dtest_itertools.py1639 counts = [None] * 5
1640 for i in xrange(len(counts)):
1643 counts[i] = sys.gettotalrefcount()
1644 print counts
Dtest_set.py1773 counts = [None] * 5
1774 for i in xrange(len(counts)):
1777 counts[i] = sys.gettotalrefcount()
1778 print counts
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dtrace.py222 def __init__(self, counts=None, calledfuncs=None, infile=None, argument
224 self.counts = counts
225 if self.counts is None:
226 self.counts = {}
227 self.counter = self.counts.copy() # map (filename, lineno) to count
241 counts, calledfuncs, callers = \
243 self.update(self.__class__(counts, calledfuncs, callers))
250 counts = self.counts
253 other_counts = other.counts
258 counts[key] = counts.get(key, 0) + other_counts[key]
[all …]
Dzipfile.py374 counts = unpack('<QQQ', extra[4:28])
376 counts = unpack('<QQ', extra[4:20])
378 counts = unpack('<Q', extra[4:12])
380 counts = ()
388 self.file_size = counts[idx]
392 self.compress_size = counts[idx]
397 self.header_offset = counts[idx]
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
Dres_mkupdate.c118 int section, numrrs = 0, counts[ns_s_max]; in res_mkupdate() local
150 memset(counts, 0, sizeof counts); in res_mkupdate()
156 counts[section]++; in res_mkupdate()
158 if (counts[i]) in res_mkupdate()
354 hp->qdcount = htons(counts[0]); in res_mkupdate()
355 hp->ancount = htons(counts[1]); in res_mkupdate()
356 hp->nscount = htons(counts[2]); in res_mkupdate()
357 hp->arcount = htons(counts[3]); in res_mkupdate()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dzipfile.py391 counts = unpack('<QQQ', extra[4:28])
393 counts = unpack('<QQ', extra[4:20])
395 counts = unpack('<Q', extra[4:12])
397 counts = ()
405 self.file_size = counts[idx]
409 self.compress_size = counts[idx]
414 self.header_offset = counts[idx]
/device/linaro/bootloader/edk2/PerformancePkg/Dp_App/
DDpStrings.uni86 #string STR_DP_TIMER_PROPERTIES #language en-US "System Performance Timer counts %s from 0x…
87 … #language fr-FR "System Performance Timer counts %s from 0x%Lx to 0x%Lx\n"
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiDpLib/
DUefiDpLib.uni40 #string STR_DP_TIMER_PROPERTIES #language en-US "System Performance Timer counts %s from 0x…

12