Home
last modified time | relevance | path

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

/external/autotest/client/common_lib/
Dpackages.py734 def _save_checksum_dict(self, checksum_dict): argument
742 self._checksum_dict = checksum_dict.copy()
745 checksum_dict.iteritems())
786 checksum_dict = self._get_checksum_dict()
787 checksum_dict[os.path.basename(pkg_path)] = new_checksum
788 self._save_checksum_dict(checksum_dict)
798 checksum_dict = self._get_checksum_dict()
799 if pkg_name in checksum_dict:
800 del checksum_dict[pkg_name]
801 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"