Home
last modified time | relevance | path

Searched refs:checksum_dict (Results 1 – 2 of 2) sorted by relevance

/external/autotest/client/common_lib/
Dpackages.py740 def _save_checksum_dict(self, checksum_dict): argument
748 self._checksum_dict = checksum_dict.copy()
751 six.iteritems(checksum_dict))
792 checksum_dict = self._get_checksum_dict()
793 checksum_dict[os.path.basename(pkg_path)] = new_checksum
794 self._save_checksum_dict(checksum_dict)
804 checksum_dict = self._get_checksum_dict()
805 if pkg_name in checksum_dict:
806 del checksum_dict[pkg_name]
807 self._save_checksum_dict(checksum_dict)
[all …]
/external/fonttools/Snippets/
Dchecksum.py15 checksum_dict = {}
50 checksum_dict[basename(checksum_path)] = hashlib.sha1(file_contents).hexdigest()
58 for key in checksum_dict.keys():
59 checksum_out_data += checksum_dict[key] + " " + key + "\n"