Searched refs:hash_dict (Results 1 – 4 of 4) sorted by relevance
/external/chromium-trace/catapult/third_party/gsutil/gslib/commands/ |
D | hash.py | 149 hash_dict = {} 151 hash_dict['crc32c'] = crcmod.predefined.Crc('crc-32c') 153 hash_dict['md5'] = md5() 154 return hash_dict 173 hash_dict = self._GetHashClassesFromArgs(calc_crc32c, calc_md5) 175 CalculateHashesFromContents(fp, hash_dict, 178 for name, digest in hash_dict.iteritems():
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/ |
D | hashing_helper.py | 176 hash_dict = {'placeholder': hash_alg} 178 CalculateHashesFromContents(fp, hash_dict) 180 return hash_dict['placeholder'].hexdigest() 183 def CalculateHashesFromContents(fp, hash_dict, callback_processor=None): argument 197 for hash_alg in hash_dict.itervalues():
|
D | copy_helper.py | 683 hash_dict = {} 685 hash_dict['md5'] = md5() 687 hash_dict['crc32c'] = crcmod.predefined.Crc('crc-32c') 690 fp, hash_dict, ProgressCallbackWithBackoff( 696 for alg_name, digest in hash_dict.iteritems():
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/ |
D | test_resumable_streaming.py | 56 hash_dict = {'md5': md5()} 58 CalculateHashesFromContents(wrapper, hash_dict) 61 self.assertEqual(actual, hash_dict['md5'].hexdigest())
|