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.cc96 int token_idx = 0, ngram_token_idx = 0, skip_remain = 0; in IsNGramMatch() local
97 for (; token_idx < num_tokens && ngram_token_idx < num_ngram_tokens;) { in IsNGramMatch()
98 if (tokens[token_idx] == ngram_tokens[ngram_token_idx]) { in IsNGramMatch()
100 ++token_idx; in IsNGramMatch()
105 ++token_idx; in IsNGramMatch()
/external/wpa_supplicant_8/src/ap/
Dieee802_11.c739 u16 token_idx; in check_sae_token() local
744 token_idx = hapd->sae_pending_token_idx[idx]; in check_sae_token()
745 if (token_idx == 0 || token_idx != WPA_GET_BE16(token)) { in check_sae_token()
748 MAC2STR(addr), WPA_GET_BE16(token), token_idx); in check_sae_token()
777 u16 token_idx; in auth_build_token_req() local
811 token_idx = hapd->sae_pending_token_idx[p_idx]; in auth_build_token_req()
812 if (!token_idx) { in auth_build_token_req()
814 token_idx = hapd->sae_token_idx; in auth_build_token_req()
815 hapd->sae_pending_token_idx[p_idx] = token_idx; in auth_build_token_req()
817 WPA_PUT_BE16(idx, token_idx); in auth_build_token_req()
[all …]