H A D | trie-fd.c | 85 lws_fts_filepath(struct lws_fts_file *jtf, int filepath_index, char *result, in lws_fts_filepath() argument 94 if (filepath_index > jtf->filepaths) in lws_fts_filepath() 97 if (lseek(jtf->fd, (off_t)(jtf->filepath_table + (4 * (unsigned int)filepath_index)), in lws_fts_filepath() 104 ra = (int)read(jtf->fd, buf, 4); in lws_fts_filepath() 109 if (lseek(jtf->fd, o, SEEK_SET) < 0) { in lws_fts_filepath() 115 ra = (int)read(jtf->fd, buf, sizeof(buf)); in lws_fts_filepath() 148 lws_fts_adopt(struct lws_fts_file *jtf) in lws_fts_adopt() argument 153 if (read(jtf->fd, buf, TRIE_FILE_HDR_SIZE) != TRIE_FILE_HDR_SIZE) { in lws_fts_adopt() 165 jtf in lws_fts_adopt() 193 struct lws_fts_file *jtf; lws_fts_open() local 219 lws_fts_close(struct lws_fts_file *jtf) lws_fts_close() argument 239 lws_fts_cache_chunktable(struct lws_fts_file *jtf, uint32_t ofs_linetable, struct lwsac **linetable_head) lws_fts_cache_chunktable() argument 284 lws_fts_getfileoffset(struct lws_fts_file *jtf, struct linetable *ltstart, int line, off_t *_ofs) lws_fts_getfileoffset() argument 334 ac_record(struct lws_fts_file *jtf, struct lwsac **results_head, const char *needle, int pos, struct wac *s, int sp, uint32_t instances, uint32_t agg_instances, uint32_t children, struct lws_fts_result_autocomplete ***ppac) ac_record() argument 391 lws_fts_search(struct lws_fts_file *jtf, struct lws_fts_search_params *ftsp) lws_fts_search() argument [all...] |