Searched refs:tokens (Results 1 – 1 of 1) sorted by relevance
35 struct ts_fsm_token tokens[0]; member160 strict = fsm->tokens[0].recur != TS_FSM_HEAD_IGNORE; in fsm_find()166 cur = &fsm->tokens[tok_idx]; in fsm_find()169 next = &fsm->tokens[tok_idx + 1]; in fsm_find()261 struct ts_fsm_token *tokens = (struct ts_fsm_token *) pattern; in fsm_init() local262 unsigned int ntokens = len / sizeof(*tokens); in fsm_init()272 struct ts_fsm_token *t = &tokens[i]; in fsm_init()289 memcpy(fsm->tokens, pattern, len); in fsm_init()292 struct ts_fsm_token *t = &fsm->tokens[i]; in fsm_init()305 return fsm->tokens; in fsm_get_pattern()