Searched refs:gFileIndexBuf (Results 1 – 2 of 2) sorted by relevance
48 static uint8_t *gFileIndexBuf = NULL; variable131 gFileIndexBuf = malloc(gFIBSize); in find_file_index()138 if (xle64dec(gFileIndexBuf + gFIBPos) != PIXZ_INDEX_MAGIC) in find_file_index()149 free(gFileIndexBuf); in find_file_index()169 f->offset = xle64dec(gFileIndexBuf + gFIBPos); in read_file_index()179 free(gFileIndexBuf); in read_file_index()189 uint8_t *eos, *haystack = gFileIndexBuf + gFIBPos; in read_file_index_name()208 memmove(gFileIndexBuf, gFileIndexBuf + gFIBPos, move); in read_file_index_make_space()218 uint8_t *new_gFileIndexBuf = realloc(gFileIndexBuf, gFIBSize); in read_file_index_make_space()225 gFileIndexBuf = new_gFileIndexBuf; in read_file_index_make_space()[all …]
37 static uint8_t gFileIndexBuf[CHUNKSIZE]; variable504 memcpy(gFileIndexBuf + gFileIndexBufPos, buf + bufpos, len); in write_file_index_bytes()518 gStream.next_in = gFileIndexBuf; in write_file_index_buf()