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

/xsrc/external/mit/MesaLib/dist/src/util/
H A Dfossilize_db.c123 char bytes_to_read[FOSSILIZE_BLOB_HASH_LENGTH + sizeof(struct foz_payload_header)]; local in function:update_foz_index
129 if (offset + sizeof(bytes_to_read) > len)
133 if (fread(bytes_to_read, 1, sizeof(bytes_to_read), db_idx) !=
134 sizeof(bytes_to_read))
137 offset += sizeof(bytes_to_read);
138 header = (struct foz_payload_header*)&bytes_to_read[FOSSILIZE_BLOB_HASH_LENGTH];
148 memcpy(hash_str, bytes_to_read, FOSSILIZE_BLOB_HASH_LENGTH);

Completed in 3 milliseconds