Home
last modified time | relevance | path

Searched refs:expectedsize (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_bigmem.py96 def basic_encode_test(self, size, enc, c=u'.', expectedsize=None): argument
97 if expectedsize is None:
98 expectedsize = size
101 self.assertEqual(len(s.encode(enc)), expectedsize)
121 self.basic_encode_test(size, 'utf32', expectedsize=4*size+4)
/external/u-boot/lib/
Dgunzip.c84 void gzwrite_progress_init(u64 expectedsize) in gzwrite_progress_init() argument
/external/python/cpython3/Lib/test/
Dtest_bigmem.py580 def basic_encode_test(self, size, enc, c='.', expectedsize=None): argument
581 if expectedsize is None:
582 expectedsize = size
585 self.assertEqual(len(s.encode(enc)), expectedsize)
644 return self.basic_encode_test(size, 'utf32', expectedsize=4 * size + 4)