Searched refs:hash_str (Results 1 - 1 of 1) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/util/
H A Dfossilize_db.c147 char hash_str[FOSSILIZE_BLOB_HASH_LENGTH + 1] = {0}; local in function:update_foz_index
148 memcpy(hash_str, bytes_to_read, FOSSILIZE_BLOB_HASH_LENGTH);
163 _mesa_sha1_hex_to_sha1(entry->key, hash_str);
168 hash_str[16] = '\0';
169 uint64_t key = strtoull(hash_str, NULL, 16);
477 char hash_str[FOSSILIZE_BLOB_HASH_LENGTH + 1]; /* 40 digits + null */ local in function:foz_write_entry
478 _mesa_sha1_format(hash_str, cache_key_160bit);
479 if (fwrite(hash_str, 1, FOSSILIZE_BLOB_HASH_LENGTH, foz_db->file[0]) !=
497 if (fwrite(hash_str, 1, FOSSILIZE_BLOB_HASH_LENGTH, foz_db->db_idx) !=
521 _mesa_sha1_hex_to_sha1(entry->key, hash_str);
[all...]

Completed in 2 milliseconds