Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/
Dtest_xml_etree_c.py207 check_sizeof = support.check_sizeof variable in SizeofTest
211 self.check_sizeof(e, self.elementsize)
215 self.check_sizeof(e, self.elementsize + self.extra)
222 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.py272 check_sizeof = support.check_sizeof variable in SizeofTests
280 check = self.check_sizeof
296 check = self.check_sizeof
Dtest_parser.py989 check_sizeof = support.check_sizeof variable in STObjectTestCase
1017 self.check_sizeof(st, basesize + nodesize +
Dtest_ordered_dict.py731 check_sizeof = support.check_sizeof variable in CPythonOrderedDictTests
738 check = self.check_sizeof
Dtest_sys.py1063 check_sizeof = test.support.check_sizeof variable in SizeofTest
1115 check = self.check_sizeof
1410 check = self.check_sizeof
Dtest_memoryio.py754 check_sizeof = support.check_sizeof variable in CBytesIOTest
759 check = self.check_sizeof
Dtest_deque.py772 check_sizeof = support.check_sizeof variable in TestBasic
780 check = self.check_sizeof
Dtest_itertools.py2166 check_sizeof = support.check_sizeof variable in SizeofTest
2170 check = self.check_sizeof
2176 check = self.check_sizeof
2183 check = self.check_sizeof
2189 check = self.check_sizeof
Dtest_array.py1036 support.check_sizeof(self, a, basesize + buffer_size)
1042 support.check_sizeof(self, a, basesize)
Dtest_buffer.py2497 check_sizeof = support.check_sizeof variable in TestBufferProtocol
2500 check = self.check_sizeof
/external/python/cpython2/Lib/test/
Dtest_struct.py565 def check_sizeof(self, format_str, number_of_codes): member in StructTest
570 support.check_sizeof(self, struct.Struct(format_str), totalsize)
575 self.check_sizeof(code, 1)
576 self.check_sizeof('BHILfdspP', 9)
577 self.check_sizeof('B' * 1234, 1234)
578 self.check_sizeof('fd', 2)
579 self.check_sizeof('xxxxxxxxxxxxxx', 0)
580 self.check_sizeof('100H', 100)
581 self.check_sizeof('187s', 1)
582 self.check_sizeof('20p', 1)
[all …]
Dtest_parser.py695 check_sizeof = support.check_sizeof variable in STObjectTestCase
723 self.check_sizeof(st, basesize + nodesize +
Dtest_sys.py499 check_sizeof = test.test_support.check_sizeof variable in SizeofTest
544 check = self.check_sizeof
816 check = self.check_sizeof
Dtest_deque.py521 check_sizeof = test_support.check_sizeof variable in TestBasic
529 check = self.check_sizeof
Dtest_memoryio.py699 check_sizeof = support.check_sizeof variable in CBytesIOTest
704 check = self.check_sizeof
Dtest_array.py1017 test_support.check_sizeof(self, a, basesize + buffer_size)
1023 test_support.check_sizeof(self, a, basesize)
/external/python/cpython2/Lib/test/support/
D__init__.py1269 def check_sizeof(test, o, size): function
/external/python/cpython3/Lib/test/support/
D__init__.py1483 def check_sizeof(test, o, size): function