Searched refs:trimmed_size (Results 1 – 16 of 16) sorted by relevance
/external/autotest/client/bin/result_tools/ |
D | result_info.py | 209 self.trimmed_size = original_info[self.name][ 376 def trimmed_size(self): member in ResultInfo 382 @trimmed_size.setter 383 def trimmed_size(self, value): member in ResultInfo 406 self.trimmed_size) 503 self.trimmed_size = 0 530 new_trimmed_size = sum([f.trimmed_size for f in self.files]) 537 new_trimmed_size != self.trimmed_size): 538 self.trimmed_size = new_trimmed_size 557 if (new_collected_size != self.trimmed_size or [all …]
|
D | throttler_lib.py | 103 infos.sort(key=lambda info: -info.trimmed_size) 119 if info.trimmed_size == 0: 141 if (summary.trimmed_size <= max_result_size_KB * 1024): 144 (utils_lib.get_size_string(summary.trimmed_size),
|
D | utils.py | 153 old_file.collected_size = old_file.trimmed_size 154 old_file.trimmed_size = 0 270 (utils_lib.get_size_string(summary.trimmed_size), 311 old_size = summary.trimmed_size 325 new_size = summary.trimmed_size 397 if max_size_KB > 0 and summary.trimmed_size > 0: 398 old_size = summary.trimmed_size 406 if summary.trimmed_size < old_size:
|
D | zip_file_throttler_unittest.py | 87 diff = math.fabs(expected.trimmed_size - actual.trimmed_size) 93 'size: %d' % (expected.trimmed_size, actual.trimmed_size))
|
D | view.py | 353 utils_lib.get_size_string(entry.trimmed_size), 359 if entry.trimmed_size == entry.original_size: 369 if entry.original_size > 0 and entry.trimmed_size == 0: 400 size_trimmed = summary.trimmed_size
|
D | result_info_unittest.py | 121 file2.trimmed_size = 2 * _SIZE 124 self.assertEqual(file2.trimmed_size, 2 * _SIZE) 125 self.assertEqual(summary.get_file('folder1').trimmed_size, 3 * _SIZE) 126 self.assertEqual(summary.trimmed_size, 5 * _SIZE)
|
D | delete_file_throttler.py | 39 file_info.trimmed_size = 0 65 if info.trimmed_size > file_size_threshold_byte:
|
D | utils_lib.py | 82 result_uploaded_KB = summary.trimmed_size / 1024 86 result_throttled = (summary.original_size > summary.trimmed_size)
|
D | zip_file_throttler.py | 74 new_file_info.trimmed_size = new_file_info.size 98 if info.trimmed_size <= file_size_threshold_byte:
|
D | utils_unittest.py | 508 self.assertTrue(LARGE_SIZE > entry.trimmed_size) 512 summary.trimmed_size < 515 summary.trimmed_size > 535 self.assertTrue(LARGE_SIZE > entry.trimmed_size) 536 self.assertTrue(entry.trimmed_size > 0) 540 self.assertEqual(0, entry.trimmed_size)
|
D | shrink_file_throttler.py | 117 file_info.trimmed_size = file_info.size 144 if info.trimmed_size <= file_size_limit_byte:
|
D | dedupe_file_throttler.py | 75 file_info.trimmed_size = 0
|
D | dedupe_file_throttler_unittest.py | 84 self.assertEqual(9 * unittest_lib.SIZE, summary.trimmed_size)
|
/external/flatbuffers/java/com/google/flatbuffers/ |
D | FlatBufferBuilder.java | 815 int trimmed_size = i + 1; in endTable() local 824 addShort((short)((trimmed_size + standard_fields) * SIZEOF_SHORT)); in endTable()
|
/external/flatbuffers/php/ |
D | FlatbufferBuilder.php | 825 $trimmed_size = $i + 1; 833 $this->addShort(($trimmed_size + $standard_fields) * Constants::SIZEOF_SHORT);
|
/external/flatbuffers/js/ |
D | flatbuffers.js | 629 var trimmed_size = i + 1; 639 var len = (trimmed_size + standard_fields) * flatbuffers.SIZEOF_SHORT;
|