Home
last modified time | relevance | path

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

/external/libtextclassifier/native/utils/grammar/utils/
Dir.cc268 struct TerminalEntry { in SerializeTerminalRules() struct
274 std::vector<TerminalEntry> terminal_rules; in SerializeTerminalRules()
297 TerminalEntry{it.first, /*set_index=*/i, /*index=*/0, it.second}); in SerializeTerminalRules()
301 [](const TerminalEntry& a, const TerminalEntry& b) { in SerializeTerminalRules()
349 const TerminalEntry& entry = terminal_rules[i]; in SerializeTerminalRules()
382 const TerminalEntry& entry = terminal_rules[i]; in SerializeTerminalRules()
383 const TerminalEntry& canonical_entry = terminal_rules[canonical_index]; in SerializeTerminalRules()
393 for (const TerminalEntry& entry : terminal_rules) { in SerializeTerminalRules()