Lines Matching defs:str
284 * aa_dfa_match_len - traverse @dfa to find state @str stops at
285 * @dfa: the dfa to match @str against (NOT NULL)
287 * @str: the string of bytes to match against the dfa (NOT NULL)
290 * aa_dfa_match_len will match @str against the dfa and return the state it
300 const char *str, int len)
311 /* current state is <state>, matching character *str */
317 pos = base[state] + equiv[(u8) *str++];
326 pos = base[state] + (u8) *str++;
338 * aa_dfa_next_state - traverse @dfa to find state @str stops at
339 * @dfa: the dfa to match @str against (NOT NULL)
341 * @str: the null terminated string of bytes to match against the dfa (NOT NULL)
343 * aa_dfa_next_state will match @str against the dfa and return the state it
350 const char *str)
352 return aa_dfa_match_len(dfa, start, str, strlen(str));