Home
last modified time | relevance | path

Searched refs:check_sizeof (Results 1 – 11 of 11) sorted by relevance

/third_party/python/Lib/test/
Dtest_xml_etree_c.py219 check_sizeof = support.check_sizeof variable in SizeofTest
223 self.check_sizeof(e, self.elementsize)
227 self.check_sizeof(e, self.elementsize + self.extra)
234 self.check_sizeof(e, self.elementsize + self.extra +
Dtest_struct.py561 def check_sizeof(self, format_str, number_of_codes): member in StructTest
566 support.check_sizeof(self, struct.Struct(format_str), totalsize)
571 self.check_sizeof(code, 1)
572 self.check_sizeof('BHILfdspP', 9)
573 self.check_sizeof('B' * 1234, 1234)
574 self.check_sizeof('fd', 2)
575 self.check_sizeof('xxxxxxxxxxxxxx', 0)
576 self.check_sizeof('100H', 1)
577 self.check_sizeof('187s', 1)
578 self.check_sizeof('20p', 1)
[all …]
Dtest_pickle.py275 check_sizeof = support.check_sizeof variable in SizeofTests
283 check = self.check_sizeof
299 check = self.check_sizeof
Dtest_ordered_dict.py745 check_sizeof = support.check_sizeof variable in CPythonOrderedDictTests
752 check = self.check_sizeof
Dtest_sys.py1141 check_sizeof = test.support.check_sizeof variable in SizeofTest
1193 check = self.check_sizeof
1488 check = self.check_sizeof
Dtest_memoryio.py754 check_sizeof = support.check_sizeof variable in CBytesIOTest
759 check = self.check_sizeof
Dtest_deque.py740 check_sizeof = support.check_sizeof variable in TestBasic
748 check = self.check_sizeof
Dtest_itertools.py2248 check_sizeof = support.check_sizeof variable in SizeofTest
2252 check = self.check_sizeof
2258 check = self.check_sizeof
2265 check = self.check_sizeof
2271 check = self.check_sizeof
Dtest_array.py1128 support.check_sizeof(self, a, basesize + buffer_size)
1134 support.check_sizeof(self, a, basesize)
Dtest_buffer.py2498 check_sizeof = support.check_sizeof variable in TestBufferProtocol
2501 check = self.check_sizeof
/third_party/python/Lib/test/support/
D__init__.py675 def check_sizeof(test, o, size): function