Home
last modified time | relevance | path

Searched refs:trimmed_size (Results 1 – 16 of 16) sorted by relevance

/external/autotest/client/bin/result_tools/
Dresult_info.py209 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 …]
Dthrottler_lib.py103 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),
Dutils.py153 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:
Dzip_file_throttler_unittest.py87 diff = math.fabs(expected.trimmed_size - actual.trimmed_size)
93 'size: %d' % (expected.trimmed_size, actual.trimmed_size))
Dview.py353 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
Dresult_info_unittest.py121 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)
Ddelete_file_throttler.py39 file_info.trimmed_size = 0
65 if info.trimmed_size > file_size_threshold_byte:
Dutils_lib.py82 result_uploaded_KB = summary.trimmed_size / 1024
86 result_throttled = (summary.original_size > summary.trimmed_size)
Dzip_file_throttler.py74 new_file_info.trimmed_size = new_file_info.size
98 if info.trimmed_size <= file_size_threshold_byte:
Dutils_unittest.py508 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)
Dshrink_file_throttler.py117 file_info.trimmed_size = file_info.size
144 if info.trimmed_size <= file_size_limit_byte:
Ddedupe_file_throttler.py75 file_info.trimmed_size = 0
Ddedupe_file_throttler_unittest.py84 self.assertEqual(9 * unittest_lib.SIZE, summary.trimmed_size)
/external/flatbuffers/java/com/google/flatbuffers/
DFlatBufferBuilder.java815 int trimmed_size = i + 1; in endTable() local
824 addShort((short)((trimmed_size + standard_fields) * SIZEOF_SHORT)); in endTable()
/external/flatbuffers/php/
DFlatbufferBuilder.php825 $trimmed_size = $i + 1;
833 $this->addShort(($trimmed_size + $standard_fields) * Constants::SIZEOF_SHORT);
/external/flatbuffers/js/
Dflatbuffers.js629 var trimmed_size = i + 1;
639 var len = (trimmed_size + standard_fields) * flatbuffers.SIZEOF_SHORT;