Home
last modified time | relevance | path

Searched refs:token_idx (Results 1 – 3 of 3) sorted by relevance

/external/python/pycparser/pycparser/
Dplyparser.py55 def _token_coord(self, p, token_idx): argument
60 last_cr = p.lexer.lexer.lexdata.rfind('\n', 0, p.lexpos(token_idx))
63 column = (p.lexpos(token_idx) - (last_cr))
64 return self._coord(p.lineno(token_idx), column)
/external/libtextclassifier/native/actions/
Dngram-model.cc94 int token_idx = 0, ngram_token_idx = 0, skip_remain = 0; in IsNGramMatch() local
95 for (; token_idx < num_tokens && ngram_token_idx < num_ngram_tokens;) { in IsNGramMatch()
96 if (tokens[token_idx] == ngram_tokens[ngram_token_idx]) { in IsNGramMatch()
98 ++token_idx; in IsNGramMatch()
103 ++token_idx; in IsNGramMatch()
/external/wpa_supplicant_8/src/ap/
Dieee802_11.c663 u16 token_idx; in check_sae_token() local
668 token_idx = hapd->sae_pending_token_idx[idx]; in check_sae_token()
669 if (token_idx == 0 || token_idx != WPA_GET_BE16(token)) { in check_sae_token()
672 MAC2STR(addr), WPA_GET_BE16(token), token_idx); in check_sae_token()
701 u16 token_idx; in auth_build_token_req() local
735 token_idx = hapd->sae_pending_token_idx[p_idx]; in auth_build_token_req()
736 if (!token_idx) { in auth_build_token_req()
738 token_idx = hapd->sae_token_idx; in auth_build_token_req()
739 hapd->sae_pending_token_idx[p_idx] = token_idx; in auth_build_token_req()
741 WPA_PUT_BE16(idx, token_idx); in auth_build_token_req()
[all …]