Home
last modified time | relevance | path

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

/external/libtextclassifier/native/annotator/duration/
Dduration.h96 struct ParsedDurationAtom { struct
108 static ParsedDurationAtom Half() { in Half() argument
109 ParsedDurationAtom result; in Half()
121 bool ParseQuantityToken(const Token& token, ParsedDurationAtom* value) const;
125 ParsedDurationAtom* value) const;
129 const std::vector<ParsedDurationAtom>& atoms) const;
Dduration.cc181 ParsedDurationAtom parsed_duration; in FindDurationStartingAt()
183 std::vector<ParsedDurationAtom> parsed_duration_atoms; in FindDurationStartingAt()
209 parsed_duration = ParsedDurationAtom(); in FindDurationStartingAt()
228 ParsedDurationAtom atom = ParsedDurationAtom::Half(); in FindDurationStartingAt()
233 ParsedDurationAtom atom; in FindDurationStartingAt()
258 const std::vector<ParsedDurationAtom>& atoms) const { in ParsedDurationAtomsToMillis()
298 ParsedDurationAtom* value) const { in ParseQuantityToken()
342 const Token& token, ParsedDurationAtom* value) const { in ParseQuantityDurationUnitToken()