Home
last modified time | relevance | path

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

/hardware/google/gfxstream/guest/mesa/src/util/
Dfossilize_db.c82 check_files_opened_successfully(FILE *file, FILE *db_idx) in check_files_opened_successfully() argument
85 if (db_idx) in check_files_opened_successfully()
86 fclose(db_idx); in check_files_opened_successfully()
90 if (!db_idx) { in check_files_opened_successfully()
120 update_foz_index(struct foz_db *foz_db, FILE *db_idx, unsigned file_idx) in update_foz_index() argument
122 uint64_t offset = ftell(db_idx); in update_foz_index()
123 fseek(db_idx, 0, SEEK_END); in update_foz_index()
124 uint64_t len = ftell(db_idx); in update_foz_index()
130 fseek(db_idx, offset, SEEK_SET); in update_foz_index()
142 if (fread(bytes_to_read, 1, sizeof(bytes_to_read), db_idx) != in update_foz_index()
[all …]
Dfossilize_db.h88 FILE *db_idx; /* The default writable foz db idx */ member