Searched refs:jtf (Results 1 – 4 of 4) sorted by relevance
/external/libwebsockets/lib/misc/fts/ |
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, jtf->filepath_table + (4 * filepath_index), in lws_fts_filepath() 104 ra = read(jtf->fd, buf, 4); in lws_fts_filepath() 109 if (lseek(jtf->fd, o, SEEK_SET) < 0) { in lws_fts_filepath() 115 ra = 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->root = b32(&buf[4]); in lws_fts_adopt() 167 ot = lseek(jtf->fd, 0, SEEK_END); in lws_fts_adopt() [all …]
|
/external/libwebsockets/minimal-examples/api-tests/api-test-fts/ |
D | main.c | 37 struct lws_fts_file *jtf; in main() local 160 jtf = lws_fts_open(index_filepath); in main() 161 if (!jtf) in main() 177 result = lws_fts_search(jtf, ¶ms); in main() 181 lws_fts_close(jtf); in main() 220 lws_fts_close(jtf); in main()
|
/external/libwebsockets/plugins/ |
D | protocol_fulltext_demo.c | 68 struct lws_fts_file *jtf; in callback_fts() local 111 jtf = lws_fts_open(vhd->indexpath); in callback_fts() 112 if (!jtf) { in callback_fts() 118 result = lws_fts_search(jtf, ¶ms); in callback_fts() 119 lws_fts_close(jtf); in callback_fts()
|
/external/libwebsockets/include/libwebsockets/ |
D | lws-fts.h | 203 lws_fts_search(struct lws_fts_file *jtf, struct lws_fts_search_params *ftsp); 213 lws_fts_close(struct lws_fts_file *jtf);
|