Searched refs:ntokens (Results 1 – 1 of 1) sorted by relevance
38 unsigned int ntokens; member169 for (tok_idx = 0; tok_idx < fsm->ntokens; tok_idx++) { in fsm_find()172 if (likely(tok_idx < (fsm->ntokens - 1))) in fsm_find()266 unsigned int ntokens = len / sizeof(*tokens); in fsm_init() local269 if (len % sizeof(struct ts_fsm_token) || ntokens < 1) in fsm_init()275 for (i = 0; i < ntokens; i++) { in fsm_init()282 (i != 0 || i == (ntokens - 1))) in fsm_init()292 fsm->ntokens = ntokens; in fsm_init()295 for (i = 0; i < fsm->ntokens; i++) { in fsm_init()315 return fsm->ntokens * sizeof(struct ts_fsm_token); in fsm_get_pattern_len()