Home
last modified time | relevance | path

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

/external/libtextclassifier/native/utils/grammar/parsing/
Dchart.h33 explicit Chart() { std::fill(chart_.begin(), chart_.end(), nullptr); } in Chart()
62 item->next = chart_[item->codepoint_span.second & kChartHashTableBitmask]; in Add()
63 chart_[item->codepoint_span.second & kChartHashTableBitmask] = item; in Add()
73 const ParseTree* value = chart_[match_offset & kChartHashTableBitmask]; in MatchesEndingAt()
88 std::array<ParseTree*, NumBuckets> chart_; variable
Dmatcher.h97 const Chart<> chart() const { return chart_; } in chart()
146 Chart<> chart_; variable
Dmatcher.cc390 chart_.AddDerivation(Derivation{parse_tree, /*rule_id=*/callback_param}); in ExecuteLhsSet()
402 chart_.Add(item); in ProcessPendingSet()
422 for (Chart<>::Iterator it = chart_.MatchesEndingAt(item->match_offset); in ProcessPendingSet()
453 if (!chart_.HasMatch(item->exclusion_nonterm, item->codepoint_span)) { in ProcessPendingExclusionMatches()