Searched refs:hash_str (Results 1 – 1 of 1) sorted by relevance
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | fossilize_db.c | 156 char hash_str[FOSSILIZE_BLOB_HASH_LENGTH + 1] = {0}; in update_foz_index() local 157 memcpy(hash_str, bytes_to_read, FOSSILIZE_BLOB_HASH_LENGTH); in update_foz_index() 172 _mesa_sha1_hex_to_sha1(entry->key, hash_str); in update_foz_index() 177 hash_str[16] = '\0'; in update_foz_index() 178 uint64_t key = strtoull(hash_str, NULL, 16); in update_foz_index() 696 char hash_str[FOSSILIZE_BLOB_HASH_LENGTH + 1]; /* 40 digits + null */ in foz_write_entry() local 697 _mesa_sha1_format(hash_str, cache_key_160bit); in foz_write_entry() 698 if (fwrite(hash_str, 1, FOSSILIZE_BLOB_HASH_LENGTH, foz_db->file[0]) != in foz_write_entry() 716 if (fwrite(hash_str, 1, FOSSILIZE_BLOB_HASH_LENGTH, foz_db->db_idx) != in foz_write_entry() 740 _mesa_sha1_hex_to_sha1(entry->key, hash_str); in foz_write_entry()
|