Lines Matching refs:parser

136 	struct lws_fts_entry *parser;
273 t->parser = t->root;
665 if (t->parser == t->root) {
668 t->parser = e;
675 e = t->parser->child_list;
684 t->parser = e;
704 e = lws_fts_entry_child_add(t, c, t->parser);
713 if (t->parser == t->root)
717 t->parser = e;
730 * create a suffix string on t->parser instead of what must
780 if (c == t->parser->suffix[t->str_match_pos++]) {
781 if (t->str_match_pos < t->parser->suffix_len)
805 * is t->parser.
808 olen = t->parser->suffix_len;
809 osuff = t->parser->suffix;
812 t->parser->suffix = NULL;
814 t->parser->suffix_len = t->str_match_pos - 1;
828 dcl = t->parser->child_list;
829 m = (int)t->parser->child_count;
831 t->parser->child_list = NULL;
832 t->parser->child_count = 0;
835 osuff[t->str_match_pos - 1], t->parser);
858 t->parser->child_count = 1;
859 t->parser->child_list = e;
867 e->inst_file_list = t->parser->inst_file_list;
870 t->parser->inst_file_list = NULL;
871 e->instance_count = t->parser->instance_count;
872 t->parser->instance_count = 0;
874 e->ofs_last_inst_file = t->parser->ofs_last_inst_file;
875 t->parser->ofs_last_inst_file = 0;
898 * Since he becomes the current parser context,
905 e = lws_fts_entry_child_add(t, c, t->parser);
914 t->parser = e;
935 t->parser->suffix = lwsac_use(&t->lwsac_head,
938 if (!t->parser->suffix) {
945 *t->parser->suffix = (char)t->parser->c;
947 memcpy(t->parser->suffix + 1, t->agg, t->agg_pos);
948 t->parser->suffix_len = t->agg_pos + 1;
952 if (t->parser == t->root) /* multiple terminal chars */
955 if (!t->parser->inst_file_list ||
956 t->parser->inst_file_list->file_index != file_index) {
966 tif->owner = t->parser;
974 t->parser->inst_file_list = tif;
992 tif = t->parser->inst_file_list;
1037 const char *ne = name_entry(t->parser, s, sizeof(s));
1045 t->parser->instance_count++;
1046 t->parser = t->root;