Searched refs:expectedsize (Results 1 – 2 of 2) sorted by relevance
580 def basic_encode_test(self, size, enc, c='.', expectedsize=None): argument581 if expectedsize is None:582 expectedsize = size585 self.assertEqual(len(s.encode(enc)), expectedsize)644 return self.basic_encode_test(size, 'utf32', expectedsize=4 * size + 4)
338 uint64_t expectedsize) in start_ebml_master() argument340 int bytes = expectedsize ? ebml_length_size(expectedsize) : 8; in start_ebml_master()